Browser Hijacked/Redirecting

Discussion in 'Malware Help - MG (A Specialist Will Reply)' started by ConfusedRock, Feb 4, 2012.

  1. ConfusedRock

    ConfusedRock Private E-2

    I used malwarebytes to remove some kind of trojan a couple of days ago. I thought it was responsible for my browser getting hijacked/redirected to random sites when I click on web pages in search engines. After removing the trojan, my browser is still getting hijacked, this time without the fake alert popping up, but it is still very annoying. I followed all the first steps listed on your forums. But I need help getting rid of this problem.

    The latest malware bytes scan came up with nothing so I will include the older log that caught the virus.

    I almost just reformatted my computer but I figured maybe it would be wiser to get some help first.

    Thanks for your time.
     

    Attached Files:

  2. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Welcome to Major Geeks!

    You need to attach the requested log from MGtools which is the C:\MGlogs.zip file.


    Also, goto the below link and follow the instructions for running TDSSKiller from Kaspersky
    • Be sure to attach your log from TDSSKiller
    Now please also download MBRCheck to your desktop.

    See the download links under this icon http://forums.majorgeeks.com/chaslang/images/MGDownloadLoc.gif
    • Double click MBRCheck.exe to run (vista and Win 7 right click and select Run as Administrator)
    • It will show a Black screen with some information that will contain either the below line if no problem is found:
      • Done! Press ENTER to exit...
    • Or you will see more information like below if a problem is found:
      • Found non-standard or infected MBR.
      • Enter 'Y' and hit ENTER for more options, or 'N' to exit:
    • Either way, just choose to exit the program at this point since we want to see only the scan results to begin with.
    • MBRCheck will create a log named similar to MBRCheck_07.16.10_00.32.33.txt which is random based on date and time.
    • Attach this log to your next message. (See: HOW TO: Attach Items To Your Post )
     
  3. ConfusedRock

    ConfusedRock Private E-2

    Hello and thank you!
    I was not able to get TDSSkiller to run. I tried renaming it and the extension as suggested but it still wouldn't work. :confused

    I have attached the other requested files.
     

    Attached Files:

  4. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    You have an infected Master Boot Record (MBR). And in addition you have an infected hard disk partition which has made itself the active boot partition. Do you have your Windows 7 Bootable DVD? Also do you have all important data backed up? You need to do this.

    The below is your partition table. The one in red is the infected partition
    Code:
    Partition Disk #0, Partition #0 
    Partition Size 931.51 GB (1,000,203,521,536 bytes) 
    Partition Starting Offset 32,256 bytes 
    [COLOR=red][B]Partition Disk #0, Partition #1 
    Partition Size 1.26 MB (1,324,032 bytes) 
    Partition Starting Offset 1,000,203,553,792 bytes[/B][/COLOR] 
     
  5. ConfusedRock

    ConfusedRock Private E-2

    Damn. I didn't think it was that bad. Everything important to me is stored on backup discs and I do have my Windows 7 disc around somewhere. Just got to find it. Well... at least I know it was inevitable. Thanks for confirming this. It's always better to try another way, I think.
     
  6. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Okay so first we will do a test to see if you can get to the System Recovery Environment without using DVD. Note this is not a fix! This is a test to confirm that you can follow these instructions at a later time when will will try a fix.


    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.
    • Choose your 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.
    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
    • Select Command Prompt
    • If you can do all of the above to get to the Command Prompt then just type exit in the command prompt to boot back into normal Windows and let me know you were able to do this or not.
     
  7. ConfusedRock

    ConfusedRock Private E-2

    No. It won't work. The computer freezes when I hit repair. It stops when it says Windows is loading files. I've tried it several times and waited close to an hour each time.
     
  8. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Then you will have to find either your own Windows 7 Bootable DVD or you will have to borrow one from a friend to see you can use it to boot into the System Recovery Environment. We cannot fix you partition unless you have this boot DVD because after fixing your partition, your PC will not boot until the the DVD is use to repair the MBR and boot process.
     
  9. ConfusedRock

    ConfusedRock Private E-2

    Okay! I found the disc today! If I start the computer with the disc in I can get to those options you listed. What should I do now?
     
  10. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Okay, first you will need to make another special disc to use in removing the infected partition and making your Windows partition active.


    I need you to download: gparted-live-0.11.0-7.iso (114 MB)
    Create a bootable CD for GParted. You can useImgBurn to accomplish this.
    If you need help on how to use ImgBurn, please view this guide by dr.m -- Using ImageBurn to Burn an ISO image
    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.26 MiB (1.26 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 931.51 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 and execute the following commands:
    • bootrec /fixmbr
    • bootrec /fixboot
    • exit
    Once back in Windows...

    Re-run another scan withMBRCheck and attach its latest log.

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

    Then attach the below logs:
    • C:\MGlogs.zip
    Make sure you tell me how things are working now!
     
  11. ConfusedRock

    ConfusedRock Private E-2

    Forgive my nerdy outburst but that was pretty exciting! Like computer brain surgery! :)

    I have checked my browser and I am no longer getting hijacked or redirected in any way so I do think that cleared everything up!

    You, sir, are a gentleman, a scholar, and a genius! And I can't thank you enough!

    I've uploaded the logs as requested.

    I'm very glad that got your help with this. If I had simply reformatted my computer, the infection would probably have still been present. So again, thanks Chaslang! You are quite literally a gift to the community!
     

    Attached Files:

  12. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Your logs are clean.
    Correct! A format would not fix the partitions. You would have to delete partitions and then recreate them. Then format and then reinstall.

    Thanks!

    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:
     

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