Search blog.co.uk

About me

tibbar

tibbar

Calendar

<<  <  July 2008  >  >>
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Last comments

codeCrypter

by tibbar @ 2006-03-01 - 23:25:13

Back on 28/12/2005 I released a public version of a crypter called CodeCrypter on the site www.governmentsecurity.org.

The purpose of the release was to demonstrate how ineffective AV are at detecting malware. I also released the source code to the tool there.

Now, over 3 months later, I thought I'd check that all the AV vendors are detecting it... the results are very disappointing.

Using the service Virus Total, here's the results of crypting a rootkit called "hxdef". This is the most popular rootkit used by hackers (www.hxdef.org).

Scan of hxdef packed with codecrypter 0.31, including resource packing at 1 March 2006:

Antivirus Version Update Result
AntiVir 6.33.1.53 03.01.2006 no virus found
Avast 4.6.695.0 03.01.2006 no virus found
AVG 718 03.01.2006 no virus found
Avira 6.33.1.53 03.01.2006 no virus found
BitDefender 7.2 03.01.2006 MemScan:Backdoor.HacDef.BR
CAT-QuickHeal 8.00 03.01.2006 (Suspicious) - DNAScan
ClamAV devel-20060126 03.01.2006 no virus found
DrWeb 4.33 03.01.2006 no virus found
eTrust-InoculateIT 23.71.90 03.01.2006 no virus found
eTrust-Vet 12.4.2100 03.01.2006 no virus found
Ewido 3.5 03.01.2006 no virus found
Fortinet 2.71.0.0 03.01.2006 suspicious
F-Prot 3.16c 03.01.2006 no virus found
Ikarus 0.2.59.0 03.01.2006 Backdoor.Win32.HacDef.084
Kaspersky 4.0.2.24 03.01.2006 no virus found
McAfee 4708 03.01.2006 no virus found
NOD32v2 1.1422 03.01.2006 a variant of Win32/HacDef
Norman 5.70.10 03.01.2006 no virus found
Panda 9.0.0.4 03.01.2006 Suspicious file
Sophos 4.03.0 03.01.2006 no virus found
Symantec 8.0 03.01.2006 no virus found
TheHacker 5.9.5.103 02.28.2006 no virus found
UNA 1.83 03.01.2006 no virus found
VBA32 3.10.5 03.01.2006 BackDoor.HackDef.164

Out of 24 AV vendors, only 4 correctly identified the file as hxdef. Another 3 marked it as suspicious.

This means we have a 30% of AV detecting the file, 3 months after release of the packer. More worryingly, all the popular AV are not detecting it (KAV, McAfee, Symantec).

I suspect that the ones who do detect it, are not recognising the packer, but instead are seeing the Import Address Table of hxdef, which I did not encrypt.

Very poor response time, given the amount of fees that they charge,


 
 

Trackback address for this post:

authimage

Comments, Trackbacks: Hide subcomments

Yorn [Visitor]

08/03/06 @ 22:14

Sad. They need to get their act together. I've often wondered about just creating a website submission tool that decompiles and recompiles code online. You submit an EXE and get one back that is hidden. The AV software doesn't have the server-side code, so they never know how's it is done.

Like you've said before, actually scanning the memory itself will eventually be the way to go. A higher overhead, perhaps, but they'll have to do it before too long.

blackhat [Visitor]

21/07/06 @ 04:34

i can codecrypter

Fredo [Visitor]

13/03/06 @ 21:36

Pretty scary. I know there has to be some change in the AV department, but how realistic is it to have more advanced memory scanning? Already I consider most antivirus programs to be a waste of memory. I usually leave them off until I want to specifically scan something. Not necessarily smart, but I do a lot of applications with my computer and I need the CPU speed.
Anywho...
keep up with the posts, you got some great stuff going on here. More people need to take your approach to security.
Peace out.

wF [Visitor]
http://www.none.com
14/03/06 @ 15:20

Ok this looks nice, but does it also still work ? Most of the time the exe is crippled.

gold [Visitor]
http://www.goodluck2008.com
24/04/06 @ 14:19

Out of 24 AV vendors, only 4 correctly identified the file as hxdef. Another 3 marked it as suspicious.(wow gold) (wow gold)

This means we have a 30% of AV detecting the file, 3 months after release of the packer. More worryingly, all the popular AV are not detecting it (KAV, McAfee, Symantec).

I suspect that the ones who do detect it, are not recognising the packer, but instead are seeing the Import Address Table of hxdef, which I did not encrypt.

