Skip to content

Commit ed372eb

Browse files
w0rk3rSamirbous
andauthored
Apply suggestions from code review
Co-authored-by: Samirbous <[email protected]>
1 parent b1462c7 commit ed372eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules/windows/defense_evasion_wdac_policy_by_unusual_process.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ file where host.os.type == "windows" and event.action != "deletion" and
7878
file.path : (
7979
"?:\\Windows\\System32\\CodeIntegrity\\*.p7b",
8080
"?:\\Windows\\System32\\CodeIntegrity\\CiPolicies\\Active\\*.cip",
81-
"\\Device\\HarddiskVolume?\\Windows\\System32\\CodeIntegrity\\*.p7b",
82-
"\\Device\\HarddiskVolume?\\Windows\\System32\\CodeIntegrity\\CiPolicies\\Active\\*.cip"
81+
"\\Device\\HarddiskVolume*\\Windows\\System32\\CodeIntegrity\\*.p7b",
82+
"\\Device\\HarddiskVolume*\\Windows\\System32\\CodeIntegrity\\CiPolicies\\Active\\*.cip"
8383
) and
8484
not process.executable : (
8585
"C:\\Windows\\System32\\poqexec.exe",
86-
"\\Device\\HarddiskVolume?\\Windows\\System32\\poqexec.exe"
86+
"\\Device\\HarddiskVolume*\\Windows\\System32\\poqexec.exe"
8787
)
8888
'''
8989

0 commit comments

Comments
 (0)