Run a subprocess with NSTask

Provide a binary path and arguments to run a subprocess via the macOS NSTask class. Any binPath (full path to binary) and associated arguments can be provided.
View Command

To view this TTPs command, you must be logged in with a professional or enterprise license.


Test this TTP

Download Operator (1.7.1)
Test this TTP using one of our Operator chains
JXA Modules


Use JXA to create a fully modular file-less implant that dynamically resolves and load modules at runtime.