Potential Persistence Via Event Viewer Events.asp

 Original Source: [Sigma source]
Title: Potential Persistence Via Event Viewer Events.asp
Status: test
Description:Detects potential registry persistence technique using the Event Viewer "Events.asp" technique
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
Author: Nasreddine Bencherchali (Nextron Systems)
Date: 2023-02-17
modified:2023-03-05
Tags:
  • -'attack.persistence'
  • -'attack.defense-impairment'
  • -'attack.t1112'
Logsource:
  • category: registry_set
  • product: windows
Detection:
  selection:
    TargetObject|contains:
      -'\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram'
      -'\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionURL'

  filter_default_redirect_program:
    Image|endswith: 'C:\WINDOWS\system32\svchost.exe'
    TargetObject|endswith: '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram'
    Details: '%%SystemRoot%%\PCHealth\HelpCtr\Binaries\HelpCtr.exe'
  filter_default_redirect_program_cli:
    Image|endswith: 'C:\WINDOWS\system32\svchost.exe'
    TargetObject|endswith: '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgramCommandLineParameters'
    Details: '-url hcp://services/centers/support?topic=%%s'
  filter_url:
    Details: 'http://go.microsoft.com/fwlink/events.asp'
  filter_cleaner:
    Details: '(Empty)'
  condition:selection and not 1 of filter_*
Falsepositives:
  -Unknown
Level: medium