Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

3.8 KB
Raw Blame
id: splunk-security-content-e9926391-ec0c-4bad-8a95-e450dbf6aae4
name: Windows Certutil Root Certificate Addition
description: 'The following analytic detects the use of certutil.exe to add a certificate
  to the Root certificate store using the "-addstore" flag.

  In this case, the certificate is loaded from a temporary file path (e.g., %TEMP%)
  or other uncommon locations (e.g. C:\\Users\\Public\\), which is highly suspicious
  and uncommon in legitimate administrative activity.

  This behavior may indicate an adversary is installing a malicious root certificate
  to intercept HTTPS traffic, impersonate trusted entities, or bypass security controls.

  The use of flags such as -f (force) and -Enterprise, combined with loading .tmp
  files from user-writable locations, is consistent with post-exploitation activity
  seen in credential theft and adversary-in-the-middle (AiTM) attacks.

  This should be investigated immediately, especially if correlated with unauthorized
  privilege use or prior certificate modifications.

  You should monitor when new certificates are added to the root store because this
  store is what your system uses to decide which websites, apps, and software can
  be trusted.

  If an attacker manages to add their own certificate there, they can silently intercept
  encrypted traffic, impersonate trusted websites, or make malicious programs look
  safe.

  This means they could steal sensitive data, bypass security tools, and keep access
  to your system even after other malware is removed.'
severity: medium
enabled: false
tags:
  mitre:
  - T1587.003
  categories:
  - endpoint
references:
- https://www.microsoft.com/en-us/security/blog/2025/07/31/frozen-in-transit-secret-blizzards-aitm-campaign-against-diplomats/
- https://www.deepinstinct.com/blog/iranian-threat-actor-continues-to-develop-mass-exploitation-tools
- https://unit42.paloaltonetworks.com/retefe-banking-trojan-targets-sweden-switzerland-and-japan/
logsource:
  product: splunk
detection:
  splunk_spl: "| tstats `security_content_summariesonly`\n  count min(_time) as firstTime\n\
    \  max(_time) as lastTime\n  values(Processes.process) as process\nfrom datamodel=Endpoint.Processes\
    \ where\n`process_certutil`\nProcesses.process=*-addstore*\nProcesses.process=*root*\n\
    Processes.process IN (\n      \"*:\\\\PerfLogs\\\\*\",\n      \"*:\\\\Windows\\\
    \\Temp\\\\*\",\n      \"*\\\\AppData\\\\Local\\\\Temp\\\\*\",\n      \"*\\\\ProgramData\\\
    \\*\",\n      \"*\\\\Users\\\\Public\\\\*\",\n      \"*%AppData%*\",\n      \"\
    *%Public%*\",\n      \"*%Temp%*\",\n      \"*%tmp%*\"\n      )\nby Processes.action\
    \ Processes.dest Processes.original_file_name\n   Processes.parent_process Processes.parent_process_exec\n\
    \   Processes.parent_process_guid Processes.parent_process_id\n   Processes.parent_process_name\
    \ Processes.parent_process_path\n   Processes.process Processes.process_exec Processes.process_guid\n\
    \   Processes.process_hash Processes.process_id Processes.process_integrity_level\n\
    \   Processes.process_name Processes.process_path Processes.user\n   Processes.user_id\
    \ Processes.vendor_product\n| `drop_dm_object_name(\"Processes\")`\n| `security_content_ctime(firstTime)`\n\
    |`security_content_ctime(lastTime)`\n| `windows_certutil_root_certificate_addition_filter`"
provenance:
  source: splunk/security_content
  source_id: e9926391-ec0c-4bad-8a95-e450dbf6aae4
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/endpoint/windows_certutil_root_certificate_addition.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema