2019-03-09 20:57:59 +03:00
|
|
|
action: global
|
2018-01-27 10:57:30 +01:00
|
|
|
title: PsExec Tool Execution
|
2017-06-12 23:57:06 +02:00
|
|
|
status: experimental
|
|
|
|
|
description: Detects PsExec service installation and execution events (service and Sysmon)
|
|
|
|
|
author: Thomas Patzke
|
2020-01-30 16:07:37 +01:00
|
|
|
date: 2017/06/12
|
2021-08-26 12:51:45 +00:00
|
|
|
modified: 2021/08/26
|
2018-01-28 02:24:16 +03:00
|
|
|
references:
|
|
|
|
|
- https://www.jpcert.or.jp/english/pub/sr/ir_research.html
|
2018-03-08 00:10:19 +01:00
|
|
|
- https://jpcertcc.github.io/ToolAnalysisResultSheet
|
2018-07-24 10:56:41 +02:00
|
|
|
tags:
|
|
|
|
|
- attack.execution
|
2020-08-25 01:09:17 +02:00
|
|
|
- attack.t1035 # an old one
|
|
|
|
|
- attack.t1569.002
|
2018-07-24 10:56:41 +02:00
|
|
|
- attack.s0029
|
2019-03-09 20:57:59 +03:00
|
|
|
detection:
|
|
|
|
|
condition: 1 of them
|
|
|
|
|
fields:
|
|
|
|
|
- EventID
|
|
|
|
|
- CommandLine
|
|
|
|
|
- ParentCommandLine
|
|
|
|
|
- ServiceName
|
|
|
|
|
- ServiceFileName
|
2021-08-06 08:43:05 +02:00
|
|
|
- TargetFilename
|
2021-05-16 15:03:58 +02:00
|
|
|
- PipeName
|
2019-03-09 20:57:59 +03:00
|
|
|
falsepositives:
|
|
|
|
|
- unknown
|
|
|
|
|
level: low
|
|
|
|
|
---
|
2021-09-02 21:03:25 +02:00
|
|
|
id: 42c575ea-e41e-41f1-b248-8093c3e82a28
|
2017-06-12 23:57:06 +02:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
2019-03-09 20:57:59 +03:00
|
|
|
service: system
|
2017-06-12 23:57:06 +02:00
|
|
|
detection:
|
|
|
|
|
service_installation:
|
|
|
|
|
EventID: 7045
|
|
|
|
|
ServiceName: 'PSEXESVC'
|
2020-11-20 00:57:16 -03:00
|
|
|
ServiceFileName|endswith: '\PSEXESVC.exe'
|
2017-06-12 23:57:06 +02:00
|
|
|
service_execution:
|
|
|
|
|
EventID: 7036
|
|
|
|
|
ServiceName: 'PSEXESVC'
|
2019-03-09 20:57:59 +03:00
|
|
|
---
|
2021-09-02 21:03:25 +02:00
|
|
|
id: fa91cc36-24c9-41ce-b3c8-3bbc3f2f67ba
|
2019-03-09 20:57:59 +03:00
|
|
|
logsource:
|
|
|
|
|
category: process_creation
|
|
|
|
|
product: windows
|
|
|
|
|
detection:
|
2017-06-12 23:57:06 +02:00
|
|
|
sysmon_processcreation:
|
2020-11-20 00:57:16 -03:00
|
|
|
Image|endswith: '\PSEXESVC.exe'
|
2021-08-26 12:51:45 +00:00
|
|
|
User|startswith:
|
|
|
|
|
- 'NT AUTHORITY\SYSTEM'
|
|
|
|
|
- 'AUTORITE NT\Sys' # French language settings
|
2021-05-16 15:03:58 +02:00
|
|
|
---
|
2021-09-02 21:03:25 +02:00
|
|
|
id: f3f3a972-f982-40ad-b63c-bca6afdfad7c
|
2021-05-16 15:03:58 +02:00
|
|
|
logsource:
|
|
|
|
|
category: pipe_created
|
|
|
|
|
product: windows
|
|
|
|
|
detection:
|
|
|
|
|
sysmon_pipecreated:
|
|
|
|
|
PipeName: '\PSEXESVC'
|
|
|
|
|
---
|
2021-09-02 21:03:25 +02:00
|
|
|
id: 259e5a6a-b8d2-4c38-86e2-26c5e651361d
|
2021-05-16 15:03:58 +02:00
|
|
|
logsource:
|
|
|
|
|
category: file_event
|
|
|
|
|
product: windows
|
|
|
|
|
detection:
|
|
|
|
|
sysmon_filecreation:
|
2021-08-06 08:43:05 +02:00
|
|
|
TargetFilename|endswith: '\PSEXESVC.exe'
|