T1059.002 AppleScript
Executionon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0414 Detection of AppleScript-Based Execution on macOS
AN1164 macOS
Detects AppleScript execution via 'osascript', NSAppleScript/OSAScript APIs, and abnormal application control events across user sessions. Focuses on causal chains such as osascript spawning child processes, script-induced keystrokes, or API-backed dialog spoofing.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogprocess: spawn, exec | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
9 SigmaHQ community rules name it in their tags.
- JXA In-memory Execution Via OSAScript
- OSACompile Run-Only Execution
- Suspicious Microsoft Office Child Process - MacOS
- Clipboard Access Via OSAScript
- MacOS Scripting Interpreter AppleScript
- Osacompile Execution By Potentially Suspicious Applet/Osascript
- Suspicious Execution via macOS Script Editor
- Atomic MacOS Stealer - FileGrabber Activity
- Axios NPM Compromise Indicators - macOS
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.