title: PsExec Tool Execution id: 42c575ea-e41e-41f1-b248-8093c3e82a28 status: experimental description: Detects PsExec service installation and execution events (service and Sysmon) author: Thomas Patzke date: 2017/06/12 modified: 2022/03/21 references: - https://www.jpcert.or.jp/english/pub/sr/ir_research.html - https://jpcertcc.github.io/ToolAnalysisResultSheet tags: - attack.execution - attack.t1569.002 - attack.s0029 fields: - EventID - CommandLine - ParentCommandLine - ServiceName - ServiceFileName - TargetFilename - PipeName logsource: product: windows service: system detection: service_installation: Provider_Name: 'Service Control Manager' EventID: 7045 ServiceName: 'PSEXESVC' ImagePath|endswith: '\PSEXESVC.exe' service_execution: EventID: 7036 ServiceName: 'PSEXESVC' condition: service_installation or service_execution falsepositives: - Unknown level: low