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

set state tcp connection #829

Merged
merged 4 commits into from
Oct 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
johnk3r marked this conversation as resolved.
Show resolved Hide resolved
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
Loading