SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

Using AppleScript Emulation to Analyze Malware Samples

Original article at pepe berba (opens in a new tab)

Source
pepe berba
Author
Pepe Berba
Published
December 1, 2026
In the briefing
since December 1, 2026

Summary

Researcher Pepe Berba has released applescript-tools, an AppleScript decompiler that grew into an emulator, published on GitHub and PyPI. Its osatool command decompiles compiled scripts and emulates them to pull out indicators of compromise such as shell commands, URLs, domains and dropped files, without needing a macOS sandbox. A brute-force mode explores both branches of conditionals to get past anti-VM, location and sandbox checks that make sandbox reports incomplete. The post walks through five malicious samples of rising obfuscation, including one that downloads a fake Microsoft Teams updater, and explains how the emulator works and where it falls short.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at pepe berba (opens in a new tab)