Translate

Thursday, June 13, 2013

Use VBScript to pull a joke on your friends.

Do you want to play a trick on your friends, family, or coworkers? Well this one's for you. You can make a fake piece of malware on your victim's Windows computer by using VBScript. I will provide a step by step system which you can use to make the "malware." What you do with it, or how far you take the joke is entirely up to you.

Step 1: Open notepad by going to the start menu and typing in notepad. Once you see notepad, click on it to launch the program.

Step 2: Copy and paste this code: X=MsgBox("Message Description",0+16,"Title")

Step 3: Now for the fun part, customization. You can change what the message says by changing the text in the quotes with what you wish to place in. You can also change what kind of message box pops up by changing the numbers outside the quotes.

First Number:

Put in 0 for the OK button
1 For OK/Cancel
2 For Abort/Retry/Ignore
3 For Yes/No/Cancel
4 For Yes/No

Second Number: This deals with the icon that shows up beside your message.

16 For the Critical Icon
32 For Help Icon
48 For Warning Icon
64 For Information Icon

Step 4: Save your "malware" by pressing the file button in the notepad window, then press save.
Put the file on the desktop, but be sure to give it a nice name before you save it. Whatever name you give it, it must end with .vbs (For example, if you were to name it My Computer, the name would have to be My Computer.vbs)

Step 5 (Optional): Adding more. If one message box is not enough and you really want to freak out your victim, add another message box. Open the file by right clicking the file and then pressing edit. Add another message box by pressing enter twice and using the same code from above. Follow the same first 3 three steps from above, just like before. You do not need to follow the forth step. This is because once the file has been saved to the desktop, you can save the new code to the file by closing the notepad window. It will ask you if you want to save the changes, click yes.

You can make the malware ahead of time on your own Windows computer. Once it is finished and you are ready to show your victim, follow these steps.

Step 1: Copy the file to a flash drive.

Step 2: Take the flash drive to your victim's computer.

Step 3: If your victim is not at his or her computer, but the computer is on without it being password protected, move the file from the flash drive over to the desktop of the victim. If the victim is at his or her computer, hand them the flash drive and ask them to open the file you put on the flash drive.

Step 4: Once the prank has begun, act like you have no idea what is going on. For example, you could say: "What did you do? It has never done that before."

Once again, how far you take this prank is up to you and I accept no responsibility for what you do with this code, or the reactions of your victims. Thank You for reading. Be sure to comment with results if you decide to play this prank.

No comments:

Post a Comment