Question

Rootkit and/or Trojan

Asked by: willcomp

I've been working on this PC for several days and thought I had it clean. Installed AVG which is showing C:|windows\system32\drivers\ndis.sys infected with Trojan Horse Rootkit-Agent.DI. ndis.sys is a legit Windows file and part of the OS (part of network driver). I tried submitting to Jotti for verification but upload hangs.

What I have been able to determine is that C:\windows\drivers\restore.exe runs on boot and then deletes itself. ndis.sys in infected at that time. There is a registry entry HKLM\CurrentControlSet\Services\Restore which apparently initiates the infector. I have tried deleting the registry image file location but restore.exe is still running on boot. Of course, it is not listed as a service (services.msc). ndis.sys is not always flagged as infected by AVG. I think the infector may have also dropped C:\Windows\temp\BNA.tmp but am not sure.

ComboFix log is attached. There are a number of entries in recently added (30 day) files section that are strangely named but legitimate. Those are in C:\windows\system32\dllcache folder. I had to run SFC and re-install video driver to get PC back in usable condition. I didn't save a copy of initial ComboFix run log -- wish I had.

BlackLight did not detect any root kits and neither does ComboFix.

Two MBAM logs and a HJT log are also attached. MBAM does identify the  HKLM\CurrentControlSet\Services\Restore registry entry.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-04-11 at 19:39:35ID24315213
Topics

HijackThis Software

,

Anti-Spyware

