{"id":"42821614-9264-4761-acfc-5772c3286f76","title":"Root Certificate Installed - PowerShell","description":"Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.","author":"oscd.community, @redcanary, Zach Stanford @svch0st","status":"test","level":"medium","date":"2020-10-10","modified":"2022-12-02","tags":["attack.defense-impairment","attack.t1553.004"],"technique_ids":["T1553.004"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Help Desk or IT may need to manually add a corporate Root CA on occasion. Need to test if GPO push doesn't trigger FP"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1553.004/T1553.004.md"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_root_certificate_installed.yml","source_sha256":"103d114c6b5886bf78138d1327dcf490af6c0de60d6afd6730fdbc296a84cd60","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_root_certificate_installed.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Root Certificate Installed - PowerShell\nid: 42821614-9264-4761-acfc-5772c3286f76\nstatus: test\ndescription: Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1553.004/T1553.004.md\nauthor: 'oscd.community, @redcanary, Zach Stanford @svch0st'\ndate: 2020-10-10\nmodified: 2022-12-02\ntags:\n    - attack.defense-impairment\n    - attack.t1553.004\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection1:\n        ScriptBlockText|contains|all:\n            - 'Move-Item'\n            - 'Cert:\\LocalMachine\\Root'\n    selection2:\n        ScriptBlockText|contains|all:\n            - 'Import-Certificate'\n            - 'Cert:\\LocalMachine\\Root'\n    condition: 1 of selection*\nfalsepositives:\n    - Help Desk or IT may need to manually add a corporate Root CA on occasion. Need to test if GPO push doesn't trigger FP\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1553.004","id":"T1553.004","name":"Install Root Certificate","page":"techniques/enterprise/T1553.004/"}],"data_path":"data/detection-rules/42821614-9264-4761-acfc-5772c3286f76.json","kind":"sigma"}
