Detection rules › Sigma
Potential Password Reconnaissance Via Findstr.EXE
Detects command line usage of "findstr" to search for the "passwords" keyword in a variety of different languages
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Credential Access | T1552.001 Unsecured Credentials: Credentials In Files |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: Potential Password Reconnaissance Via Findstr.EXE
id: 1a0f6f16-2099-4753-9a02-43b6ac7a1fa5
status: test
description: Detects command line usage of "findstr" to search for the "passwords" keyword in a variety of different languages
references:
- https://steflan-security.com/windows-privilege-escalation-credential-harvesting/
- https://adsecurity.org/?p=2288
author: Josh Nickels
date: 2023-05-18
tags:
- attack.credential-access
- attack.t1552.001
- detection.threat-hunting
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\findstr.exe'
- OriginalFileName: 'FINDSTR.EXE'
selection_cli:
CommandLine|contains:
- 'contraseña' # Spanish
- 'hasło' # Polish
- 'heslo' # Czech
- 'parola' # Italian
- 'passe' # French
- 'passw' # German, English
- 'senha' # Portuguese
- 'senord' # Swedish
- '密碼' # Cantonese
condition: all of selection_*
falsepositives:
- Unknown
level: medium
Stages and Predicates
Stage 0: condition
all of selection_*Stage 1: selection_img
selection_img:
- Image|endswith: '\findstr.exe'
- OriginalFileName: 'FINDSTR.EXE'
Stage 2: selection_cli
selection_cli:
CommandLine|contains:
- 'contraseña'
- 'hasło'
- 'heslo'
- 'parola'
- 'passe'
- 'passw'
- 'senha'
- 'senord'
- '密碼'
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 |
|
Image | ends_with |
|
OriginalFileName | eq |
|