EXPLORE
← Back to Explore
sigmamediumHunting

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

credential-access

Detection Query

selection_img:
  - Image|endswith: \findstr.exe
  - OriginalFileName: FINDSTR.EXE
selection_cli:
  CommandLine|contains:
    - contraseña
    - hasło
    - heslo
    - parola
    - passe
    - passw
    - senha
    - senord
    - 密碼
condition: all of selection_*

Author

Josh Nickels

Created

2023-05-18

Data Sources

windowsProcess Creation Events

Platforms

windows

Tags

attack.credential-accessattack.t1552.001detection.threat-hunting
Raw Content
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