Archive for 2009

View All Spam

First Facebook, now MySpace

By Gavin Neale  •  October 30th, 2009  •   Spam

This week we have seen Pushdo send a number of malicious spam campaigns impersonating Facebook and the FDIC. Today we began to see yet another malicious spam campaign from Pushdo, this time the spam emails claim to come from 'Myspace Service'. The volume of these is currently low and all messages have the subject line 'Myspace Password Reset Confirmation'.

The message claims that to provide safety, your MySpace password has been changed and that your new password is in the attachment.

Unsurprisingly the zip attachment does not contain a new password but an executable file that is the Zbot Trojan horse.

A couple of days after the last fake Facebook spam with malicious attachments, Pushdo began to send this Facebook spam with links to a website that asked users to download and run an update tool that was actually Zbot. If this trend continues it's possible that Pushdo will do the same thing again with a fake MySpace website or use another popular brand such as Twitter or Google.

View All Spam

Facebook Phish Also Distributes Zbot Trojan

By Rodel Mendrez  •  October 29th, 2009  •   Spam

With Facebook's gaining popularity, the number of Facebook scams we have received recently has also increased. Yet another Facebook spam campaign is being spammed currently which we believe originates from the Pushdo botnet. The scam appears to have two aims; to steal your Facebook account credentials and to distribute the Zbot (Zeus Bot) Trojan.

Opening the link from the message body is a step closer to your Facebook account being compromised. The link looks legitimate at first. But further inspection reveals a URL format like this:

http://www.facebook.com.<MALWARE DOMAIN>u/globaldirectory/LoginFacebook.php?ref=<RANDOM NUMBER>&email=<TARGET EMAIL ADDRESS>

Once you enter your username and password, you will be redirected to another fake Facebook page. The page instructs you to download an executable file that poses as a Facebook update tool. The executable file is none other than the Zbot trojan.

Two days ago, we warned about a Pushdo campaign with a zip attachment using the Facebook theme. The purpose of that spam campaign was to distribute the Bredolab Trojan. Social networking sites such as Facebook sites are very popular and most users are highly susceptible to these kinds of attacks. Always be vigilant when you receive emails like this. Always verify links and be extremely wary of downloading or opening any attachment files especially executable ones.

View All Spam

Beware New Pushdo Campaigns

By Gavin Neale  •  October 27th, 2009  •   Spam

Two new spam campaigns sent by the Pushdo botnet may trick users into installing malware on their PCs.

The first of these poses as an email from Facebook and contains a zip attachment. The email has the subject line 'Facebook Password Reset Confirmation' and states that your Facebook password has been changed and that your new password is in the attachment.

Inside the attached zip file is an executable file that if run will install Bredolab, a malicious downloader. One of the first things we saw this Trojan horse download was the Pushdo bot which began spamming out more of these Facebook password reset emails.

The second new campaign pretends to come from the Federal Deposit Insurance Corporation (FDIC), and claims that the bank you have an account with has been listed as a failed bank. This may not seem to far fetched to some, especially when considering the number of banks that have been listed as failed by the FDIC in the past year.

We have seen the following subject lines:

FDIC alert: check your Bank Deposit Insurance Coverage
FDIC has officially named your bank a failed bank
you need to check your Bank Deposit Insurance Coverage

The fake FDIC email asks you to visit their website, by clicking on a link, to check your deposit insurance coverage. This link is not to the FDIC website but one of many fraudulent web sites set up to host this campaign.

The web site instructs the user to download their personal insurance file and also mentions that the files are self extracting, which may trick some users once they see that these documents are actually .exe files!

The links to both the PDF and Word document are both links to a ZBot executable. Over the last several months Pushdo has been spreading ZBot with campaigns that have a strong social engineering component that are backed up with well designed websites and offers the user plausible reasons to run a file. Some of these previous campaigns are the Michael Jackson campaign, the IRS scam seen over the last month and the server update scam seen a couple of weeks ago.

View All Spam

Server Update Scam Distributes Zbot Trojan

By Rodel Mendrez  •  October 13th, 2009  •   Spam

For two days now, the Pushdo botnet has been distributing malicious spam intent on causing infections of the Zbot Trojan. This latest campaign pretends to come from a system administrator that asks you to run an executable file disguised as a patch.

The URL format may at first look legitimate since it uses the target's email address as part of the URL in the message body. But please be wary, the link pointing to the executable file is a Zbot Trojan, an information stealing piece of malware.

MailMarshal customers, and WebMarshal 6.5 customers with TRACEnet, are protected from this campaign with the latest updates.

View All Spam

Maazben: Best of Both Worlds

By Rodel Mendrez  •  October 7th, 2009  •   Spam

About 4 months ago, we discussed how proxy-based and template-based spambots work. Most of the spambots we see today use template-based spam engines. This is because proxy-based spambots do not work effectively behind NAT routers. Despite this fact, proxy-based bots are still very much alive.

One of the interesting bots we analyzed recently is Maazben. This bot utilizes both template-based and proxy-based spam engines. Maazben spam focuses exclusively on Casino spam and seems to target Russian and European email domains. So far, we’ve seen only the Virut and Sality downloaders responsible for distributing the Maazben executables.

Here is how Maazben works:

Figure 1: Maazben bot flowchart

Installation

When run, Maazben creates a mutex that serves as an infection marker on the compromised system. It usually has a mutex name with the “S_SERV” prefix on it. It then enables the bot executable to bypass the Windows firewall by modifying a registry key:

HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List\

<Bot executable> = “<Bot executable>:*:Enabled:ipsec”

The bot now registers its whereabouts to its control server by sending this HTTP GET request:

GET /utest/?jutr=16821&oo=2&936b4=407eec&ra=0 HTTP/1.1User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)Host: <control server ip>Cache-Control: no-cache

Behind the Router

Maazben by default is a proxy-based spambot, However in case it runs behind a NAT router it downloads another spambot executable that utilizes a template-based engine. The bot herders know that running a proxy-based bot behind a router would make it difficult for their control servers to initiate connections to the bot clients. In other words, a contingency plan.

When running behind a NAT router, Maazben retrieves a list of URLs where template-based spambots are served up.

Figure 2: URL list of encrypted spambot

Notice the .GIF file extension in Figure 2. The link is actually an encrypted executable file of the template-based spambot. Maazben then attempts to download one of the file from the URL list.

Figure 3: packet capture of an encrypted executable being downloaded

After downloading and decrypting the “.GIF” file, the downloaded spambot is executed on the compromised system. An encrypted spamming template is then retrieved from the control server.

Figure 4: An encrypted and decrypted version of the spam template

The spam template also includes a list containing hundreds of target email addresses and SMTP servers. In addition to this, it also collects email addresses from the current user’s Outlook Windows Addess Book and temporary internet files. It also double checks whether the infected IP address has been blocked by the following spam blacklists:

  • bl.spamcop.net
  • cbl.abuseat.org
  • list.dsbl.org
  • sbl-xbl.spamhaus.org
  • zen.spamhaus.org
  • combined.njabl.org
  • multihop.dsbl.org
  • blackholes.uceb.org
  • bl.csma.biz
  • db.wpbl.info
  • dnsbl.njabl.org

This is how the spam looks like in your inbox.

Figure 5: Sample email

On the External Network

In a demilitarized zone or in the external network, the spammer’s control server wouldn’t have any problem initiating connection to a proxy-based bot. In this case, the proxy bot would typically register itself to a control server, listen and wait for incoming traffic then relay this traffic to its target.

As we mentioned earlier, by default Maazben is a proxy-based bot. Once it installs itself on the system, it then notifies its control server and listens on a rendezvous port waiting for spam traffic to relay to its target.

Figure 6: Maazben listening and waiting for incoming C&C relay connection.

Image in Figure 7 shows the control server sending request in SOCKS 4 protocol format to relay a spam message to a mail server using port 25.

Figure 7: Control server sends an initiation packet using SOCKS 4.

Maazben spam messages seems to be mostly Casino spam. The language varies, including English, Russian and other European languages. Here is one sample from our spamtraps:

Figure 8. Email sample sent by Maazben spam proxy

Proxy-based spambots are somewhat old-school, but for the spammers behind Maazben botnet it’s just employing the best of both worlds.

View All Spam

Top Spam Affiliate Programs

By Gavin Neale  •  September 30th, 2009  •   Spam

An interesting paper was presented last week at the Virus Bulletin conference which gives an insight into spam affiliate programs. In particular, it highlighted the notorious ‘Canadian Pharmacy’ brand as being one of the oldest and largest programs around.

Affiliate programs are how most spammers make money. Once a member of an affiliate program, spammers are given links or page templates to create their own web page to which they use spam to drive potential customers to. The spammers make a commission on each sale. Often affiliate programs have several different 'brands' from which members can choose to promote, for example, Canadian Pharmacy is just one of the brands created by the GlavMed organization.

