Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adversaries may abuse resource forks to hide malicious code or executables to evade detection and bypass security applications.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 0% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-20 | ✗→✓ | ▲ Improved | -43% | 0% |
> Sub-technique of: T1564
Adversaries may abuse resource forks to hide malicious code or executables to evade detection and bypass security applications. A resource fork provides applications a structured way to store resources such as thumbnail images, menu definitions, icons, dialog boxes, and code. Usage of a resource fork is identifiable when displaying a file’s extended attributes, using <code>ls -l@</code> or <code>xattr -l</code> commands. Resource forks have been deprecated and replaced with the application bundle structure. Non-localized resources are placed at the top level directory of an application bundle, while localized resources are placed in the <code>/Resources</code> folder.
Adversaries can use resource forks to hide malicious data that may otherwise be stored directly in files. Adversaries can execute content with an attached resource fork, at a specified offset, that is moved to an executable location then invoked. Resource fork content may also be obfuscated/encrypted until execution.
Platforms: macOS
> Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Configure applications to use the application bundle structure which leverages the <code>/Resources</code> folder location.
| Finding | Severity | Impact | | ------------------------------------- | -------- | --------------- | | Resource Forking technique applicable | Medium | Defense Evasion |
| CWE ID | Title | | ------- | ---------------------------- | | CWE-693 | Protection Mechanism Failure |
Other measured skills in the registry, with their headline benchmark lift.