SigmaHQ/rules/windows/other/win_tool_psexec.yml

64 lines
1.4 KiB
YAML
Raw Normal View History

action: global
2018-01-27 09:57:30 +00:00
title: PsExec Tool Execution
2019-11-12 22:12:27 +00:00
id: 42c575ea-e41e-41f1-b248-8093c3e82a28
2017-06-12 21:57:06 +00:00
status: experimental
description: Detects PsExec service installation and execution events (service and Sysmon)
author: Thomas Patzke
date: 2017/06/12
modified: 2021/05/16
references:
- https://www.jpcert.or.jp/english/pub/sr/ir_research.html
- https://jpcertcc.github.io/ToolAnalysisResultSheet
tags:
- attack.execution
- attack.t1035 # an old one
- attack.t1569.002
- attack.s0029
detection:
condition: 1 of them
fields:
- EventID
- CommandLine
- ParentCommandLine
- ServiceName
- ServiceFileName
- TargetFileName
- PipeName
falsepositives:
- unknown
level: low
---
2017-06-12 21:57:06 +00:00
logsource:
product: windows
service: system
2017-06-12 21:57:06 +00:00
detection:
service_installation:
EventID: 7045
ServiceName: 'PSEXESVC'
2020-11-20 03:57:16 +00:00
ServiceFileName|endswith: '\PSEXESVC.exe'
2017-06-12 21:57:06 +00:00
service_execution:
EventID: 7036
ServiceName: 'PSEXESVC'
---
logsource:
category: process_creation
product: windows
detection:
2017-06-12 21:57:06 +00:00
sysmon_processcreation:
2020-11-20 03:57:16 +00:00
Image|endswith: '\PSEXESVC.exe'
2017-06-12 21:57:06 +00:00
User: 'NT AUTHORITY\SYSTEM'
---
logsource:
category: pipe_created
product: windows
detection:
sysmon_pipecreated:
PipeName: '\PSEXESVC'
---
logsource:
category: file_event
product: windows
detection:
sysmon_filecreation:
TargetFileName|endswith: '\PSEXESVC.exe'