-
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 access-firewall-policy-via-inetfwpolicy2.yml and access-firewall-…
…rule-properties-via-inetfwrule.yml
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
host-interaction/firewall/modify/access-firewall-policy-via-inetfwpolicy2.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,20 @@ | ||
rule: | ||
meta: | ||
name: access firewall policy via INetFwPolicy2 | ||
namespace: host-interaction/firewall/modify | ||
authors: | ||
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
att&ck: | ||
- Discovery::Software Discovery::Security Software Discovery [T1518.001] | ||
references: | ||
- https://learn.microsoft.com/en-us/windows/win32/api/netfw/nn-netfw-inetfwpolicy2 | ||
examples: | ||
- a210a5daaf487fe6c8bbaf906abce749042f15890d60b09c6cb333e54958663b:0x180002D60 | ||
features: | ||
- and: | ||
- api: ole32.CoCreateInstance | ||
- bytes: 7f c9 b3 e2 e1 6a ac 41 81 7a f6 f9 21 66 d7 dd = CLSID_FwPolicy2 | ||
- bytes: 47 50 32 98 71 c6 74 41 8d 81 de fc d3 f0 31 86 = IID_INetFwPolicy2 |
20 changes: 20 additions & 0 deletions
20
host-interaction/firewall/modify/access-firewall-rule-properties-via-inetfwrule.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,20 @@ | ||
rule: | ||
meta: | ||
name: access firewall rule properties via INetFwRule | ||
namespace: host-interaction/firewall/modify | ||
authors: | ||
- [email protected] | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
att&ck: | ||
- Discovery::Software Discovery::Security Software Discovery [T1518.001] | ||
references: | ||
- https://learn.microsoft.com/en-us/windows/win32/api/netfw/nn-netfw-inetfwrule | ||
examples: | ||
- a210a5daaf487fe6c8bbaf906abce749042f15890d60b09c6cb333e54958663b:0x180002D60 | ||
features: | ||
- and: | ||
- api: ole32.CoCreateInstance | ||
- bytes: 3e c4 5b 2c 69 33 33 4c ab 0c be 94 69 67 7a f4 = CLSID_FwRule | ||
- bytes: 27 0d 23 af ba ba 42 4e ac ed f5 24 f2 2c fc e2 = IID_INetFwRule |