Explosm.net - Cyanide and Happiness, Flash Animations, Daily Comics and more!
You are not logged in!
UK visitors! Sick of our strange American time formats? Click here to have it magically fixed. (Or choose a language at the bottom of your screen.)


Using System Restore to get rid of Virus
Go Back   The Explosm Fora > Topical Fora > The Tech Convention > Help Forum
 
Thread Tools
Old 10-20-2008, 1:28 AM       Post #1  
Urser
Contrary to my posts, I'm NOT an infant with Downs
 
Urser's Avatar
Since Aug 2006
Okay, so I just downloaded a .exe which after running infected my computer with trojan/malware. A lot of desktop icons are missing and now there are some new ones telling me to install anti-virus programs. And my desktop background has this window saying what I'm infected with or some crap.

This happened about 30 minutes ago so I know when I was infected with this virus. I googled to see if I can get rid of this by simply doing system restore to yesterday or something. But I'm getting a bunch of conflicting answers. Some people are saying to delete restore points, while others are saying I need them. They're also saying that using system restore won't get rid of the file.

So do I either...

a) Use system restore to go back to an earlier date to rid the system of the virus that I know I got today?

or

b) Use my antivirus to clean my system of the infection, and then delete my restore points?

I really don't want to do the second one as that means that I can't use system restore in case I stuff up. And the first option seem fool-proof. But I'm not so sure.

Halp!
__________________
Cory, you a busta.


Urser is offline Event Log  
Old 10-20-2008, 1:36 AM       Post #2  
opn4bzns
Posts way too much.
 
opn4bzns's Avatar
Since Jan 2007
I'd run screaming to my antivirus (which are you using?), do a deep scan, and wouldn't do anything with system restore, since I don't think it deletes files.


opn4bzns is online now Event Log  
Old 10-20-2008, 3:02 AM       Post #3  
miimii
Since Apr 2008
1. Boot up in safe-mode and make sure networking is disabled then run a virus scan.
2. Google the file name of the trojan you downloaded, and if it is public then there will be other people that have had the same trouble as you or reports on AV sites telling you how to get rid of it.
3. Backup any important files onto another Hard-Drive, DVD's, Flash Drive, whatever.
4. Format the disk completely and reinstall windows
5. Put back the important files.

That's the safe version I guess, the other version is to just run a virus scan, delete anything suspicious and forget about it.

Also yeah system restore won't get rid of it, and could you upload the file somewhere please and pm me link?



Edited Note Last edited by miimii : 10-20-2008 at 3:08 AM.
miimii is offline Event Log  
Old 10-20-2008, 3:19 AM       Post #4  
Axidos
Regular
 
Axidos's Avatar
Since Feb 2006
Edit:
Quote:
Originally Posted by miimii View Post
3. Backup any important files onto another Hard-Drive, DVD's, Flash Drive, whatever.
4. Format the disk completely and reinstall windows
5. Put back the important files.

That's the safe version I guess, the other version is to just run a virus scan, delete anything suspicious and forget about it.

Also yeah system restore won't get rid of it, and could you upload the file somewhere please and pm me link?
FUCK NO!! The It's just a fucking virus, a full system reformat is completely uncalled for. System Restore will get rid of any changes the virus made to any crucial or program files which will effectively disable it, if it isn't removed completely.
If the reformat is because you're worried the virus might have shoved infected files elsewhere like into his documents, he'll probably end up copying them over during the back-up process and then put them right back, achieving nothing.

Running the virus-scan in safe mode and googling information on whatever you downloaded is a good idea (that means just steps 1 and 2), but the rest of this post is trash.

The advice you just provided is a perfect example of why technical help should never ever be brought into private conversations. If you give him stupid advice - like you just did - in a private conversation, then there's nobody to tell him not to do it.

Now, back on track:
Quote:
Originally Posted by opn4bzns View Post
I'd run screaming to my antivirus (which are you using?), do a deep scan, and wouldn't do anything with system restore, since I don't think it deletes files.
According to Microsoft, part of what System Restore does is this: when a program wants to modify crucial files (such as system files or the registry) or program files, it saves a copy of that file before it's changed. So if the virus changed any system files (which it probably did), system restore can remove them.

Regarding the deletion of restore points, Urser, the only time you'd want to remove a restore point is if you know it was infected. For example, you got a virus today, so after restoring to a past date you'd want to remove any restore points from today.


So Urser, you should definitely run a full virus-scan as well as Spybot if you have it.
Afterwards, use system restore to revert to a safe point prior to your infection. System Restore will also change your desktop to how it was at that time (that means deleting or creating files and shortcuts on it) so save a copy of any files from your desktop that you want to keep. It shouldn't affect your personal files though in places like My Documents.



Though I advise strongly against doing this, an MSDN article about antivirus & system restore interaction mentions the removal of infected files from the System Restore archive by completely destroying all system restore points, which in your case you would only do after restoring to an uninfected point. I will let Beefynick have the final say on whether you do this (but until then, don't).



Edited Note Last edited by Axidos : 10-20-2008 at 3:34 AM.
Axidos is offline Event Log  
Old 10-20-2008, 6:39 AM       Post #5  
Urser
Contrary to my posts, I'm NOT an infant with Downs
 
Urser's Avatar
Since Aug 2006
Okay, I've used System Restore (to yesterday's restore point) as a last ditch effort and everything seems okay. My desktop is back and everything. And since no errors are coming up, I think I'm in the clear.

