Avast WEBforum

Other => Viruses and worms => Topic started by: zerokit on February 09, 2012, 09:11:09 PM

Title: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 09, 2012, 09:11:09 PM
It started with a cpu hog, checked Task Manager and saw ping.exe constant at 50%

I used Kaspersky, Norton, Malware etc.

Then BSOD, so I had to make a Repair CD and regedit from consrv.dll to winsrv.dll
Got back in Windows, everything seemed fine.

Except the fact that consrv.dll is used by csrss.exe

I dont have "Safety Settings Service" in Services.

aswMBR says Win32:Sirefef-H0 [Rtk]

I can post log once it's done scanning.. (First time I clicked "Fix" but the program became unresponsive after putting consrv.dll in quarantine)
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: Pondus on February 09, 2012, 09:25:01 PM
follow the guide here and attach the logs
http://forum.avast.com/index.php?topic=53253.0
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 09, 2012, 09:51:48 PM
OTL coming up

Do you need Malwarebytes' Anti-Malware log when it doesnt detect anything?

aswMBR version 0.9.9.1532 Copyright(c) 2011 AVAST Software
Run date: 2012-02-09 20:56:40
-----------------------------
20:56:40.238    OS Version: Windows x64 6.1.7601 Service Pack 1
20:56:40.238    Number of processors: 2 586 0x1706
20:56:40.239    ComputerName: KIMXPS  UserName: kim
20:56:41.046    Initialize success
20:56:44.206    AVAST engine defs: 12020902
20:56:54.839    Disk 0 (boot) \Device\Harddisk0\DR0 -> \Device\Ide\IdeDeviceP1T0L0-2
20:56:54.841    Disk 0 Vendor: FUJITSU_MHZ2320BH_G2 00850009 Size: 305245MB BusType: 11
20:56:54.887    Disk 0 MBR read successfully
20:56:54.890    Disk 0 MBR scan
20:56:54.894    Disk 0 Windows 7 default MBR code
20:56:54.903    Disk 0 Partition 1 80 (A) 07    HPFS/NTFS NTFS          100 MB offset 2048
20:56:54.923    Disk 0 Partition 2 00     07    HPFS/NTFS NTFS        83366 MB offset 206848
20:56:54.928    Disk 0 Partition - 00     0F Extended LBA             71000 MB offset 170940416
20:56:54.958    Disk 0 Partition 3 00     07    HPFS/NTFS NTFS       150776 MB offset 316348416
20:56:54.994    Disk 0 Partition 4 00     07    HPFS/NTFS NTFS        70999 MB offset 170942464
20:56:55.001    Service scanning
20:56:56.417    Modules scanning
20:56:56.422    Disk 0 trace - called modules:
20:56:56.465    ntoskrnl.exe CLASSPNP.SYS disk.sys ataport.SYS PCIIDEX.SYS hal.dll msahci.sys
20:56:56.471    1 nt!IofCallDriver -> \Device\Harddisk0\DR0[0xfffffa80045f4060]
20:56:56.476    3 CLASSPNP.SYS[fffff8800180143f] -> nt!IofCallDriver -> \Device\Ide\IdeDeviceP1T0L0-2[0xfffffa800418f060]
20:56:57.294    AVAST engine scan C:\Windows
20:57:02.139    AVAST engine scan C:\Windows\system32
20:57:20.239    File: C:\Windows\system32\consrv.dll  **INFECTED** Win32:Sirefef-HO [Rtk]
21:01:25.950    AVAST engine scan C:\Windows\system32\drivers
21:01:38.285    AVAST engine scan C:\Users\kim
21:15:40.507    File: C:\Users\kim\AppData\Local\Temp\~Quarantine.aswMBR\consrv.dll  **INFECTED** Win32:Sirefef-HO [Rtk]
21:19:59.359    AVAST engine scan C:\ProgramData
21:21:37.994    Scan finished successfully
21:21:53.260    Disk 0 MBR has been saved successfully to "C:\MBR.dat"
21:21:53.266    The log file has been saved successfully to "C:\aswMBR.txt"

Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: Pondus on February 09, 2012, 09:58:03 PM
Quote
Do you need Malwarebytes' Anti-Malware log when it doesnt detect anything?
No


OBS: and you need to attach the OTL logs, and save as ANSI......to avoid using multiple post with copy and paste..... see the guide
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 09, 2012, 09:59:07 PM
OTL attached edit: ANSI version uploaded

Let me know if there's anything else you need.
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 09, 2012, 10:08:07 PM
Re-Run aswMBR

Click Scan

On completion of the scanClick the   Fix  Button


