Welcome Guest. | Log In| Register | Membership Benefits
Dark Reading's Evil Bytes Weblog
Topics:   Evil Bytes

  • Email this page E-mail this page
  • Print this page Print this page
  • Bookmark and Share

A Tool For Investigating Suspicious Activity


Posted by John Sawyer, Nov 4, 2009 03:54 PM

Dealing with malware-infected computer systems can be time-consuming. If the compromised system has sensitive information, then often digital forensics will be employed to see whether the data was or could have been accessed by the malware. With the hit-or-miss performance of antivirus solutions and craftiness of malware authors, determining whether a computer system is infected is getting harder.

As a result of the above conundrum, I've been looking for some way to get more details about systems that generate suspicious activity (like DNS requests for known malicious domains published here and here). In the past, I've used the TRUMAN sandnet from Joe Stewart, but was recently looking for a slightly more robust solution that I could use outside the normal sandnet scenario.

Basically, I want to poison DNS so that known malicious domains point to the IP of my choosing. Instead of just knowing that a suspect computer has tried resolving the IP of a bad domain, I want the suspect system to now communicate to the server I choose, and continue with the action it would have taken if it were communicating with the real (bad) domain.

After trying out a honeypot-specific tool, I found INetSim, the "Internet Services Simulation Suite." Bingo: I found what I wanted. It acts almost identically to the Metasploit Framework setup I described in "Using Evil Wifi to Educate Users, IT Admins." INetSim emulates numerous services including HTTP, SMTP, POP3, DNS, FTP, TFTP, and more. The DNS service can be configured to return any IP you tell it to for any DNS request that comes in.

So, if a "badguy.com" is requested, it can return the address of the INetSim server. This is where the good stuff happens. The HTTP server can respond to any request with successful HTTP status code and serve up a file that matches the requested file extension. If a request comes in for a JPG, a JPG is sent back. If a text file is requested, a .TXT file is sent back. This is all configurable so you can add all the extensions and fake files you want.

From a security and forensic standpoint, the logs from INetSim can help fill in some of the puzzle pieces as to whether a computer is compromised or not. For example, if you're blocking all malicious domains and a look-up takes place for a bad domain, you don't know if it's because the user visited a Website hosting a redirect or trying to load a malicious piece of JavaScript from the bad domain. However, if you're pointing all malicious domains to INetSim, you can now see the actual request being made, which can help determine if it's just a redirect or malware phoning home.

Keep in mind, though, that this is just another bit of information to help you while investigating an event of interest. It may or may not be definitive, but I'm the kind that welcomes as much information as possible when making a determination.

I put together some additional technical details on using INetSim on Ubuntu over on my personal blog if you want more info.

John H. Sawyer is a senior security engineer on the IT Security Team at the University of Florida. The views and opinions expressed in this blog are his own and do not represent the views and opinions of the UF IT Security Team or the University of Florida. When John's not fighting flaming, malware-infested machines or performing autopsies on blitzed boxes, he can usually be found hanging with his family, bouncing a baby on one knee and balancing a laptop on the other. Special to Dark Reading.

« What DAM Does | Main | Dissecting Microsoft's Latest Security Intelligence Report »



Sign up now for the weekly InformationWeek Blog Newsletter.


This is a public forum. United Business Media and its affiliates are not responsible for and do not control what is posted herein. United Business Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of United Business Media LLC and may be edited and republished in print or electronic format as outlined in United Business Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.








  1. Finding Exposed Devices On Your Network
  2. Anticipating The First Car Virus
  3. Gaining A Foothold By Exploiting VxWorks Vulns
  4. Suspected Child Porn Hub Taken Offline
  5. The Case For Zero-Day Penetration Testing

  1. Fraud At Sprint Offers Lessons For Enterprises, Experts Say
  2. Forensics Out Of Reach For Most Small To Midsize Organizations
  3. String Of Deals Shows Demand for Cloud-Based Authentication
  4. Tech Insight: Retooling Vulnerability Scanning, Penetration Testing For IPv6
  5. Five Ways To Stop Mass SQL Injection Attacks
  6. IPv6 Transition Poses New Security Threats

  1. Why Web Security is Best Served in the Cloud
  2. Why Security SaaS Makes Sense Today
  3. Why SMBs Should Seriously Consider Hosted Services
 
 


 
  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag
 
  OCTOBER 2008
SEPTEMBER 2008
APRIL 2008
NOVEMBER 2007
  OCTOBER 2007
AUGUST 2007
MARCH 2007
OCTOBER 2006