{"id":"d2125259-ddea-4c1c-9c22-977eb5b29cf0","title":"New Root Certificate Installed Via Certutil.EXE","description":"Detects execution of \"certutil\" with the \"addstore\" 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":"2024-03-05","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"],"source_path":"rules/windows/process_creation/proc_creation_win_certutil_certificate_installation.yml","source_sha256":"e06cf8d171c6f25eff713db7bf7368ee7822c82e2629da441f9299dccaba671d","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_certutil_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 Certutil.EXE\nid: d2125259-ddea-4c1c-9c22-977eb5b29cf0\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 \"certutil\" with the \"addstore\" 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\nauthor: oscd.community, @redcanary, Zach Stanford @svch0st\ndate: 2023-03-05\nmodified: 2024-03-05\ntags:\n    - attack.defense-impairment\n    - attack.t1553.004\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    # Example: certutil -addstore -f -user ROOT CertificateFileName.der\n    selection_img:\n        - Image|endswith: '\\certutil.exe'\n        - OriginalFileName: 'CertUtil.exe'\n    selection_cli_add:\n        CommandLine|contains|windash: '-addstore'\n    selection_cli_store:\n        CommandLine|contains: '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\nregression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_certutil_certificate_installation/info.yml\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/d2125259-ddea-4c1c-9c22-977eb5b29cf0.json","kind":"sigma"}
