Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Detection Strategies DET0390 — Linux Detection Strategy for T1547.013 - XDG Autostart Entries
DET0390

Linux Detection Strategy for T1547.013 - XDG Autostart Entries

1 analytic(s) · 1 technique(s) detected

Analytics

1
AN1096 Analytic 1096
Linux

Correlation of file creation/modification of `.desktop` files within XDG autostart directories, followed by execution of processes at user login initiated by the desktop environment. Malicious entries typically include suspicious Exec paths or anomalous names and are not associated with installed packages.

auditd:SYSCALL creat auditd:SYSCALL open auditd:EXECVE Process execution via .desktop Exec path from /etc/xdg/autostart or ~/.config/autostart linux:osquery Write or modify .desktop file in XDG autostart path linux:auth User login event followed by unexpected process tree
[ExecCommandPattern] Regex or allowlist of expected Exec paths within .desktop files. Deviations may be suspicious.
[AutostartDirectory] May vary by user config (e.g., $XDG_CONFIG_HOME). Must enumerate actual values per system.
[TimeWindow] Correlate file creation/mod + exec within login window (e.g., 0–5 min of user logon).
[UserContext] Should filter to non-system users, as XDG persistence typically targets interactive sessions.
[PackageOriginBaseline] Compare .desktop entries to known package sources (e.g., `dpkg -S`). Unexpected origins may be suspicious.

Detected Techniques

1

Details

MITRE ID
DET0390
STIX ID
x-mitre-detection-strategy--c265ea42-9c5a-41f0-9627-d7ac0063ec98
Analytics
1
Techniques Detected
1
By Tactic
Persistence
1
Leaving Threaticon

This link opens an external site that isn't part of the platform.