Multiple infections on Win7 x64

Discussion in 'Malware Help - MG (A Specialist Will Reply)' started by cowboyGeek, Jan 21, 2012.

  1. cowboyGeek

    cowboyGeek Private E-2

    After a few attempts on my own using Security Essentials and Malwarebytes, I found your procedure, followed it and created the attached logs.

    The lingering problems I see on this system include:

    * IE, FireFox and Chrome all close immediately upon open. I've been able to work around this with FireFox by copying firefox.exe to another name so that I have at least one functional browser.
    * Windows Update fails with 80070005 when checking for updates
    * Files in Documents are still hidden (I can fix this, obviously...not sure if it matters)

    The user opened an email attachment on this system to trigger the situation. When I arrived on the scene, McAfee (Dell issue) was installed but not active.

    Any help greatly appreciated!
     

    Attached Files:

  2. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Welcome to Major Geeks!

    Your logs show that you have DHCP disabled which will prevent the PC from getting an IP address. Are you using a Static IP?

    I see the below was just recently installed. Tools like this are not recommended. They typically cause more harm then good and infact can cause problems like you are discribing. Did you run this and use it to fix "supposed" registry problems???
    Kingsoft PCDoctor

    You main issue is that you have one of the more recent form of a TDL infection that has added an infected partition to your harddisk and has made it the active Windows boot partition. Your log shows the below. The bold red partition is the problem.
    Code:
    Get Partition Info From WMI in K-bytes                          
    ==============================================================  
    Bootable  Name                   Size          Type                     
    FALSE     Disk #0, Partition #0  57544704      Unknown                  
    FALSE     Disk #0, Partition #1  9795796992    Installable File System  
    FALSE     Disk #0, Partition #2  740300947456  Installable File System  
    [B][COLOR=red]TRUE      Disk #0, Partition #3  1949696       Unknown[/COLOR][/B]              
    Do you have your Windows 7 Boot DVD so that it can be used to boot to the Recovery Environment Command Prompt?
     
  3. cowboyGeek

    cowboyGeek Private E-2

    1. Yes, there is a static IP assigned.
    2. Yeah, I installed Kingsoft (before I found your recommended procedures) and applied recommended fixes. I realized later it was no good and uninstalled. You're still showing it installed?
    3. I'm helping someone with this process remotely...I'll have to check on the Win 7 boot DVD...I don't know. They should have it, as this is a relatively new Dell system and would have shipped with a DVD. Monday is the earliest I'll be able to reach anyone. What's the procedure on this? Is there another way?
     
  4. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Is this because you cannot get one assigned automatically using DHCP.

    Not not installed. Just left overs from it.

    Unless this person knows how to burn a bootable CD with G-Parted disk partitioning software to use in fixing his infected partition, you are going to have to work with him hands on. Remotely will not work.

    As far as the Windows 7 Boot DVD, we may be able to just boot the system to a preinstall Recovery Environment but first the other CD and the partition needs to be addressed.
     
  5. cowboyGeek

    cowboyGeek Private E-2

    Regarding the DHCP issue, it appears that nothing is serving DHCP in their environment, as all machines are statically assigned, and changing to DHCP fails to obtain an address. I can resolve this going forward, but is there some reason it needs to be addressed to resolve this attack?

    I can help them download and burn a Knoppix CD and walk them through g-Parted. Is that better than the Windows DVD? They are looking for Windows now.
     
  6. cowboyGeek

    cowboyGeek Private E-2

    The Win7 boot disk is not available, but we have a Knoppix 6.7.1 bootable CD ready, and just need a procedure for what you recommend to do.

    If a Win7 bootable is required, I can have one there tomorrow.
     
  7. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    I will post a boiler plate for how we normally use a separate G-Parted boot CD to fix these infected partitions in another message. This partition will have to be deleted before you even need to boot to the System Recovery Environment of Win 7.

    You may be able to use the first method below to get into the built-in System Recovery Environment. The second method is how to use the CD to do the same


    Method1: To enter System Recovery Options from the Advanced Boot Options:
    • Restart the computer.
    • As soon as the BIOS is loaded begin tapping the F8 key until Advanced Boot Options appears.
    • Use the arrow keys to select the Repair your computer menu item.
    • Select US as the keyboard language settings, and then click Next.
    • Select the operating system you want to repair, and then click Next.
    • Select your user account an click Next then skip down to Part 2 below.
    Method 2: To enter System Recovery Options by using Windows installation disc:
    • Insert the installation disc.
    • Restart your computer.
    • If prompted, press any key to start Windows from the installation disc. If your computer is not configured to start from a CD or DVD, check your BIOS settings.
    • Click Repair your computer.
    • Select US as the keyboard language settings, and then click Next.
    • Select the operating system you want to repair, and then click Next.
    • Select your user account and click Next.
    Part2: On the System Recovery Options menu you will get the following options:[
    • Startup Repair
    • System Restore
    • Windows Complete PC Restore
    • Windows Memory Diagnostic Tool
    • Command Prompt
    Here we would select Command Prompt in order to run some a couple fixes as you will see in my next post.
     
  8. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Okay read message # 7 first to see explanations then continue here.

    Below is a set of instructions for making a G-Parted boot disk and using it to remove the infected partition and to make the proper partition on the PC active. If you already have G-Parted on another boot disk, you can use it. Hopefully the version is still similar and matches the instructions.


    Instructions:
    Now boot off of the newly created GParted CD.

    http://img717.imageshack.us/img717/6546/gpartedsplash01107.th.png
    You should be here...
    Press ENTER
    http://img819.imageshack.us/img819/7286/gpartedkeymaps.th.png
    By default, do not touch keymap is highlighted. Leave this setting alone and just press ENTER.
    http://img404.imageshack.us/img404/9840/gpartedlanguage.th.png
    Choose your language and press ENTER. English is default [33]
    http://img140.imageshack.us/img140/7958/gpartedgui.th.png
    Once again, at this prompt, press ENTER
    You will now be taken to the main GUI screen below
    http://img32.imageshack.us/img32/1122/gpartedo.th.png
    According to your logs, the partition that you want to delete is 1.86 MiB (1.86 MB)
    Click the trash can icon to delete and then click Apply.
    You should now be here confirming your actions:
    http://img233.imageshack.us/img233/1533/gpartedsteps.th.png
    Now you should be here:
    http://img696.imageshack.us/img696/8471/gpartedsuccessclose.th.png
    Is boot next to your OS drive? According to your logs, your OS drive is the 689.46 GB sized partition.
    http://img194.imageshack.us/img194/7753/gpartedboot.th.png
    If boot is not next to your OS drive under Flags, right-mouse click the OS drive while in Gparted and select Manage Flags
    In the menu that pops up, place a checkmark in boot like the picture below:
    http://img196.imageshack.us/img196/3483/gpartedmanageflagsboot.th.png
    Now press the Close button to save these changes.
    Now double-click the http://img822.imageshack.us/img822/641/gpartedexit.png button.
    You should receive a small pop up like this:
    http://img88.imageshack.us/img88/8986/gpartedexitreboot.png
    Choose reboot and then press OK.



    Now reboot from the Windows 7 Recovery Disc or try using Method to from my previous message to get the Recovery Environment and execute the following commands:
    • bootrec /fixmbr
    • bootrec /fixboot
    • exit
    Once back in Windows...
    Now download the current version of MGtools and save it to your root folder. Overwrite your previous MGtools.exe file with this one.

    Run MGtools.exe ( Note: If using Vista or Win7, make sure UAC is still disabled. Also don't double click on it, use right click and select Run As Administrator )


    Now attach the below log:
    • C:\MGlogs.zip
     
  9. cowboyGeek

    cowboyGeek Private E-2

    Successfully removed the partition from the drive using G-Parted.

    Was able to download and burn an Windows 7 DVD image. Booted to recovery prompt and ran the commands you provided. Rebooted, but got "BOOTMGR is missing." Went to http://support.microsoft.com/kb/927392 and ran these steps:

    bcdedit /export C:\BCD_Backup
    c:
    cd boot
    attrib bcd -s -h -r
    ren c:\boot\bcd bcd.old
    bootrec /RebuildBcd

    Still get "BOOTMGR is missing." Ideas?
     
  10. cowboyGeek

    cowboyGeek Private E-2

    Never mind...Windows "Startup Repair" option worked. Here's the MGTools log.

    Also, to clarify, the Windows 7 ms.iso I downloaded is legit...I have an MSDN subscription.
     

    Attached Files:

  11. cowboyGeek

    cowboyGeek Private E-2

    Never mind...Windows "Startup Repair" option fixed the BOOTMGR problem.

    Here's the updated MGTools log.
     

    Attached Files:

  12. cowboyGeek

    cowboyGeek Private E-2

    Sorry to bother you but it's going on 48 hours...anything else I need to do on this?
     
  13. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    You're last log looks fine.


    If you are not having any other malware problems, it is time to do our final steps:
    1. We recommend you keep SUPERAntiSpyware and Malwarebytes Anti-Malware for scanning/removal of malware. Unless you purchase them, they provide no protection. They do not use any significant amount of resources ( except a little disk space ) until you run a scan.
    2. If we had you use ComboFix, uninstall ComboFix (This uninstall will only work as written if you installed ComboFix on your Desktop like we requested.)
      • Click START then RUN and enter the below into the run box and then click OK. Note the quotes are required
      • "%userprofile%\Desktop\combofix" /uninstall
        • Notes: The space between the combofix" and the /uninstall, it must be there.
        • This will uninstall ComboFix and also reset hidden files and folders settings back to Windows defaults.
    3. Go back to step 6 oof the READ ME and renable your Disk Emulation software with Defogger if you had disabled it.
    4. Any other miscellaneous tools we may have had you install or download can be uninstalled and deleted.
    5. If we had you download any registry patches like fixme.reg or fixWLK.reg (or any others), you can delete these files now.
    6. If running Vista or Win 7, it is time to make sure you have reenabled UAC by double clicking on the C:\MGtools\enableUAC.reg file and allowing it to be added to the registry.
    7. Go to add/remove programs and uninstall HijackThis.
    8. Goto the C:\MGtools folder and find the MGclean.bat file. Double click on this file to run this cleanup program that will remove files and folders
      related to MGtools and some other items from our cleaning procedures.
    9. If you are running Win 7, Vista, Windows XP or Windows ME, do the below:
      • Refer to the cleaning procedures pointed to by step 7 of the READ ME
        for your Window version and see the instructions to Disable System Restore which will flush your Restore Points.
      • Then reboot and Enable System Restore to create a new clean Restore Point.
    10. After doing the above, you should work thru the below link:
     
  14. cowboyGeek

    cowboyGeek Private E-2

    Thanks for the help!
     
  15. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    You're welcome. Surf safely!
     

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