Hping Network Security – Kali Linux Tutorial

P { margin-bottom: 0.08in; }

There are mainly two factors are
involved in the success of penetration testing and ethical hacking,
one is the right methodology and second is the right tool. The
standard procedure of ethical hacking has already been discussed
which consist of information gathering and enumeration, these are
some really important steps which ultimately lead to the successful
hack. Nmap is for far the best utility to perform the network
information gathering and namp can also perform so many other tasks
including but not limited to: the port scanning, firewall and
operating system detection and even vulnerability analysis.

But, a smart hacker has a combination
of utilities and you should not stuck with some number of tools. You
should get command on different tools and techniques that might be
helpful in vulnerability assessment. You might have heard about hping
which is a command line tool and it is also called the TCP/IP
analyzer, it is available on the Kali Linux so if you are working on
Kali you need not to download it; users of other operating system
should get it from the official website.

Tests Hping can Perform

  • Firewall testing
  • Advanced port scanning
  • Network testing, using different
    protocols, TOS, fragmentation
  • Manual path MTU discovery
  • Advanced traceroute, under all the
    supported protocols
  • Remote OS fingerprinting
  • Remote uptime guessing
  • TCP/IP stacks auditing
  • hping can also be useful to students that are learning TCP/IP
Hping works on Linux, FreeBSD, NetBSD, OpenBSD, Solaris, MacOs X,
Goto ? Applications ?Kali Linux ? Information Gathering ?
Live Host Identification ? Hping3

Hping Tutorial

In this section I will discuss the commands to execute a
particular tasks, the theory and reason behind a tasks will not be
discussed. Some of reason like SYN packets are already discussed or
if you are using them it means you already understood what you are

To send SYN packets
hping3 -S target
hping3 -S ehacking.net
If you want to do inverse mapping then RST packets are
hping3 -R target
hping3 -R ehacking.net
DDOS attack using hping
sudo hping3 -i u1 -S -p <target port> <target ip>
Here -S indicates the SYN flag, -p means the desired port number,
-i u1 means the delay of 1 micro second between each packet,
–rand-source means to choose random source address. –rand-dest may
also be included.

Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription  or become our Facebook fan! You will get all the latest updates at both the places.
Ehacking Staff
With more than 50 global partners, we are proud to count the world’s leading cybersecurity training provider. EH Academy is the brainchild of Ehacking, which has been involved in the field of training since the past Five years and continues to help in creating professional IT experts.

Most Popular

How to Become an Expert in Ethical Hacking

This article is mainly addressing the audience who wants to pursue their career in Cybersecurity as a professional that provides ethical hacking services, whether...

5 Cybersecurity Tips to Keep in Mind When Working From Home

  Due to the ongoing global health crisis, more and more people are being forced to work from their homes. In fact, Forbes estimates that about...

The Complete OSINT Tutorial to Find Personal Information About Anyone

This article mainly focuses on how to discover a person's digital footprint and gather personal data by using open-source intelligence (OSINT). So, in its...

How to find the password of hacked email addresses using OSINT

Open-source intelligence or OSINT is a potent technique, and it can give a lot of valuable information, if implemented correctly with the right strategy...