System Information Discovery via Windows Command Shell

edit

System Information Discovery via Windows Command Shell

edit

Identifies the execution of discovery commands to enumerate system info or files and folders using the Windows Command Shell.

Rule type: eql

Rule indices:

  • winlogbeat-*
  • logs-windows.*
  • logs-endpoint.events.*

Severity: low

Risk score: 21

Runs every: 5m

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References: None

Tags:

  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Discovery
  • Execution

Version: 1

Rule authors:

  • Elastic

Rule license: Elastic License v2

Investigation guide

edit

Rule query

edit
process where event.type == "start" and
 process.name : "cmd.exe" and process.args : "/c" and process.args : ("set", "dir")

Framework: MITRE ATT&CKTM