Detection rules › Sigma
Automated Collection Command Prompt
Once established within a system or network, an adversary may use automated techniques for collecting internal data.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Credential Access | T1552.001 Unsecured Credentials: Credentials In Files |
| Collection | T1119 Automated Collection |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: Automated Collection Command Prompt
id: f576a613-2392-4067-9d1a-9345fb58d8d1
status: test
description: Once established within a system or network, an adversary may use automated techniques for collecting internal data.
references:
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1119/T1119.md
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1552.001/T1552.001.md
author: frack113
date: 2021-07-28
modified: 2022-11-11
tags:
- attack.collection
- attack.t1119
- attack.credential-access
- attack.t1552.001
logsource:
category: process_creation
product: windows
detection:
selection_ext:
CommandLine|contains:
- '.doc'
- '.docx'
- '.xls'
- '.xlsx'
- '.ppt'
- '.pptx'
- '.rtf'
- '.pdf'
- '.txt'
selection_other_dir:
CommandLine|contains|all:
- 'dir '
- ' /b '
- ' /s '
selection_other_findstr:
OriginalFileName: 'FINDSTR.EXE'
CommandLine|contains:
- ' /e '
- ' /si '
condition: selection_ext and 1 of selection_other_*
falsepositives:
- Unknown
level: medium
Stages and Predicates
Stage 0: condition
selection_ext and 1 of selection_other_*Stage 1: selection_ext
selection_ext:
CommandLine|contains:
- '.doc'
- '.docx'
- '.xls'
- '.xlsx'
- '.ppt'
- '.pptx'
- '.rtf'
- '.pdf'
- '.txt'
Stage 2: selection_other_dir
selection_other_dir:
CommandLine|contains|all:
- 'dir '
- ' /b '
- ' /s '
Stage 3: selection_other_findstr
selection_other_findstr:
OriginalFileName: 'FINDSTR.EXE'
CommandLine|contains:
- ' /e '
- ' /si '
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
OriginalFileName | eq |
|