Welcome Guest ( Log In | Register )




                Web Hosting Guide

3 Pages V   1 2 3 >  
Reply to this topicNew Topic
Very Easy But Very Dangerous Virus
me-here
post Apr 22 2006, 10:09 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 7
Joined: 22-April 06
Member No.: 12,929


QUOTE
The only thing you need is Notepad .
Now, to test it, create a textfile called TEST.txt(empty) in C:\
Now in your notepad type "erase C:\TEST.txt" (without the quotes).
Then do "Save As..." and save it as "Test.cmd".
Now run the file "Test.cmd" and go to C:\ and you'll see your Test.txt is gone. Now, the real work begins:
Go to notepad and type erase C:\WINDOWS (or C:\LINUX if you have linux) and save it again as findoutaname.cmd. Now DON'T run the file or you'll lose your WINDOWS map. So, that's the virus. Now to take revenge. Send you file to your victim. Once she/he opens it. Her/his WINDOWS/LINUX map is gone. And have to install LINUX/WINDOWS again.


Go to the top of the page
 
+Quote Post
Aditya
post Apr 22 2006, 12:16 PM
Post #2


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 54
Joined: 18-March 06
Member No.: 12,085


Ok first of all this is not a virus even in the lamest terms. This is just a DOS batch file. You can also save the file as .bat file and the functioning will be the same. This file won't erase anything without confirmation from the user. You've tried to delete just a single file thats why it didn't ask for confirmation from you. Try deleting a folder with this file and you will get the following message in a DOS window:
CODE
erase c:\<directory name>
c:\<directory name>\*, Are you sure (Y/N)?

Unless you press 'y' nothing will happen. A virus, by definition, is not just supposed to damage a computer, it is also supposed to spread on its own. And this file can't even damage a computer without affirmation from the user. I wonder who would be dumb enough to affirm the destruction of his own computer. wink.gif
Atleast use "echo off" before the erase statement to hide the "erase c:\windows" command being displayed.
And by the way, I think you haven't ever used Linux. Otherwise you would know that Linux doesn't support DOS commands and neither does it use the Windows/DOS filesystem.
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Apr 22 2006, 01:00 PM
Post #3


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,248
Joined: 29-January 05
From: Bangkok, Thailand
Member No.: 2,411
myCENTs:19.10


hahhaahaha.. I'm sorry I can't help but laugh like a mad cow laugh.gif That was rather pathetic, me-here.. as Aditya pointed out.

An alternative to using echo off is to prefix every line in the batch file with an @ symbol. It works the same as echo off.

Moreover - if you execute this file WHILE you're booted into Windows, there's NO WAY you can delete the Windows directory. Anything above Win98, puts a LOCK on the C:\WINDOWS folder once booted up. You cannot even use Windows Explorer to delete this directory.

Only with that inanely stupid Win98, you could delete the WINDOWS folder - but that too would abort midway once it came upon certain locked .dlls and .exes. But by then the damage would be done - at least partially.

As far as Linux is considered, this method is absolutely worthless.. a normal user won't even have sufficient privileges to execute a similar script on the root folder.
Go to the top of the page
 
+Quote Post
nini
post Apr 22 2006, 01:17 PM
Post #4


Newbie [ Level 2 ]
Group Icon

Group: Banned
Posts: 16
Joined: 12-April 06
Member No.: 12,714


Thanks a lot.
But a problem...may be the victim understand and doesn't run
the file...so(it is clear to understand)
what way do you use???
Go to the top of the page
 
+Quote Post
mastercomputers
post Apr 22 2006, 02:25 PM
Post #5


Making IT Happen
Group Icon

Group: Members
Posts: 678
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27
myCENTs:69.15


A Virus infects... that's how I describe Viruses.

This however is just a malicious program/script that deletes files.

To make it successful, there's some Windows files that you can single out for specific deletion and would not be presented with a confirmation, even renaming it would work, moving however wouldn't because it'd most likely be read-only and require confirmation. Those files can be found in Windows and System32.

I'm not sure whether you can force windows into interactive mode, in which every action done in [acronym=Disk Operating System]DOS[/acronym] requires user input. I know I've set up bash so that commands like [acronym=remove]rm[/acronym], [acronym=copy]cp[/acronym] and [acronym=move]mv[/acronym] all require actions by the user before going ahead with it, also the most damage a script as such would do would be removing my home directory (if that file was owned by me), however it will get interrupted because some files would be locked (in use). If it were owned by root, that's a different story, and definitely something to be concerned about.


Cheers,


MC
Go to the top of the page
 
+Quote Post
nitrus
post Apr 23 2006, 07:53 PM
Post #6


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 13
Joined: 21-April 06
Member No.: 12,885


You could make it work fine using the Robot library of Java. Its java.awt.Robot; and it gives you complete control of a persons computer. Im working on a script right now that gives you remote access to your computer. Very nifty little library indeed.
~Adio
Go to the top of the page
 
+Quote Post
Logan Deathbring...
post Apr 24 2006, 05:41 AM
Post #7


Geek in-training
Group Icon

Group: Members
Posts: 301
Joined: 2-July 05
From: Washington State, USA, 3rd Rock from the Star Sol
Member No.: 6,772


well with all the debate thats happened there I think that adding my own opinon here is kinda...usless....although I still will.

I'm sorry about what I'm about to say but at the same time I'm not...this doesn't even fall into the "script kiddie" arena, even the most basic "script kiddie" would realize that the commands given wouldn't work in Linux/Unix, and my main question is this...why would you come to a 'Tech forum and make a post like this....
Go to the top of the page
 
+Quote Post
Vaibhav
post Aug 6 2006, 09:24 AM
Post #8


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 22
Joined: 6-August 06
Member No.: 15,007


well I agree that its a virus ( just a very limited extent) ...just that it is not a worm...virus is omething that corrupts your system and infects. since the file can potentially corrupt but nmot infect, it is a virus to some extent. Now another thing is tht. will it destroy or not. I agree that it wont destroy cus the windows folder is write protected and the command will not execute...atleast from a normal account.

Another thing is that the file has an extension of CMD which is a batch file opened in special mode. and it doens t work on systems before win XP.

Go to the top of the page
 
+Quote Post
vhortex
post Aug 6 2006, 01:15 PM
Post #9


Guilty Until Proven Innocent
Group Icon

Group: Members
Posts: 372
Joined: 13-April 05
Member No.: 3,937


yes..the main concern is why do a post like this ends up in the forum..

i cant be sure about the windows xp system but there is a way to insert a user confirmation without requiring a keyboard input.. hmm, ever familiar with pipings? and one thing i like about windows and people hate about it too is that you already have all the resources you need to create simple viruses.

complex ones need some patch libraries to be installed.. there is no system like windows where i can create a worm using notepad alone. this cant be done on Mac OS and on linux, but can be done on windows..

I love windows biggrin.gif
Go to the top of the page
 
+Quote Post
KDEWolf
post Sep 27 2006, 05:11 PM
Post #10


Advanced Member
Group Icon

Group: Members
Posts: 179
Joined: 14-August 06
From: Vault 0 / Brazil
Member No.: 15,193


I hate media. Nowadays everyone who writes down some program is a "hacker" and if the program damages anything it's a "virus". One single minute thinking about these terms and you already know they're used in a completely wrong context.

When my HD crashed some weeks ago, the first thing my brother and my mother asked me was: "Was it a computer virus?". And, as always, I got pissed off, since (at least to me) I'm very unlikely to get viruses, since I am a very experienced user, and also have some programming skills.

First of all, much easier than writing this script, browsing Google for "creating evil scripts" (this is just a stupid example). There you'll find many dangerous exploits, programs, bugs, etc... But the fact is: if you barely know how do these work, you're probably getting lots of them infecting you computer, just by browsing these sites with an insecure browser and/or by running some of the programs contained within them (like Trojan makers, for example).

If you're up to damage someone's system, then I just hope the same happens to yours. If you're just studying some of it so you don't get infected or fooled by these childish stuff, you're welcome. By the way, when it came out, I had access to the YouLoveYou Visual Basic Script some time after, for studying it. That was a real computer virus. And that's a hell of a coding, with hundreds and hundreds of lines of code...

So do not believe that without real knowledge you'll be able mess with one's computer around. Unless one is many times dumber than you, of course...

And a last simple tip, for safety: always "edit" (using at least notepad) script files before running them, so you have a bare idea of what's going to happen next...
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Fast ReplyReply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 9 BHerath 1,118 24th February 2010 - 05:54 PM
Last post by: iG-Pete
No New Posts   4 jsuthers 1,265 19th February 2010 - 06:31 AM
Last post by: iG-vandana
No New Posts   0 medha 79 25th January 2010 - 05:53 AM
Last post by: medha
No New Posts   4 kxrain 4,382 21st January 2010 - 06:07 AM
Last post by: iG-Comp tech
No New Posts 17 kanade 2,332 5th January 2010 - 05:22 PM
Last post by: iG-Ganesh Kuppan
No new   23 J.C. 18,622 31st December 2009 - 07:31 AM
Last post by: iG-iresha
No New Posts   2 magstuar 1,260 17th December 2009 - 05:27 AM
Last post by: iG-
No new   25 swizzeron 4,864 12th December 2009 - 01:50 AM
Last post by: bradzo
No New Posts   0 sunrase00 101 7th December 2009 - 08:17 AM
Last post by: sunrase00
No new   66 Takumi-san 8,614 2nd December 2009 - 09:30 PM
Last post by: iG-Bogdan
No New Posts   1 Happyday 107 24th November 2009 - 09:17 PM
Last post by: yordan
No New Posts 4 miCRoSCoPiC^eaRthLinG 2,192 24th November 2009 - 03:37 PM
Last post by: iG-eddie
No New Posts 12 designer 4,535 4th November 2009 - 10:37 PM
Last post by: HannahI
No New Posts 3 fermin25 174 22nd October 2009 - 07:32 PM
Last post by: starscream
No New Posts   10 willmark 366 15th September 2009 - 08:30 AM
Last post by: grim reaper1666


Web Hosting Powered by ComputingHost.com.
HONESTY ROCKS! truth rules.
Creative Commons License