Attempt to Install Root Certificateedit

Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to their command and control servers. Root certificates are used in public key cryptography to identify a root certificate authority (CA). When a root certificate is installed, the system or application will trust certificates in the root’s chain of trust that have been signed by the root certificate.

Rule type: query

Rule indices:

  • auditbeat-*
  • logs-endpoint.events.*

Severity: medium

Risk score: 47

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
  • macOS
  • Threat Detection
  • Defense Evasion

Version: 100 (version history)

Added (Elastic Stack release): 7.12.0

Last modified (Elastic Stack release): 8.5.0

Rule authors: Elastic

Rule license: Elastic License v2

Potential false positivesedit

Certain applications may install root certificates for the purpose of inspecting SSL traffic.

Rule queryedit

event.category:process and event.type:(start or process_started) and
process.name:security and process.args:"add-trusted-cert" and not pr
ocess.parent.executable:("/Library/Bitdefender/AVP/product/bin/BDCoreI
ssues" or "/Applications/Bitdefender/SecurityNetworkInstallerApp.app/C
ontents/MacOS/SecurityNetworkInstallerApp" )

Threat mappingedit

Framework: MITRE ATT&CKTM

Rule version historyedit

Version 100 (8.5.0 release)
  • Formatting only
Version 3 (8.4.0 release)
  • Updated query, changed from:

    event.category:process and event.type:(start or process_started) and
    process.name:security and process.args:"add-trusted-cert"