In late December 2009, a new bot (known as SpyEye), which has properties that compare and compete with the Zeus Bot, appeared in the Russian underground market. Similar to other theft-based malware, it too has a web-based command-and-control backend that collects and sorts the stolen data and its statistics. Features include specifically targeting Bank of America customers, and sorting can be based on infected processes, Bot GUID (Globally Unique Identifier) and ftp logins. The configuration requires a standard LAMP (Linux, Apache, MySQL and PHP environment). The installation is simple, and the majority of the frontend web code utilizes AJAX (XMLHTTP) to post the data queries to the viewer. Spy-Eye divides itself into two setups, the CnC controller (this houses the statistics and communication with the machines interactively), and the Form Grabber which is used to collect the login data and store in a database for querying. The Form Grabber and the CnC identify themselves to an outside observer via the html title tag found usually at the top of the browser when accessing the page.
Figure 1 C&C Identifier within the “<title>” tag (CN 1)
Figure 2 Formgrabber Identifier within the “<title>” tag (SYN 1)
To access either “CN 1”or“SYN 1”a password prompt is displayed to authenticate access.
Figure 3 Password Prompt
Latest Spy-Eye findings reveal certain botnet operators “skinning” their web panel:
Figure 4 “Show me the money” skin
Features for the CnC portion of the web panel include ftp back connect, socks 5, code insertion, binary uploads, task monitoring, global statistics and Settings.
Figure 5 Binary Update Function
Binary Update Function:
This function is used to continuously update the bots within the network. Further analysis indicates that this activity happens frequently, at minimum on a daily basis. The purpose of this is to replace binaries continuously that are unknown to the Anti-Virus community, since the updates are not distributed in the wild via exploits, but internally through the tunnel created between the C&C and the operator. Further investigation enables Damballa to identify the new MD5’s updated to the bots, and reveals how many active bots are receiving updates.
Figure 6 Real-time update log identifying the new MD5 and the originating MD5
Tests run by Damballa’s Threat Research team identify that the majority of these new md5’s are not identified by any major Anti-Virus vendors:
Figure 7 MD5 a3fe1f59d8d72699ad342adb992ba450 with 4.9% identification according to VirusTotal
Up Sell:
Within the “SYN 1” form grabber panel, a few features that have been updated for version 1.2 including a private certificate stealer. This feature allows the botnet operator to request certificates from the controlled bots.
Figure 8 Certificate Grabber
Also available is a specific “Bank of America” grabber. Both of these features require the buyers of the malware DIY kit to pay extra if they desire these features.
Backdoor Access:
Within the “CN 1” panel there are FTP Back Connect and SOCKS5 controls designed for miscellaneous use such as remote administration and sending spam. For each bot with SOCKS5 availability, the server binds a unique port on the C&C server for the botnet operators to perform a reverse connection with the infected host.
Figure 9 SOCKS5 Reverse Connection Status
Statistics and Data Collection
A common trend in many other botnet control panels is the Geographical IP location and version tracking and Spy-Eye also follows suit:
Figure 10 GeoIP and Version tracking
Other statistics acquired are infected OS versions, Internet Explorer versions, and user type:
The latest Spy-Eye malware is also enumerating the software information that exists on the victim hosts:
Figure 11 Enumerated Software on Infected Host
In addition, checkboxes have been added to the stolen data query page enabling wildcard lookups with the “LIKE?” option for Bot ID’s. These features were likely added to enable granularity for each query.
Conclusion
Spy-Eye’s evolution is progressing rapidly and the success rate of the malware itself appears to be increasing quietly, yet effectively. Combined with impactful distribution campaigns this malware appears to be an up and coming contender in the ongoing threats plaguing the Internet.
Part 2 will unveil specific information on the amount of stolen data that is acquired by Spy-Eye and will follow the flow of the activity of some of the specific bot operators.
by Lance James


















