-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add delete-network-filter-via-wfp-api.yml and enumerate-network-filte…
…rs-via-wfp-api.yml (#930) * Add host-interaction/network/traffic/filter/delete-network-filter-via-wfp-api.yml and host-interaction/network/traffic/filter/enumerate-network-filters-via-wfp-api.yml
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
host-interaction/network/traffic/filter/delete-network-filter-via-wfp-api.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
rule: | ||
meta: | ||
name: delete network filter via WFP API | ||
namespace: host-interaction/network/traffic/filter | ||
authors: | ||
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: call | ||
att&ck: | ||
- Impact::Data Manipulation::Transmitted Data Manipulation [T1565.002] | ||
- Defense Evasion::Impair Defenses::Disable or Modify System Firewall [T1562.004] | ||
references: | ||
- https://learn.microsoft.com/en-us/windows/win32/api/fwpmu/nf-fwpmu-fwpmfilterdeletebyid0 | ||
- https://learn.microsoft.com/en-us/windows/win32/api/fwpmu/nf-fwpmu-fwpmfilterdeletebykey0 | ||
- https://github.com/netero1010/EDRSilencer/blob/main/EDRSilencer.c | ||
examples: | ||
- d9531e53036c5d04fbe7d1aeae2988c3bf0fdec63774690c5df70cc121af8de4:0x10001DF0 | ||
features: | ||
- or: | ||
- api: fwpkclnt.FwpmFilterDeleteById0 | ||
- api: fwpkclnt.FwpmFilterDeleteByKey0 |
18 changes: 18 additions & 0 deletions
18
host-interaction/network/traffic/filter/enumerate-network-filters-via-wfp-api.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
rule: | ||
meta: | ||
name: enumerate network filters via WFP API | ||
namespace: host-interaction/network/traffic/filter | ||
authors: | ||
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
references: | ||
- https://learn.microsoft.com/en-us/windows/win32/api/fwpmu/nf-fwpmu-fwpmfilterenum0 | ||
- https://github.com/netero1010/EDRSilencer/blob/main/EDRSilencer.c | ||
examples: | ||
- d9531e53036c5d04fbe7d1aeae2988c3bf0fdec63774690c5df70cc121af8de4:0x10001DF0 | ||
features: | ||
- and: | ||
- api: fwpkclnt.FwpmFilterCreateEnumHandle0 | ||
- api: fwpkclnt.FwpmFilterEnum0 |