Skip to content

Commit 6915e39

Browse files
authored
[Rule Tuning] Persistence via a Windows Installer (#5386)
1 parent aaf3c93 commit 6915e39

File tree

1 file changed

+50
-13
lines changed

1 file changed

+50
-13
lines changed

rules/windows/persistence_msi_installer_task_startup.toml

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

77
[rule]
88
author = ["Elastic"]
@@ -35,18 +35,55 @@ type = "eql"
3535

3636
query = '''
3737
any where host.os.type == "windows" and
38-
(process.name : "msiexec.exe" or Effective_process.name : "msiexec.exe") and
39-
(
40-
(event.category == "file" and event.action == "creation" and
41-
file.path : ("?:\\Windows\\System32\\Tasks\\*",
42-
"?:\\programdata\\microsoft\\windows\\start menu\\programs\\startup\\*",
43-
"?:\\Users\\*\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\*")) or
44-
45-
(event.category == "registry" and event.action == "modification" and
46-
registry.path : ("H*\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\*",
47-
"H*\\Software\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Run\\*",
48-
"H*\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\*",
49-
"H*\\Software\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\*"))
38+
(process.name : "msiexec.exe" or Effective_process.name : "msiexec.exe") and
39+
(
40+
(
41+
event.category == "file" and event.action == "creation" and
42+
file.path : (
43+
"?:\\Windows\\System32\\Tasks\\*",
44+
"?:\\programdata\\microsoft\\windows\\start menu\\programs\\startup\\*",
45+
"?:\\Users\\*\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\*"
46+
) and
47+
not file.path : (
48+
"?:\\Windows\\System32\\Tasks\\Adobe Acrobat Update Task",
49+
"?:\\Windows\\System32\\Tasks\\HP\\Sure Click\\Sure Click ?.?.??.????",
50+
"?:\\Windows\\System32\\Tasks\\HP\\Sure Click\\Sure Click UI ?.?.??.????",
51+
"?:\\Windows\\System32\\Tasks\\HP\\Sure Click\\Upgrade Repair ?.?.??.????",
52+
"?:\\Windows\\System32\\Tasks\\IntelSURQC-Upgrade-86621605-2a0b-4128-8ffc-15514c247132",
53+
"?:\\Windows\\System32\\Tasks\\IntelSURQC-Upgrade-86621605-2a0b-4128-8ffc-15514c247132-Logon"
54+
)
55+
) or
56+
(
57+
event.category == "registry" and event.action == "modification" and registry.data.strings != null and
58+
registry.path : (
59+
"H*\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\*",
60+
"H*\\Software\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Run\\*",
61+
"H*\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\*",
62+
"H*\\Software\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\*"
63+
) and
64+
not registry.data.strings : (
65+
"C:\\Program Files (x86)\\Common Files\\Acronis\\TibMounter\\tib_mounter_monitor.exe",
66+
"C:\\Program Files (x86)\\Common Files\\Java\\Java Update\\jusched.exe",
67+
"C:\\Program Files\\Citrix\\Secure Access Client\\CtxsDPS.exe --clean-user-installs",
68+
"C:\\Program Files\\OpenVPN\\bin\\openvpn-gui.exe",
69+
"C:\\Program Files\\Veeam\\Endpoint Backup\\Veeam.EndPoint.Tray.exe -NoControlPanel -CheckNumberOfRunningAgents",
70+
"\"C:\\Program Files (x86)\\Cisco\\Cisco Secure Client\\UI\\csc_ui.exe\" -minimized",
71+
"\"C:\\Program Files (x86)\\Citrix\\ICA Client\\concentr.exe\" /startup",
72+
"\"C:\\Program Files (x86)\\Citrix\\ICA Client\\Receiver\\AnalyticsSrv.exe\" /Startup",
73+
"\"C:\\Program Files (x86)\\Citrix\\ICA Client\\redirector.exe\" /startup",
74+
"\"C:\\Program Files (x86)\\EPSON Software\\Download Navigator\\EPSDNMON.EXE\"",
75+
"\"C:\\Program Files (x86)\\Jabra\\Direct6\\jabra-direct.exe\" /minimized",
76+
"\"C:\\Program Files (x86)\\VMware\\VMware Workstation\\vmware-tray.exe\"",
77+
"\"C:\\Program Files\\ESET\\ESET Security\\ecmds.exe\" /run /hide /proxy",
78+
"\"C:\\Program Files\\iTunes\\iTunesHelper.exe\"",
79+
"\"C:\\Program Files\\KeePassXC\\KeePassXC.exe\"",
80+
"\"C:\\Program Files\\Palo Alto Networks\\GlobalProtect\\PanGPA.exe\"",
81+
"\"C:\\Program Files\\PDF24\\pdf24.exe\"",
82+
"\"C:\\Program Files\\VMware\\VMware Tools\\vmtoolsd.exe\" -n vmusr",
83+
"\"C:\\PROGRA~2\\Citrix\\DEVICE~1\\Bin64\\DTCLIE~1.EXE\"",
84+
"\"%ProgramFiles%\\Teams Installer\\Teams.exe\" --checkInstall --source=default"
85+
)
86+
)
5087
)
5188
'''
5289
note = """## Triage and analysis

0 commit comments

Comments
 (0)