You absolutely must ship some sort of mechanism to detect TCP injection attacks. You should try to have feature parity with HoneyBadger (which is a working POC but still not ready for production)
https://honeybadger.readthedocs.org/
https://github.com/david415/HoneyBadger
Of course to have comprehensive TCP injection attack detection you must detect all 3 or 4 broader categories of attack:
- segment veto: the injected packet(s) are the exact same size as those sent out by the legit party. Client and server remain in sync.
- sloppy injection: the injected packet(s) are different sizes than that of the legit party. Client and server fall out of sync.
- out-of-order coalesce injection: injected packets are ahead of the next sequence. Injection of data takes place during coalescence.
- handshake hijack: the attacker responds to the SYN with a SYN/ACK before the legit party can do so. Detecting this is really simple.
There's more: such as sloppy injection that gradually brings client and server back into sequence synchronization.
I would really like to help you implement this feature.
You absolutely must ship some sort of mechanism to detect TCP injection attacks. You should try to have feature parity with HoneyBadger (which is a working POC but still not ready for production)
https://honeybadger.readthedocs.org/
https://github.com/david415/HoneyBadger
Of course to have comprehensive TCP injection attack detection you must detect all 3 or 4 broader categories of attack:
There's more: such as sloppy injection that gradually brings client and server back into sequence synchronization.
I would really like to help you implement this feature.