Header Banner
WonderHowTo Logo
WonderHowTo
Operating Systems
wonderhowto.mark.png
Gadget Hacks Next Reality Food Hacks Null Byte The Secret Yumiverse Invisiverse Macgyverisms Mind Hacks Mad Science Lock Picking Driverless

How to Make Autorun Virus?

WHAT IS VIRUS ?

A virus is a man-made computer program that infects a file or program on our computers.

Each time the program is run, the virus is also triggered.

It replicates or spreads itself by infecting other programson the same computer.

WHAT IS AUTORUN VIRUS?

Two main facts for the autorun virus is

   1.AUTORUN.INF FILE,

   2.AUTOPLAY FEATURE.

When you double click on the PENDRIVE/CD icon , operating system searches for the “autorun.inf” from the device.

And if found,then it runs that file otherwise  it shows the contents inside the device.

This feature of the OS is called “AUTOPLAY”

But the “AUTORUN.INF” file must be coded errorless and in its typical format.

HOW TO CODE AUTORUN FILE?

1.Open Notepad

2.Copy & Paste following 2 lines :

[autorun]

shellexecute=notepad.exe

3.save this file as "autorun.inf" into your pendrive.

4.close everything and double click on pendrive's icon.

it will open notepad but will not open pendrive itself.

DEMO

Notepad displaying autorun.inf file configuration.

CONCLUSION

Though this is very simple action that can be performed by Autorun.

(i.e)open notepad

You can edit it up to your limit  when someone double click on pendrive,

1)shutdown computer

2)format the hard drive

3)corrupt data

4)delete important files

5)your imagination......

Apple's iOS 26 and iPadOS 26 updates are packed with new features, and you can try them before almost everyone else. First, check Gadget Hacks' list of supported iPhone and iPad models, then follow the step-by-step guide to install the iOS/iPadOS 26 beta — no paid developer account required.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!