Author Topic: Virus keeps coming back...  (Read 27284 times)

0 Members and 1 Guest are viewing this topic.

DukeNukem

  • Guest
Re: Virus keeps coming back...
« Reply #30 on: September 15, 2005, 10:58:51 AM »
Maybe avast should develop some sort of rootkit detector.

Rootkit shield  :)

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33904
  • malware fighter
Re: Virus keeps coming back...
« Reply #31 on: September 15, 2005, 12:01:50 PM »
Hi DukeNukem,

A very interesting read can be found here:
http://www.phrack.org/phrack/63/p63-0x08_Raising_The_Bar_For_Windows_Rootkit_Detection.txt Read it, you will find that function hooking for log on password sniffing and e.g. redirection msgina.dll! WlxLoggedOutSAS() to hidden rootkit func, which is to log the passwords to be sent to the intruder (using CC). The goals of these rootkits are: hide intruder's processes, to hide reg keys that enable start up of the intruder's tools after sys reboot, hide some files for intruding tools. Helpful can be to debug the MS Kernel which the MS Kernel Debugger to be downloaded from www.microsoft.com so one can debug usermode processes in start system in debug mode, this requires reboot, use livekd tool from sysinternals.com (does not need reboot).
Classic API hooking with rootkit code is hooking NtReadVirtualMem to cheat on debugger, reading processes mem, some of this happens with pmdump.exe tool too. Kernel mem in read-only mode seems a safe choice. Source of Info : P. Rutkowska-Warszawa. From these lines one thing can be observed: rootkits versus AV detection is ongoing warfare, and we are out in the trenches. Adding debugging functionality to AV start up scanning and memory signature scans is to be advised imho. Only slowly now AV products show to react.

greets,

polonus
« Last Edit: September 15, 2005, 12:07:41 PM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

noahdfear

  • Guest
Re: Virus keeps coming back...
« Reply #33 on: October 07, 2005, 10:19:09 PM »
msdirectx.sys has been tackled with a manual fix. Signs of infection in a HJT log below, may or may not be present, as well as detection of msdirectx.sys by AV.


F2 - REG:system.ini: Shell=Explorer.exe *randomnamed.exe*


The fix;

*Click here to download Killbox by Option^Explicit.
*Double-click on Killbox.exe to start the program.
*In the killbox program, select the Delete on Reboot option.
*Copy the file names below to the clipboard by highlighting them and pressing Control-C:

C:\WINDOWS\System32\randomnamed.exe  << get the filename from the HJT log
C:\WINDOWS\System32\msdirectx.sys


*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. Click "No" at the Pending Operations prompt.

While your computer is restarting, tap the F8 key continually until a menu appears.  Use your up arrow key to highlight Safe Mode, then hit enter.

Run HijackThis and put checkmarks in front of he following items.
Close all windows except HijackThis and click Fix checked:

F2 - REG:system.ini: Shell=Explorer.exe random.exe

Boot back to normal and copy the part in bold below into notepad. Save it as unlegacy.reg (set filetype to "All Files")

REGEDIT4

[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_MSDIRECTX]

[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_MSDIRECTX]

[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\msdirectx]

Doubleclick the file you made and confirm you want to merge it with the registry.

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Virus keeps coming back...
« Reply #34 on: October 19, 2005, 10:21:30 AM »
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Virus keeps coming back...
« Reply #35 on: November 10, 2005, 07:16:03 PM »
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Virus keeps coming back...
« Reply #36 on: November 12, 2005, 04:22:04 PM »
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Virus keeps coming back...
« Reply #37 on: November 12, 2005, 04:35:12 PM »
If Killbox can delete this fellow at reboot, why can't avast? ??? :-\ :'(

http://forum.avast.com/index.php?topic=14618.msg142666#msg142666
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Virus keeps coming back...
« Reply #38 on: December 01, 2005, 12:17:08 AM »
Back again!

http://forum.avast.com/index.php?topic=17747.from1133389209;topicseen#msg151226

These so-called pseudo-rootkits don't seem impossible to deal with by cleaning out the registry entries that run them:

http://forum.avast.com/index.php?topic=16788.msg142663#msg142663

Why can't avast! scan the registry for rootkit entries before a boot time scan?
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33904
  • malware fighter
Re: Virus keeps coming back...
« Reply #39 on: December 03, 2005, 01:56:14 PM »
Hello FwF,

I have asked info about such a tool in the general forum. A tool that alerts to every change in files and application attributes, and all changes in the registry. A bit like ISpy etc, but this tool I did not trust because you could create an application like User to All Users etc, kill threads, but also double program start ups, and when that can be done remotely, you have the same double sword situation. What do you have in mind? The truth is that monitoring programs like SSM etc. can keep you out of a lot of trouble here. For the moment prevention is the best policy IMO. We have seen for instance recently a lot of installations of ad- & spyware via Firefox pop-ups, that users misinterpret for genuine MS ones. I think the precautions not having the possibilities to contact the malware sources through block list programs is good. The recent Israeli thought about an AV-immunization network is as yet impracticable and vulnerable, but we will see other solutions than running behind the facts in the foreseeable future.

greets,

polonus
« Last Edit: December 03, 2005, 01:58:04 PM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33904
  • malware fighter
Re: Virus keeps coming back...
« Reply #40 on: December 07, 2005, 11:08:43 AM »
Hello folks,

This is a tool that you should try:
http://www.resplendence.com/hookanalyzer Hookanalyzer is free.
Also you can use rkdetector from: http://rkdetector.com/

greets,

polonus
« Last Edit: December 07, 2005, 11:18:29 AM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Virus keeps coming back...
« Reply #41 on: December 14, 2005, 12:34:01 PM »
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33904
  • malware fighter
Re: Virus keeps coming back...
« Reply #42 on: December 16, 2005, 08:49:56 PM »
Hello FwF,

How to check yourself if you have the F4! Rootkit?

Click Start, and click Run.
In the Open text box, type: cmd
Click OK. A command-line shell appears.
At the command promt, type: dir
%windir%\system32\$sys$filesystem/aries.sys
Press: Enter
The system displays the name aries.sys if the file is present.
Otherwise the system displays: "File Not Found".

That's all,

polonus
« Last Edit: December 17, 2005, 12:04:50 AM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!