Phil Stokes. (2021, January 11). FADE DEAD | Adventures in Reversing Malicious Run-Only AppleScripts. Retrieved September 29, 2022.
None recorded.
None recorded.
| Technique | Used by | Procedure example |
|---|---|---|
| T1027.008 Stripped Payloads |
MalwaremacOS.OSAMiner | macOS.OSAMiner has used run-only Applescripts, a compiled and stripped version of AppleScript, to remove human readable indicators to evade detection. |
| T1027.009 Embedded Payloads |
MalwaremacOS.OSAMiner | macOS.OSAMiner has embedded Stripped Payloads within another run-only Stripped Payloads. |
| T1057 Process Discovery |
MalwaremacOS.OSAMiner | macOS.OSAMiner has used `ps ax | grep <name> | grep -v grep | ...` and `ps ax | grep -E...` to conduct process discovery. |
| T1059.002 AppleScript |
MalwaremacOS.OSAMiner | macOS.OSAMiner has used `osascript` to call itself via the `do shell script` command in the Launch Agent `.plist` file. |
| T1082 System Information Discovery |
MalwaremacOS.OSAMiner | macOS.OSAMiner can gather the device serial number. |
| T1497.001 System Checks |
MalwaremacOS.OSAMiner | macOS.OSAMiner can parse the output of the native `system_profiler` tool to determine if the machine is running with 4 cores. |
| T1543.001 Launch Agent |
MalwaremacOS.OSAMiner | macOS.OSAMiner has placed a Stripped Payloads with a `plist` extension in the Launch Agent's folder. |
| T1569.001 Launchctl |
MalwaremacOS.OSAMiner | macOS.OSAMiner has used `launchctl` to restart the Launch Agent. |
| T1680 Local Storage Discovery |
MalwaremacOS.OSAMiner | macOS.OSAMiner has checked to ensure there is enough disk space using the Unix utility `df`. |
| T1685 Disable or Modify Tools |
MalwaremacOS.OSAMiner | macOS.OSAMiner has searched for the Activity Monitor process in the System Events process list and kills the process if running. macOS.OSAMiner also searches the operating system's `install.log` for apps matching its hardcoded list, killing all matching process names. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.