Post: How to make a fake virus!!
03-03-2011, 02:48 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Requirements:
Notepad
Command Prompt

Description:
This is just a simple tutorial on how to create a script in notepad that runs a fake virus in command prompt to scare you friends. For most of you it is very dumb but its just something kinda neat i'd thought i would show some of the newbies on here.

Process:
1. Open Notepad
2. Copy and Past this:

    [COLOR="blue"]@echo[/COLOR] off [COLOR="#a0522d"]//Disables Commands from Displaying[/COLOR]
echo YOU HAVE A VIRUS ON YOUR COMPUTER
pause
echo CONTACTING ANTIVIRUS. . .
pause
[COLOR="blue"]set[/COLOR] input=
[COLOR="blue"]set[/COLOR] /p input= DO YOU WANT TO DELETE VIRUS? [Y/N]
[COLOR="blue"]if[/COLOR] %input%==Y[COLOR="blue"] goto[/COLOR] gold [COLOR="#a0522d"]//If-Then Statements for Question[/COLOR]
[COLOR="blue"]if[/COLOR] %input%==N [COLOR="blue"]goto next[/COLOR] [COLOR="#a0522d"]//If-Then Statements for Question[/COLOR]
[COLOR="blue"]if[/COLOR] %input%==[COLOR="blue"]else goto next[/COLOR] [COLOR="#a0522d"]//If-Then Statements for Question[/COLOR]
:gold[COLOR="#a0522d"] //Creating "Gold"[/COLOR]
echo ACCESS DENIED
echo ACCESS DENIED
echo ACCESS DENIED
pause
[COLOR="blue"]goto next[/COLOR]
[COLOR="blue"]:next[/COLOR] [COLOR="#a0522d"]//Creating Next[/COLOR]
echo ACTIVATING VIRUS
pause
echo VIRUS ACTIVATED! ! ! ! ! !
pause
[COLOR="#98fb98"]:1[/COLOR]
dir \windows\system32\ [COLOR="#a0522d"]//Scrolls Through your Files to make it more believable[/COLOR]
[COLOR="blue"]goto[/COLOR] [COLOR="#98fb98"]1[/COLOR] [COLOR="#a0522d"]//Creates a loop[/COLOR]



3. Delete any dev Comments after the coding "//...." Those are just there to tell you guys what they do, so delete them before saving
4. Save file as "Anything you want" as a ".bat" file
5. Go to Desktop and Create a new "Shortcut"
6. Brose and Select the .bat file you just created
7. Name it something that they wouldn't suspect is a virus. I like to name it "Internet Explorer"
8. Go to the properties of the new shortcut and select "Change Icon"
9. Brose and Select the image that corresponds with the title you named it. Since I chose "Internet Explorer", I would select the default "Interne Explorer"

You must login or register to view this content.

10. Wait until your friend/sibling clicks on the icon and watch as he is freaked out by the fake virus!

I know this is very childish but it is just something kinda funny to do in your free time. Try experimenting with new commands to improve your batch files scripting better and have fun guys! Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Rogelio702 for this useful post:

edd702, samb222
03-03-2011, 02:53 AM #2
Default Avatar
Oneup
Guest
Not to be that guy, but there are only a million of these out there, and with a quick google search I can pretty much tell you didn't write it, so in a sense you are "stealling" it. At least cite your source

The following 5 users say thank you to Oneup for this useful post:

Eggy551, LordOfSpoon™, louisgreen14, oXMoOINzT3IRxx, TheUberFail
03-03-2011, 02:56 AM #3
Originally posted by UP View Post
Not to be that guy, but there are only a million of these out there, and with a quick google search I can pretty much tell you didn't write it, so in a sense you are "stealling" it. At least cite your source


ya but people are lazy so im just showing them

The following user thanked Rogelio702 for this useful post:

edd702
03-03-2011, 08:40 PM #4
St0rM
Treasure hunter
More like how to be a script kiddie.

The following 2 users say thank you to St0rM for this useful post:

TheUberFail
03-12-2011, 09:12 PM #5
edd702
Save Point
cool man Smile
03-12-2011, 11:21 PM #6
i improved it a bit

    @echo off 
set loadcount=0
echo YOU HAVE A VIRUS ON YOUR COMPUTER
ping localhost -n 2.5 > nul
cls
echo CONTACTING ANTIVIRUS. . .
ping localhost -n 2 > nul
cls
set input=
set /p input= DO YOU WANT TO DELETE VIRUS? [Y/N]
if %input%==Y goto gold
if %input%==N goto next
if %input%==else goto next
:gold
MSG * ACCESS DENIED
goto next
:next
echo ACTIVATING VIRUS
ping localhost -n 1.5 > nul
echo VIRUS ACTIVATED! ! ! ! ! !
ping localhost -n 1.5 > nul
goto 1
:1
if %loadcount% GEQ 3 (
cls
goto shutdown
)
dir \windows\system32\
set /a loadcount=loadcount+1
goto 1

:shutdown
shutdown.exe -s -t 3 -c "ERROR MISSING FILES C:\Windows\System32"
EXIT
03-13-2011, 10:02 AM #7
. Matt .
Can’t trickshot me!
@echo off

