Posted on Friday, June 29th, 2007 | Bookmark on del.icio.us

You’ve Got Postcard Malware

by Jose Nazario

If you don’t have an email address, or if you have a great spam filtering engine, you may not be among us throngs who have been flooded with spam linking to a “postcard from a family member”. The spams have a link in them and you’re encouraged to click:

Date: Fri, 29 Jun 2007 13:25:01 +0200
From: hallmark.com
To: You
Subject: You’ve received a postcard from a family member!

Good day.Your family member has sent you an ecard from hallmark.com.

Send free ecards from hallmark.com with your choice of colors, words and music.

Your ecard will be available with us for the next 30 days. If you wish to keep the ecard longer, you may save it on your computer or take a print.

To view your ecard, choose from any of the following options:

——–
OPTION 1
——–
Click on the following Internet address or copy & paste it into your browser’s address box.

http://89.41.89.103/?18529a3ab9d352785c21a5aa8088aea28a

——–
OPTION 2
——–
Copy & paste the ecard number in the “View Your Card” box at http://89.41.89.103/

Your ecard number is 18529a3ab9d352785c21a5aa8088aea28a

Best wishes,
Postmaster,
hallmark.com

OK, so let’s pretend you actually clicked the link. What would happen? You’d possibly get your machine recruited into the Peacomm spam botnet. This handy diagram shows you what happens once you hit the website. There’s some obfuscated JavaScript on the page which builds a link to /123.htm, a malicious ANI file (MS07-017), and other exploits – QuickTime, WinZIP, and WebViewFolderIcon – all to cajole your computer into downloading files and launching them. There’s also a link to “/ecard.exe”, a downloader, in case you prefer to infect your computer manually. Depending on your browser and how it handles JavaScript, you get one or the other.Peacomm Postcard Website

If you actually get hit, your box will ping the web server (/aff/cntr.php) start to download the Peacomm components, like /aff/dir/sony.exe , /aff/dir/logi.exe, and /aff/dir/pdp.exe. I’ve written a bit about The Storm Worm, Peacomm in ZIPs, and Peacomm in RAR files recently.

123.htm is a stock ANI exploit. The URL to download is bit shifted by 2, so we have to examine the strings of the file and bitshift it by -2 to get the proper URL (in this case http://catcher.hk/man.exe, now dead). Once we have that (bitshift is a little python program I wrote to do this easily on the command line), we have another EXE URL to examine.

bitshift

So, at this point, Peacomm and its gang are upping the ante. They’re improving their methods to infect your computer, they’re gaining ground, and they’re not slowing down. This has been going on for a couple of weeks at this point. Also, there are rumors that Peacomm is launching (at present) a DDoS attack against rival spam gangs, so your infected computer may also be a DDoS bot. Peacomm infected boxes have participated in DDoS events before against rivals and anti-spam efforts.

Links around the net:

4 Responses | Add your own



Comment Post by: BelchSpeak — July 2nd, 2007 @ 12:33 pm EST  Reply

Great analysis on this one. I have seen the attack morph yet again. This time they are sending the e-cards with a spoofed source of bluemountain.com, and known and good ecard site.

Also, I have been receiving lots of .pdf attachments lately, but I don’t know if that’s related.

Comment Post by: BelchSpeak » .HK Spammers Love You and Me — July 2nd, 2007 @ 12:52 pm EST  Reply

[...] The emails say they are from a relative, friend, admirer, or my favorite, a “worshipper” and the url is typically a .hk domain followed by a unique string.  I have not bothered to click on them to see what they try to do.  But according to ArborNetworks, its rather nasty. [...]

Comment Post by: Elizabeth — July 15th, 2007 @ 12:21 am EST  Reply

What does one do to stop the damage if the file has been opened?–in English if possible,
Thanks.

Comment Post by: From Elk Cloner to Peacomm: A quarter century of malware · Security to the Core | Arbor Networks Security Blog — July 18th, 2007 @ 4:16 pm EST  Reply

[...] You’ve Got Postcard MalwarePeacomm RARs Its Ugly HeadDeath by a Thousand Little CutsAV, how cam’st thou in this pickle?Googling for Malware, Bobbing for Mass Mailers [...]

Leave a Comment