Potential Credential Access via Renamed COM+ Services DLLedit

Identifies suspicious renamed COMSVCS.DLL Image Load, which exports the MiniDump function that can be used to dump a process memory. This may indicate an attempt to dump LSASS memory while bypassing command-line based detection in preparation for credential access.

Rule type: eql

Rule indices:

  • 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
  • Credential Access

Version: 3 (version history)

Added (Elastic Stack release): 8.0.0

Last modified (Elastic Stack release): 8.2.0

Rule authors: Elastic

Rule license: Elastic License v2

Investigation guideedit

## Config

You will need to enable logging of ImageLoads in your Sysmon configuration to include COMSVCS.DLL by Imphash or Original
File Name.

Rule queryedit

sequence by process.entity_id with maxspan=1m [process where
event.category == "process" and process.name : "rundll32.exe"]
[process where event.category == "process" and event.dataset :
"windows.sysmon_operational" and event.code == "7" and
(file.pe.original_file_name : "COMSVCS.DLL" or file.pe.imphash :
"EADBCCBB324829ACB5F2BBE87E5549A8") and /* renamed COMSVCS */
not file.name : "COMSVCS.DLL"]

Threat mappingedit

Framework: MITRE ATT&CKTM

Rule version historyedit

Version 3 (8.2.0 release)
  • Formatting only
Version 2 (8.1.0 release)
  • Formatting only