T1547.013: XDG Autostart Entries
Adversaries may add or modify XDG Autostart Entries to execute malicious programs or commands when a user’s desktop environment is loaded at login. XDG Autostart entries are available for any XDG-compliant Linux system. XDG Autostart entries use Desktop Entry files (`.desktop`) to configure the user’s desktop environment upon user login. These configuration files determine what applications launch upon user login, define associated applications to open specific file types, and define applications used to open removable media.[1][2]
Adversaries may abuse this feature to establish persistence by adding a path to a malicious binary or command to the `Exec` directive in the `.desktop` configuration file. When the user’s desktop environment is loaded at user login, the `.desktop` files located in the XDG Autostart directories are automatically executed. System-wide Autostart entries are located in the `/etc/xdg/autostart` directory while the user entries are located in the `~/.config/autostart` directory.
Adversaries may combine this technique with Masquerading to blend malicious Autostart entries with legitimate programs.[3]
Analyst context for executives and security teams
XDG Autostart Entries matter because they give Linux desktop applications a normal way to launch at user login, which also gives an intruder a low-friction persistence point. For organizations with Linux workstations, developer endpoints, cryptocurrency-related users, or privileged administrative desktops, unauthorized changes in user or system autostart locations can let malicious code return after reboot or re-login while looking like routine desktop behavior.
Executive priority
Treat this as a Linux endpoint resilience and identity-control issue, not only a malware artifact. Leaders should ask whether Linux desktops and workstations are in endpoint monitoring scope, whether user account privileges limit who can write to autostart locations, and whether incident response playbooks include login persistence checks. This is especially relevant where Linux endpoints support software development, sensitive administration, or other high-value user activity, because persistence at login can extend an intrusion even after initial malware removal.
Technical view
This sub-technique applies to Linux and supports persistence and privilege-escalation tactics under Boot or Logon Autostart Execution. Defenders should validate monitoring of `.desktop` file creation or modification in `/etc/xdg/autostart` and `~/.config/autostart`, with attention to the `Exec` directive and entries that invoke unusual binaries, scripts, interpreters, or commands. Because MITRE notes possible blending through Masquerading, triage should compare file names, locations, ownership, timestamps, and executed paths against expected desktop applications. The relationship to DET0390 indicates an ATT&CK detection strategy exists, but the supplied technique object does not include official detection text, so local detection logic must be verified against actual endpoint telemetry.
Likely telemetry
- Linux file creation, modification, ownership, and permission changes for `/etc/xdg/autostart` and `~/.config/autostart`
- Contents of `.desktop` files, especially `Exec` directives and referenced executable paths
- User login/session start events for Linux desktop environments
- Process execution events spawned during or shortly after user desktop login
- Endpoint inventory or baseline data for approved autostart entries
Detection direction
- Baseline legitimate system-wide and per-user XDG Autostart entries, then alert on new, modified, hidden, or misleading `.desktop` files.
- Inspect `Exec` values for references to unexpected paths, renamed binaries, scripts, remote administration tools, or commands inconsistent with the entry name.
- Correlate autostart file changes with subsequent login-time process execution to reduce noise and improve incident confidence.
- Tune for legitimate software installers and desktop environment updates, which may create or modify valid autostart entries.
- Prioritize high-value Linux users and shared systems where user-writable autostart persistence could materially affect response and containment.
Mitigation priorities
- Apply least privilege and user account management so ordinary users and unnecessary service accounts cannot modify system-wide autostart locations.
- Restrict file and directory permissions on sensitive autostart directories, especially `/etc/xdg/autostart`, while reviewing user-level autostart exposure.
- Limit unauthorized software installation and execution so unapproved binaries or scripts referenced by autostart entries are less likely to run successfully.
- Include XDG Autostart locations in Linux hardening standards, endpoint configuration reviews, and incident response persistence checklists.
- Maintain an approved baseline of expected autostart entries for audit evidence and faster investigation.
Analyst notes and limits
Relationships show use by multiple cross-platform or Linux-capable malware/software entries, including Pupy, NETWIRE, CrossRAT, Fysbis, RotaJakiro, and InvisibleFerret, and by the Contagious Interview group. These relationships support defensive prioritization but should not be interpreted as proof of current activity in any environment. The most important local validation question is whether Linux desktop persistence paths are monitored with enough file and process context to distinguish legitimate desktop configuration from suspicious login execution.
The supplied ATT&CK object has no official detection text, and DET0390 details were not provided beyond the relationship. The assessment is limited to Linux XDG-compliant desktop behavior described in the object and does not establish active exploitation, customer exposure, or guaranteed detection coverage. Environment-specific baselines are required because legitimate autostart entries are common.
XDG Autostart Entries
Adversaries may add or modify XDG Autostart Entries to execute malicious programs or commands when a user’s desktop environment is loaded at login. XDG Autostart entries are available for any XDG-compliant Linux system. XDG Autostart entries use Desktop Entry files (`.desktop`) to configure the user’s desktop environment upon user login. These configuration files determine what applications launch upon user login, define associated applications to open specific file types, and define applications used to open removable media.[1][2]
Adversaries may abuse this feature to establish persistence by adding a path to a malicious binary or command to the `Exec` directive in the `.desktop` configuration file. When the user’s desktop environment is loaded at user login, the `.desktop` files located in the XDG Autostart directories are automatically executed. System-wide Autostart entries are located in the `/etc/xdg/autostart` directory while the user entries are located in the `~/.config/autostart` directory.
Adversaries may combine this technique with Masquerading to blend malicious Autostart entries with legitimate programs.[3]
How security teams should use this page
Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.
Related techniques
This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.
| Domain | ID | Name | Relationship / procedure |
|---|---|---|---|
| Enterprise | T1547 | Boot or Logon Autostart Execution | This object subtechnique of Boot or Logon Autostart Execution. |
Groups, software, and campaigns
G1052: Contagious Interview
Contagious Interview is a North Korea–aligned threat group active since 2023. The group conducts both cyberespionage and financially motivated operations, including the theft of cryptocurrency and user credentials. Contagious Interview targets Windows, Linux, and macOS systems, with a particular focus on individuals engaged in software development and cryptocurrency-related activities. [1][2][3][4][5][6][7][8]
S0198: NETWIRE
S0192: Pupy
Pupy is an open source, cross-platform (Windows, Linux, OSX, Android) remote administration and post-exploitation tool. [1] It is written in Python and can be generated as a payload in several different ways (Windows exe, Python file, PowerShell oneliner/file, Linux elf, APK, Rubber Ducky, etc.). [1] Pupy is publicly available on GitHub. [1]
S1245: InvisibleFerret
InvisibleFerret is a modular python malware that is leveraged for data exfiltration and remote access capabilities.[1][2][3] InvisibleFerret consists of four modules: main, payload, browser, and AnyDesk.[1] InvisibleFerret malware has been leveraged by North Korea-affiliated threat actors identified as DeceptiveDevelopment or Contagious Interview since 2023.[4][2][3][5] InvisibleFerret has historically been introduced to the victim environment through the use of the BeaverTail malware.[6][1][2][3][5]
S0235: CrossRAT
CrossRAT is a cross platform RAT.
S1078: RotaJakiro
RotaJakiro is a 64-bit Linux backdoor used by APT32. First seen in 2018, it uses a plugin architecture to extend capabilities. RotaJakiro can determine it's permission level and execute according to access type (`root` or `user`).[1][2]
S0410: Fysbis
All related ATT&CK context
Mitigation direction
Object version and sync metadata
The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates .
Imported snapshots across ATT&CK releases (1)
| Release | Bundle imported | Object version | Modified | Status | Raw hash |
|---|---|---|---|---|---|
| 19.1 | 1.2 | Current bundle | ea1540e318eb… |
Mirrored ATT&CK source object
The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.
External references and citations
MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.
-
[1]
Free Desktop Application Autostart Feb 2006
Free Desktop. (2006, February 13). Desktop Application Autostart Specification. Retrieved September 12, 2019.
Open source URL -
[2]
Free Desktop Entry Keys
Free Desktop. (2017, December 24). Recognized Desktop Entry Keys. Retrieved November 17, 2024.
Open source URL -
[3]
Red Canary Netwire Linux 2022
TONY LAMBERT. (2022, June 7). Trapping the Netwire RAT on Linux. Retrieved September 28, 2023.
Open source URL -
[4]
mitre-attack T1547.013Open source URL
Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.