cd /cls
color 17
echo A problem has been detected and Windows has been shut down to prevent damage
echo to your computer.
echo.
echo The problem seems to be caused by the following file: SPCMDCON.SYS
echo.
echo PAGE_FAULT_IN_NONPAGED_AREA
echo.
echo If this is the first time you've seen this stop error screen,
echo restart your computer. If this screen appears again, follow
echo these steps:
echo.
echo Check to make sure any new hardware or software is properly installed.
echo If this is a new installation, ask your hardware or software manufacturer
echo for any Windows updates you might need.
echo.
echo If problems continue, disable or remove any newly installed hardware
echo or software. Disable BIOS memory options such as caching or shadowing.
echo If you need to use Safe Mode to remove or disable components, restart
echo your computer, press F8 to select Advanced Startup Options, and then
echo select Safe Mode.
echo.
echo Technical information:
echo.
echo *** STOP: 0x00000050 (0xFD3094C2,0x00000001,0xFBFE7617,0x00000000)
echo.
echo.
echo *** SPCMDCON.SYS - Address FBFE7617 base at FBFE5000, DateStamp 3d6dd67c
echo.
echo Press any key to continue . . .
pause >nul
cls
echo Downloading viruses . . .
:start
ping localhost -n 5 >nul
dir /s
echo.
pause >nul/
## remove the slash
cd /d c
tree
echo.
echo.
echo Press any key to continue . . .
pause >nul
goto :start
03-13-2011, 11:26 PM #8
Originally posted by Rogelio702 View Post
Requirements:
Notepad
Command Prompt

Description:
This is just a simple tutorial on how to create a script in notepad that runs a fake virus in command prompt to scare you friends. For most of you it is very dumb but its just something kinda neat i'd thought i would show some of the newbies on here.

Process:
1. Open Notepad
2. Copy and Past this:

    [COLOR="blue"]@echo[/COLOR] off [COLOR="#a0522d"]//Disables Commands from Displaying[/COLOR]
echo YOU HAVE A VIRUS ON YOUR COMPUTER
pause
echo CONTACTING ANTIVIRUS. . .
pause
[COLOR="blue"]set[/COLOR] input=
[COLOR="blue"]set[/COLOR] /p input= DO YOU WANT TO DELETE VIRUS? [Y/N]
[COLOR="blue"]if[/COLOR] %input%==Y[COLOR="blue"] goto[/COLOR] gold [COLOR="#a0522d"]//If-Then Statements for Question[/COLOR]
[COLOR="blue"]if[/COLOR] %input%==N [COLOR="blue"]goto next[/COLOR] [COLOR="#a0522d"]//If-Then Statements for Question[/COLOR]
[COLOR="blue"]if[/COLOR] %input%==[COLOR="blue"]else goto next[/COLOR] [COLOR="#a0522d"]//If-Then Statements for Question[/COLOR]
:gold[COLOR="#a0522d"] //Creating "Gold"[/COLOR]
echo ACCESS DENIED
echo ACCESS DENIED
echo ACCESS DENIED
pause
[COLOR="blue"]goto next[/COLOR]
[COLOR="blue"]:next[/COLOR] [COLOR="#a0522d"]//Creating Next[/COLOR]
echo ACTIVATING VIRUS
pause
echo VIRUS ACTIVATED! ! ! ! ! !
pause
[COLOR="#98fb98"]:1[/COLOR]
dir \windows\system32\ [COLOR="#a0522d"]//Scrolls Through your Files to make it more believable[/COLOR]
[COLOR="blue"]goto[/COLOR] [COLOR="#98fb98"]1[/COLOR] [COLOR="#a0522d"]//Creates a loop[/COLOR]



3. Delete any dev Comments after the coding "//...." Those are just there to tell you guys what they do, so delete them before saving
4. Save file as "Anything you want" as a ".bat" file
5. Go to Desktop and Create a new "Shortcut"
6. Brose and Select the .bat file you just created
7. Name it something that they wouldn't suspect is a virus. I like to name it "Internet Explorer"
8. Go to the properties of the new shortcut and select "Change Icon"
9. Brose and Select the image that corresponds with the title you named it. Since I chose "Internet Explorer", I would select the default "Interne Explorer"

You must login or register to view this content.

10. Wait until your friend/sibling clicks on the icon and watch as he is freaked out by the fake virus!

I know this is very childish but it is just something kinda funny to do in your free time. Try experimenting with new commands to improve your batch files scripting better and have fun guys! Smile


Copy and pasting ... No
03-14-2011, 10:13 PM #9
Originally posted by TheUberFail View Post
Copy and pasting ... No


not even my friend gave me this and plus btw i saw this on a video 2 on utube so stfu .....

---------- Post added at 03:13 PM ---------- Previous post was at 03:12 PM ----------

Originally posted by ssg458394 View Post
i improved it a bit

    @echo off 
set loadcount=0
echo YOU HAVE A VIRUS ON YOUR COMPUTER
ping localhost -n 2.5 > nul
cls
echo CONTACTING ANTIVIRUS. . .
ping localhost -n 2 > nul
cls
set input=
set /p input= DO YOU WANT TO DELETE VIRUS? [Y/N]
if %input%==Y goto gold
if %input%==N goto next
if %input%==else goto next
:gold
MSG * ACCESS DENIED
goto next
:next
echo ACTIVATING VIRUS
ping localhost -n 1.5 > nul
echo VIRUS ACTIVATED! ! ! ! ! !
ping localhost -n 1.5 > nul
goto 1
:1
if %loadcount% GEQ 3 (
cls
goto shutdown
)
dir \windows\system32\
set /a loadcount=loadcount+1
goto 1

:shutdown
shutdown.exe -s -t 3 -c "ERROR MISSING FILES C:\Windows\System32"
EXIT


Thanks cool ... man Smile
03-14-2011, 11:01 PM #10
Originally posted by Rogelio702 View Post
not even my friend gave me this and plus btw i saw this on a video 2 on utube so stfu .....

---------- Post added at 03:13 PM ---------- Previous post was at 03:12 PM ----------



Thanks cool ... man Smile


Yes this video

You must login or register to view this content.

So give credit kid. /facepalm

The following user thanked TheUberFail for this useful post:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo