Applied Cybernetics Group
thrunt.me thrunt me harder

Reference tables / ATT&CK techniques / T1222.002

T1222.002 Linux and Mac Permissions

Tactics
Defense Evasion
Reports citing the ID, 90 days
1
KEV CVEs mapped
0
SigmaHQ rules
4
Elastic, Splunk
15
thrunt rules
0
MITRE
https://attack.mitre.org/techniques/T1222/002

Rules

SigmaHQ community rules

Elastic and Splunk rules

MITRE description

Adversaries may modify file or directory permissions/attributes to evade access control lists (ACLs) and access protected files. File and directory permissions are commonly managed by ACLs configured by the file or directory owner, or users with the appropriate permissions. File and directory ACL implementations vary by platform, but generally explicitly designate which users or groups can perform which actions (read, write, execute, etc.). Most Linux and Linux-based platforms provide a standard set of permission groups (user, group, and other) and a standard set of permissions (read, write, and execute) that are applied to each group. While nuances of each platform’s permissions implementation may vary, most of the platforms provide two primary commands used to manipulate file and directory ACLs: <code>chown</code> (short for change owner), and <code>chmod</code> (short for change mode). Adversarial may use these commands to make themselves the owner of files and directories or change the mode if current permissions allow it. They could subsequently lock others out of the file. Specific file and directory modifications may be a required step for many techniques, such as establishing Persistence via Unix Shell Configuration Modification or tainting/hijacking other instrumental binary/configuration files via Hijack Execution Flow.

Research citing this technique

Reports and advisories from the last 90 days that cite this technique.

Research counts are technique IDs named in vendor reports and government advisories in the last 90 days. KEV mappings are MITRE CTID’s. Rules are SigmaHQ at 9688134317a2, Elastic and Splunk; links go upstream.