{"id":"ac9159cc-c364-4304-8f0a-d63fc1a0aabb","title":"ClickOnce Trust Prompt Tampering","description":"Detects changes to the ClickOnce trust prompt registry key in order to enable an installation from different locations such as the Internet.","author":"@SerkinValery, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-06-12","modified":"2023-08-17","tags":["attack.persistence","attack.defense-impairment","attack.t1112"],"technique_ids":["T1112"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Legitimate internal requirements."],"references":["https://posts.specterops.io/less-smartscreen-more-caffeine-ab-using-clickonce-for-trusted-code-execution-1446ea8051c5","https://learn.microsoft.com/en-us/visualstudio/deployment/how-to-configure-the-clickonce-trust-prompt-behavior"],"source_path":"rules/windows/registry/registry_set/registry_set_clickonce_trust_prompt.yml","source_sha256":"20692f544c276c00ee15a566516312945c167bda966a143734df07c56d7498e8","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_clickonce_trust_prompt.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: ClickOnce Trust Prompt Tampering\nid: ac9159cc-c364-4304-8f0a-d63fc1a0aabb\nstatus: test\ndescription: Detects changes to the ClickOnce trust prompt registry key in order to enable an installation from different locations such as the Internet.\nreferences:\n    - https://posts.specterops.io/less-smartscreen-more-caffeine-ab-using-clickonce-for-trusted-code-execution-1446ea8051c5\n    - https://learn.microsoft.com/en-us/visualstudio/deployment/how-to-configure-the-clickonce-trust-prompt-behavior\nauthor: '@SerkinValery, Nasreddine Bencherchali (Nextron Systems)'\ndate: 2023-06-12\nmodified: 2023-08-17\ntags:\n    - attack.persistence\n    - attack.defense-impairment\n    - attack.t1112\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection:\n        TargetObject|contains: '\\SOFTWARE\\MICROSOFT\\.NETFramework\\Security\\TrustManager\\PromptingLevel\\'\n        TargetObject|endswith:\n            - '\\Internet'\n            - '\\LocalIntranet'\n            - '\\MyComputer'\n            - '\\TrustedSites'\n            - '\\UntrustedSites'\n        Details: 'Enabled'\n    condition: selection\nfalsepositives:\n    - Legitimate internal requirements.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1112","id":"T1112","name":"Modify Registry","page":"techniques/enterprise/T1112/"}],"data_path":"data/detection-rules/ac9159cc-c364-4304-8f0a-d63fc1a0aabb.json","kind":"sigma"}
