Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adversaries may modify property list files (plist files) to enable other malicious activity, while also potentially evading and bypassing system defenses.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 56% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 36% | 0% |
| case-22 | ✗→✓ | ▲ Improved | -27% | 0% |
Adversaries may modify property list files (plist files) to enable other malicious activity, while also potentially evading and bypassing system defenses. macOS applications use plist files, such as the <code>info.plist</code> file, to store properties and configuration settings that inform the operating system how to handle the application at runtime. Plist files are structured metadata in key-value pairs formatted in XML based on Apple's Core Foundation DTD. Plist files can be saved in text or binary format.
Adversaries can modify key-value pairs in plist files to influence system behaviors, such as hiding the execution of an application (i.e. Hidden Window) or running additional commands for persistence (ex: Launch Agent/Launch Daemon or Re-opened Applications).
For example, adversaries can add a malicious application path to the ~/Library/Preferences/com.apple.dock.plist file, which controls apps that appear in the Dock. Adversaries can also modify the <code>LSUIElement</code> key in an application’s <code>info.plist</code> file to run the app in the background. Adversaries can also insert key-value pairs to insert environment variables, such as <code>LSEnvironment</code>, to enable persistence via Dynamic Linker Hijacking.
Platforms: macOS
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Modify MacOS plist file in one of two directories
Supported Platforms: macos
If Atomic Red Team tests are not applicable, manually verify the technique by:
Ensure applications are using Apple's developer guidance which enables hardened runtime.
| Finding | Severity | Impact | | -------------------------------------------- | -------- | --------------- | | Plist File Modification technique applicable | High | Defense Evasion |
| CWE ID | Title | | ------- | ---------------------------- | | CWE-693 | Protection Mechanism Failure |
Other measured skills in the registry, with their headline benchmark lift.