fragrouter6(8)

πŸ’… fragrouter6(8) β€” your girl's guide to NIDS/NIPS evasion (IPv6 edition)

okay so real talk bestie, this is fragrouter6, and it lives in section 8 of the manual (the system administration girlies πŸŽ€), under the IPv6 umbrella. it's giving "chaos goblin but make it educational" and honestly? iconic.


✨ SYNOPSIS ✨

fragrouter6 [-dv -f len -e count -t count] INTERFACE EVASION-METHOD

you give it an INTERFACE, you give it an EVASION-METHOD, and off you go πŸ’– no cap.


🌸 OPTIONS 🌸

  • -f len β€” size of mini fragments β€” like, option 64, and default is 8. tiny pieces, big energy πŸ¦‹
  • -e count β€” hop count to the IDS for evading (option 256 & 512). yes, that kind of count πŸ’…
  • -t count β€” hop count to the target that reaches it
  • -v β€” verbose mode, prints all packets processed for evasion. she's chatty and we love that for her 🫢

πŸ‘‘ Evasion Methods πŸ‘‘

  • 0 β€” no manipulation. (the "i'm just here for the vibes" option 😭)
  • 1-31 β€” the number of atomic fragmentation headers to insert
  • 32 β€” use destination headers for 1-31 instead of fragmentation headers. plot twist bestie ✨
  • 64 β€” fragment each packet to 8 byte length pieces (or change with -f)
  • 128 β€” a large destination header that fragments the packet
  • 256 β€” insert fake TCP data with a hop count just for the IDS (-e)
  • 512 β€” insert TCP connection reset packet with a hop count just to the IDS (-e)
  • 1024 β€” insert fake fragmentation data with a hop count just for the IDS (-e)
  • 2048 β€” insert faked seq/ack data TCP packet

πŸ”₯ DESCRIPTION πŸ”₯

kk so, fragrouter6 performs NIDS/NIPS evasion to all defined packets that originate from your system or pass through it. main character behavior πŸ’€

all evasion methods can be combined β€” you literally just add them together β€” with the exception that only either one of 64 or 128 can be used at once. pick a lane, girl πŸ™ˆ

option 1024 can be used with 1..31 and 64. yes, they can hold hands 🀝

the evasion methods are processed in the following order, and bestie this order is not up for debate:

  1. 256
  2. 512
  3. 2048
  4. 1..31/33..63
  5. then either 64 or 128
  6. then 1024
⭐ heads up: this requires you to set up ip6table rules that jump to NFQUEUE. use fragrouter6.sh, which is a wrapper for ip6tables and fragrouter6! don't skip this part, i'm begging πŸ˜­πŸ’–

🧚 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


fragrouter6 3.8 (c) 2020 by van Hauser / THC <vh@thc.org> www.github.com/vanhauser-thc/thc-ipv6


alright that's the whole page, slay πŸ’… and just so we're keeping receipts: this little masterpiece is from THC, dated 2022-06-19, and it's fragrouter6(8) β€” mwah, go fragment something responsibly πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from