Skip to content

Commit

Permalink
set state tcp connection (#829)
Browse files Browse the repository at this point in the history
* Add rule

---------

Co-authored-by: Willi Ballenthin <[email protected]>
  • Loading branch information
johnk3r and williballenthin authored Oct 6, 2023
1 parent 2d615e2 commit b33f95c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions host-interaction/network/connectivity/set-tcp-connection-state.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
rule:
meta:
name: set TCP connection state
namespace: host-interaction/network/connectivity
authors:
- "@johnk3r"
description: The SetTcpEntry function sets the state of a TCP connection.
scope: function
att&ck:
- Defense Evasion::Impair Defenses [T1562]
references:
- https://unit42.paloaltonetworks.com/evilgrab-delivered-by-watering-hole-attack-on-president-of-myanmars-website
- https://github.com/magisterquis/EDRSniper/blob/master/edrsniper.c
examples:
- 883bf161937f8dc6e766b07000110254:0x403150
features:
- and:
- api: iphlpapi.SetTcpEntry
- number: 12 = MIB_TCP_STATE_DELETE_TCB

0 comments on commit b33f95c

Please sign in to comment.