Suspicious Remote Process Thread Access
Description
Identifies attempt to open a remote process thread with THREAD_SET_LIMITED_INFORMATION desired access. This may indicate an attempt to hijack the remote thread execution priority.
Query · eql
api where process.Ext.api.behaviors == "cross-process" and
process.Ext.api.name == "OpenThread" and process.Ext.api.parameters.desired_access == "THREAD_SET_LIMITED_INFORMATION" and
Target.process.Ext.token.integrity_level_name == "system" and Target.process.pid != 4 and
not _arraysearch(process.thread.Ext.call_stack_final_user_module.code_signature, $entry, $entry.trusted == true) and
not (process.executable :("?:\\Windows\\System32\\csrss.exe", "\\\\?\\Volume{*}\\Windows\\System32\\csrss.exe") and user.id == "S-1-5-18")