EXPLORE
← Back to Explore
sigmamediumHunting

Osacompile Execution By Potentially Suspicious Applet/Osascript

Detects potential suspicious applet or osascript executing "osacompile".

MITRE ATT&CK

execution

Detection Query

selection:
  ParentImage|endswith:
    - /applet
    - /osascript
  CommandLine|contains: osacompile
condition: selection

Author

Sohan G (D4rkCiph3r), Red Canary (Idea)

Created

2023-04-03

Data Sources

macosProcess Creation Events

Platforms

macos

Tags

attack.executionattack.t1059.002
Raw Content
title: Osacompile Execution By Potentially Suspicious Applet/Osascript
id: a753a6af-3126-426d-8bd0-26ebbcb92254
status: test
description: Detects potential suspicious applet or osascript executing "osacompile".
references:
    - https://redcanary.com/blog/mac-application-bundles/
author: Sohan G (D4rkCiph3r), Red Canary (Idea)
date: 2023-04-03
tags:
    - attack.execution
    - attack.t1059.002
logsource:
    category: process_creation
    product: macos
detection:
    selection:
        ParentImage|endswith:
            - '/applet'
            - '/osascript'
        CommandLine|contains: 'osacompile'
    condition: selection
falsepositives:
    - Unknown
level: medium