Very poor response time, given the amount of fees that they charge,

tibbartibbar [Member]
15/03/06 @ 01:08

the crypted hxdef above is 100% functional. The encryption of resources option is a little touchy (usually takes about 4 attempts to get working exe).

note that it won't work on files that are already packed or those that attach data at the end of file, outside of the resources section.

Scoobs [Visitor]

22/03/06 @ 23:52

In the Virustotal scan some of the engines used look very old....the KAV one (version 4) is just ridiculous. Sorry, but I don't think these results can be considered valid. Can you upload to Jotti, I think they run newer versions. Or better still upload to those that have an online virus scanner on their own websites.

swoopy [Visitor]

10/04/06 @ 00:53

could u please compile for me a private packer
please send me in my mail address..ok buddy thanks!

swoopy [Visitor]

10/04/06 @ 00:55

ohh sorry i forgot my mail here is it guest@freemail.et

somename [Visitor]

24/12/06 @ 10:52

If a certain crypter is not being used ITW many AV don't see it due to the amount of real problem malware infecting machines every day.

The professionals (online crime gangs) are using changes in their code (pouring out variants) and obfuscation, not a little crypter. Rest assured the big fish get fried first. The most simplest AV can detect packed files heuristically and give an alarm, one well known one is well known for doing that too much..

The most important reason for users to have a top AV is to be protected from real threats that are on their machine at any time. The AV industry has always been driven by the need for AV, and detection strengths are worked on by priority. NOD32 is exceptional in todays climate, with obfuscation and packing countered by its unpacking and emulation, while it also detects variants of malware which are very tricky to analyse. A packer like this is easier to DETECT with a program, than obfuscated malware like Busky. This malware is easy to spot with the naked eye. NOD32 has it totally nailed and KAV is brilliant in some areas but fails badly against nearly all variants of Busky up until this month or so. Now it still misses them, the implementation of detection is always bound by the engine.

Choice of AV is a problem than ever for users, but a few leading products offer really good protection against the threats they encounter. NOD32, KAV, are very good. KIS integrated firewall, malware behaviour protection and anti spam so would be my choice but for pure AV engine NOD32 is superb (MS should have bought them instead of RAV)

Actually MS are doing very well in areas, it could be very promising. Often very new variants are detected by them and not the other AV's, its important that they have powerful heuristics to detect malware. I was impressed with some Busky and Zlob detections I have checked but haven't done any long time intensive comparisons.

tibbartibbar [Member]
26/12/06 @ 00:44

Back a year ago, when i released CodeCrypter, NOD32 was the only one that really could identify the offending malware, due to its sandbox facility.

The others (including KAV's in memory scan - which seemed to be a bug), did not find it.

It's worth nothing that I only did this as a POC that it's very easy to beat 90% of AV with a simple encryption method. I've not tried to repeat the test with a new algorithm 1 year later, but it would be interesting to do this.

I agree professional blackhats will not use this technique, as it's much better to work out the signatures being flagged, and recompile with modified source code. I was more looking at the problem of script kiddies who just repack nasty trojans or build themselves botnets using something like rbot / sdbot etc.

Perhaps I'll redo the test again if i have time.

Thanks for the interesting comments (in all of your replies).

Regards,

Tibbar.

Khamis [Visitor]
http://wslaat.com/Advertising-Publicity/
30/03/07 @ 13:41

thank you very much for this nice post

Leave a comment :

Your email address will not be displayed on this site.
Your URL will be displayed.
Allowed XHTML tags: <!, p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, a, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, img>
URLs, email, AIM and ICQs will be converted automatically.
Options:
 
(Line breaks become <br />)
(Set cookies for name, email & url)
All comments on this blog will be moderated by the author.
Validation code:
Please enter the above code here:
For protection from spambots (case-sensitive).

Recent Posts

  1. Reflecting on better times
    by tibbar on 2008-07-21
  2. CodeCrypter 1 Year On
    by tibbar on 2006-12-26
  3. Hooking drivers
    by tibbar on 2006-12-22
  4. linux server framework
    by tibbar on 2006-10-19
  5. ReactOS
    by tibbar on 2006-07-15
  6. update
    by tibbar on 2006-06-18
  7. What comes next?
    by tibbar on 2006-04-11
  8. Kernel Mode Ircbot
    by tibbar on 2006-04-06
  9. codeCrypter next release plans
    by tibbar on 2006-03-31
  10. jotti scan
    by tibbar on 2006-03-23