.bat file that erases windows
:eek:
last night i was screwing around and made a bat file that erases windows useing the "deltree/y c:\windows" command.
i then scanned it with my av and it said it was fine no virus
so my ? is how do you protect your self from a a file that will erase your fiels but its not a virus
i dont go into dos and run the edit program on every file i download so is there a program out there that checks for that kind of thing?
Re: .bat file that erases windows
Quote:
Originally posted here by ZeTtA_bYtE
:eek:
last night i was screwing around and made a bat file that erases windows useing the "deltree/y c:\windows" command.
i then scanned it with my av and it said it was fine no virus
so my ? is how do you protect your self from a a file that will erase your fiels but its not a virus
i dont go into dos and run the edit program on every file i download so is there a program out there that checks for that kind of thing?
I'm betting that if you ran it many of the files would remain. No doubt it would hurt your system but core windows components would remain. Format c:\ /u (u = unconditioanl for more windows) might be more effective. But like NeuTron said
Quote:
The definition of a virus is a file that can replicate its own code. A malicious batch file has to be run by the "victim" so it isn't really much of a threat.
It does not replicate and it is run from the user. Your "virus" is little different then typing deltree /y c:\windows from the cmd line. Later versions of m$ products and security wrappers make it impossible for end users to do what you describe. I once took a taining class where the computer was so locked down I could not do anything (no start->run; no access to c drive from all standard access methods; I could not even go into office and select open and then right click on something and say send to command line). If you want to you can very much lock down m$ systems -slthough a degree of trust is nice.
Cheers,
-D