Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 37 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Malwarearrow Help me understand
EH-Net
May 20, 2013, 08:34:20 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Help me understand  (Read 2922 times)
0 Members and 1 Guest are viewing this topic.
SephStorm
Hero Member
*****
Offline Offline

Posts: 530


View Profile WWW
« on: December 19, 2012, 08:56:14 AM »

So someone I know got hit with some malware recently, and i'm trying to understand exactly what happened, as best I can. Heres the sequence.

non admin User downloaded a zip file, and scanned it with MSE. While MSE didnt alert (strangely) it did in fact detect a trojan in the zip file and it was supposedly removed.

After the scan the user preceded to unzip the supposedly now clean zip file. This triggered some kind of malware that killed MSE, User immediatly took remediatory action.

Now, it appears to me that one of several possibilities existed... here are my thoughts:

original trojan was easily detected, was this intentional, perhaps luring the target into a false sense of security?

traditionally trojans drop files, or provide access through which further comprimise can occur. There have been no indicators of further comprimise, what am I missing?

What caused MSE to be killed? I know that commands can be executed to kill AV, but they generally require Admin or SYSTEM privlidges, user was un-privlidged. I thought maybe some sort of client side exploit to gain privlidges. I'm just not sure.

Finally, the user immediatly pulled the network cable, scanned the computer in safe mode, and regular mode with up to date scanners (3) and nothing else was detected, but can we trust this? outside of MSE which was originally killed, the other software installed at the time did not stop or detect an attack. In addition the user ran a networksniffer, and did not detect any malicious traffic after the comprimise...

Thoughts?
Logged

lorddicranius
Sr. Member
****
Offline Offline

Posts: 447



View Profile WWW
« Reply #1 on: December 19, 2012, 10:36:23 AM »

One thought:

Quote
scanned the computer in safe mode, and regular mode with up to date scanners (3) and nothing else was detected

To be detected, this requires the malware to be known by the scanners.
Logged

GSEC, eCPPT, Sec+
H1t M0nk3y
Hero Member
*****
Offline Offline

Posts: 864



View Profile
« Reply #2 on: December 19, 2012, 10:39:10 AM »

I know it's not too hard to encode and obfuscate malware. Using Metasploit makes it quite easy: http://oldmanlab.blogspot.ca/2011/11/metasploit-shellcode-obfuscation-to.html

That being said, it doesn't answer everything. I am curious to see what the others think of that...
Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
SephStorm
Hero Member
*****
Offline Offline

Posts: 530


View Profile WWW
« Reply #3 on: December 19, 2012, 10:49:55 AM »

exactly I was thinking maybe the first trojan wasn't encoded, designed to be detected, whereas there was hidden malware that wasn't detected.
Logged

m0wgli
Full Member
***
Offline Offline

Posts: 248


View Profile
« Reply #4 on: December 19, 2012, 02:27:46 PM »

I'd doubt that any malware author would deliberately design something to be detected. A detection of anything would surely only increase user suspicion of what's being installed vs an installation with no AV alert?

Even with encoding/obfuscation techniques you're not guaranteed to bypass AV, overtime these become known to the AV vendors. Hence, why one may have been detected and not the other.
Logged

Security + | OSWP | eCPPT | CSTA
SephStorm
Hero Member
*****
Offline Offline

Posts: 530


View Profile WWW
« Reply #5 on: December 19, 2012, 04:40:35 PM »

So what do you guys think happened here?
Logged

cd1zz
Hero Member
*****
Offline Offline

Posts: 561


View Profile WWW
« Reply #6 on: December 19, 2012, 07:18:34 PM »

It's certainly possible this was an 0 day on MSE. If it is, maybe the vulnerability the attacker used requires MSE to pick up some kind of virus, to trigger his 0 day exploit. Since MSE runs as SYSTEM, if you pwned it, you' would be able to kill the service and ultimately control the box.

What's the name of the virus it successfully caught?

Logged

SephStorm
Hero Member
*****
Offline Offline

Posts: 530


View Profile WWW
« Reply #7 on: December 20, 2012, 06:13:27 AM »

It detected a trojan, i'll have to try to have them get the name.
Logged

ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1057


aka dynamik


View Profile WWW
« Reply #8 on: December 20, 2012, 12:20:34 PM »

Is there any evidence that something malicious actually occurred when the file was extracted? Maybe MSE just crashed. Maybe your acquaintance has found the 0-day Wink

User's will also bend the truth to avoid embarrassment. I'd get a copy and do analysis in a safe environment before jumping to grand conclusions. That'll get you a lot farther than just speculating.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
encryptedmind
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #9 on: April 17, 2013, 04:33:33 AM »

1. This looks like a parsing bug in MSE that was exploited using a malformed zip file. A thing about the user in question is that he may have mistaken an executable file for a zip file (they come in a few variations themselves). As unzipping a zip file will not cause the contents to execute by themselves. If it was self extractable then execution could have configured. This would constitute a social engineering attack.

2. The 0 day theory is quite probable as well given the tools required for this are freely available.

3. It also could be that a malware was already running on the pre infected system and the contents of new zip files were part of its launching code. This might be in sync with your zip file extraction trigger. Malware like Flame remained undetected for years, its quite plausible a similar attack vector was being utilised.

4. Futher this could be a bug in MSE where the scanning logic is bypassed to make MSE execute the malware, based on the format trickery done on the zip.

5. Alien invasion is not really that far off.....

Ahh... so the conspiracy theory ends here.....

Any links to the malware in question, I could analyse it and give you more details.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.