Hping Tips and Tricks

Peter Kacherginsky
14 min readAug 13, 2008

Hping is a TCP/IP packet forging tool with embedded Tcl scripting functionality. Developed by antirez in 1998, it is now in its 3rd release. The tool runs on all major operatings systems including Linux, *BSD, and Windows.

Port Scanning

Hping gives you complete freedom to craft any raw IP, TCP, UDP, and ICMP packets.

With such powerful capability we can proceed to replicate most of the standard scan types:

TCP SYN Scan

--

--

Peter Kacherginsky

Blockchain Security, Malware Analysis, Incident Response, Pentesting, BlockThreat.net