PLS HELP - ROOTKIT:BEAGLE infected, cannot run fixes

Discussion in 'Malware Help (A Specialist Will Reply)' started by FSULongM, Oct 5, 2008.

  1. FSULongM

    FSULongM Private E-2

    I have tried to run the run me first fixes, as well as other thread fixes such as "no internet, no safe mode. . ." etc. threads. I cannot get the fix programs to run to completion. CCleaner will not run, others either start to run then spontaneously terminate or give me invalid Win32 error. Have tried:

    MGTools - analyse will generate log file, but will terminate before fixing.
    CCleaner - tries to start, terminates
    avenger - same
    MVC - invalid win32
    gmer - generated log file
    spybot - invalid win32
    ad-aware - loads then terminates
    avast - now terminates at boot when it tries to load

    I have the infected machine disconnected from Internet

    SUPER AntiSpyware will run after unchecking kernal options. It repeatedly finds:
    Rootkit.Srosa
    Unknown

    If I fix, it asks for reboot and they come back again after reboot, and none of the other programs work.

    I have been able to generate some logs, all attached in zip

    P.S. XP MCE, will not boot into safe mode
     

    Attached Files:

    Last edited: Oct 5, 2008
  2. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    Do you have the MS Net Framework installed?

    Let's start with this:

    Download The Avenger by Swandog469, and save it to your Desktop.

    * Extract avenger.exe from the Zip file and save it to your desktop
    * Run avenger.exe by double-clicking on it.
    * Do not change any check box options!!
    * Copy everything in the Quote box below, and paste it into the "Input script here:"
    part of the window:

    * Now click the Execute button.
    * Click Yes to the prompt to confirm you want to execute.
    * Click Yes to the Reboot now? question that will appear when Avenger finishes running.
    * Your PC should reboot, if not, reboot it yourself.
    * A log file from Avenger will be produced at C:\avenger.txt and it will popup for you to view when you login after reboot.

    Also delete all files in the below folders except ones from the current date (Windows will not let you delete the files from the current day).
    C:\WINDOWS\Temp
    C:\Documents and Settings\%username%\Local Settings\Temp

    Then give this rootkit detector a run and attach the log: AVG Anti-Rootkit.

    Now run the C:\MGtools\GetLogs.bat file by double clicking on it. Then attach the new C:\MGlogs.zip file that will be created by running this and also attach the log from Avenger.
     
  3. FSULongM

    FSULongM Private E-2

    1. Add/Remove shows 3 MS .Net Framework entries: 1.1, 1.1 Hotfix (KB928366), and 2.0 Service Pack 1

    2. As explained, Avenger will not run. It now gives invalid Win32 error.

    3. Windows/Temp emptied, save for today's file.

    4. Local Settings directory not found under any user profile. Only subdirectories shown under D&S/HP_Admin/are:
    /Desktop
    /Favorites
    /LocalLow
    /My Documents
    /Start Menu
    /UserData
    /WINDOWS

    I believe I have the view settings correct, maybe not. It also does not appear in DOS mode or DOS mode in Recovery Console.

    5. AVG Anti Rootkit is blank. I have disabled pop up blockers, and tried IE, Firefox on this computer, then plugged in infected machine and it was blank there too, of course after it immediately downloaded 20 more infected files.

    6. Ran GetLogs.bat anyway, logs attached in subsequent reply from infected machine
     
  4. FSULongM

    FSULongM Private E-2

    mglogs attached

    I just posted a long response, where is it? I will try to reconstruct

    Nevermind, with the back button I saw the slplash that said it would not be visible until approved. I'll copy it just in case. Thx.
     

    Attached Files:

  5. FSULongM

    FSULongM Private E-2

    Found AVG 1.1.0.42 on web and downloaded. It did not find any rootkits - no wonder they don't offer it any more. :p
     
  6. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    Sorry about the bad link.

    Did you try to download and run ComboFix? What errors did you get?

    Please use add/remove programs to uninstall:
    Multi Virus Cleaner 2008

    Continue by downloading a tool we will need - Pocket KillBox

    Save it to its own folder somewhere that you will be able to locate it later.

    Please disable all anti-virus and anti-spyware programs while we do the following (re-enable when you are finished):

    Run C:\MGtools\analyse.exe by double clicking on it. (Note: if using Vista, don't double click, use right click and select Run As Administrator). This is really HijackThis (select Do a system scan only) and select the following lines but DO NOT CLICK FIX until you exit all browser sessions including the one you are reading in right now:
    After clicking Fix, exit HJT.

    Now Copy the bold text below to notepad. Save it as fixME.reg to your desktop. Be sure the "Save as" type is set to "all files" Once you have saved it double click it and allow it to merge with the registry.
    Use windows explorer to find and delete:
    C:\WINDOWS\system32\drivers\downld
    C:\WINDOWS\system32\P2P Networking

    Now run Pocket Killbox by doubleclicking on killbox.exe
    Choose Tools > Delete Temp Files and click Delete Selected Temp Files.
    Then after it deletes the files click the Exit (Save Settings) button.
    NOTE: Pocket Killbox will only list the added files it is able to find on the system. So when you do the below, if some files do not show in the list after pasting them in, just continue.

    Select:

    * Delete on Reboot
    * then Click on the All Files button.*(or on the folders option)*
    * Please copy the file paths below to the clipboard by highlighting ALL of them and pressing CTRL + C (or, after highlighting, right-click and choose copy):
    * Return to Killbox, go to the File menu, and choose Paste from Clipboard.
    * Click the red-and-white Delete File button. Click Yes at the Delete on Reboot prompt.

    If you receive a PendingFileRenameOperations prompt, just click OK to continue (But please let me know if you receive this message!).

    If Killbox does not reboot just reboot your PC yourself.

    Now run the C:\MGtools\GetLogs.bat file by double clicking on it. Then attach the new C:\MGlogs.zip file.
     
  7. FSULongM

    FSULongM Private E-2

    1. Ran Combofix first. It appeared to delete many of the subsequent files. Log attached as combofixlog1.txt.

    2. Uninstalled MVC 08

    3. HJT only listed 08 and 015. Fixed them.

    4. Saved and ran fixME.reg

    5. Did not find directories to dleete. Maybe Combofix got them already.

    6. MGTools logs attached.
     

    Attached Files:

  8. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    Hopefully this will be a lesson in downloading and installing cracks. :(

    If you haven't already, please disable the Guest account in User accounts.

    Run this: Disable/Remove Windows Messenger to remove Windows Messenger. Do not confuse Windows Messenger with MSN Messenger because they are not the same. Windows Messenger is a frequent cause of popups.

    Please use windows explorer to find and delete:
    C:\temp
    C:\Program Files\AxBx

    Now Copy the bold text below to notepad. Save it as fixME.reg to your desktop. Be sure the "Save as" type is set to "all files" Once you have saved it double click it and allow it to merge with the registry.
    Now run the C:\MGtools\GetLogs.bat file by double clicking on it. Then attach the new C:\MGlogs.zip file.
     
  9. FSULongM

    FSULongM Private E-2

    More like a lesson in leaving my machine's password protection off around my 17-year old. Good news; I thought it was porn. :-D

    All done, Logs attached - did not find AxBx directory.

    Am rebooting now to finish Msgr removal.
     

    Attached Files:

  10. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    Yes, you should set up a limited account for the son...:)

    Now we need to use ComboFix to remove a bunch of malware files.

    * Make sure that combofix.exe that you downloaded while doing the READ & RUN ME is on your Desktop but Do not run it!
    o If it is not on your Desktop, the below will not work.
    * Close/disable all anti virus and anti malware programs so they do not interfere with the running of ComboFix.
    * Open Notepad and copy/paste the text in the below code box into it (make sure you scroll all the way down in the code box to get all lines selected ):
    Code:
    KILLALL::
    
    
    Drivers::
    SROSA
    
    Registry::
    [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_SROSA]
    
    
    * 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.
    If it asks you to overide the prvevious file with the same name, click YES.
    * Now use your mouse to drag CFscript.txt on top of ComboFix.exe
    http://img.photobucket.com/albums/v666/sUBs/CFScriptB-4.gif
    * Follow the prompts.
    * When it finishes, a log will be produced named c:\combofix.txt
    * I will ask for this log below.

    Now run the C:\MGtools\GetLogs.bat file by double clicking on it. Then attach the new C:\MGlogs.zip file that will be created by running this and also attach the log from Combo.

    Note:

    Do not mouseclick combofix's window while it is running. That may cause it to stall.
     
    Last edited: Oct 7, 2008
  11. FSULongM

    FSULongM Private E-2

    Done. Logs attached.
     

    Attached Files:

  12. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    This is making me mad.....:)

    One more time:

    * Make sure that combofix.exe that you downloaded while doing the READ & RUN ME is on your Desktop but Do not run it!
    o If it is not on your Desktop, the below will not work.
    * Close/disable all anti virus and anti malware programs so they do not interfere with the running of ComboFix.
    * Open Notepad and copy/paste the text in the below code box into it (make sure you scroll all the way down in the code box to get all lines selected ):
    Code:
     KILLALL::
    
    
    Drivers::
    SROSA
    
    Registry::
    [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_SROSA] 
    
    * 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.
    If it asks you to overide the prvevious file with the same name, click YES.
    * Now use your mouse to drag CFscript.txt on top of ComboFix.exe
    http://img.photobucket.com/albums/v666/sUBs/CFScriptB-4.gif
    * Follow the prompts.
    * When it finishes, a log will be produced named c:\combofix.txt
    * I will ask for this log below.

    Now run the C:\MGtools\GetLogs.bat file by double clicking on it. Then attach the new C:\MGlogs.zip file that will be created by running this and also attach the log from Combo.

    Note:

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

    FSULongM Private E-2

    We might be getting close. I re-downloaded combofix and mgtools, ran combofix twice - there was a space before the "kill all" in your script, so I ran it again without the space, just in case. Avast does not find a virus in memory now when I launch it, so something has happened.
     

    Attached Files:

  14. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    It still shows in your RunKeys log.......so first make a system restore point....then reboot...then go to start / run / and type "regedit" without qoutes....when the window opens, expand the:
    HKEY_LOCAL_MACHINE

    then expand:
    System / ControlSet001 / Enum / Root /

    Find the Legacy_Srosa key and right click it.....delete!
    Then just exit out and reboot.

    Do this again and see if it is still gone.
     
  15. FSULongM

    FSULongM Private E-2

    "Cannot delete LEGACY_SROSA: error while deleting key."
     
  16. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    Download Blacklight Beta.

    * Download blbeta.exe and save it to the Desktop.
    * Once saved... double click blbeta.exe to install the program.
    * Click accept agreement and Click scan
    This app too may fire off a warning from antivirus. Let the driver load.
    Wait for it to finish.
    * If it displays any items...don't do anything with them yet. Just hit exit (close)
    * It will drop a log on Desktop that starts with fsbl....big number

    Please post contents of the BlackLight log.
     
  17. FSULongM

    FSULongM Private E-2

    "No hidden items found."
     

    Attached Files:

  18. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    AAaarrrggghhh....:)

    Now lets try this:
    Please download and install Registrar Lite

    Run Registrar Lite navigate to each of the following keys (one at a time) and take ownership of them (I explained how to do that further down).
    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_SROSA]

    To take ownership of the key do the following:

    * Copy & Paste the registry key from above into the Address bar of Registrar Lite and hit the enter key. This will bring you to the registry key.
    * Click-on Security in the top Menu
    * Select Take Ownership
    * Repeat these steps for all of the registry keys given above before continue to the next steps below.
    * Now leave RegistrarLite running and continue
    * Now run the fixME.reg REGISTRY PATCH below in this message.
    * Tell me the results. Any error messages?
    * Now in RegistrarLite click View and then Refresh
    * Now navigate one at a time to each of the above keys we took ownership of to make sure they were deleted.
    * If any of the keys still exist, move on down to PART 2 - Setting Permissions for Everyone below!.

    Now Copy the bold text below to notepad. Save it as fixME.reg to your desktop. Be sure the "Save as" type is set to "all files" Once you have saved it double click it and allow it to merge with the registry.
    PART 2 - Setting Permissions for Everyone

    Run the below if some of the registry keys still exist after running the above steps.

    Now I want you to use Registar Lite again to navigate to each of the below keys (one at a time) by pasting them into the Address Bar and hitting return. But this time click the Security menu item and select Edit Permissions so we can change permissions to everyone ( I describe this down below the list of registry keys).
    After click Edit Permissions , here is what I expect you to see in the Group or user names area of the form:Everyone
    SYSTEM

    Select Everyone by clicking on it. Now at the bottom in the Permissions box click the check box for Full Control. The click Apply and then OK to get back to the main Registrar Lite screen. Nowright click on the registry key and select Delete. The click View and Refresh. Check to see if the registry key just deleted truly deleted. If so, move on to the next to work thru the whole list. If it does not delete, I want you to boot into safe mode and repeat these exact same steps to see if we can do it from safe mode.

    Then reboot your PC!
     
  19. FSULongM

    FSULongM Private E-2

    After running Blacklight, I Googled regedit error, reset Permissions for key to Everyone and deleted it, rebooted, and it does not now show in registry.
     
  20. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    Ta Da.....sweet. :)

    Are we now ready to do the final clean up? LOL

    If you are not having any other malware problems, it is time to do our final steps:


    1. We recommed 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 significan amount of resources ( except a little disk space ) until you run a scan.
    2. If we used Pocket Killbox during your cleanup, do the below

      * Run Pocket Killbox and select File, Cleanup, Delete All Backups
    3. 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" /u
        • Notes: The space between the combofix" and the /u, it must be there.
        • This will uninstall ComboFix and also reset hidden files and folders settings back to Windows defaults.

      • Delete the C:\combo-fix folder from combofix.

    4. If we had you run Avenger, you can delete all files related to Avenger now.
    5. If we had you run RenV.exe, you can delete it and the Log.txt file on your Desktop.
    6. Any other miscellaneous tools we may have had you install or download can be uninstalled and deleted.
    7. If we had you download any registry patches like fixme.reg or fixWLK.reg (or any others), you can delete these files now.
    8. 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.
    9. Go to add/remove programs and uninstall HijackThis.
    10. You can delete the C:\MGtools folder and the C:\MGtools.exe file. You can also delete the C:\MGlogs.zip
    11. If you are running Vista, Windows XP or Windows ME, do the below:
      • Refer to the cleaning steps in the READ ME for your Window version and see the steps to Disable System Restore which will flush your Restore Points.
      • Then reboot and Enable System Restore to create a new clean Restore Point.

    12. After doing the above, you should work thru the below link:

     
  21. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    And to clean up from ComboFix:


    Copy the bold text below to notepad. Save it as fixME.reg to your desktop. Be sure the "Save as" type is set to "all files" Once you have saved it double click it and allow it to merge with the registry.
    Make sure that you tell me if you receive a success message about adding the above
    to the registry. If you do not get a success message, it definitely did not work.
     
  22. FSULongM

    FSULongM Private E-2

    Added to the registry successfully.
     
  23. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    Good to know...let me know if you have any more issues with this. :)
     

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