Suspicious Automator Application Execution
Description
Detects when a Automator application ("Application Stub") is executed via XPC. The "Application Stub" binary on macOS is associated with Automator, a tool that allows users to create automation scripts without needing to write code. When creating applications with Automator, the default name for the executable is "Application Stub". This is the standard naming convention used by Automator. Threat actors have been seen recently utilizing Automator applications to infect macOS systems in an attempt to fly under the radar by abusing Apple's built in automation framework.
Query · eql
sequence by process.entity_id with maxspan=30s [process where event.type == "start" and event.action == "exec" and process.name == "xpcproxy" and process.args like "application.com.apple.automator*"] [process where event.type == "start" and event.action == "exec" and process.name == "Application Stub" and not process.hash.sha256 == "00957d9844e61713a1c8d5dfde97d483ff861d4a245aa83865c68950e6130ad5"]