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 64 guests and 1 member online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Malwarearrow OS monitoring tools required
EH-Net
May 25, 2012, 07:43:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: OS monitoring tools required  (Read 6912 times)
0 Members and 5 Guests are viewing this topic.
pomi
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: March 13, 2010, 02:57:01 PM »

Hi Guys

I didnt know where to post this so I forgive me if this the wrong section. Anyway, over the last few days my bro's win7 was doing all sorts of crazy things so I decided to wipe the drive and do a fresh install. Today I left my PC on whilst doing some work (winXP x64), shortly afterwards it also acted in a strange manner. I suspect my comp has been hacked since I have some dodgy files on my desktop. Ive done a virus/spyware scan and it hasnt revealed anything interesting. I checked my wireshark logs and they showed alot of 'encrypted' data being sent around. There were some plaintext links too to rapidshare sites etc. Im in the process of find out exactly what has happened and how it happened.
Having said that I was wondering if there are any tools which I can use to analyse the system for rootkits/file modification and what system calls are being made etc ?
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #1 on: March 13, 2010, 06:18:43 PM »

There are tools like Rootkit Revealer from Systernals that will detect some rootkits:

http://technet.microsoft.com/en-us/sysinternals/bb897445.aspx

However, one purpose of a rootkit is to hide itself.  It will typically avoid detection by masking its processes and OS calls.  The best way to detect a rootkit is through offline forensic analysis.   You can boot your computer from a Helix forensic CD for example.   Helix contains tools that will allow you to scan your computer for virus, browse the file system, etc.    Be careful running Helix on a live system.

There are also IR tools, like RAPIER, that can help you gather volatile data for analysis. 
Logged

~~~~~~~~~~~~~~
Ketchup
chrisj
Hero Member
*****
Offline Offline

Posts: 997


View Profile
« Reply #2 on: March 13, 2010, 09:25:12 PM »

I have to second Helix. I used to use it at work, but haven't had to do any forensic work for a while. The user manual is really useful too.
Logged

OSWP, Sec+
j0rDy
Hero Member
*****
Offline Offline

Posts: 578


View Profile
« Reply #3 on: March 14, 2010, 06:11:43 AM »

the source can be pretty hard to find. my advice would be to start easy, and work your way to more difficult measures later. start with a good virus scanner (preferably two different ones to exclude the results of eachother, but NOT AT THE SAME TIME!) after that try a spyware/malware remover, and again: try two different ones! if this doesnt find the bugger go to more extreme measures. use a rootkit revealer and if it still not gone, go for someting like Helix. the last resort is a fresh install...
Logged

ISC2 Associate, CEH, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
zeroflaw
Full Member
***
Offline Offline

Posts: 184



View Profile
« Reply #4 on: March 14, 2010, 08:07:45 AM »

I don't know if it will help you, but I usually try "netstat -b" in the cmd prompt. This will list executables that create connections or listen on ports. Of course that won't clean up your computer, but you might be able to close the connections and stop the downloads.
Logged

ZF
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #5 on: March 14, 2010, 10:49:39 AM »

Zeroflaw, a good rootkit will hide itself from that command.   You would have to execute that command from an external media, using know good libraries, and it still may be able to hide itself.   
Logged

~~~~~~~~~~~~~~
Ketchup
hayabusa
Hero Member
*****
Offline Offline

Posts: 1304



View Profile
« Reply #6 on: March 14, 2010, 11:24:53 AM »

My general opinion is that if you truly think you've got a rootkit, you should be fdisk'ing and reinstalling.  As Ketchup noted, there are some rootkits that hide themselves VERY well.  I ran into one, not long ago, that I was asked to 'try to remove' before wiping the disk.  Not only did it really fight me, even spotting it, but it was morphing itself at a pretty quick clip, before I could even begin removal.  I ended up showing the 'owner' what was going on, and they quickly understood the gravity of it, and yielded to a disk wipe.

