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

Sigma rule (View on GitHub)

 1title: Potential Persistence Via AutodialDLL
 2id: e6fe26ee-d063-4f5b-b007-39e90aaf50e3
 3status: test
 4description: Detects change the the "AutodialDLL" key which could be used as a persistence method to load custom DLL via the "ws2_32" library
 5references:
 6    - https://www.hexacorn.com/blog/2015/01/13/beyond-good-ol-run-key-part-24/
 7    - https://persistence-info.github.io/Data/autodialdll.html
 8author: Nasreddine Bencherchali (Nextron Systems)
 9date: 2022-08-10
10modified: 2026-11-16
11tags:
12    - attack.persistence
13logsource:
14    category: registry_set
15    product: windows
16detection:
17    selection:
18        TargetObject|contains: '\Services\WinSock2\Parameters\AutodialDLL'
19    filter_main_default_value:
20        Details:
21            - '%%SystemRoot%%\System32\rasadhlp.dll'
22            - '%%SystemRoot%%\SysWOW64\rasadhlp.dll'
23            - '%%windir%%\System32\rasadhlp.dll'
24            - '%%windir%%\SysWOW64\rasadhlp.dll'
25            - '%SystemRoot%\System32\rasadhlp.dll'
26            - '%SystemRoot%\SysWOW64\rasadhlp.dll'
27            - '%windir%\System32\rasadhlp.dll'
28            - '%windir%\SysWOW64\rasadhlp.dll'
29            - 'C:\Windows\System32\rasadhlp.dll'
30            - 'C:\Windows\SysWOW64\rasadhlp.dll'
31    condition: selection and not 1 of filter_main_*
32falsepositives:
33    - Unlikely
34level: high
35regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_persistence_autodial_dll/info.yml

References

Related rules

to-top