(http://i1224.photobucket.com/albums/ee362/Essexboy3/aswMBR%20shots/aswMBR_Zero.png)

Save the log as before and post in your next reply
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 09, 2012, 11:01:25 PM
How long will a Fix take?

Once I click Fix there's a new line Moved: C:/...consrv.dll and then the program becomes unresponsive.. if I click in the program there's a Windows sound. This is  third time, I have waited about 1 hour prior

Edit: aswMBR.exe*32 uses 0 cpu and 56 MB ram..
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 09, 2012, 11:42:29 PM
ComboFix log
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 10, 2012, 04:15:43 AM
Major update..

(http://img835.imageshack.us/img835/4357/regeditv.jpg)
http://img835.imageshack.us/img835/4357/regeditv.jpg

Everytime I restart service DXEC02 (servicelayer in regedit) avast pops up with a warning about the rootkit

path to execute
C:\Windows\system32\svchost.exe -k netsvcs


A bit puzzled about the other entries.. For instance PolicyAgent has Display name @%SystemRoot%\System32\polstore.dll,-5010
So I searched the web and found this http://www.systemlookup.com/O23/5345-polstore_dll.html
A restart of that service does not make Avast detect anything.
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 10, 2012, 07:51:32 PM
Ipsec should be running at all times..

According to the combofix log aswMBR killed the consrv.dll and repaired the registry before it locked

How is the computer behaving now ?
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 10, 2012, 08:05:22 PM
The computer is behaving fine. Thanks for the help.

I stopped IPsec last time I replied here just for good measure. Restarted it now.

The computer has been running fine since stopping DXEC02, and the attempts to establish a connection to my computer (from hundreds of IPs and various ports) has stopped.

Is there a relative easy way to remove the traces of this rootkit? I'm not too keen on having service (though disabled) that can cause a lot of trouble and who knows what else is laying around.

Shouldnt I be worried about the other regedits ? That's the only entries in HKLM\..\services\ in a timestamp of days.

Edit: In case of misunderstanding. The above post about regedit was made after using aswMBR thus consrv.dll and the entries in registry was there after clicking "Fix".
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 10, 2012, 08:46:30 PM
The service DXEC02 is for the Knowles speech enhancement audio driver..

Do you wish to delete the service ?
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 10, 2012, 11:56:25 PM
Is Avast still alerting as this may be the new variant with a different name
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 11, 2012, 03:48:49 AM
Avast hasnt detected anything since I repeatedly restarted DXEC02  and I'm not too eager to do it again since I just replaced all my passwords.. But if you need a copy of the virus I can do it.

There's no doubt that this version of the rootkit is disguised as DXEC02.

My hosts file is repaired, I can now edit it myself. Earlier it had a weird entry with a colon in front or behind 127.0.0.1

I'd like to get rid of the service if possible.
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 11, 2012, 12:47:22 PM
It is the new variant but it has changed again - so lets kill it

Warning This fix is only relevant for this system and no other, using on another computer may cause problems

Be advised that when the fix commences it will shut down all running processes and you may lose the desktop and icons, they will return on reboot

If you have Malwarebytes 1.6 or better installed please disable it for the duration of this run

Run OTL
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 11, 2012, 01:28:30 PM
I will do it in 2 hours.

Did a boot up scan during the night

02/11/2012 04:29
Scan of all local drives

File C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_svchost.exe_1b3a2ca9472cedf3457ccff54f6c5c016cdf6_cab_042cea99\WERE751.tmp.hdmp is infected by Win32:DNSChanger-VJ [Trj], Repair: Error 42060 {The file was not repaired.}
File C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash__ex-68.exe_e0b41f88c6e8b2dea88ae6cd8babf5761c1075ae_cab_3748061a\WER5B0.tmp.mdmp is infected by Win32:Kelihos-AF [Trj], Repair: Error 42060 {The file was not repaired.}
File C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash__ex-68.exe_e0b41f88c6e8b2dea88ae6cd8babf5761c1075ae_cab_3748061a\WERFF0B.tmp.hdmp is infected by Win32:DNSChanger-VJ [Trj], Repair: Error 42060 {The file was not repaired.}
File C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppHang_AMService_e3965e73f5257183d7da29864e8f39a6e9a898_cab_03cbad1f\WER9A4C.tmp.hdmp is infected by Win32:DNSChanger-VJ [Trj], Repair: Error 42060 {The file was not repaired.}
File C:\Qoobox\Quarantine\C\Windows\System32\consrv.dll.vir is infected by Win32:Sirefef-HO [Rtk], Repair: Error 42060 {The file was not repaired.}
File C:\Windows\assembly\temp\twl.dll is infected by Win32:Agent-ANSR [PUP], Repair: Error 42060 {The file was not repaired.}

I probably did a mistake by choosing Repair instead of Ask/Delete so the files didnt get deleted
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 11, 2012, 01:34:43 PM
The *dumps are probably FP's

Delete the one in the assembly temp folder
The qoobox is quarantined

Once the bad service is removed all should be good
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 11, 2012, 06:18:36 PM
"Range check error"

I think this was left

[resethosts]
[emptytemp]
[CREATERESTOREPOINT]
[Reboot]


Did a reboot myself, BSOD.. didnt read the message, just hoped to get back with last known configuation which luckily worked. The service is there (not active, no consrv.dll)

Doing a quick scan now.
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 11, 2012, 06:24:07 PM
OTL log
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 11, 2012, 06:31:26 PM
OTL no longer shows the service on your system... I believe the error was caused by ZA protecting your host file (another thing to remember )

Any problems remaining ?
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 13, 2012, 07:26:41 PM
Great, system is fine and no threats detected on full scan, thank you :)

So the service is repaired and can be enabled again?
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 13, 2012, 07:31:16 PM
Yes restart Ipsec and let me know if that causes any errors/problems
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 13, 2012, 07:41:44 PM
IPSec has been running for a few days, I'm talking about DXEC02 / servicelayer which is present in Services / regedit
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 13, 2012, 07:49:50 PM
According to OTL that is no longer present

Could you run a fresh log please as you do not want that started
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 13, 2012, 08:09:07 PM
(http://img715.imageshack.us/img715/9889/servicelayer.jpg)

Under parameters: ServiceDLL "%systemroot%\system32\STV680m.dll"
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 13, 2012, 08:29:49 PM
Lets run OTL on it again to see if it can locate it

Warning This fix is only relevant for this system and no other, using on another computer may cause problems

Be advised that when the fix commences it will shut down all running processes and you may lose the desktop and icons, they will return on reboot

If you have Malwarebytes 1.6 or better installed please disable it for the duration of this run

Run OTL
Code: [Select]
:OTL
SRV:[b]64bit:[/b] - [2009.07.14 02:39:46 | 000,006,656 | ---- | M] (Oak Technology Inc.) [Auto | Running] -- C:\Windows\SysNative\STV680m.dll -- (servicelayer)
NetSvcs:[b]64bit:[/b] servicelayer - C:\Windows\SysNative\STV680m.dll (Oak Technology Inc.)

OTL will produce a list of actions could you post that please
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 13, 2012, 08:48:11 PM
DXEC02 / servicelayer gone,



========== OTL ==========
Service servicelayer stopped successfully!
Service servicelayer deleted successfully!
File C:\Windows\SysNative\STV680m.dll not found.
Unable to remove 64bit: servicelayer from NetSvcs value.
File C:\Windows\SysNative\STV680m.dll not found.
 
OTL by OldTimer - Version 3.2.31.0 log created on 02132012_204418
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 13, 2012, 09:48:23 PM
OK file that under weird - and it has gone now ?
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 13, 2012, 10:32:00 PM
Yes, after applying your Fix and rebooting it's gone.
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 13, 2012, 11:11:22 PM
Ok run as normal for the next day or so and when you are happy I will remove my tools
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: zerokit on February 19, 2012, 07:55:21 PM
Yes please, everything seems to be working fine now :)

Windows desktop says "Test mode Windows 7 Build 7601" Not sure if it's related to the virus, but I did notice it at the time of discovery.
Title: Re: consrv.dll zeroaccess but no "Safety Settings Service"
Post by: essexboy on February 19, 2012, 08:13:03 PM
OK that can be removed but I will need to remember how - it is not malware related

Subject to no further problems   :)

I will remove my tools now and give some recommendations, but, I would like you to run for 24 hours or so and come back if you have any problems 

Now the best part of the day ----- Your log now appears clean  :thumbsup:

A good workman always cleans up after himself so..The following will implement some cleanup procedures as well as reset  System Restore points:

Run OTLRemove ComboFix

Run OTL and hit the cleanup button.  It will remove all the programmes we have used plus itself. 

We will now confirm that your hidden files are set to that, as some of the tools I use will change that
(http://users.telenet.be/bluepatchy/miekiemoes/images/javaicon.gif)
Your Java is out of date. Older versions have vulnerabilities that malware can use to infect your system.
Please follow these steps to remove older version of Java components and upgrade the application.

 Upgrading Java:
SPRING CLEAN

To manually create a new Restore Point
 Now we can purge the infected ones
Now that you are clean, to help protect your computer in the future I recommend that you get the following free programmes:
(http://img233.imageshack.us/img233/7729/mbamicontw5.gif)
Malwarebytes (http://www.malwarebytes.org/mbam-download.php).  Update and run weekly to keep your system clean

Download and install FileHippo update checker (http://www.filehippo.com/updatechecker/) and run it monthly it will show you which programmes on your system need updating and give a download link

It is critical to have both a firewall and anti virus to protect your system and to keep them updated. To keep your operating system up to date visit
To learn more about how to protect yourself while on the internet read our little guide  How did I get infected in the first place ? (http://www.geekstogo.com/forum/topic/225044-preventing-malware-and-safe-computing/)

Keep safe  :wave: