Detection rules › Sigma
Use of W32tm as Timer
When configured with suitable command line arguments, w32tm can act as a delay mechanism
Known false positives
- Legitimate use
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Discovery |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
Rule body
title: Use of W32tm as Timer
id: 6da2c9f5-7c53-401b-aacb-92c040ce1215
status: test
description: When configured with suitable command line arguments, w32tm can act as a delay mechanism
references:
- https://github.com/redcanaryco/atomic-red-team/blob/d0dad62dbcae9c60c519368e82c196a3db577055/atomics/T1124/T1124.md
- https://blogs.blackberry.com/en/2022/05/dirty-deeds-done-dirt-cheap-russian-rat-offers-backdoor-bargains
author: frack113
date: 2022-09-25
tags:
- attack.discovery
- attack.t1124
logsource:
category: process_creation
product: windows
detection:
selection_w32tm:
- Image|endswith: '\w32tm.exe'
- OriginalFileName: 'w32time.dll'
selection_cmd:
CommandLine|contains|all:
- '/stripchart'
- '/computer:'
- '/period:'
- '/dataonly'
- '/samples:'
condition: all of selection_*
falsepositives:
- Legitimate use
level: high
Stages and Predicates
Stage 0: condition
all of selection_*Stage 1: selection_w32tm
selection_w32tm:
- Image|endswith: '\w32tm.exe'
- OriginalFileName: 'w32time.dll'
Stage 2: selection_cmd
selection_cmd:
CommandLine|contains|all:
- '/stripchart'
- '/computer:'
- '/period:'
- '/dataonly'
- '/samples:'
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CommandLine | match |
| field:"CommandLine" kind:match |
Image | ends_with |
| field:"Image" kind:ends_with value:"\w32tm.exe" |
OriginalFileName | eq |
| field:"OriginalFileName" kind:eq value:"w32time.dll" |