{"id":"a1e11042-a74a-46e6-b07c-c4ce8ecc239b","title":"Potential Persistence Via Event Viewer Events.asp","description":"Detects potential registry persistence technique using the Event Viewer \"Events.asp\" technique","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-02-17","modified":"2023-03-05","tags":["attack.persistence","attack.defense-impairment","attack.t1112"],"technique_ids":["T1112"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Unknown"],"references":["https://twitter.com/nas_bench/status/1626648985824788480","https://admx.help/?Category=Windows_7_2008R2&Policy=Microsoft.Policies.InternetCommunicationManagement::EventViewer_DisableLinks","https://www.hexacorn.com/blog/2019/02/15/beyond-good-ol-run-key-part-103/","https://github.com/redcanaryco/atomic-red-team/blob/f296668303c29d3f4c07e42bdd2b28d8dd6625f9/atomics/T1112/T1112.md"],"source_path":"rules/windows/registry/registry_set/registry_set_persistence_event_viewer_events_asp.yml","source_sha256":"29d4fa6d7e00d9162e7c2e96d777930adb02ff3579a8250db1209f3bc3a4e154","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_persistence_event_viewer_events_asp.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Persistence Via Event Viewer Events.asp\nid: a1e11042-a74a-46e6-b07c-c4ce8ecc239b\nstatus: test\ndescription: Detects potential registry persistence technique using the Event Viewer \"Events.asp\" technique\nreferences:\n    - https://twitter.com/nas_bench/status/1626648985824788480\n    - https://admx.help/?Category=Windows_7_2008R2&Policy=Microsoft.Policies.InternetCommunicationManagement::EventViewer_DisableLinks\n    - https://www.hexacorn.com/blog/2019/02/15/beyond-good-ol-run-key-part-103/\n    - https://github.com/redcanaryco/atomic-red-team/blob/f296668303c29d3f4c07e42bdd2b28d8dd6625f9/atomics/T1112/T1112.md\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-02-17\nmodified: 2023-03-05\ntags:\n    - attack.persistence\n    - attack.defense-impairment\n    - attack.t1112\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection:\n        # Covers both \"\\Policies\\\" and \"\\Software\\\" paths for both \"Machine\" and \"User\" level configs\n        # Also \"MicrosoftRedirectionProgramCommandLineParameters\" key\n        TargetObject|contains:\n            - '\\Microsoft\\Windows NT\\CurrentVersion\\Event Viewer\\MicrosoftRedirectionProgram'\n            - '\\Microsoft\\Windows NT\\CurrentVersion\\Event Viewer\\MicrosoftRedirectionURL'\n    filter_default_redirect_program:\n        Image|endswith: 'C:\\WINDOWS\\system32\\svchost.exe' # Set via GPO\n        TargetObject|endswith: '\\Microsoft\\Windows NT\\CurrentVersion\\Event Viewer\\MicrosoftRedirectionProgram'\n        Details: '%%SystemRoot%%\\PCHealth\\HelpCtr\\Binaries\\HelpCtr.exe'\n    filter_default_redirect_program_cli:\n        Image|endswith: 'C:\\WINDOWS\\system32\\svchost.exe' # Set via GPO\n        TargetObject|endswith: '\\Microsoft\\Windows NT\\CurrentVersion\\Event Viewer\\MicrosoftRedirectionProgramCommandLineParameters'\n        Details: '-url hcp://services/centers/support?topic=%%s'\n    filter_url:\n        Details: 'http://go.microsoft.com/fwlink/events.asp'\n    filter_cleaner:\n        Details: '(Empty)'\n    condition: selection and not 1 of filter_*\nfalsepositives:\n    - Unknown\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/a1e11042-a74a-46e6-b07c-c4ce8ecc239b.json","kind":"sigma"}
