Skip to content

Commit 37fe186

Browse files
w0rk3rtradebot-elastic
authored andcommitted
[Rule Tuning] Creation or Modification of Root Certificate (#4970)
* [Rule Tuning] Creation or Modification of Root Certificate * Update defense_evasion_create_mod_root_certificate.toml * Update rules/windows/defense_evasion_create_mod_root_certificate.toml --------- Co-authored-by: shashank-elastic <[email protected]> (cherry picked from commit 8f441a7)
1 parent e38b20b commit 37fe186

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

rules/windows/defense_evasion_create_mod_root_certificate.toml

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2021/02/01"
33
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/08/12"
66

77
[rule]
88
author = ["Elastic"]
@@ -109,26 +109,45 @@ registry where host.os.type == "windows" and event.type == "change" and registry
109109
"MACHINE\\Software\\Policies\\Microsoft\\SystemCertificates\\AuthRoot\\Certificates\\*\\Blob"
110110
) and
111111
not process.executable : (
112+
"?:\\Program Files (x86)\\*.exe",
113+
"?:\\Program Files\\*.exe",
114+
"?:\\ProgramData\\bomgar-*\\*\\sra-pin.exe",
115+
"?:\\ProgramData\\bomgar-*\\*\\bomgar-scc.exe",
116+
"?:\\ProgramData\\CTES\\Ctes.exe",
117+
"?:\\ProgramData\\CTES\\Components\\SNG\\AbtSngSvc.exe",
118+
"?:\\ProgramData\\CTES\\Components\\SVC\\CtesHostSvc.exe",
112119
"?:\\ProgramData\\Lenovo\\Vantage\\Addins\\LenovoHardwareScanAddin\\*\\LdeApi.Server.exe",
113120
"?:\\ProgramData\\Logishrd\\LogiOptionsPlus\\Plugins\\64\\certmgr.exe",
114-
"?:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MpDefenderCoreService.exe",
115-
"?:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MsMpEng.exe",
121+
"?:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\*.exe",
116122
"?:\\ProgramData\\Quest\\KACE\\modules\\clientidentifier\\clientidentifier.exe",
117-
"?:\\ProgramData\\Sophos\\AutoUpdate\\Cache\\sophos_autoupdate1.dir\\SophosUpdate.exe",
118-
"?:\\Program Files (x86)\\*.exe",
119-
"?:\\Program Files\\*.exe",
123+
"?:\\ProgramData\\Sophos\\AutoUpdate\\Cache\\sophos_autoupdate1.dir\\*.exe",
124+
"?:\\ProgramData\\tychoncloud\\bin\\OVAL\\tvs.exe",
125+
"?:\\Windows\\CCM\\CcmEval.exe",
120126
"?:\\Windows\\CCM\\CcmExec.exe",
127+
"?:\\Windows\\ccmsetup\\autoupgrade\\ccmsetup*.exe",
121128
"?:\\Windows\\ccmsetup\\cache\\ccmsetup.exe",
129+
"?:\\Windows\\ccmsetup\\ccmsetup.exe",
122130
"?:\\Windows\\Cluster\\clussvc.exe",
123131
"?:\\Windows\\ImmersiveControlPanel\\SystemSettings.exe",
124132
"?:\\Windows\\Lenovo\\ImController\\PluginHost86\\Lenovo.Modern.ImController.PluginHost.Device.exe",
125133
"?:\\Windows\\Lenovo\\ImController\\Service\\Lenovo.Modern.ImController.exe",
126134
"?:\\Windows\\Sysmon.exe",
127135
"?:\\Windows\\Sysmon64.exe",
128-
"?:\\Windows\\System32\\*.exe",
129-
"?:\\Windows\\SysWOW64\\*.exe",
130136
"?:\\Windows\\UUS\\amd64\\MoUsoCoreWorker.exe",
137+
"?:\\Windows\\UUS\\amd64\\WaaSMedicAgent.exe",
138+
"?:\\Windows\\UUS\\Packages\\Preview\\amd64\\MoUsoCoreWorker.exe",
131139
"?:\\Windows\\WinSxS\\*.exe"
140+
) and
141+
not
142+
(
143+
process.executable : (
144+
"?:\\Windows\\System32\\*.exe",
145+
"?:\\Windows\\SysWOW64\\*.exe"
146+
) and
147+
not process.name : (
148+
"rundll32.exe", "mshta.exe", "powershell.exe", "pwsh.exe", "cmd.exe", "expand.exe",
149+
"regsvr32.exe", "cscript.exe", "wscript.exe", "wmiprvse.exe", "certutil.exe", "xcopy.exe"
150+
)
132151
)
133152
'''
134153

0 commit comments

Comments
 (0)