Potential Persistence Via AutodialDLL
Detects change the the "AutodialDLL" key which could be used as a persistence method to load custom DLL via the "ws2_32" library
Detection logic
selection
TargetObject|contains: \Services\WinSock2\Parameters\AutodialDLLfilter_main_default_value
Details:
- "%%SystemRoot%%\\System32\\rasadhlp.dll"
- "%%SystemRoot%%\\SysWOW64\\rasadhlp.dll"
- "%%windir%%\\System32\\rasadhlp.dll"
- "%%windir%%\\SysWOW64\\rasadhlp.dll"
- "%SystemRoot%\\System32\\rasadhlp.dll"
- "%SystemRoot%\\SysWOW64\\rasadhlp.dll"
- "%windir%\\System32\\rasadhlp.dll"
- "%windir%\\SysWOW64\\rasadhlp.dll"
- C:\Windows\System32\rasadhlp.dll
- C:\Windows\SysWOW64\rasadhlp.dllCondition
selection and not 1 of filter_main_*Raw YAML
title: Potential Persistence Via AutodialDLL
id: e6fe26ee-d063-4f5b-b007-39e90aaf50e3
status: test
description: Detects change the the "AutodialDLL" key which could be used as a persistence method to load custom DLL via the "ws2_32" library
references:
- https://www.hexacorn.com/blog/2015/01/13/beyond-good-ol-run-key-part-24/
- https://persistence-info.github.io/Data/autodialdll.html
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-10
modified: 2026-11-16
tags:
- attack.persistence
logsource:
category: registry_set
product: windows
detection:
selection:
TargetObject|contains: '\Services\WinSock2\Parameters\AutodialDLL'
filter_main_default_value:
Details:
- '%%SystemRoot%%\System32\rasadhlp.dll'
- '%%SystemRoot%%\SysWOW64\rasadhlp.dll'
- '%%windir%%\System32\rasadhlp.dll'
- '%%windir%%\SysWOW64\rasadhlp.dll'
- '%SystemRoot%\System32\rasadhlp.dll'
- '%SystemRoot%\SysWOW64\rasadhlp.dll'
- '%windir%\System32\rasadhlp.dll'
- '%windir%\SysWOW64\rasadhlp.dll'
- 'C:\Windows\System32\rasadhlp.dll'
- 'C:\Windows\SysWOW64\rasadhlp.dll'
condition: selection and not 1 of filter_main_*
falsepositives:
- Unlikely
level: high
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_persistence_autodial_dll/info.ymlFalse positives
- Unlikely
References
Similar rules
Activate Suppression of Windows Security Center Notifications
mediumwindows · Same logsource category (registry_set)
Add Debugger Entry To AeDebug For Persistence
mediumwindows · Same logsource category (registry_set)
Add Debugger Entry To Hangs Key For Persistence
highwindows · Same logsource category (registry_set)
Add DisallowRun Execution to Registry
mediumwindows · Same logsource category (registry_set)