fuzz_ip6(8)

✨ fuzz_ip6 ✨

okay bestie, gather round, because we're about to talk about fuzz_ip6 from the thc-ipv6 toolkit (that's the IPv6 section of the manual, iykyk) and honestly? it's giving chaotic hacker energy in the best way πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

fuzz_ip6 [-x] [-t number | -T number] [-p number] [-IFSDHRJ]
[-X|-1|-2|-3|-4|-5|-6|-7|-8|-9|-0 port|-P type] interface unicast-or-
multicast-address [address-in-data-pkt]

so what does it even do? it fuzzes an IPv6 packet with optional EHs and upper layer transport. literally just throwing weird packets at stuff to see what breaks, and we love that for us 🌈


πŸ’– OPTIONS πŸ’–

okay this is the part you actually need, so pay attention bestie:

  • -X β€” do not add any ICMP/TCP header (that's the transport layer, bestie)
  • -1 β€” fuzz ICMP6 echo request (this is the default btw ✨)
  • -2 β€” fuzz ICMP6 neighbor solicitation
  • -3 β€” fuzz ICMP6 neighbor advertisement
  • -4 β€” fuzz ICMP6 router advertisement
  • -5 β€” fuzz multicast listener report packet
  • -6 β€” fuzz multicast listener done packet
  • -7 β€” fuzz multicast listener query packet
  • -8 β€” fuzz multicast listener v2 report packet
  • -9 β€” fuzz multicast listener v2 query packet
  • -0 β€” fuzz node query packet
  • -s port β€” fuzz TCP-SYN packet against port
  • -P type β€” fuzz PIMv2 type packet (hello, bootstrap, assert)
  • -x β€” tries all 256 values for flag and byte types (yes, all of them, no cap πŸ”₯)
  • -t number β€” continue from test no. number
  • -T number β€” only performs test no. number
  • -p number β€” perform an alive check every number of tests (default: none)
  • -a β€” do not perform initial and final alive test
  • -n number β€” how many times to send each packet (default: 1)
  • -I β€” fuzz the IP header too
  • -F β€” add one-shot fragmentation, and fuzz it too (for 1)
  • -S β€” add source-routing, and fuzz it too (for 1)
  • -D β€” add destination header, and fuzz it too (for 1)
  • -H β€” add hop-by-hop header, and fuzz it too (for 1 and 5-9)
  • -R β€” add router alert header, and fuzz it too (for 5-9 and all)
  • -J β€” add jumbo packet header, and fuzz it too (for 1)

🫢 quick vibe check: you can only define one of -0 ... -9, -P and -s, and it defaults to -1.
πŸ’€ also note that the -P fuzzing target should be ff02::d (don't ask, just trust the process)

and the exit codes? returns -1 on error, 0 on tests done and target alive, or 1 on target crash. literally the whole personality of this thing in one line 😭


🌸 AUTHOR 🌸

thc-ipv6 was written by van Hauser <vh@thc.org> / THC

the homepage for this toolkit is: https://github.com/vanhauser-thc/thc-ipv6 πŸ‘‘


fuzz_ip6 3.8 (c) 2020 by van Hauser / THC <vh@thc.org>

www.github.com/vanhauser-thc/thc-ipv6


and that's the whole thing, bestie πŸŽ€ this page is from the THC fam, dated 2022-06-19, and it's the fuzz_ip6(8) man page β€” go fuzz responsibly, ily, periodt πŸ’œ

πŸ“¦ where this page comes from