System Information Discovery via Windows Command Shell

edit

System Information Discovery via Windows Command Shelledit

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: 5 minutes

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

Maximum alerts per execution: 100

Tags:

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

Version: 1

Added (Elastic Stack release): 8.6.0

Rule authors: Elastic

Rule license: Elastic License v2

Investigation guideedit


Rule queryedit

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

Threat mappingedit

Framework: MITRE ATT&CKTM