Skip to content

Commit 576104f

Browse files
Adding more FP filters
1 parent 3600677 commit 576104f

4 files changed

Lines changed: 14 additions & 4 deletions

File tree

rules-threat-hunting/windows/powershell/powershell_classic/posh_pc_alternate_powershell_hosts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ references:
99
- https://threathunterplaybook.com/hunts/windows/190815-RemoteServiceInstallation/notebook.html
1010
author: Roberto Rodriguez @Cyb3rWard0g
1111
date: 2019-08-11
12-
modified: 2023-12-11
12+
modified: 2025-09-22
1313
tags:
1414
- attack.execution
1515
- attack.t1059.001
@@ -32,6 +32,8 @@ detection:
3232
- 'HostApplication=powershell'
3333
filter_optional_citrix:
3434
Data|contains: 'Citrix\ConfigSync\ConfigSync.ps1'
35+
filter_optional_hexnode:
36+
Data|contains: 'HostApplication=C:\Hexnode\Hexnode'
3537
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
3638
falsepositives:
3739
- Programs using PowerShell directly without invocation of a dedicated interpreter

rules/windows/powershell/powershell_classic/posh_pc_wsman_com_provider_no_powershell.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ references:
88
- https://github.com/bohops/WSMan-WinRM
99
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
1010
date: 2020-06-24
11-
modified: 2024-12-27
11+
modified: 2025-09-22
1212
tags:
1313
- attack.execution
1414
- attack.t1059.001
@@ -32,6 +32,8 @@ detection:
3232
# Note: Since we're using the raw data field to match. There is no easy way to filter out cases where the "HostApplication" field is null (i.e doesn't exist). We're practically forced to use a regex.
3333
# If you're already mapping and extracting the field, then obviously use that directly.
3434
Data|re: 'HostId=[a-zA-Z0-9-]{36}\s+EngineVersion='
35+
filter_main_hexnode:
36+
Data|contains: 'HostApplication=HostApplication=C:\Hexnode\Hexnode'
3537
condition: selection and not 1 of filter_main_*
3638
falsepositives:
3739
- Unknown

rules/windows/process_creation/proc_creation_win_sc_sdset_allow_service_changes.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ references:
1111
- https://learn.microsoft.com/en-us/windows/win32/secauthz/sid-strings
1212
author: Nasreddine Bencherchali (Nextron Systems)
1313
date: 2023-02-28
14+
modified: 2025-09-22
1415
tags:
1516
- attack.persistence
1617
- attack.t1543.003
@@ -32,7 +33,10 @@ detection:
3233
- ';BA' # Built-in administrators
3334
- ';SY' # Local system
3435
- ';WD' # Everyone
35-
condition: all of selection_*
36+
filter_optional_hexnode:
37+
- ParentImage|endswith: 'Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'
38+
- ParentProcessName|endswith: 'Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'
39+
condition: all of selection_* and not 1 of filter_optional_*
3640
falsepositives:
3741
- Unknown
3842
level: high

rules/windows/registry/registry_set/registry_set_add_load_service_in_safe_mode.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ references:
77
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-34---windows-add-registry-value-to-load-service-in-safe-mode-with-network
88
author: frack113
99
date: 2022-04-04
10-
modified: 2024-03-25
10+
modified: 2025-09-22
1111
tags:
1212
- attack.defense-evasion
1313
- attack.t1564.001
@@ -26,6 +26,8 @@ detection:
2626
TargetObject|endswith:
2727
- '\Control\SafeBoot\Minimal\SAVService\(Default)'
2828
- '\Control\SafeBoot\Network\SAVService\(Default)'
29+
filter_optional_hexnode:
30+
Image|endswith: 'Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'
2931
condition: selection and not 1 of filter_optional_*
3032
falsepositives:
3133
- Unknown

0 commit comments

Comments
 (0)