Potential Code Injection via Remote Thread
Description
Identifies the creation of a thread in a remote process, this type of behavior may indicate inter-process code injection. Adversaries may inject code into processes in order to evade process-based defenses as well as possibly elevate privileges.
Query · eql
process where event.action == "remote_thread" and
not process.executable like
("/usr/libexec/rosetta/debugserver",
"/Library/Developer/CoreSimulator/*/RemoteInjectionAgent",
"/Applications/Xcode*.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Versions/A/Resources/RemoteInjectionAgent")