Viruses nesting in registry? Any advice...
Viruses nesting in registry? Any advice...
Author
Discussion

havoc

Original Poster:

33,522 posts

266 months

Friday 29th June 2007
quotequote all
Right,

I seem to have acquired a bunch of rather persistent trojans and worms from somewhere. AVG and AVG anti-spyware (and PestPatrol) have rooted a load out, and I've gone into Command Prompt and deleted some difficult files, but they're still there. Moreover, some of the same stuff keeps popping back up...hence why I'm wondering if one or more have got into the registry.


Looking at task manager and googling the stuff I don't recognise reveals the following 'questionable' applications running.
winlogon.exe
srss.exe
csrss.exe
spoolsv.exe

I need to go home again tonight and see what I can do with them, but the one thing I don't know how to do is tidy the registry up.

So:-
1) Is there an easy/safe way to check my registry out and edit the viruses (and accumulated crap) out of it?
2) Is there any shareware that'll do a good (safe) job of this?


Thanks very much,

Martin

PS - If I start typing crap some bugger's nicked my login details!!! wink

Trooper2

6,676 posts

262 months

Friday 29th June 2007
quotequote all
Are you turning off System Restore and scanning in Safe Mode?

If you forget to turn off System Restore they will keep comming back.

SneakyNeil

9,296 posts

268 months

Friday 29th June 2007
quotequote all
havoc said:
winlogon.exe
srss.exe
csrss.exe
spoolsv.exe
I think they're all fine - are there any other symptoms?

LordGrover

34,189 posts

243 months

Friday 29th June 2007
quotequote all
C(rap)Cleaner does a fairly good job of fixing registry entries, but may not be applicable to your woes I'm afraid ...

_Lee_

7,520 posts

274 months

Friday 29th June 2007
quotequote all
All of the services listed are windows services.

Why do you think your machine is still infected?

havoc

Original Poster:

33,522 posts

266 months

Friday 29th June 2007
quotequote all
Trooper2 said:
Are you turning off System Restore and scanning in Safe Mode?

If you forget to turn off System Restore they will keep comming back.
Trooper...forgive a very dumb question, but how do I turn off system restore


Re: the 4 windows files...a google suggests that, if not resident in \system32\, they're disguised worms. I need to check where they are before doing anything.


As to why I think I'm still infected - because I run virus and anti-spyware scans, clear it all out, yet the offending yellow message box keeps popping up in the lower right corner from a 'new' icon purporting to be IE security toolbar or something (it looked legit but didn't look 'right', if you see what I mean). Hovering over the icon bottom-right doesn't give any info, so it's not genuine MS software, and a right click opens a clearly fraudulent anti-spyware window in IE (I also thought I'd uninstalled IE as well as this new program, but it keeps popping up...), rather than giving me a menu. So I've concluded it's undesirable.

Then when I reboot the machine and do a new scan, some new and some same viruses appear. Hence my conclusion of either registry problems or a backdoor somewhere...my money's on the registry as that's terra incognita to me...

ThePassenger

6,962 posts

266 months

Friday 29th June 2007
quotequote all
havoc said:
Looking at task manager and googling the stuff I don't recognise reveals the following 'questionable' applications running.
winlogon.exe
srss.exe
csrss.exe
spoolsv.exe
Google is your friend on this one.

winlogon.exe = " winlogon.exe is a process belonging to the Windows login manager. " I'd expect to see this on any NT based system (NT4 though to Vista).

csrss.exe = " csrss.exe is the main executable for the Microsoft Client/Server Runtime Server Subsystem. This process manages most graphical commands in Windows." Again, normal Windows process running.

spoolsv.exe = " spoolsv.exe is a Microsoft Windows system executable which handles the printing process. " Windows printing engine, it can be a virus if it's not running from \Windows\System32\

I left this one to last:

srss.exe = "Win32.Rbot.ADJ is an IRC controlled backdoor (or "bot&quotwink that can be used to gain unauthorized access to a victim's machine." Congrat's you've got a rootkit. Go get you're reinstall CD's. I'm afraid I'm not kidding either, rootkit's are the bane of any SA, once a machine has been hijacked there is no real way to be 100% sure it's not still somehow compromised. Backup, Format, Reinstall. Because as of now, whoever is in charge of that bot, can see and read everything on your machine.

Trooper2

6,676 posts

262 months

Friday 29th June 2007
quotequote all
havoc said:
Trooper2 said:
Are you turning off System Restore and scanning in Safe Mode?

If you forget to turn off System Restore they will keep comming back.
Trooper...forgive a very dumb question, but how do I turn off system restore
Start> right click My Computer> click Properties> click System Restore Tab> check Turn off System Restore on all Drives. click Apply, click OK.

Roy the Boy

471 posts

252 months

Friday 29th June 2007
quotequote all
ThePassenger said:
csrss.exe = " csrss.exe is the main executable for the Microsoft Client/Server Runtime Server Subsystem. This process manages most graphical commands in Windows." Again, normal Windows process running.
This can also be a virus if located in the wrong place. Check this link for details :

http://www.auditmypc.com/process/csrss.asp

Edited by Roy the Boy on Friday 29th June 18:11

havoc

Original Poster:

33,522 posts

266 months

Friday 29th June 2007
quotequote all
ThePassenger said:
Because as of now, whoever is in charge of that bot, can see and read everything on your machine.
Ah.

OK, next silly question...

What can and can't they read, e.g.
- stored passwords and login id's (e.g. to PH, web-based mail);
- contents of files (word/excel/etc.);
- hidden files;
- ...etc.

I'm guessing virus has been on there for about 2 days now, and I'm just wondering how much of my personal data could be compromised...


Finally...are you SURE there's no other route?!?

SneakyNeil

9,296 posts

268 months

Friday 29th June 2007
quotequote all
havoc said:
ThePassenger said:
Because as of now, whoever is in charge of that bot, can see and read everything on your machine.
Ah.

OK, next silly question...

What can and can't they read, e.g.
- stored passwords and login id's (e.g. to PH, web-based mail);
- contents of files (word/excel/etc.);
- hidden files;
- ...etc.

I'm guessing virus has been on there for about 2 days now, and I'm just wondering how much of my personal data could be compromised...


Finally...are you SURE there's no other route?!?
The lady is quite right, and yes she means everything! Weather there's another route or not depends on how sure you want to be. You might get away with just using some removal tools then changing all your important passwords, banking etc. It all depends on the aims of whoever released this version of the program, but unfortunately its not possible to tell without detailed forensics. What I can tell you is that 99 people out of 100 who who get infected and then get cleaned up don't have any trouble like that, but there is allways one...

roadsweeper

3,790 posts

305 months

Friday 29th June 2007
quotequote all
Try HijackThis and post the log output to one of the forums. The bods on there will identify any rogue processes.

Scraggles

7,619 posts

255 months

Friday 29th June 2007
quotequote all
why not just delete all the files u not know anything about, like windows and all the dirs, reboot might be a bit difficult, but just becasuse u not know the files does not mean they are viri or trojans smile

get the book pc's for dummies and have a good, long read smile

AMD87

2,004 posts

233 months

Friday 29th June 2007
quotequote all
havoc said:
As to why I think I'm still infected - because I run virus and anti-spyware scans, clear it all out, yet the offending yellow message box keeps popping up in the lower right corner from a 'new' icon purporting to be IE security toolbar or something (it looked legit but didn't look 'right', if you see what I mean). Hovering over the icon bottom-right doesn't give any info, so it's not genuine MS software, and a right click opens a clearly fraudulent anti-spyware window in IE (I also thought I'd uninstalled IE as well as this new program, but it keeps popping up...), rather than giving me a menu. So I've concluded it's undesirable.
is that a windows thing that tells you theres some files missing from your pc and can cause programmes to "crash"?

had that coming up for a week now and has caused msn and firefox to just close a couple of times,norton cant seem to find anything but the anti spyware programmes do find the virus on my pc but dont seem to delete it mad

ThePassenger

6,962 posts

266 months

Friday 29th June 2007
quotequote all
havoc said:
What can and can't they read, e.g.
- stored passwords and login id's (e.g. to PH, web-based mail);
- contents of files (word/excel/etc.);
- hidden files;
- ...etc.
Finally...are you SURE there's no other route?!?
All of those are physically on the computer, stored either in the registry or in files. Dropping a keylogger on as well would give me your pass-phrase to secured files and after that I can just copy them off.

I'm positive there is no other way and without detailed forensic work on the machine it'd be exceptionally hard to tell if there is another one buried somewhere or something fairly innocent turned on (say telnet or an SSH server quietly sat there). Hell, in the *nix world they replace top, ps and ls with tweaked versions to hide, it's highly possible that winlogon.exe or some other could be 'fiddled with'.

Stuart G Gray

7,703 posts

259 months

Saturday 30th June 2007
quotequote all
Run the latest iterations of Spy-Bot and Ad-Aware as well as using AVG. I find this has covered me 100%. Also run Regcleaner 4.3 to get rid of dead wood and to see what starts up with a boot. If you are running a dual core, set affinity to one cpu when you run Regcleaner.

havoc

Original Poster:

33,522 posts

266 months

Saturday 30th June 2007
quotequote all
OK, I've run anti-virus and anti-spyware. I've edited msconfig to remove a 'blank' program from the startup routine, and I've deleted (and uninstalled) something which appeared to be an IE "Security Centre" (or "Security Manager&quotwink - this was the dodgy file I was explaining about above. Plus the files that were continually active which I tracked down and deleted in the command prompt.

I've then rebooted.

I've then re-run A-V and A-S routines, which have come up clean.

So I'm now back online as a test...in a bit I'll disconnect and run A-V and A-R routines again, see if I've got anything beyond the usual trackers (esp. trojans, which seemed to be the main assault I was under). If they come back clean, then (honest assessment please guys) what are the chances I'm still infected?

I'm going to get some DVD-R's, back everything I need up to disk, and then next weekend or so rebuild the machine anyway, but do it properly and make the newer, faster, larger drive the primary.


Any comments or thoughts? (Will post up the re-scan results either later today or tomorrow)


PS - conclusions - this all seemed to start when I used IE again for the first time in months, to look at a streaming video (legit guys...it was linked off here...so no sniggering!!!) that wouldn't work in Firefox. I think I might well have clicked "OK" on a pop-up that looked legit. redface I also discovered that I was overdue an update to AVG.

So...don't use IE, and keep your anti-virus stuff completely up-to-date...and be careful what you open/click!