Suspicious Root Certificate Installed - PowerShell (via ps_script)

This rule detects threat actors may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.

SigmamediumWindowsv1
sigma
title: Suspicious Root Certificate Installed - PowerShell (via ps_script)
id: d5118acc-c6d2-53e8-8b78-7312f4025770
status: stable
description: This rule detects threat actors may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.
references:
    - https://attack.mitre.org/techniques/T1553/004/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1553.004/T1553.004.md
author: 'Huntrule Team'
date: 2026-07-06
tags:
    - attack.defense-impairment
    - attack.t1553.004
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection1:
        ScriptBlockText|contains|all:
            - 'Move-Item'
            - 'Cert:\LocalMachine\Root'
    selection2:
        ScriptBlockText|contains|all:
            - 'Import-Certificate'
            - 'Cert:\LocalMachine\Root'
    condition: 1 of selection*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.