Potential Process Herpaderping Attemptedit

Identifies process execution followed by a file overwrite of an executable by the same parent process. This may indicate an evasion attempt to execute malicious code in a stealthy way.

Rule type: eql

Rule indices:

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

Severity: high

Risk score: 73

Runs every: 5 minutes

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

Maximum alerts per execution: 100

References:

Tags:

  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Defense Evasion

Version: 101 (version history)

Added (Elastic Stack release): 7.11.0

Last modified (Elastic Stack release): 8.6.0

Rule authors: Elastic

Rule license: Elastic License v2

Rule queryedit

sequence with maxspan=5s [process where event.type == "start" and
not process.parent.executable : (
"?:\\Windows\\SoftwareDistribution\\*.exe", "?:\\Program
Files\\Elastic\\Agent\\data\\*.exe", "?:\\Program Files
(x86)\\Trend Micro\\*.exe" ) ] by host.id,
process.executable, process.parent.entity_id [file where event.type
== "change" and event.action == "overwrite" and file.extension ==
"exe"] by host.id, file.path, process.entity_id

Threat mappingedit

Framework: MITRE ATT&CKTM

Rule version historyedit

Version 101 (8.6.0 release)
  • Updated query, changed from:

    sequence with maxspan=5s [process where event.type == "start" and
    not process.parent.executable :
    "C:\\Windows\\SoftwareDistribution\\*.exe"] by host.id,
    process.executable, process.parent.entity_id [file where event.type
    == "change" and event.action == "overwrite" and file.extension ==
    "exe"] by host.id, file.path, process.entity_id
Version 100 (8.5.0 release)
  • Formatting only
Version 3 (8.4.0 release)
  • Formatting only
Version 2 (7.12.0 release)
  • Formatting only