Spam Trojan Installs Own Anti-Virus Scanner - Funny

  • Thread starter Pebb
  • 9 comments
  • 688 views
Status
Not open for further replies.
16,736
England
Southampton, UK
Pebb--
Pebb
Source: http://news.yahoo.com/s/zd/191975

Veteran malware researcher Joe Stewart was fairly sure he'd seen it all until he started poking at the SpamThru Trojan—a piece of malware designed to send spam from an infected computer.

The Trojan, which uses peer-to-peer technology to send commands to hijacked computers, has been fitted with its own anti-virus scanner—a level of complexity and sophistication that rivals some commercial software.

"This the first time I've seen this done. [It] gets points for originality," says Stewart, senior security researcher at SecureWorks, in Atlanta, Ga.

"It is simply to keep all the system resources for themselves—if they have to compete with, say, a mass-mailer virus, it really puts a damper on how much spam they can send," he added.

Most viruses and Trojans already attempt to block anti-virus software from downloading updates by tweaking hosts file to the anti-virus update sites to the localhost address.

Malicious hackers battling for control over an infected system have also removed competing malware by killing processes, removing registry keys, or setting up mutexes that fool the other malware into thinking it is already running and then exiting at start.

But, as Stewart discovered during his analysis, SpamThru takes the game to a new level, actually using an anti-virus engine against potential rivals.

At start-up, the Trojan requests and loads a DLL from the author's command-and-control server.

This then downloads a pirated copy of Kaspersky AntiVirus for WinGate into a concealed directory on the infected system.

It patches the license signature check in-memory in the Kaspersky DLL to avoid having Kaspersky refuse to run due to an invalid or expired license, Stewart said.

Ten minutes after the download of the DLL, it begins to scan the system for malware, skipping files which it detects are part of its own installation.

"Any other malware found on the system is then set up to be deleted by Windows at the next reboot," he added.

At first, Stewart said he was confused about the purpose of the Kaspersky anti-virus scanner.

"I theorized at first that distributed scanning and morphing of the code before sending the updates via P2P would be a clever way to evade detection indefinitely," he said, but it wasn't until he looked closely at the way rival malware files were removed that he realized this was a highly sophisticated operation working hard to make full use of stolen bandwidth for spam runs.

Click here to read more about cyber-criminals' use of P2P tools.

Stewart also found SpamThru using a clever command-and control structure to avoid shutdown.

The Trojan uses a custom P2P protocol to share information with other peers—including the IP addresses and ports and software version of the control server.

"Control is still maintained by a central server, but in case the control server is shut down, the spammer can update the rest of the peers with the location of a new control server, as long as he/she controls at least one peer," he said.

Stewart found that the network generally consists of one control server (running multiple peer-nets on different ports), several template servers, and around 500 peers per port.

There appears to be a limit to how many peers each port can effectively control, as the overhead in sharing information between hosts is fairly large, he added.

"The estimated number of infected hosts connected to the one control server we looked at was between one and two thousand across all open ports," Stewart added.

The operation uses template-based spam, setting up a system where each SpamThru client is its own spam engine, downloading a template containing the spam, random phrases to use as hash-busters, random "from" names, and a list of several hundred e-mail addresses to send advertising.

The templates are encrypted and use a challenge-response authentication method to prevent third parties from being able to download the templates from the template server.

Stewart also found that the Trojan was randomizing the GIF files—changing the width and height of the images—to defeat anti-spam solutions that reject e-mail based on a static image.

"Although we've seen automated spam networks set up by malware before, this is one of the more sophisticated efforts. The complexity and scope of the project rivals some commercial software. Clearly the spammers have made quite an investment in infrastructure in order to maintain their level of income," Stewart said.

During his analysis, Stewart found that SpamThru was being used to operate a spam-based pump-and-dump stock scheme.
 
....which proves that Internet threats are getting smarter and smarter. All the more reasons to play safely with PCs and internet.
 
Mac will always be safe because noone uses it :lol:

Alot of people use macs, but it's a lot easier to hack a machine with windows than it is a mac. (that's why you don't need anti-virus and spyware blocking software on a mac.)
 
TS
Alot of people use macs, but it's a lot easier to hack a machine with windows than it is a mac. (that's why you don't need anti-virus and spyware blocking software on a mac.)

Pretend for a moment that you're the guy who wrote this spam software. Your objective it to spam as many people as possible with "male enhancement" product emails or fake rolex ads.

Which OS are you going to write your spammer for (regardless of security)?

Edit: Now ask yourself, if Macintosh had 90% of the market, and Windows had 10%, and let's pretend that Macs were a lot harder to write viruses for than Windows, how many viruses do you think would be written for Windows? The folks who hack, or write viruses, trojans, etc. have never been deterred by a challenge. They find ways to break any and every system provided that there's a payoff.
 
It's unfortunate that yet another thread has turned into a Mac vs. PC argument, but I just have to say something about it.

danoff, in the specific situation that you described - which involves a spammer looking to advertise a product - yes that particular person would probably target Windows, not because of security, but obviously because of the number of users Windows has.

But how about the guy in his parents' basement looking to get some credibility amongst his peers? Don't you think he wants to be the one to create the first successful virus for Mac OS X? I think that would gather more attention than creating yet another Windows virus/worm/trojan. Exploiting Mac OS X is undoubtedly a priority amongst many, as I'm sure every virus-maker out there would love to wipe that smug look off of every Mac-user's face.

I'm not saying OS X is 100% secure, but given a situation where Mac and Windows have the same marketshare, I'm confident that there still would be less exploits for Mac than Windows at their current state.
 
Well, the Mac kernel (Mach) has had a lot more years under it's belt to work the bugs out.

Windows is based off a clean-sheet kernel from 1993. OSX is based off a clean-sheet kernel from 1985. So, I'd agree than the number for exploits for Windows is going to be higher than for OSX simply because Mac adopted a mature kernel (and they get props from me for that).
 
Let's prevent another argument, guys...

I do admit, even as a Windows guy, that Macs have virtually no viruses compared to Windows. But, in my opinion, that is because Windows is so much more profitable to hack because of its immense number of systems worldwide. Macs would be virtually confined to schools and graphic artists and a few other applications where there would not be much "valuable" information stored. It makes more sense to hack a Windows, which is used by lots of stores, banks and businesses (at least from my experience in Japan).

My $.02
 
Status
Not open for further replies.
Back