Wow6432Node CurrentVersion Autorun Keys Modification

Detects modification of autostart extensibility point (ASEP) in registry.

Sigma rule (View on GitHub)

  1title: Wow6432Node CurrentVersion Autorun Keys Modification
  2id: b29aed60-ebd1-442b-9cb5-16a1d0324adb
  3related:
  4    - id: 17f878b8-9968-4578-b814-c4217fc5768c
  5      type: obsolete
  6status: test
  7description: Detects modification of autostart extensibility point (ASEP) in registry.
  8references:
  9    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1547.001/T1547.001.md
 10    - https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns
 11    - https://gist.github.com/GlebSukhodolskiy/0fc5fa5f482903064b448890db1eaf9d # a list with registry keys
 12    - https://oddvar.moe/2018/03/21/persistence-using-runonceex-hidden-from-autoruns-exe/
 13author: Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split)
 14date: 2019-10-25
 15modified: 2023-08-17
 16tags:
 17    - attack.persistence
 18    - attack.t1547.001
 19logsource:
 20    category: registry_set
 21    product: windows
 22detection:
 23    selection_wow_current_version_base:
 24        TargetObject|contains: '\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion'
 25    selection_wow_current_version_keys:
 26        TargetObject|contains:
 27            - '\ShellServiceObjectDelayLoad'
 28            - '\Run\'
 29            - '\RunOnce\'
 30            - '\RunOnceEx\'
 31            - '\RunServices\'
 32            - '\RunServicesOnce\'
 33            - '\Explorer\ShellServiceObjects'
 34            - '\Explorer\ShellIconOverlayIdentifiers'
 35            - '\Explorer\ShellExecuteHooks'
 36            - '\Explorer\SharedTaskScheduler'
 37            - '\Explorer\Browser Helper Objects'
 38    filter_empty:
 39        Details: '(Empty)'
 40    filter_edge:
 41        Image|contains|all:
 42            - 'C:\Program Files (x86)\Microsoft\EdgeUpdate\Install\{'
 43            - '\setup.exe'
 44    filter_msoffice1:
 45        Image: 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe'
 46        TargetObject|contains: '\Office\ClickToRun\REGISTRY\MACHINE\Software\Wow6432Node\'
 47    filter_msoffice2:
 48        Image:
 49            - 'C:\Program Files\Microsoft Office\root\integration\integrator.exe'
 50            - 'C:\Program Files (x86)\Microsoft Office\root\integration\integrator.exe'
 51        TargetObject|contains: '\Explorer\Browser Helper Objects\{31D09BA0-12F5-4CCE-BE8A-2923E76605DA}\'
 52    filter_dropbox:
 53        - Details|endswith: '-A251-47B7-93E1-CDD82E34AF8B}'
 54        - Details: 'grpconv -o'
 55        - Details|contains|all:
 56              - 'C:\Program Files'
 57              - '\Dropbox\Client\Dropbox.exe'
 58              - ' /systemstartup'
 59    filter_evernote:
 60        TargetObject|endswith: '\Explorer\Browser Helper Objects\{92EF2EAD-A7CE-4424-B0DB-499CF856608E}\NoExplorer'
 61    filter_dotnet:
 62        Image|contains: '\windowsdesktop-runtime-'
 63        TargetObject|endswith:
 64            - '\WOW6432Node\Microsoft\Windows\CurrentVersion\RunOnce\{e2d1ae32-dd1d-4ad7-a298-10e42e7840fc}'
 65            - '\WOW6432Node\Microsoft\Windows\CurrentVersion\RunOnce\{7037b699-7382-448c-89a7-4765961d2537}'
 66        Details|startswith: '"C:\ProgramData\Package Cache\'
 67        Details|endswith: '.exe" /burn.runonce'
 68    filter_office:
 69        Image|startswith:
 70            - 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun\'
 71            - 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun\Updates\'
 72        Image|endswith: '\OfficeClickToRun.exe'
 73    filter_ms_win_desktop_runtime:
 74        Details|startswith: '"C:\ProgramData\Package Cache\{d21a4f20-968a-4b0c-bf04-a38da5f06e41}\windowsdesktop-runtime-'
 75    filter_vcredist:
 76        Image|endswith: '\VC_redist.x64.exe'
 77        Details|endswith: '}\VC_redist.x64.exe" /burn.runonce'
 78    filter_upgrades:
 79        Image|startswith:
 80            - 'C:\ProgramData\Package Cache'
 81            - 'C:\Windows\Temp\'
 82        Image|contains:
 83            - '\winsdksetup.exe'
 84            - '\windowsdesktop-runtime-'  # C:\WINDOWS\Temp\{751E2E78-46DC-4376-9205-99219CDC34AE}\.be\windowsdesktop-runtime-6.0.12-win-x86.exe
 85            - '\AspNetCoreSharedFrameworkBundle-'  # "C:\ProgramData\Package Cache\{b52191c1-a9c0-4b34-9a4e-930c2dd8a540}\AspNetCoreSharedFrameworkBundle-x86.exe" /burn.runonce
 86        Details|endswith: ' /burn.runonce'
 87    filter_uninstallers:
 88        # This image path is linked with different uninstallers when running as admin unfortunately
 89        Image|startswith: 'C:\Windows\Installer\MSI'
 90        TargetObject|contains: '\Explorer\Browser Helper Objects'
 91    filter_msiexec:
 92        Image: 'C:\WINDOWS\system32\msiexec.exe'
 93        TargetObject|contains: '\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\'
 94    condition: all of selection_wow_current_version_* and not 1 of filter_*
 95fields:
 96    - SecurityID
 97    - ObjectName
 98    - OldValueType
 99    - NewValueType
100falsepositives:
101    - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason
102    - Legitimate administrator sets up autorun keys for legitimate reason
103level: medium

References

Related rules

to-top