For anyone monitoring spam, it is obvious that Canadian Pharmacy spam is the most widely spammed program. In our last Security Labs report in July we mentioned Canadian Pharmacy accounted for as much as 50 percent of spam. At M86 Security Labs, we have been doing more research into spam affiliate programs over the last few months.

Below is a chart showing the amount of spam received promoting each affiliate program or their brands. The chart data derives from a random sample taken over the last 48 hours. The results are broadly representative of what we typically have been seeing each day over the last several weeks.

As you can see, Canadian Pharmacy at between 60-70 percent is by far the most spammed program. Many of the top spam botnets, including Bobax, Gheg, Grum, MegaD, Pushdo, Rustock and Xarvester are currently sending spam with links to Canadian Pharmacy websites.

The IRS Scam category is not an affiliate program but a large campaign of malicious emails sent by the Pushdo botnet. As it is responsible for a rather large portion of spam we thought it fit to compare it to existing affiliate programs.

The overwhelming dominance of Canadian Pharmacy suggests tackling the underlying affiliate progams is one way to hamper spammer’s efforts. Although, as we saw last October when the US FTC took action against the SanCash (AKA GenBucks) affiliate program, the botnets were quick to find substitute affiliate programs.

View All Malware

Malware Analysis – Trojan Banker URLZone/Bebloh

By Daniel Chechik  •  September 30th, 2009  •   Malware

In our recent Cybercrime Intelligence report, we described a cybercriminal process of robbing money from bank accounts, using money mules and Trojans.

In this blog post, we will provide you with more technical aspects about the Trojan Banker URLZone/Bebloh that they used.

URLZone is a Trojan Kit that allows the attacker to use the “URLZone Builder” for creating a configuration file. This file contains precise orders to the bot, enabling the attacker to target any bank he wants (We described in the Cybercrime Intelligence report how the bot is activating account). The URLZone successfully managed to bypass the German banks’ protection using “One Time Password”. This is a technique used to enable the user to get a new password every time he logs into his account. Its goal is to make the theft of usernames and passwords worthless. In order to be successful, the malware must execute itself on the browser to change the parameters and fool the user to approve a fraudulent money transaction from his account.

Let’s now take a step-by-step look at how the Trojan operates.

Once the malware is executed, it copies itself to c:\uninstall02.exe. It then creates an ID and sends it with the version ID of the malware to the Command & Control (C&C) in order to confirm that the infected machine now contains the latest version of the malware.

The C&C logs the information and write it to REQ[x].txt
10:57:38 2009-09-24 GMT *****User ID**** ****IP****** 200908291825

Once the new executable is downloaded, it is copied to SYSTEM32 with a random name and hidden mask with the date of the operation system files.

Following is a screenshot of Virus Total scan results (2/41) for the latest generated malware:

It is important to mention URLZone (just like Zeus/Zbot and others) cannot operate on its own, since it is just a bot that is hooked into system processes and hides itself. The logic part of the malware is found in the configuration file – in our case INJECT file. The next step of the malware is downloading the configuration file.

Snippet code of the obfuscated configuration file:

The new generated configuration file is stored locally and is encrypted.

The malware itself doesn’t change any system files. In order to keep working after the victimized machine’s restart, it adds itself to the startup registry.

The malware sets itself with a “Debugger” value to the file “userinit.exe”. This ensures that every time the file “userinit.exe” runs, the malware will run instead.
The malware hooks itself to the “svchost.exe” process and checks the C&C server every 3 hours for new commands and updates. Behind the scenes, the malware checks every second whether a new instance of the following application was executed:

  • myie.exe
  • iexplore.exe
  • firefox.exe
  • mozilla.exe
  • avant.exe
  • maxthon.exe
  • thebat.exe
  • explorer.exe

Once the malware recognizes that one of the above is created, it hooks on it. The basic target of the malware (even without the configuration file) is to collect any credentials delivered by the user with HTTPS communication.

In case you wonder why the malware doesn’t collect the credentials from all the websites (even though it uses HTTPS) the answer is simple: the malware uses evasive techniques from security appliances. It limits itself to collect data that is sent by the user using POST method with less than 2,000 bytes, as shown below:

So far the malware behavior is similar to many other Trojans. However, URLZone uses the delivered configuration file to manipulate the user. Once the user opens his browser, the malware decrypts the configuration file:

The decrypting algorithm is pretty simple:
res=”"
for i in configuration_file:
res+=chr(255^ord(i));

Snippet code of the de-obfuscated configuration file:

The configuration file contains several sections – postbank.de (we are able to follow the malware steps using the screenshots it takes from the victim’s machine and transmit it to the C&C server):

The malware manages to hook at the exact moment when the victim confirms his transaction. Once the user approves the transaction the malware changes details and sends it to the server.

According to the configuration file we are capable to see the following:

In order not to raise any suspicion, the malware verifies that the user will only see what he expects.

As can be seen in the screenshot above, the malware manipulates the statistic page of the user account, maiking it look like the transaction was completed successfully. However, if we take a look at the server side reports, we see exactly how much money was actually delivered.

As can be seen from the server log above, the malware identifies that user is limited to a maximum transfer of 2000 Euro (INET_LIMIT=2000), so he transferred 1900 Euro (AMOUNT=1900.00) to the money mule account located under DROPNAME variable.

The following screen shot shows the latest version VirusTotal 5/41 detection rate of URLZone/Bebloh malware (29.9.09)
MD5: 27E8351A5B0BEA5EF15C6681007FDEE5

Posted By Daniel Chechik

Tags:    |    |    |    |    |    |    |    |  

View All Spam

IRS Scam Still Ongoing

By Gavin Neale  •  September 22nd, 2009  •   Spam

We are still seeing malicious emails from a campaign that was begun several weeks ago by the Pushdo botnet. The emails pretend to come from the IRS and ask that you review your tax statement on the IRS website, a link to which is provided.

The URLs linked to in these emails all have the format 'http://www.irs.gov.[host domain]/fraud_application/directory/statement.php?'. So far in our TRACEnet system we have seen over 300 domains being used to host these websites.

The link takes you to the website below which asks you to download and execute a program in order to review your tax statement.

The executable file that we downloaded was not detected by most anti-virus programs. When run it installs the Zbot Trojan horse which steals information from a victims' PC.

MailMarshal customers, and WebMarshal 6.5 customers with TRACEnet, are protected from this campaign with the latest updates.

View All Spam

Spambot wants to play Monopoly

By Rodel Mendrez  •  September 21st, 2009  •   Spam

To those people who love online games, especially Monopoly, be wary. This morning, we noticed a spam campaign that invites unsuspecting users to visit a website to play an online version of the famous board game Monopoly. The spam message may look similar to this:

When we visited the URL from the message body, the website appeared neat with instructions, trivia, and a little bit of the game history. However, the site also requires you to download a 13Kb "free application" in order to play.

The 13Kb executable file "game application" was actually a downloader Trojan, packed with an unknown packer. Manually unpacking the file reveals another PE (portable executable) file that contains control servers that the downloader tries to communicate with and download additional malware:

The link from the Monopoly website that points to the Trojan binary changes from time to time. The second time we checked the link, it had updated its binary which now connected to a control server located at http://bcchart.net/progs/vjcqznnby/ and http://acmusicstore.com/progs/vjcqznnby/.

The trojan downloads a spambot that looks a lot like Rustock. Here is the packet capture which looks so familiar:

Below is a sample spam message that the spambot sends. The "newsletter" nature of it is vintage Rustock:

View All Spam

Pushdo delivers downloader trojan

By Rodel Mendrez  •  September 17th, 2009  •   Spam

It seems the Pushdo botnet never fades. In fact with its latest spam campaigns, Pushdo has been very active in sending malicious emails with fake parcel notification themes. Our spam traps are currently receiving tens of thousands of such message daily. The messages have a zip attachment that purports to be a parcel invoice or a document, similar to this, this and this. The attachment is actually the Bredolab Trojan, a notorious downloader capable of downloading scareware programs, password stealers, spambots, and just about any thing the malware author wishes to download on to the infected computer. Here are some sample emails we've seen:

The Bredolab trojan uses a legitimate looking icon to disguise it as a document file. But the more observant will realize that the file has an executable file extension that makes it very suspicious.

As of this writing, the Bredolab samples we tested downloads the rogue antivirus software "Antivirus Pro 2010" from "gumertagionader.com".

This month, the Microsoft Malware Protection Center has added Bredolab family in its Microsoft Software Removal Tool (MSRT) in response to the emergence of Pushdo’s fake parcel themed spam campaign. The MSRT release also includes cleanup for the password stealing trojan Daurso which may also be downloaded by Bredolab, as well as Cutwail (Pushdo) itself.

These sorts of generics downloaders are becoming more problematic. If you get infected, your computer is then potentially open to a raft of other malware. Which also means you may have a serious cleanup job to do.