Zero Access Rootkit

Discussion in 'Malware Help (A Specialist Will Reply)' started by Cheddar, Mar 1, 2012.

  1. Cheddar

    Cheddar Private E-2

    Hi, I have a computer that was borrowed to someone for a few months and when I got it back I was told that he thinks there's a virus on it. So I decided to take a look and at first I couldn't run any programs it would just bring me the "please choose the appropriate program to use to open this file" error. I booted in safe mode and did this registry fix:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.exe]
    @="exefile"
    "Content Type"="application/x-msdownload"

    [HKEY_CLASSES_ROOT\.exe\PersistentHandler]
    @="{098f2470-bae0-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\exefile]
    @="Application"
    "EditFlags"=hex:38,07,00,00
    "TileInfo"="prop:FileDescription;Company;FileVersion"
    "InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"

    [HKEY_CLASSES_ROOT\exefile\DefaultIcon]
    @="%1"

    [HKEY_CLASSES_ROOT\exefile\shell]

    [HKEY_CLASSES_ROOT\exefile\shell\open]
    "EditFlags"=hex:00,00,00,00

    [HKEY_CLASSES_ROOT\exefile\shell\open\command]
    @="\"%1\" %*"

    [HKEY_CLASSES_ROOT\exefile\shell\runas]

    [HKEY_CLASSES_ROOT\exefile\shell\runas\command]
    @="\"%1\" %*"

    [HKEY_CLASSES_ROOT\exefile\shellex]

    [HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
    @="{86C86720-42A0-1069-A2E8-08002B30309D}"

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PEAnalyser]
    @="{09A63660-16F9-11d0-B1DF-004F56001CA7}"

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
    @="{86F19A00-42A0-1069-A2E9-08002B30309D}"

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
    @="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"

    Which allowed me to use programs again, so then I opened up hijackthis and found some of the shady looking files and looked them up in the directories and found that it looked like the infection started on December 14th. I deleted all the files I could find, then just decided to do windows restore back to the middle of November when I knew the computer was clean. The first restore failed, but then I ended up getting one to work and when I booted the computer it was even worse and I couldn't do anything. I ran combo fix and it said I had the zero access rootkit and it would try to clean it. It restored a bit of function to my computer. My anti virus software seemed to have gotten screwed up by this so I removed AVG and reinstalled it and ran that and malewarebytes each came up with about 30-50 files infected and claimed to have removed them. The computer is working, but it still seems sluggish and every time I run something I find more infected files and combofix still detects the zero access rootkit. So I'm worried I just haven't got it all. I would just reformat, but I've got some older versions of programs on this computer that I am not sure if I can find all of the discs for so I really want to use that as my last option. I uninstalled AVG again and ran through your guys list of things to run and get logs from so here they are. This time I ran combofix it got an error when trying to create the log, so that log is a day older than the others, I hope that isn't a problem (Looks like you can only upload 4 files at a time, so I'll leave this one out for now). Thank you guys for your time :)
     

    Attached Files:

  2. thisisu

    thisisu Malware Consultant

    Hi and welcome to Major Geeks, Cheddar!

    http://img823.imageshack.us/img823/2039/msnmsg.gif Please download Disable/Remove Windows Messenger to your desktop.
    • Double-click MessengerDisable.exe to run it.
    • Place checkmarks in "Uninstall Windows Messenger" and "Hide Messenger from Outlook Express"
    • Click Apply
    • Click Exit

    http://img194.imageshack.us/img194/4930/combofix.gif Fixing items using 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.
    Shut down your protection software now (antivirus, antispyware...etc) to avoid possible conflicts.
    Open Notepad and copy/paste the text in the below code box into Notepad:
    Code:
    [COLOR="DarkRed"]KillAll::[/COLOR]
    [COLOR="DarkRed"]ClearJavaCache::[/COLOR]
    [COLOR="DarkRed"]Collect::[/COLOR]
    C:\Documents and Settings\All Users\Application Data\QHCo2ETO.dat
    C:\Documents and Settings\Administrator\Templates\bjxjuq6w4mub6jrh1chn0q780c8t
    [COLOR="DarkRed"]DirLook::[/COLOR]
    C:\5066d48b7cf4fcb140
    C:\Documents and Settings\Administrator\Application Data\Macromedia\Common\8
    [COLOR="DarkRed"]Driver::[/COLOR]
    I2omsr6
    camdrl
    [COLOR="DarkRed"]File::[/COLOR]
    c:\windows\system32\dds_trash_log.cmd
    [COLOR="DarkRed"]Folder::[/COLOR]
    C:\WINDOWS\$NtUninstallKB24841$
    C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Internet Explorer\DOMStore\3157PLQX
    C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Internet Explorer\DOMStore\E16Z2UN4
    C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Internet Explorer\DOMStore\PH8MSZUA
    C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Internet Explorer\DOMStore\Q6KE7F0Z
    c:\documents and settings\Administrator\Application Data\AVG2012
    c:\documents and settings\All Users\Application Data\AVG2012
    c:\program files\AVG
    c:\documents and settings\All Users\Application Data\AVG Security Toolbar
    C:\$AVG
    c:\documents and settings\All Users\Application Data\avg9
    [COLOR="DarkRed"]NetSvc::[/COLOR]
    camdrl
    [COLOR="DarkRed"]RegLock::[/COLOR]
    [HKEY_USERS\S-1-5-21-1644491937-706699826-725345543-500\Software\Microsoft\Internet Explorer\User Preferences]
    [COLOR="DarkRed"]Registry::[/COLOR]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\extensions]
    "{1E73965B-8B48-48be-9C8D-68B920ABC1C4}"=-
    [-HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{3CA2F312-6F6E-4B53-A66E-4E65E497C8C0}]
    [COLOR="DarkRed"]SecCenter::[/COLOR]
    FW: AVG Firewall *Disabled* {8decf618-9569-4340-b34a-d78d28969b66}
    
    Save this file as CFScript.txt to your desktop. So now you should have both CFScript.txt and ComboFix.exe on your desktop.
    Now use your mouse to drag CFScript.txt on top of ComboFix.exe and then release.
    http://softvisia.com/users/Night_Raven/Security/cfsdnd2.gif
    This will launch ComboFix.
    Note: Do not mouse-click ComboFix's window while it is running. That may cause it to stall.
    Allow ComboFix to update itself if prompted.
    When ComboFix finishes, a log will be produced at C:\ComboFix.txt
    Attach this log to your next message. (How to attach)

    http://img205.imageshack.us/img205/1894/otl.gif Please download OTL by OldTimer.

    • Save it to your desktop.
    • Double click on the OTL icon on your desktop. (Vista/7 right-click and select Run as Administrator)
    • Check the "Scan All Users" checkbox.
    • Check the "Standard Output".
    • Change the setting of "Drivers" and "Services" to "All"
    • Copy the text in the code box below and paste it into the http://img14.imageshack.us/img14/66/otlcustomfix.png text-field.
      Code:
      activex
      netsvcs
      /md5start
      afd.sys
      ipsec.sys
      netbt.sys
      svchost.exe
      tcpip.sys
      /md5stop
      %windir%\$ntuninstallkb*. /30
      %windir%\system32\*.dll /30
      %windir%\system32\*.dll /lockedfiles
      %windir%\system32\drivers\*.sys /lockedfiles
      %windir%\*.* /mp /s
      %windir%\*.* /rp /s
      %windir%\*.* /sl
      %systemdrive%\mgtools\*.*
      
    • Now click the http://img171.imageshack.us/img171/2405/runscanotl.png button.
    • Two reports will be created:
      • OTL.txt <-- Will be opened
      • Extra.txt <-- Will be minimized
    • Attach OTL.txt to your next message. (How to attach)
     
  3. Cheddar

    Cheddar Private E-2

    Hi, thanks for your reply! I did the three things you asked and here are the two logs from them.
     
  4. Cheddar

    Cheddar Private E-2

    Hey, sorry to spam I didn't realize the files had failed to upload, and there's a 10 minute limit on editing posts. I didn't realize that my otl.txt file was 5 mb which is way over your guys max file size, so I uploaded to mediafire. http://www.mediafire.com/?ish7de4v2tv4jcl there's the link. I hope this is ok, I looked in your guys how to and there was no procedure for the file being way too large. Let me know if not, and I can split the file into 3 parts and zip them or something.
     

    Attached Files:

  5. thisisu

    thisisu Malware Consultant

    Hi,

    Actually that was my fault. I included some search parameters I shouldn't have which made the log very large.

    http://img205.imageshack.us/img205/1894/otl.gif Fix items using OTL by OldTimer

    Double-click OTL.exe to run. (Vista/7 right-click and select Run as Administrator)
    Shut down your protection software now (antivirus, antispyware...etc) to avoid possible conflicts.
    Copy the text in the code box below and paste it into the http://img14.imageshack.us/img14/66/otlcustomfix.png text-field.
    Code:
    [COLOR="DarkRed"]:otl[/COLOR]
    SRV - File not found [Auto | Stopped] --  -- (vncdrv)
    SRV - File not found [Auto | Stopped] --  -- (ossrv)
    SRV - File not found [Auto | Stopped] --  -- (FreshIO)
    IE - HKU\.DEFAULT\..\URLSearchHook: {A3BC75A2-1F87-4686-AA43-5347D756017C} - No CLSID value found
    IE - HKU\S-1-5-18\..\URLSearchHook: {A3BC75A2-1F87-4686-AA43-5347D756017C} - No CLSID value found
    [6 C:\WINDOWS\*.tmp files -> C:\WINDOWS\*.tmp -> ]
    [11 C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Temp\*.tmp files -> C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Temp\*.tmp -> ]
    [1 C:\WINDOWS\system32\*.tmp files -> C:\WINDOWS\system32\*.tmp -> ]
    [C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a] -> C:\WINDOWS\WinSxS\x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790 -> Junction
    [C:\WINDOWS\assembly\GAC_MSIL\IEExecRemote\2.0.0.0__b03f5f7f11d50a3a] -> C:\WINDOWS\WinSxS\MSIL_IEExecRemote_b03f5f7f11d50a3a_2.0.0.0_x-ww_6e57c34e -> Junction
    [COLOR="DarkRed"]:files[/COLOR]
    C:\Documents and Settings\Administrator\Application Data\Macromedia\Common\8
    [COLOR="DarkRed"]:commands[/COLOR]
    [emptytemp]
    
    Now click the http://img3.imageshack.us/img3/407/otlrunfix.png button.
    If the fix needed a reboot please do it.
    Click the OK button (upon reboot).
    When OTL is finished, Notepad will open. Close Notepad.
    A log file will be located at C:\_OTL\MovedFiles\mmddyyyy_hhmmss.log, where mmddyyyy_hhmmss is the date of the tool run.
    Attach this log to your next message. (How to attach)

    http://img196.imageshack.us/img196/3557/tdsskiller.gif I want you to read and follow these instructions: TDSSKiller - How to run


    http://img684.imageshack.us/img684/6489/aswmbr.gif Please download aswMBR to your desktop.
    • Double-click aswMBR.exe to run (Vista/7 right-click and select Run as Administrator)
    • Select No when asked "Would you like to download latest Avast! virus definitions?"
    • Click the [Scan] button.
    • On completion of the scan click [Save log], save it to your desktop and attach this log to your next message. (How to attach)

    http://img254.imageshack.us/img254/945/baticonxp.gif Now run C:\MGtools\GetLogs.bat by double-clicking it.
    This updates all of the logs inside MGlogs.zip.
    When it is finished, attach C:\MGlogs.zip to your next message. (How to attach)

    Let me know how your system is running after you have completed these steps.
     
  6. Cheddar

    Cheddar Private E-2

    Hello again, yesterday when I ran combofix my computer locked up the first time, so when I rebooted I decided to turn off the screen saver in case that was causing trouble. Now today while doing the new steps you gave me the first 2 times I ran OTL the computer froze completely and had to shut down. When I booted up the third time it froze before I even ran anything, although finally the 4th time the computer has worked and let me run all of the tests. Freezing has never been an issue before yesterday, so I guess we'll see if these fixes today worked.
     

    Attached Files:

  7. thisisu

    thisisu Malware Consultant

    These latest logs are clean.

    I am not sure why you are getting the random freezes. It does not appear to be malware related though.

    ___

    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 of 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, 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 if it present
    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 through the below link:
    Be safe :)
     
  8. Cheddar

    Cheddar Private E-2

    Alright, thanks a ton for your help and time! I've used the computer for a couple hours and it seems good after the last series of crashes, so hopefully some of the final steps fixed the crashing. Thanks again!
     
  9. thisisu

    thisisu Malware Consultant

    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