Skip to content

Commit 3132d70

Browse files
w0rk3rtradebot-elastic
authored andcommitted
[Rule Tuning] Adjust process.code_signature.trusted condition (#5067)
* [Rule Tuning] Adjust process.code_signature.trusted condition * typo (cherry picked from commit 3750827)
1 parent 00ed7ee commit 3132d70

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

rules/windows/command_and_control_common_llm_endpoint.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2025/09/01"
33
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/09/01"
5+
updated_date = "2025/09/05"
66

77

88
[rule]
@@ -78,7 +78,10 @@ network where host.os.type == "windows" and dns.question.name != null and
7878
7979
?process.code_signature.subject_name : ("AutoIt Consulting Ltd", "OpenJS Foundation", "Python Software Foundation") or
8080
81-
(process.executable : ("?:\\Users\\*.exe", "", "?:\\ProgramData\\*.exe") and ?process.code_signature.trusted != true)
81+
(
82+
process.executable : ("?:\\Users\\*.exe", "?:\\ProgramData\\*.exe") and
83+
(?process.code_signature.trusted == false or ?process.code_signature.exists == false)
84+
)
8285
) and
8386
dns.question.name : (
8487
// Major LLM APIs

rules/windows/command_and_control_dns_susp_tld.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2025/08/20"
33
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/08/20"
5+
updated_date = "2025/09/05"
66

77
[rule]
88
author = ["Elastic"]
@@ -77,9 +77,9 @@ network where host.os.type == "windows" and dns.question.name != null and
7777
process.name : ("MSBuild.exe", "mshta.exe", "wscript.exe", "powershell.exe", "pwsh.exe", "msiexec.exe", "rundll32.exe",
7878
"bitsadmin.exe", "InstallUtil.exe", "python.exe", "regsvr32.exe", "dllhost.exe", "node.exe",
7979
"java.exe", "javaw.exe", "*.pif", "*.com", "*.scr") or
80-
?process.code_signature.trusted != true or
80+
(?process.code_signature.trusted == false or ?process.code_signature.exists == false) or
8181
?process.code_signature.subject_name : ("AutoIt Consulting Ltd", "OpenJS Foundation", "Python Software Foundation") or
82-
process.executable : ("?:\\Users\\*.exe", "", "?:\\ProgramData\\*.exe")
82+
process.executable : ("?:\\Users\\*.exe", "?:\\ProgramData\\*.exe")
8383
) and
8484
dns.question.name regex """.*\.(top|buzz|xyz|rest|ml|cf|gq|ga|onion|monster|cyou|quest|cc|bar|cfd|click|cam|surf|tk|shop|club|icu|pw|ws|online|fun|life|boats|store|hair|skin|motorcycles|christmas|lol|makeup|mom|bond|beauty|biz|live|work|zip|country|accountant|date|party|science|loan|win|men|faith|review|racing|download|host)"""
8585
'''

rules/windows/discovery_host_public_ip_address_lookup.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2025/08/20"
33
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/08/20"
5+
updated_date = "2025/09/05"
66

77
[rule]
88
author = ["Elastic"]
@@ -78,11 +78,11 @@ network where host.os.type == "windows" and dns.question.name != null and
7878
"bitsadmin.exe", "InstallUtil.exe", "RegAsm.exe", "vbc.exe", "RegSvcs.exe", "python.exe", "regsvr32.exe", "dllhost.exe",
7979
"node.exe", "javaw.exe", "java.exe", "*.pif", "*.com") or
8080
81-
?process.code_signature.trusted != true or
81+
(?process.code_signature.trusted == false or ?process.code_signature.exists == false) or
8282
8383
?process.code_signature.subject_name : ("AutoIt Consulting Ltd", "OpenJS Foundation", "Python Software Foundation") or
8484
85-
?process.executable : ("?:\\Users\\*.exe", "", "?:\\ProgramData\\*.exe", "?\\Device\\HarddiskVolume?\\Users\\*.exe", "?\\Device\\HarddiskVolume?\\ProgramData\\*.exe")
85+
?process.executable : ("?:\\Users\\*.exe", "?:\\ProgramData\\*.exe", "?\\Device\\HarddiskVolume?\\Users\\*.exe", "?\\Device\\HarddiskVolume?\\ProgramData\\*.exe")
8686
) and
8787
dns.question.name :
8888
(

0 commit comments

Comments
 (0)