Trend Micro Facebook TrendLabs Twitter Malware Blog RSS Feed You Tube - Trend Micro
Search our blog:

  • Recent Posts

  • Calendar

    November 2014
    S M T W T F S
    « Oct    
  • About Us
    TrendLabs Security Intelligence Blog(breadcrumbs are unavailable)

    Author Archive - Trend Micro

    Just several hours after the news on the bash vulnerability (covered under CVE-2014-7169) broke out, it was reportedly being exploited in the wild already.  This vulnerability can allow execution of arbitrary code, thus compromising the security of systems. Some of the possible scenarios that attackers can do range from changing the contents of web server and website code to defacing the website to even stealing user data from databases, among others.

    We spotted samples which are the payload of the actual exploit code. Detected as ELF_BASHLITE.A (also known as ELF_FLOODER.W), this malware is capable of launching distributed denial-of-service (DDoS) attacks. Some of the related commands it executes are

    • PING
    • HOLD pause or delay attack for specified duration
    • JUNK Junk Flooding
    • UDP DDoS using UDP packet
    • TCP DDoS using TCP packet
    • KILLATTK – terminate attack thread
    • LOLNOGTFO – terminate bot

    It also has the capability to do brute force login, enabling attackers to possibly get the list of login usernames and passwords. Based on our analysis, ELF_BASHLITE.A also connects to a C&C server, 89[dot]238[dot]150[dot]154[colon]5.

    BASHLITE diagram

    Figure 1. Threat infection diagram (Click image to enlarge)

    Below is the screenshot of the code depicting the arrival of malware on a system:


    As discussed in our earlier post, the severity of this vulnerability is serious given that web servers are mostly affected. It (vulnerability) also poses risks to Internet of Everything/Internet of Things devices that have Linux (and Bash) on them.  It was also reported that it affects Bitcoin/Bitcoin mining, thus attackers may possibly/potentially create armies of bots through this.

    The related hash for this attack is 0229e6fa359bce01954651df2cdbddcdf3e24776.

    Trend Micro Solutions for Shellshock:

    The Trend Micro Smart Protection Network protects users from the BASHLITE variant mentioned above. We will continuously monitor for any other exploits abusing this vulnerability. On the other hand, attempts to exploit the Shellshock vulnerability on the network can be detected via the following Deep Discovery rule:

    • 1618 – Shellshock HTTP REQUEST

    Other Trend Micro products (Trend Micro OSCE, IWSVA and Titanium) detect this as CVE-2014-6271-SHELLSHOCK_REQUEST.

    In addition, Trend Micro Deep Security protects users from this Bash vulnerability through the following DPI rule:

    • 1006256 – GNU Bash Remote Code Execution Vulnerability

    Other users who may want to check if they are affected should check our free protection for Shellshock. We’ve also released browser extension and device scanners to protect users’ browsers and devices against the risks posed by Bash bug vulnerability. These tools can scan devices to detect if has been affected by the bug.

    The Latest Developments on Shellshock: 

    We have monitored the developments around this topic and documented them here:

    We are currently doing further research analysis on this topic and will update our blog for developments.  Users can also read more on this in our Simply Security blog.

    With additional analysis from Rhena Inocencio, Karla Agregado, Serafin Lago, Alvin Bacani, Kim Sotalbo, Joie Salvio, and Erwina Dungca. 

    Update as of 1:38 PM, September 26, 2014

    We spotted two malware payloads of the exploit code, one of which is detected by Trend Micro as PERL_SHELLBOT.WZ. When executed, it connects to the IRC server, fbi[dot]bot[dot]nu[colon]5190, where it receives several commands from an attacker. Some of the commands it issues include:

    • cback – Execute a remote shell (/bin/sh or cmd.exe)
    • download – Download from a URL and save to a specified file
    • portscan – Scans an IP address for the following ports
    • join – Join a channel
    • part – Leave a channel
    • rejoin – Leave and rejoin a channel

    Another payload is detected as ELF_BASHLET.A, which connects to 27[DOT]19[DOT]159[DOT]224[COLON]4545, where it waits for commands from a malicious attacker.



    Figure 1. Motto taken from the InstallBrain website ( on July 3, 2014”

    “Monetize On Non-buyers” is the bold motto of InstallBrain—adware that turns out to have been developed by an Israeli company called iBario Ltd. This motto clearly summarizes the potential risks adware companies can introduce to users, especially when they install stuff on systems without their consent.

    Adware is often perceived as low-risk, because these usually display unwanted popups and pop under advertisements. However, they can pose serious security risks when used by adware companies to load malware onto systems wherein their adware has been installed. In our latest research paper, On the Actors Behind MEVADE/SEFNIT, shows that iBario’s InstallBrain adware installed MEVADE/SEFNIT Trojans in significant number of systems in 2013.

    One of the major threat stories in 2013 was the sudden and dramatic increase of Tor users. In August 2013, the number grew from a million to five million users. Fox-IT was the first to publish the cause of the spike: the MEVADE/SEFNIT malware downloaded a Tor component related to its command-and-control (C&C) communications. This malware does click fraud and Bitcoin mining.

    Microsoft was the first to point out the InstallBrain-SEFNIT connection—a connection also seen by Trend Micro. iBario Ltd removed the brand name Installbrain from its corporate website and replaced it with Unknownfile, which basically is just a successor of Installbrain. Feedback from Trend Micro’s Smart Protection Network shows that there are InstallBrain detections in about 150 countries—a clear indication of how widespread this adware is.

    Adware Company Hosts Malware

    In recent media interviews, iBario described itself an entirely Israel-based company with an estimated worth of US$100M. The 9-figure number is probably an exaggeration, and we also believe that iBario outsources a lot of technical work to Ukraine as there are clear links between iBario and Ukrainian contractors. In fact we found the organizational chart of iBario Ukraine on the Internet headed by the CTO of Installbrain.


    Figure 2. Organizational chart for iBario Ukraine; screenshot taken on June 20, 2014

    One interesting thing we noted is that while Mevade.C was widespread in more than 68 countries, even sparsely populated ones, there was virtually no infection in Israel. This is perhaps to avoid trouble with the local law enforcement.

    It becomes even more interesting when we found that a domain name of a Ukrainian contractor called Denis R, also known as Scorpion, had one of its hostnames pointing to the IP address of iBario’s source code repository. The said file repository hosted Sefnit malware in 2011, so there was Sefnit malware on the corporate source code repository of iBario in 2011. We cannot provide the exact details of this finding publicly, but we are willing to hand over proof to law enforcement partners.

    The fact that iBario’s Installbrain has installed Sefnit on systems, the presence of Sefnit malware in a code repository of iBario in 2011, and the links between iBario and several suspicious contractors from the Ukraine make us believe that iBario is involved with Sefnit.

    Gateway to Infection

    We believe that deceit, or any indication that a user has given no real consent to the download and installation of a file or to what that file is actually doing, is grounds for us in the security industry to block and detect a file as malware.

    InstallBrain is one real example of the risks of having adware on user systems, and of how attractive and beneficial it can become for adware companies to abuse their access to user computers—to the point of discreetly downloading malware. In this case, the downloaded malware takes over computers to commit click fraud or to mine bitcoins.

    For more information about the threat actors, download our research paper On the Actors Behind MEVADE/SEFNIT.

    Update as of 10:26 AM, August 8, 2014

    Since our research on this situation posted, Mike Peters, Co-Founder & General Manager at iBario LTD, has contacted us. Mr. Peters has claimed that the events related to the SEFNIT and MEVADE malware are due to the actions of a rogue contractor who was able to compromise their network and suborn their systems for malicious purposes without their knowledge. Mr. Peters has indicated that he has worked with Microsoft on this matter and they have both offered to provide additional information in this regard. We have told Mr. Peters that we would be happy to review any new information and make any updates based on additional analysis on this new data.

    Posted in Bad Sites, Malware | Comments Off

    Vulnerabilities, particularly zero-days, are often used by threat actors as the starting point for targeted attacks. This was certainly the case for a (then) zero-day vulnerability (CVE-2014-1761) affecting Microsoft Word. In its security advisory released last March, Microsoft itself acknowledged that the vulnerability was being used in “limited, targeted attacks.” Microsoft has since patched this vulnerability as part of its April Patch Tuesday.

    However, the existence of a patch has not deterred threat actors from exploiting this vulnerability. We are still seeing targeted attacks that leverage this particular vulnerability as part of their campaigns.

    The Taidoor Connection

    We came across 2 attacks that targeted government agencies and an educational institute in Taiwan. The first attack used an email with a malicious attachment supposedly sent by a government employee. The attachment used a title pertaining to a national poll to appear legitimate.  The attachment is actually the exploit, detected as TROJ_ARTIEF.ZTBD-R. It drops a file detected as BKDR_SIMBOTDRP.ZTBD-R, which then drops two files — TROJ_SIMBOTLDR.ZTBD-R and TROJ_SIMBOTENC.ZTBD-R. These two files finally lead to the final payload detected as BKDR_SIMBOT.SMC.

    Figure 1. Email sample

    The second attack targeted an educational institute, also in Taiwan. This run used an email attachment to gain access to the recipient’s computer and network. The email message discussed free trade issues, while the attachment had a title about a work project. Similar to the first case, the attachment is also an exploit detected as TROJ_ARTIEF.ZTBD-PB. It drops a backdoor component detected as BKDR_SIMBOT.ZTBD-PB. Once executed, this malware can perform commands such as search for files to steal, exfiltrate any file of interest, as well as perform lateral movement.

    Figure 2. Email sample

    We have determined that these two attacks have ties to the Taidoor  — a campaign that has been active since 2009 — through the similar network traffic structure. The attacks described above have the same characteristics as previous runs in terms of target, social engineering lure, as well as techniques used (using a zero-day vulnerability).

    The PlugX Payload

    Another attack we saw used CVE-2012-0158 and targeted a mailing service in Taiwan. Just like the other attacks, this run uses an email attachment as the entry point to the network. The email attachment pretends to be a list about new books from a particular publishing house. This was done to try and pique  the recipient’s interest.

    Figure 3. Email sample

    This attachment is actually the exploit detected as TROJ_ARTIEF.ZTBD-A  which drops a PlugX malware detected as TROJ_PLUGXDRP.ZTBD. It drops a file detected as BKDR_PLUGX.ZTBD, which has the capability to perform a wide range of information stealing routines, including:

    • Copy, move, rename, delete files
    • Create directories
    • Create files
    • Enumerate files
    • Execute files
    • Get drive information
    • Get file information
    • Open and modify files
    • Log keystrokes and active window
    • Enumerate TCP and UDP connections
    • Enumerate network resources
    • Set TCP connection state
    • Lock workstation
    • Log off user
    • Restart/Reboot/Shutdown system
    • Display a message box
    • Perfrom port mapping
    • Enumerate processes
    • Get process information
    • Terminate processes
    • Enumerate registry keys
    • Create registry keys
    • Delete registry keys
    • Copy registry keys
    • Enumerate registry entries
    • Modify registry entries
    • Delete registry values
    • Screen capture
    • Delete services
    • Enumerate services
    • Get service information
    • Modify services
    • Start services
    • Perform remote shell
    • Connect to a database server and execute SQL statement
    • Host Telnet server

    PlugX malware is a remote access tool (RAT) used in targeted attacks aimed toward government-related institutions and key industries. PlugX may allow remote users to perform data theft routines on the affected system. PlugX can give attackers complete control over a system.

    Employing Countermeasures

    Patching should remain a top priority for regular users and enterprises alike. Installing patches as soon as they are made available can help organizations against attacks that exploit vulnerabilities. Enterprises should also consider virtual patching as they can help mitigate threats in the presence of zero-days and unsupported systems.

    Employee education is also a key element in protecting against targeted attacks. For email attacks that still get through, proper end-user training can help identify possible suspicious activity and/or emails. Users need to be taught to make their fellow employees aware of suspect e-mails in order to improve awareness and enhance defenses throughout the organization.

    Update as of May 23, 2014, 02:05 A.M. PDT

    The detections mentioned in the post have been renamed as following:

    For more details on various targeted attacks, as well as best practices for enterprises, you may visit our Threat Intelligence Resources on Targeted Attacks.



    © Copyright 2013 Trend Micro Inc. All rights reserved. Legal Notice