Reply
Visitor
joker5150
Posts: 6
Registered: ‎06-12-2012
Accepted Solution

ZeroAccess infection

Hi there! Having a tought time on this one. My father's computer got infected with ZeroAccess/Sirefef, and neither Norton nor F-Secure rescue disk couldn't fix it. MSE says its got at least 3 variants:

 

Sirefef
Itens:
file:C:\Windows\Installer\{ecd941eb-127e-8664-93b6-fffd5903ae20}\U\00000001.@

 

Sirefef.AH
Itens:
containerfile:C:\Windows\system32\services.exe
file:C:\Windows\system32\services.exe->731
process:pid:712

 

Sirefef.AG
Itens:
file:C:\Windows\Installer\{ecd941eb-127e-8664-93b6-fffd5903ae20}\U\80000000.@

 

Sirefef.AL
Itens:
file:C:\Windows\Installer\{ecd941eb-127e-8664-93b6-fffd5903ae20}\U\800000cb.@

 

I anticipated some moves, disabled MSE and have downloaded aswMBR and updated it with the most up to date definitions. Run it, but couldn't finish the scan. The **bleep** trojan kept on crashing the program or trying to boot my system ("windows has encountered a critical error and will shut down in 1 minute"). I then loaded CMD with administrator privileges and run shutdown /a to stop the rebooting proccess. I was as fast as 3 seconds after the message.... but it didn't work:

 

C:\Users\Fabro>shutdown -a
A system shutdown is in process.(1115) 

 

So I couldn't run it. Windows Vista 32 here. I think he got the thing on saturday (09/06/12) and I have several restauration points prior to that. Should I try to restore the system? 

 

Please advice,
thank you very much.

 

Bot Obliterator
Quads
Posts: 13,250
Registered: ‎07-21-2008

Re: ZeroAccess infection

You can't have Norton and MSE installed at the same time they conflict.  MSE is to be uninstalled.

 

Quads

Visitor
joker5150
Posts: 6
Registered: ‎06-12-2012

Re: ZeroAccess infection

I've run ESET Online Scanner, with "Scan archives" enabled, "Remove found threats" disabled, and in advanced settings I enabled "Scan potentially unwanted applications", "Scan for potentially unsafe applications" and "Enable Anti-Stealth technology"

The results follow!

Bot Obliterator
Quads
Posts: 13,250
Registered: ‎07-21-2008

Re: ZeroAccess infection

[ Edited ]

One less for me to worry about.

 

I did not asked you to do that so I am finished with this thread and breaking the CLSID variant of zeroaccess with services.exe

 

I asked you to uninstall MSE, not to run scans, I am not doing anymore, you are doing your own thing.

 

You have even tried reinstalling etc.

 

bye

 

Quads

Visitor
joker5150
Posts: 6
Registered: ‎06-12-2012

Re: ZeroAccess infection

Hey Quads,

 

Sorry for that. I was just trying to be proactive. I read several posts where you instructed people to do that and was trying to save time. I've already uninstalled MSE (that's what I meant when I said "disabled MSE"). I'll not do anything else until instructed. What must I do?

 

Thanx


 


Bot Obliterator
Quads
Posts: 13,250
Registered: ‎07-21-2008

Re: ZeroAccess infection

You can do what you like, you have already reinstalled Windows to go with it.

 

Quads

Visitor
joker5150
Posts: 6
Registered: ‎06-12-2012

Re: ZeroAccess infection

?? I have NOT reinstalled windows!! Where did you read that?
Bot Obliterator
Quads
Posts: 13,250
Registered: ‎07-21-2008

Re: ZeroAccess infection

Infected zeroaccess old installation "C:\Windows.old" now it's infected the new install.

 

Quads

Visitor
joker5150
Posts: 6
Registered: ‎06-12-2012

Re: ZeroAccess infection

 

Well, I didn't reinstall windows now. This "windows.old" directory is probably a previous windows reinstall, done several months ago.

 

 

 

 

 

 

Visitor
joker5150
Posts: 6
Registered: ‎06-12-2012

Re: ZeroAccess infection

Well, I actually managed to remove the plague on my own. 

 

Steps I did:

 

- Boot the system with F-secure rescue CD (available for free here http://www.f-secure.com/en/web/labs_global/removal/rescue-cd)

 

- Let the scan and clean run. It cleans some files, but it skips/does nothing with the services.exe infection, which is responsable for reinfecting the machine. After it did its job, I pressed Alt + F4 (a hidden feature that drops you at a linux prompt)

 

- Entered windows directory (mine was at  /mnt/scan/sda1/windows)

 

- Figured out the windows\winsxs has a backup of main system files, with more then one version on some cases!

 

- Found the backups of service.exe there, entering /mnt/scan/sda1/windows/winsxs and hitting ls -l *servicecontroller*

 

- Found three directories with service controller: 

 

x86_microsoft-windows-s..s-servicecontroller_31bf3856ad364e35_6.0.6000.16386_none_cd28fe6bd05df036
x86_microsoft-windows-s..s-servicecontroller_31bf3856ad364e35_6.0.6001.18000_none_cf5fc067cd49010a
x86_microsoft-windows-s..s-servicecontroller_31bf3856ad364e35_6.0.6002.18005_none_d14b3973ca6acc56
- Renamed the existing services.exe to services.virus
mv  /mnt/scan/sda1/windows/system32/services.exe services.virus
- Copied the services.exe from the winsxs 6.0.6002 folder to windows/system32


cp  /mnt/scan/sda1/windows/winsxs/x86_microsoft-windows-s..s-servicecontroller_31bf3856ad364e35_6.0.6002.18005_none_d14b3973ca6acc56/services.exe  /mnt/scan/sda1/windows/system32/services.exe

 

- Checked to see if all files and directories that MSE found to be with a virus were already cleaned by the rescue CD. The files weren't there, but the folders where. I deleted the folders (with rm -f )

 

- I then ejected the CD and rebooted the system in safe mode. Opened regedit (run, regedit.exe). Searched for the keys mentioned here (http://nakedsecurity.sophos.com/2012/06/06/zeroaccess-rootkit-usermode/)

 

More specifically

HKCR\CLSID\{F3130CDB-AA52-4C3A-AB32-85FFC23AF9C1}\InprocServer32

and

HKCU\Software\Classes\clsid\{42aedc87-2188-41fd-b9a3-0c966feabec1}

(BTW, HKCR is HKEY_CLASSES_ROOT, and HKCU is HKEY_CURRENT_USER)

 

The first was with the correct value already, and the second one didn't exist! Don't know if the rescue CD already fixed it or I got a different variant, but allright (if they existed, I'd restore the first and delete the second). I also searched for the GUID that was on the directories found, and didn't find them, so I concluded the registry was clean.

 

- Final step: I found out that winsxs directory is actually the real container of the services.exe file (http://www.winvistaclub.com/f16.html). The one in windows/system32 is supposed to be only a hard link. So I restored the hard link, by doing:

 

cd\windows\system32

 

move services.exe services.goodbutjustasimplecopy (have to rename it or windows won't let you ovewrite it)

 

cd\windows\winsxs\x86_microsoft-windows-s..s-servicecontroller_31bf3856ad364e35_6.0.6002.18005_none_d14b3973ca6acc56

 

fsutil hardlink create c:\windows\system32\services.exe services.exe

 

And then I rebooted the system. Bingo. 

 

Took the time to write this here so it might help someone that was in the same trouble as me, and happen to catch quads in a bad day...