cyberstrikeus/cyberstrike/t1547-013-xdg-autostart-entries

Claude Code and agent skill by cyberstrikeus/cyberstrike

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Adversaries may add or modify XDG Autostart Entries to execute malicious programs or commands when a user’s desktop environment is loaded at login.

Install

npx vskill@latest install cyberstrikeus/cyberstrike/t1547-013-xdg-autostart-entries

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as cyberstrikeus/cyberstrike/t1547-013-xdg-autostart-entries.

T1547.013 XDG Autostart Entries

Sub-technique of: T1547

High-Level Description

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.

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.

Kill Chain Phase

  • Persistence (TA0003)
  • Privilege Escalation (TA0004)

Platforms: Linux

What to Check

  • [ ] Identify if XDG Autostart Entries technique is applicable to target environment
  • [ ] Check Linux systems for indicators of XDG Autostart Entries
  • [ ] Verify mitigations are bypassed or absent (3 known mitigations)
  • [ ] Assess detection coverage (1 detection strategies)

How to Test

Manual Testing
  1. Identify Attack Surface: Determine if the target environment is susceptible to XDG Autostart Entries by examining the target platforms (Linux).
  1. Assess Existing Defenses: Review whether mitigations for T1547.013 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
  1. Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.

Remediation Guide

M1022 Restrict File and Directory Permissions

Restrict write access to XDG autostart entries to only select privileged users.

M1018 User Account Management

Limit privileges of user accounts so only authorized privileged users can create and modify XDG autostart entries.

M1033 Limit Software Installation

Restrict software installation to trusted repositories only and be cautious of orphaned software packages.

Detection

Linux Detection Strategy for T1547.013 - XDG Autostart Entries

Risk Assessment

FindingSeverityImpact
XDG Autostart Entries technique applicableLowPersistence

CWE Categories

CWE IDTitle
CWE-276Incorrect Default Permissions

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,916
Repository forks
457
7-day trend score
40

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cyberstrikeus/cyberstrike/t1547-013-xdg-autostart-entries/badge)](https://verified-skill.com/skills/cyberstrikeus/cyberstrike/t1547-013-xdg-autostart-entries)

Something wrong with this skill or its page? Tell us.