Skip to content

macOS detection: MacOS Osascript Executing Interactive Shell - #4271

Open
rviskova13 wants to merge 1 commit into
developfrom
macOS_osascript_executing_interactive_shell
Open

rviskova13 wants to merge 1 commit into
developfrom
macOS_osascript_executing_interactive_shell

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 one focuses on macOS osascript utility being used with an interactive Bash invocation, identified by the presence of bash -i in the command line. Adversaries may abuse osascript and AppleScript's shell execution capabilities to launch interactive shells, establish remote access, or execute post-exploitation commands.

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