Skip to content

macOS detection: Osascript Executing JavaScript Code With Objective-C - #4272

Open
rviskova13 wants to merge 4 commits into
developfrom
macOS_osascript_executing_javascript_code_with_objC
Open

rviskova13 wants to merge 4 commits into
developfrom
macOS_osascript_executing_javascript_code_with_objC

Conversation

@rviskova13

Copy link
Copy Markdown
Contributor

Details

This detection idea follows a research focused on the abuse of osascript on macOS. It is equivalent of cmd.exe on macOS, allowing to execute various commands, code pieces and scripts. And it is often abused by attackers.

This particular one focuses on macOS osascript utility executing JavaScript for Automation (JXA) code, identified by the -l JavaScript interpreter flag, with references to the Objective-C bridge. Adversaries may abuse JXA and Objective-C APIs to interact with macOS applications, access native system functionality, execute commands, or perform post-exploitation activity.

@rviskova13 rviskova13 modified the milestone: v6.7.0 Sep 18, 2026
@nasbench nasbench added this to the v6.7.0 milestone Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants