MSRT has deleted ndis.sys

Discussion in 'Malware Help (A Specialist Will Reply)' started by DegreasedMonkey, Apr 16, 2010.

  1. DegreasedMonkey

    DegreasedMonkey Private E-2

    I think I clicked on an update for acrobat reader that wasn't bone fide. I got a bunch of infections all springing from the same time. Using sophos and malwarebytes I think I've cleared them. Along the way I was able to update and the MSRT found an infection in ndis.sys Rather than let sophos deal with it I let MSRT and it removed the file, and replaced it as a scrap object. Replacing the file from i386 folder causes the system to crash on booting up.

    Currently no problems are reported from malwarebytes, sophos or superantispyware so how do I replace ndis.sys and get my network functions back?

    Thanks in advance!
     

    Attached Files:

  2. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Welcome to Major Geeks!

    You need to attach the log from MGtools and then we will likely be able to help you.


    Also you could just copy this file: c:\windows\system32\dllcache\ndis.sys

    into the c:\windows\System32\drivers folder and then reboot
     
  3. DegreasedMonkey

    DegreasedMonkey Private E-2

    Thanks for taking a look. I've attached the missing log. Sorry about that! I don't have the .NET framework, but it says in the instructions that it might be ok to miss this step.

    I can't just copy ndis.sys from my dllcache folder as this was also changed into a scrap object by MSRT. I think this is why all my network drivers are messed up.

    What's next?
     

    Attached Files:

  4. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Uninstall the below old versions of software:
    Java(TM) 6 Update 16

    Now we need to use ComboFix
    • Make sure that combofix.exe that you downloaded while doing the READ & RUN ME is on your Desktop but Do not run it!
      • If it is not on your Desktop, the below will not work.
    • Also make sure you have shut down all protection software (antivirus, antispyware...etc) or they may get in the way of allowing ComboFix to run properly.
    • If ComboFix tells you it has expired or need to be updated to a new version, make sure you allow it to update.
    • Open Notepad and copy/paste the text in the below quote box into it:
    • Save the above as CFscript.txt and make sure you save it to the same location (should be on your Desktop) as ComboFix.exe
    • At this point, you MUST EXIT ALL BROWSERS NOW before continuing!
    • You should have both the ComboFix.exe and CFScript.txt icons on your Desktop.
    • Now use your mouse to drag CFscript.txt on top of ComboFix.exe
    • Follow the prompts.
    • When it finishes, a log will be produced named c:\combofix.txt
    • I will ask for this log below
    Note:

    Do not mouseclick combofix's window while it is running. That may cause it to stall.


    After reboot, now install the current version of Sun Java from: Sun Java Runtime Environment

    Now run Ccleaner. Only use the Run Cleaner button. Do not run anything else on any other forms.

    Now run the C:\MGtools\GetLogs.bat file by double clicking on it (Note: if using Vista, don't double click, use right click and select Run As Administrator).

    Then attach the below logs:
    • C:\ComboFix.txt
    • C:\MGlogs.zip
    Make sure you tell me how things are working now!
     
  5. DegreasedMonkey

    DegreasedMonkey Private E-2

    Hi chaslang,

    Thanks for the reply!

    I removed the java update and ran the script, but partway through my PC crashed with the following error message "driver_irql_not_less_or_equal". Further attempts to boot just left me in a loop, with the error message flashing onscreen too quick to read. Same thing that happened when I manually copied ndis.sys from my i386 folder.

    The only thing I could do was to boot in safe mode and delete ndis.sys from my system32/drivers folder. Now I'm back to being able to boot normally, but no networking.

    Any ideas?
     
  6. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Manually copy this file:

    C:\WINDOWS\ServicePackFiles\i386\ndis.sys

    into the C:\windows\system32\drivers folder so that you have:

    C:\WINDOWS\system32\drivers\ndis.sys

    Then reboot and see how things look.
     
  7. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Note: If you get the same error at reboot after copying this file, then you will have to post in the Networking Forum as your problem is not malware. It would more likely be either corrupted drivers are a failed NIC (Network Interface Card).

    A Tip to try: You could go to Device Manager and uninstall the device and then reboot. Upon reboot you should install NEW drivers for the device and not use any existing ones that may be found on the PC. Make sure you use the most recent available drivers and hopefully they are certified by Microsoft.
     
  8. DegreasedMonkey

    DegreasedMonkey Private E-2

    Hi chaslang,

    thanks for the quick reply.

    I already tried replacing ndis.sys but this just results in the reboot loop. This is what brought me here :) It was as a result of MRST deleting ndis.sys because it said it was infected. You'll see from the malwarebytes logs that I got infected with a big cluster of stuff just before. Directly after I cleared this I updated and ran the latest MSRT which was what caused the problem. I wondered if there might be some malware fragments still in place? Something stopping me from replacing ndis.sys?

    I assume it's the absence of this that's causing the problem since ALL of my network drivers are down. But while I wait for a reply I'll try to reinstall one and see what happens.
     
  9. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Nothing is stopping you from replacing it. Your system is just crashing when the driver is put in place to allow your network interface to work. Typically this means other related drivers for the hardware have been corrupted or removed or the hardware is broken. This is why I suggested unintalling the Device and then installing ALL new drivers. If you use any of the drivers that are already on the PC, it could just result in the same problem.
     
  10. DegreasedMonkey

    DegreasedMonkey Private E-2

    I couldn't uninstall all my network devices, although I had around 10 and don't know what they were for, but some were apparently critical for windows?!? and blocked me from uninstalling.

    I finally bit the bullet and reinstalled windows, without a disk wipe. Reinstalled my network drivers for cable and wireless and now the net's back up.

    I think I may still have a malware issue though because I can't reinstall sophos. I download the file ok, and the autoupdate part of it install ok, but the main program just won't. There's no logs or anything to tell me what's going wrong. Could it be something to do with malware fragments controlling permissions? When I first had the infection task manager was locked and sophos was blocked. I needed malwarbytes to remove the offending registry entries, then sophos appeared to clear the rest of the infection.

    I just wanted to reinstall Sophos to make sure nothing was compromised but since trying to re-install it however I've had no luck.

    I also noticed that I have a few instances of svchost running. Security task manager says they're listening on certain ports. Not sure if that's dodgy?
     
  11. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    If you properly reinstalled Windows after a format and did not reinstall anything else except Windows from original media then you are not having malware problems. If however you did not properly reinstall or reinstall other software from some form of backups that could be carrying infections then it is possible that you are reinfected or never removed the real heart of the infection or Windows corruption issues when you did the reinstall.

    Also was it really a full reinstall or did you just do a repair?

    It is also possible that even if you did a format, you could still be infected if you had a Master Boot Record infection which will survive a format. However, I did not see any signs of an MBR infection in the logs you had attached. But to always be save, you need to delete partitions, recreate partitions, format, and then reinstall and only reinstall Windows and nothing else. Then make sure your PC appears to be operating correctly before installing anything else. Then if you are still going to reinstall Sophos, make sure it is a clean and licensed copy belonging to you.


    Normal.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds