Osascript

Description

Generated dataset for osascript execution prompting for user interaction with osquery and endpoint security

MITRE ATT&CK Techniques

ID Technique Tactic
T1059.002 AppleScript Execution

Environment Details

Field Value
Environment TalosOffensiveLab
Directory osascript
Test Date 2026-08-07

Datasets

The following datasets were collected during this attack simulation:

Osascript_prompts_user

  • Path: /datasets/attack_techniques/T1059.002/osascript/osascript_prompts_user.log
  • Sourcetype: osquery:results
  • Source: osquery

No specific detections currently use this attack data for testing. However, you can find related detections and analytics in our security content repository.

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1059.002/osascript/osascript_prompts_user.log --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0