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

Blind SQL Injection Tutorial to Hack a Website

In the previous article, we have the basics of SQL Injection; what SQLi is and what are the types of SQL injection. And, In...

What is SQL Injection? Tutorial: Type and Example

What is SQL injection, and what are the types of SQL injection? These are the common questions, and we will seek the answer to...

Are Cisco 300-410 Exam and Its Related Certification Your Pathway to Career Success? Find Out about This

Introduction Career success can mean different things to different people. For some, it could mean having a prestigious title and for others, it could be...

How to Hack Windows 10 Password Using FakeLogonScreen in Kali Linux

This article demonstrates an in-depth guide on how to hack Windows 10 Passwords using FakeLogonScreen. Hacking Windows 10 password is an exciting topic and...


Then sign up for FREE to the ehacking’s exclusive group. You will get the exclusive tips/tricks, tutorials, webinars & courses that I ONLY share with my fellow on this exclusive newsletter.