Also, since my virus was downloaded today (October 20th), is it safe to say that it's completely gone? When I was using system restore, they said that there were no restore points for October 20th, so the last restore point was October 19th (which is what I'm using).

EDIT: Functions like the task bar and task manager have returned aswell. (I couldn't use them before)


Urser is offline Event Log  
Old 10-20-2008, 7:27 AM       Post #6  
miimii
Since Apr 2008
Probably, where did you get it from in the first place?



Edited Note Last edited by miimii : 10-20-2008 at 7:29 AM.
miimii is offline Event Log  
Old 10-20-2008, 7:55 AM       Post #7  
Antisaint
Explosmateer
 
Antisaint's Avatar
Since Jan 2008
Quote:
Originally Posted by Urser View Post
Okay, I've used System Restore (to yesterday's restore point) as a last ditch effort and everything seems okay. My desktop is back and everything. And since no errors are coming up, I think I'm in the clear.

Also, since my virus was downloaded today (October 20th), is it safe to say that it's completely gone? When I was using system restore, they said that there were no restore points for October 20th, so the last restore point was October 19th (which is what I'm using).

EDIT: Functions like the task bar and task manager have returned aswell. (I couldn't use them before)
Do a virus scan, Fox. What scanner are you using?

EDIT: For future reference, order of seriousness is:
Scan > Scan in safe mode > System restore > A real tech support hotline/forum with HijackThis > Format hard drive

Also HijackThis comes with a task manager built in if something blocks the Windows one.
__________________
Hamster Huey and the Gooey Kablooie



Edited Note Last edited by Antisaint : 10-20-2008 at 8:05 AM.
Antisaint is online now Event Log  
Old 10-20-2008, 9:11 AM       Post #8  
Beefynick
Explosmateer
 
Beefynick's Avatar
Since Aug 2007
I would not say it is completely gone. System restore works to restore items to a previous date, such as system files, but that does not mean that the virus is gone. It may have not allowed system restore to overwrite the file it is residing in.

I would do a virus scan again and see if any results come up. If they do, then you need to work on removing the virus. If you give us the name we can give you instructions how. Then you would not have to delete all your system restore points, just those taken since you were infected with the virus.

Do a virus scan and spyware scan and if anything is found post the results here and we can take it from there.


Beefynick is offline Event Log  
Old 10-20-2008, 9:43 AM       Post #9  
miimii
Since Apr 2008
Quote:
Originally Posted by Antisaint View Post
Do a virus scan, Fox. What scanner are you using?

EDIT: For future reference, order of seriousness is:
Scan > Scan in safe mode > System restore > A real tech support hotline/forum with HijackThis > Format hard drive
Scan in safe mode should always come first. When you boot up the computer normally, the virus/worm/trojan is going to become active, using safe mode it won't start up with windows, you need to minimize the time it has to do it's dirty work.

Quote:
If the reformat is because you're worried the virus might have shoved infected files elsewhere like into his documents, he'll probably end up copying them over during the back-up process and then put them right back, achieving nothing.
If the virus has shoved infected files into his documents then they are still going to be there on a system restore... For complete removal, if he actually has any important files that he does not want to lose (I'm talking document files here that a virus would not actually be able to infect), then a format is the way to go. It may seem extreme but it's the only way to be completely sure, and who doesn't like a good format anyway?


miimii is offline Event Log  
Old 10-20-2008, 1:19 PM       Post #10  
Antisaint
Explosmateer
 
Antisaint's Avatar
Since Jan 2008
Quote:
Originally Posted by miimii View Post
Scan in safe mode should always come first. When you boot up the computer normally, the virus/worm/trojan is going to become active, using safe mode it won't start up with windows, you need to minimize the time it has to do it's dirty work.
It isn't "do this then this then this," it's "If you just visited a shady site, do this, if you have something fucking your shit up do this, etc."

Quote:
If the virus has shoved infected files into his documents then they are still going to be there on a system restore... For complete removal, if he actually has any important files that he does not want to lose (I'm talking document files here that a virus would not actually be able to infect), then a format is the way to go. It may seem extreme but it's the only way to be completely sure, and who doesn't like a good format anyway?
Formatting a drive is ALWAYS a last ditch effort. Fix it any other way first, not every last virus is going to fuck with your restores and other settings.
__________________
Hamster Huey and the Gooey Kablooie


Antisaint is online now Event Log  
Old 10-21-2008, 3:12 AM       Post #11  
Axidos
Regular
 
Axidos's Avatar
Since Feb 2006
Quote:
Originally Posted by miimii View Post
who doesn't like a good format anyway?
People who want to install and configure their operating system and programs once and once only? I'm not sure what sort of advice you've run into, but for just about any situation short of "I put my hard drive in a pile of magnets" there is a better solution than reformatting.


Axidos is offline Event Log  
Old 10-21-2008, 3:39 AM       Post #12  
Urser
Contrary to my posts, I'm NOT an infant with Downs
 
Urser's Avatar
Since Aug 2006
Well I do have a lot of crap on my computer and it does need a good formatting. And I have all of my stuff backed up on a separate computer from about a month ago, so it wouldn't be that bad if I needed to. But everything is fine now! Thanks everyone.


Urser is offline Event Log  

Thread Tools



All times are GMT -6. The time now is 7:31 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
We've modified vBulletin extensively, don't expect a fresh copy to be this awesome.


Explosm, Cyanide & Happiness, Interactive Stories, Articles, Movies, Animations
The Forums
T-shirts and stuff!

Cyanide & Happiness - I'm Giving You the Finger, the first official C&H book in stores nowish!