Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BIT-1314: Detect "quantum insert" type of attacks #31

Merged
merged 2 commits into from
Jul 3, 2015

Conversation

yunzheng
Copy link
Contributor

The patch is the same as https://github.com/fox-it/quantuminsert/tree/master/detection/bro
But a pull request is probably easier for review.

Also added a unit test for the rexmit_inconsistency event using an example Quantum Insert pcap.

TCP_Reassembler can now keep a history of old TCP segments using the
`tcp_max_old_segments` option. A value of zero will disable it.

An overlapping segment with different data can indicate a possible
TCP injection attack. The rexmit_inconsistency event will fire if this
is the case.
@rsmmr rsmmr self-assigned this Jun 19, 2015
@rsmmr
Copy link
Member

rsmmr commented Jun 19, 2015

I'm going to look at this, might just take me a little bit more to get to it.

@bro-bot bro-bot merged commit 2aa214d into zeek:master Jul 3, 2015
rsmmr added a commit that referenced this pull request Jul 3, 2015
I've worked on this a bit more:

    - Added tcp_max_old_segments to init-bare.bro.
    - Removed the existing call to Overlap() as that now led to
      duplicate events.
    - Fixed the code checking for overlaps, as it didn't catch all the
      cases.

BIT-1314 #merged
GitHub #31 merged

* topic/yunzheng/bit-1314:
  BIT-1314: Added QI test for rexmit_inconsistency
  BIT-1314: Add detection for Quantum Insert attacks
@yunzheng yunzheng deleted the topic/bit-1314 branch September 11, 2015 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants