September 29, 2014
Greg Martin

Digging Into ShellShock Exploitation Attempts Using ShockPot Data

<p>Late last week we developed and relasesed a new open source honeypot, <a href="">Shockpot</a>, designed to mimic servers vulnerable to ShellShock (<a href="">CVE-2014-6271</a>) and automatically download payloads from exploitation attempts.  In this blog post we characterize the attacks our global deployment of Shockpot honeypots saw as well as the payloads they were able to pull down.</p><h2>Exploitation Attempts Seen</h2><p>The exploit attempts we saw could be categorized into three buckets:</p><ul><li>Simple vulnerability tests</li><li>Simple vulnerability tests that caused outbound traffic</li><li>True exploitation attempts that causes malware to be downloaded and executed</li></ul><h3>Simple Tests for the vulnerability</h3><p>These requests either echoed text to stdout, executed a command such as uname, or attempted to cause a measurable delay in the page load time by using sleep commands.  We speculate these attempts are mostly security researchers or someone trying to gather global metrics on this vulnerability.  Most of these exact requests were seen across most of our geo-dispersed honeypots.  Duplicate requests have been removed and the honeypot IPs have been anonymized.</p><p><strong>IPs Involved:</strong></p><ul><li> (Singapore; Digial Ocean)</li><li> (Canda; OVH Hosting)</li><li> (Russia; MediaServicePlus Ltd.)</li><li> (Sinapore; Tech Telecom)</li></ul><p><strong>HTTP Requests:</strong></p> <script src=""></script> <h3>Simple vulnerability tests that caused outbound traffic:</h3><p>All of these requests caused the honeypots to attempt outbound connections by using wget, curl, or UNIX's tcp/udp device.  ShockPot is designed to detect these types of exploitation attempts and it actually reaches out and makes network connections to mimic a truly vulnerable system.  </p><p><strong>IPs Invloved:</strong></p><p> (Canda; OVH Hosting)<br/> (Netherlands: LeaseWeb B.V.)<br/> (Iceland; THOR Data Center ehf)</p><p><strong>Servers involved:</strong></p><p> (Canada; OVH Hosting)<br/> (New York, US; Digital Ocean)<br/> (Iceland; THOR Data Center ehf)</p><p><strong>HTTP Requests</strong></p> <script src=""></script> <h3>True Exploitation Attempts:</h3><p>All of these requests attempted to exploit the vulnerability in order to download and execute malicious code.  ShockPot is designed to detect these types of exploitation attempts and it will download the payloads for analysis.   More on this later.  Most of these exploitation attempts were seen across almost all of our honeypots - meaning these scans are likely occurring broadly across the entire Internet.  All of these exploitation attempts downloaded malicious code in the form of DDoS bots, IRC bots, or simple reverse shells.  Most of these malicious payloads are now detected by VirusTotal (see links to VT reports below).</p><p><strong>IPs Involved:</strong><br/> (China; Elink-space (Beijing) Technology Co,. Ltd)<br/> (China; China Telecom Guangdong)<br/> (India; Karuturi Telecom Pvt Ltd)<br/> (United Kingdom; DataPipe)<br/> (Sweden; CYBERDYNE)<br/> (San Antonia, TX, USA; DataPipe)<br/> (Las Vegas, NV, USA; Colocation America Corporation)<br/> (Falls Church, VA, USA; Internap Network Services Corporation)<br/> (Houston, TX, USA; Comcast Business Communications)<br/> (France; TAS France)<br/> (Italy; Tiscali B2B)</p><p><strong>Dropper Servers Involved:</strong><br/> (Long Beach, CA, USA; Internap Network Services Corporation)<br/> (Does not resolve)<br/> (Germany; AttractSoft GmbH)<br/> (San Antonio, TX, USA; Rackspace Hosting)<br/> (Tulas, OK, USA; Perimeter Technology Center, LLC)</p><p><strong>C2 Servers (from downloaded payloads):</strong><br/> (Jersey City, NJ, USA; DataPipe)<br/> (Sweden; CYBERDYNE)<br/> (Does not resolve)<br/>    (Farfield, VA, USA)</p><p><strong>HTTP Requests:</strong></p> <script src=""></script> <h2>Payloads Downloaded</h2><p>Many of the exploitation attempts caused our honeypots to download payloads that the attackers intended to execute. Our honeypots captured these files for analysis.</p><p>For the sake of brevity we are not going to post the full code of all the payloads retrieved here. They can be found on my Github account as gists <a href="">here</a> and are listed out individually below along with links to VirusTotal reports. Most of these are identified as one of the following: Mal/PerlBot-A, Perl.Pircbot, PERL_SHELLBOT.CE, PERL/ShellBot, Backdoor.Perl.Shellbot.F, or Perl.Shellbot.T.</p><ul><li><a href=""></a>: <a href="">VT report</a></li><li><a href=""></a>: <a href="">VT report</a></li><li><a href=""></a>: <a href="">VT report</a></li><li><a href=""></a>: <a href="">VT report</a></li><li><a href=""></a>: <a href="">VT report</a></li></ul><p>If you are interested in deploying <a href="">ShockPot</a> or any other honeypots in your network, check out ThreatStream's Modern Honey Network (MHN), our open source (GPLv3) honeypot management platform.  See MHN's <a href="">website</a> or <a href="">github repository</a> for more details.  </p>

Get the Latest Anomali Updates and Cybersecurity News – Straight To Your Inbox

Become a subscriber to the Anomali Newsletter
Receive a monthly summary of our latest threat intelligence content, research, news, events, and more.