{"id":"ff992eac-6449-4c60-8c1d-91c9722a1d48","title":"New Root Certificate Installed Via CertMgr.EXE","description":"Detects execution of \"certmgr\" with the \"add\" flag in order to install a new certificate on the system.\nAdversaries may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.\n","author":"oscd.community, @redcanary, Zach Stanford @svch0st","status":"test","level":"medium","date":"2023-03-05","modified":"","tags":["attack.defense-impairment","attack.t1553.004"],"technique_ids":["T1553.004"],"logsource":{"category":"process_creation","product":"windows"},"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","https://securelist.com/to-crypt-or-to-mine-that-is-the-question/86307/"],"source_path":"rules/windows/process_creation/proc_creation_win_certmgr_certificate_installation.yml","source_sha256":"8c5d5e625bcb15e73567e8fbf7e962f1417a48e20cd444054d3f70d8fe39e9ba","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_certmgr_certificate_installation.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: New Root Certificate Installed Via CertMgr.EXE\nid: ff992eac-6449-4c60-8c1d-91c9722a1d48\nrelated:\n    - id: 42821614-9264-4761-acfc-5772c3286f76\n      type: derived\n    - id: 46591fae-7a4c-46ea-aec3-dff5e6d785dc\n      type: obsolete\nstatus: test\ndescription: |\n    Detects execution of \"certmgr\" with the \"add\" flag in order to install a new certificate on the system.\n    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\n    - https://securelist.com/to-crypt-or-to-mine-that-is-the-question/86307/\nauthor: oscd.community, @redcanary, Zach Stanford @svch0st\ndate: 2023-03-05\ntags:\n    - attack.defense-impairment\n    - attack.t1553.004\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    # Example: CertMgr.exe /add CertificateFileName.cer /s /r localMachine root /all\n    selection_img:\n        - Image|endswith: '\\CertMgr.exe'\n        - OriginalFileName: 'CERTMGT.EXE'\n    selection_cli:\n        CommandLine|contains|all:\n            - '/add'\n            - 'root'\n    condition: all 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/ff992eac-6449-4c60-8c1d-91c9722a1d48.json","kind":"sigma"}
