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

Add access-firewall-policy-via-inetfwpolicy2.yml and access-firewall-… #932

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
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
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
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
Loading