psexec_execution
Description
Detects PsExec execution namedpipe License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
(($selection1.metadata.product_event_type = "5145" and (re.regex($selection1.target.file.full_path, `.*-stdin.*`) or re.regex($selection1.target.file.full_path, `.*-stdout.*`) or re.regex($selection1.target.file.full_path, `.*-stderr.*`))) and not (re.regex($selection1.target.file.full_path, `.*psexecsvc.*`)))
condition:
$selection1