Participating Experts
2
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. rootkit?
    AM I Rooted? os=windows xp pro service pack 2 used two tools from http://invisiblethings.org/tools.html system virginity tester modgreper What do the results indicate C:\svv>svv check Important module ntoskrnl.exe not found ntdll.dll (7c900000 - 7c9b0000)... suspected...
  2. rootkit suspect
    I've a pc (not mine) that I'm trying to clean up. It had at least two rootkit (lzx32.sys, pe386), several trojans (igfxtray, hkcmd, mstds, mswsck32.dll) and other malware. I used Rootkit Unhooker to detect lzx32 and pe386 (removed from the fs and registry using a linux livecd...
  3. VIrus Infection Trojan and Worm
    My computer is infected with virus. I had Kaspersky and it was disabled. I installed Microsoft OnCare ahd they have tried to help. Installed Super Anti Spyware and ran in safe mode Ditto with Malware Malbites (sp). Trojan and other viruses reappear after cleaning or quarant...
  4. PC infected with Multiple viruses and possible rootkits
    A friend has a pc which I believe has had a serious virus issue for some time. Having failed to cure it, and with the most recent symtpoms being no icons, start menus etc on the desktop they have given it to me. The first thing I did was run up-to-date versions of AVG and sup...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: rpggamergirlPosted on 2009-04-12 at 00:25:13ID: 24124804

Hi willcomp,

ndis.sys failed the sigcheck so that's probably patched or maybe sality or virut is present there... I would just replaced that just to be sure.

I did not check those files in the dllcache folder(asuming they're all legit)....but some nasties can also hide in dllcache and i386 folders... the most likely going on here is a file infector.  Snapshot is also showing some filesize discrepancy.

If it's virut a reformat and reinstall would be the quickest and safest solution as depending on how long the system has been infected it takes time and patience to remove and replaced corrupted files. And even then we can not guarantee that the system is virus-free or error-free afterwards.


Run combofix again using this script.
1. Open Notepad.
2. Now copy/paste the text between the lines below into the Notepad window:
------------------------------------------------------------------------
KillAll::
File::
c:\windows\system32\drivers\e43edea6.sys
c:\program files\Common Files\omykon.vbs
c:\documents and settings\Owner\Application Data\iwyn.bin
c:\documents and settings\All Users\Application Data\ocisib.dll
c:\program files\Common Files\befydyz.scr
c:\program files\Common Files\tavosep.sys
c:\program files\Common Files\ehexigetiw.exe
c:\documents and settings\Owner\Application Data\yhyn.vbs
c:\documents and settings\All Users\Application Data\lipaf.bat
c:\documents and settings\Owner\Application Data\ziqylalisa.dll
c:\documents and settings\Owner\Application Data\jydocatyja.exe
c:\program files\Common Files\hozusur.inf
c:\documents and settings\Owner\Application Data\yzare.sys
c:\program files\Common Files\emakutik.dl
c:\windows\Pyihurize.dat
c:\windows\Khotoho.bin
c:\windows\system32\drivers\OLD7.tmp
c:\windows\temp\BN1.tmp

Folder::
c:\program files\temp01

Driver::
e43edea6
------------------------------------------------------------------------
3. Save the above as CFScript.txt on your desktop.
4. Then drag the CFScript.txt into ComboFix.exe. This will start ComboFix again.
 

Also run ATF Cleaner or CCleaner:
Download and run ATF Cleaner by Atribune.
http://www.atribune.org/ccount/click.php?id=1
It's normal after running ATF cleaner that the PC will be slower to boot the first time.
OR:
CCleaner:
http://www.ccleaner.com/download/

 

by: willcompPosted on 2009-04-12 at 06:50:36ID: 24125709

rpg -- thanks for the response. Ran ComboFix script and log is attached.

ndis.sys is still infected -- surprise! surprise!

I run CCleaner to clean both files and registry as a matter of course, so that had already been done. Reran to be safe but nothing suspicious was deleted (only a few log files left to delete). I also delete files in \Documents and Settings\%username%\Local Settings\Temp folder(s). Learned years ago that was a favorite malware hiding place and neither CCleaner nor ATF Cleaner clean those folders.

It's Easter Sunday morning here so I won't be working on PC again until later in the day. Will upadte as I have more info.

 

by: willcompPosted on 2009-04-12 at 07:01:56ID: 24125732

Forgot to add -- verified those files in dllcache folder were MS signed files.

 

by: greyknight17Posted on 2009-04-12 at 15:49:14ID: 24127213

Download the Flash Disinfector at http://www.techsupportforum.com/sectools/sUBs/Flash_Disinfector.exe and save it to your desktop. Double-click on it to run it and follow the on-screen instructions.

Go to http://www.bleepingcomputer.com/combofix/how-to-use-combofix and follow the instructions on how to install the Recovery Console using ComboFix. You may skip the part with using a CD to do it and go straight to the Microsoft website to download it instead.

Open up your Notepad editor (Start->Run, type in notepad and click OK). Copy the text below into Notepad:

File::
c:\program files\temp01
FCopy::
c:\windows\ServicePackFiles\i386\ndis.sys | c:\windows\system32\drivers\ndis.sys

Save this as CFScript.txt in the same location as the ComboFix.exe tool.
Drag the CFScript.txt into ComboFix.exe
Follow the prompts. When finished, it shall produce a log for you. Post that log in your next reply.

Note: Do not click on combofix's window while it's running. That may cause it to stall.

 

by: willcompPosted on 2009-04-12 at 18:39:28ID: 24127653

@greyknight17 -- thanks, but I have already deleted ndis.sys and "expanded" a new copy from XP CD.

FYI -- that link to Flash Disinfector is no longer valid. This one still works:  http://download.bleepingcomputer.com/sUBs/Flash_Disinfector.exe

 

by: greyknight17Posted on 2009-04-13 at 06:29:24ID: 24129636

Are you still having any signs of infection now? If not, go to Start > Run and type in combofix /u to remove it. Please read the below for guides on how to help prevent infections:

1. TonyKlein's article "So how did I get infected in the first place?"
http://www.spywareinfoforum.com/index.php?showtopic=60955
2. "Simple and easy ways to keep your computer safe and secure on the Internet"
http://www.bleepingcomputer.com/tutorials/tutorial82.html
3. "miekiemoes' "How to prevent Malware"
http://users.telenet.be/bluepatchy/miekiemoes/prevention.html

 

by: willcompPosted on 2009-04-13 at 07:15:53ID: 24129946

@greyknight17 -- I'm very familiar with ComboFix including its removal. No matter what software I install and how much I advise customers, they continue to let their kids have full access to the internet. Could be because the parents are dependent on the kids for using the PC. They also aren't good about updating and/or renewing AV and anti-spyware software. Although I configure automatic updates, they won't leave PCs turned on when not in use.

I do occasionally need a Combofix script or peer input. I haven't attended Malware U yet and rely on the good folks here that have.

Some friendly advice -- when the questioner is a qualified expert, you might want to check their profile.

 

by: greyknight17Posted on 2009-04-13 at 14:21:39ID: 24133044

You didn't mention that the issue was resolved, so I wasn't sure if the issue was remaining.

Will take that advice and view the profile for those who are qualified experts in the future. But I don't see how that would help out in this case.

 

by: willcompPosted on 2009-04-13 at 14:36:09ID: 24133128

The jury is still out on whether the problem is resolved. Believe it is but waiting to see.

Without checking profiles, it's hard to determine one's level of expertise. I do appreciate your responding, but there's no need to provide basic information where it's not needed.

Did you update your link for Flash Disinfector? When you have "canned" responses or a list of links, it's good to validate links periodically.

 

by: rpggamergirlPosted on 2009-04-13 at 15:31:12ID: 24133425

Yes, the techsupportforum link hasn't been working for awhile...
Here's the working link that I've been using;
http://www.geekstogo.com/forum/redirect.php?url=http%3A%2F%2Fdownload.bleepingcomputer.com%2FsUBs%2FFlash_Disinfector.exe

Thanks for that link willcomp, :) I'll add that to my canned in case one link stops working.

 

by: willcompPosted on 2009-04-13 at 17:40:33ID: 24134163

No reinfections so far. Restore service is still not in registry and ndis.sys is still clean. I'll monitor for a while longer and then uninstall Combofix and call it cured.

Thanks for your help.

 

by: willcompPosted on 2009-04-13 at 17:43:35ID: 31569264

Appreciate the help. It seems to be clean. I'll monitor for another day and then uninstall ComboFix and pronounce it cured.

 

by: greyknight17Posted on 2009-04-14 at 13:55:15ID: 24142474

Been meaning to update the link but keep forgetting. Will try to do it now. Thanks.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...