Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Expand Up @@ -2,7 +2,7 @@
creation_date = "2024/03/27"
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel", "m365_defender", "system", "crowdstrike"]
maturity = "production"
updated_date = "2026/05/04"
updated_date = "2026/07/02"

[rule]
author = ["Elastic"]
Expand Down Expand Up @@ -99,7 +99,7 @@ process where host.os.type == "windows" and event.type == "start" and
(process.name : "rundll32.exe" and not process.args : "url.dll,FileProtocolHandler") or
(process.name : "msiexec.exe" and process.args : ("/i", "-i") and
process.args : ("/q", "/quiet", "/qn", "-q", "-quiet", "-qn", "-Q+")) or
process.name : ("mshta.exe", "certutil.exe", "bistadmin.exe", "certreq.exe", "wscript.exe", "cscript.exe", "curl.exe",
process.name : ("mshta.exe", "certutil.exe", "bitsadmin.exe", "certreq.exe", "wscript.exe", "cscript.exe", "curl.exe",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any noisy FPs worth excluding for this rule?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see a high volume for C:\WINDOWS\SystemTemp\ScreenConnect\<version>\<random>run.cmd, but I need to validate whether this is for updates only or for script execution. Will do that as part of https://github.com/elastic/ia-trade-team/issues/984

"ssh.exe", "scp.exe", "wevtutil.exe", "wget.exe", "wmic.exe")
)
'''
Expand Down
8 changes: 5 additions & 3 deletions rules/windows/defense_evasion_untrusted_driver_loaded.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
creation_date = "2023/01/27"
integration = ["endpoint"]
maturity = "production"
updated_date = "2026/05/01"
updated_date = "2026/07/02"

[rule]
author = ["Elastic"]
Expand Down Expand Up @@ -39,12 +39,14 @@ driver where host.os.type == "windows" and process.pid == 4 and
/* errorExpired and errorRevoked are handled by d12bac54-ab2a-4159-933f-d7bcefa7b61d */
not dll.code_signature.status : ("errorExpired", "errorRevoked", "errorCode_endpoint:*") and

/* HP DOT4 printer driver family FPs (Dot4.sys, Dot4Prt.sys, Dot4usb.sys, Dot4Scan.sys) */
not dll.hash.sha256 : (
/* HP DOT4 printer driver family FPs (Dot4.sys, Dot4Prt.sys, Dot4usb.sys, Dot4Scan.sys) */
"f21c1d478180bc5e932bb2c2e4618e3ed463ca87acedeb139682d218435f82f1",
"7e2f2a139e897eae56038b920bda9381094bc0ae9e626f6634e6b444b8b0c91f",
"12ffdf5f48a79b1b4adbb88ba2cb6c59dd6719554e8ea6beefe99b3e3c66f1ac",
"dbc6afaf80141e2480e19878f581edfe9c2b018da2ec527c4025ff04d5587afd"
"dbc6afaf80141e2480e19878f581edfe9c2b018da2ec527c4025ff04d5587afd",
/* (dc3d.sys, test-signed) */
"ca8f9564733ded4c3895cf7150bb254995d66889e6be08d6654e4f897e4ff7a4"
)
'''

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
creation_date = "2025/10/28"
integration = ["endpoint", "windows", "system"]
maturity = "production"
updated_date = "2026/05/03"
updated_date = "2026/07/02"

[rule]
author = ["Elastic"]
Expand Down Expand Up @@ -59,10 +59,12 @@ sequence by source.port, source.ip with maxspan=3s
"C:\\Windows\\System32\\svchost.exe",
"C:\\Program Files\\VMware\\VMware View\\Server\\bin\\ws_TomcatService.exe",
"C:\\Program Files\\Omnissa\\Horizon\\Server\\bin\\ws_TomcatService.exe",
"C:\\Program Files\\SysAidServer\\root\\WEB-INF\\domains\\NetworkDiscovery.exe",
"C:\\Program Files (x86)\\IGEL\\RemoteManager\\*\\bin\\tomcat10.exe",
Comment thread
w0rk3r marked this conversation as resolved.
"F:\\IGEL\\RemoteManager\\*\\bin\\tomcat10.exe"
) and
user.id in ("S-1-5-20", "S-1-5-18")
) and
) and
source.ip != "127.0.0.1" and destination.ip != "::1" and destination.ip != "127.0.0.1"]
[authentication where host.os.type == "windows" and event.code in ("4768", "4769")]
'''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
creation_date = "2020/02/18"
integration = ["endpoint", "windows", "system", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
maturity = "production"
updated_date = "2026/05/04"
updated_date = "2026/07/02"

[transform]
[[transform.osquery]]
Expand Down Expand Up @@ -169,12 +169,14 @@ process.parent.name != null and
(process.name:"userinit.exe" and not process.parent.name:("dwm.exe", "winlogon.exe", "KUsrInit.exe")) or
(process.name:("wmiprvse.exe", "wsmprovhost.exe", "winrshost.exe") and not process.parent.name:"svchost.exe") or
/* suspicious child processes */
(process.parent.name:("SearchProtocolHost.exe", "taskhost.exe", "csrss.exe") and not process.name:("werfault.exe", "wermgr.exe", "WerFaultSecure.exe", "conhost.exe", "ngentask.exe")) or
(process.parent.name:("SearchProtocolHost.exe", "taskhost.exe", "csrss.exe") and not process.name:("werfault.exe", "wermgr.exe", "WerFaultSecure.exe", "conhost.exe", "ngentask.exe", "SearchProtocolHost.exe")) or
Comment thread
w0rk3r marked this conversation as resolved.
(process.parent.name:"autochk.exe" and not process.name:("chkdsk.exe", "doskey.exe", "WerFault.exe")) or
(process.parent.name:"smss.exe" and not process.name:("autochk.exe", "smss.exe", "csrss.exe", "wininit.exe", "winlogon.exe", "setupcl.exe", "WerFault.exe", "wpbbin.exe", "PvsVmBoot.exe", "SophosNA.exe", "omnissa-ic-nga.exe", "icarus_rvrt.exe", "poqexec.exe")) or
(process.parent.name:"wermgr.exe" and not process.name:("WerFaultSecure.exe", "wermgr.exe", "WerFault.exe")) or
(process.parent.name:"conhost.exe" and not process.name:("mscorsvw.exe", "wermgr.exe", "WerFault.exe", "WerFaultSecure.exe"))
)
(process.parent.name:"wermgr.exe" and not process.name:("WerFaultSecure.exe", "wermgr.exe", "WerFault.exe") and
not (process.name:"rundll32.exe" and process.command_line : "*WerConCpl.dll*LaunchErcApp*")) or
Comment thread
w0rk3r marked this conversation as resolved.
(process.parent.name:"conhost.exe" and not process.name:("mscorsvw.exe", "wermgr.exe", "WerFault.exe", "WerFaultSecure.exe", "conhost.exe"))
) and
not (event.code == "4688" and process.parent.name : "S-1-16-*")
Comment thread
w0rk3r marked this conversation as resolved.
Outdated
'''


Expand Down
13 changes: 6 additions & 7 deletions rules/windows/privilege_escalation_via_ppid_spoofing.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
creation_date = "2022/10/20"
integration = ["endpoint"]
maturity = "production"
updated_date = "2026/05/03"
updated_date = "2026/07/02"

[rule]
author = ["Elastic"]
Expand Down Expand Up @@ -55,8 +55,9 @@ process where host.os.type == "windows" and event.action == "start" and
"?:\\Windows\\SysWOW64\\Wermgr.exe",
"?:\\Windows\\SoftwareDistribution\\Download\\Install\\securityhealthsetup.exe") and
/* Logon Utilities */
not (process.parent.executable : "?:\\Windows\\System32\\Utilman.exe" and
process.executable : ("?:\\Windows\\System32\\osk.exe",
not (
(process.parent.executable : "?:\\Windows\\System32\\Utilman.exe" or process.parent.executable == null) and
Comment thread
w0rk3r marked this conversation as resolved.
Outdated
process.executable : ("?:\\Windows\\System32\\osk.exe",
"?:\\Windows\\System32\\Narrator.exe",
"?:\\Windows\\System32\\Magnify.exe",
"?:\\Windows\\System32\\VoiceAccess.exe")) and
Comment thread
w0rk3r marked this conversation as resolved.
Outdated
Expand Down Expand Up @@ -90,10 +91,8 @@ process where host.os.type == "windows" and event.action == "start" and
"?:\\Program Files (x86)\\GoToAssist Remote Support Customer\\*\\g2ax_comm_customer.exe") and
not (
process.code_signature.trusted == true and process.code_signature.subject_name == "Netwrix Corporation" and
process.name : "adcrcpy.exe" and process.parent.name : (
"Netwrix.ADA.EventCollector.exe",
"Netwrix.ADA.Analyzer.exe"
)
process.name : ("adcrcpy.exe", "addumpcaller.exe") and
(process.parent.name : ("Netwrix.ADA.EventCollector.exe", "Netwrix.ADA.Analyzer.exe") or process.parent.executable == null)
Comment thread
w0rk3r marked this conversation as resolved.
Outdated
Comment thread
w0rk3r marked this conversation as resolved.
Outdated
)
'''

Expand Down
Loading