The only really successful way I wipe rootkits (and I STILL feel safer wiping and starting over, as you never know what signatures might not have been included yet in rootkit finding tools, etc) is to put the hard disk or media in an external enclosure or connection, and scan it from a known good machine, pretty much as Ketchup noted in his post, and even then, there's not always a guarantee you'll clean it up.  I'm not saying you can't remove a rootkit, etc, with relative success, but I find it easier, personally, to just boot the box to a bootable Linux distro, get whatever data I feel is relevant and burn it or copy it to external media, then wipe the box and start over.  It's safer, and you run less risk of missing something, for which you might pay a heavier price later.

I VERY rarely suggest that someone simply remove a rootkit and go on about their business, without wiping the drive or media and starting over.  Just not worth the trouble and risk.

My opinion, anyway, for what it's worth.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCP , GPEN, C|EH
zeroflaw
Full Member
***
Offline Offline

Posts: 184



View Profile
« Reply #7 on: March 14, 2010, 11:35:18 AM »

Zeroflaw, a good rootkit will hide itself from that command.   You would have to execute that command from an external media, using know good libraries, and it still may be able to hide itself.  

Oh well, doesn't hurt to try. Maybe the rootkit is rubbish Tongue Because there were suspicious files on his desktop anyway. Just a suggestion.

And I agree with hayabusa just said, you might want to wipe your drive. As with any virus or infection, I usually don't feel safe unless I completely start over again.

On a site note. I've also heard about viruses or rootkits that can hide in your bios, how would one deal with those?

« Last Edit: March 14, 2010, 11:52:53 AM by zeroflaw » Logged

ZF
hayabusa
Hero Member
*****
Offline Offline

Posts: 1304



View Profile
« Reply #8 on: March 14, 2010, 11:51:50 AM »

I've heard of them, and talked to one guy who supposedly hit one, once...  He managed to flash the BIOS, and 'thinks' he cleared it.  But I have no experience with any that went to the BIOS.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCP , GPEN, C|EH
chrisj
Hero Member
*****
Offline Offline

Posts: 997


View Profile
« Reply #9 on: March 14, 2010, 11:56:20 PM »

I had one, once on my own windows system (I don't use windows anymore), that lasted several wipes and re-installs. Including using shred from a linux disk. This was before I started playing in comp-sec so don't know a lot. just that it showed up every single install.

Finally got around it by pulling the plug on the pc in mid format on the hard drive, and waiting to start again the following day.

But considering how memory works (takes time to lose what's stored in it, when there is no power), I'm really not surprised any more.
Logged

OSWP, Sec+
j0rDy
Hero Member
*****
Offline Offline

Posts: 578


View Profile
« Reply #10 on: March 16, 2010, 04:42:13 AM »

On a site note. I've also heard about viruses or rootkits that can hide in your bios, how would one deal with those?

there are rootkits that install themselves in either the bios or Master Boot Record. even a fresh install wont help against these. i guess switching to linux is the best choice Wink. my advice would be to flash the bios, do a low level format and try again with a fresh install...or buy a new rig  Wink
Logged

ISC2 Associate, CEH, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
aweSEC
Hero Member
*****
Offline Offline

Posts: 1100


View Profile
« Reply #11 on: March 16, 2010, 06:06:19 AM »

I'd recommend in most cases to reinstall everything too. Especially when dealing with unknown or modified rootkits it can be very time consuming to analyze it. When you haven't done this before or have only little experience it could be very frustrating. Doing a clean install would safe a lot of time and efforts. From a researchers perspective I find it very interesting, but that's not something I'd recommend to someone without any deeper knowledge in this area.

Logged
n1p
Jr. Member
**
Offline Offline

Posts: 89


View Profile WWW
« Reply #12 on: March 16, 2010, 06:03:43 PM »

Regardless of infection, I would attempt to establish what family of malware was installed, if any. This will give you an indication of what type of data may be compromised. Some infections will steal your logins, msn logs, cookies etc. Some may steal your chinese game login info... Either way, you can then make an informed decision as to what type of data was compromised or will be in the future (bank details).

If the value of such data outweighs the value of data on PC. Boot to live cd, copy important files (unless it was a file infector!) and reformat...

Alternatively, disinfect with malwarebytes, AVs, onlive AVs other malware removers and continue with the thought that something is more than likely still there!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.203 seconds with 21 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

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