Detectionmediumtest

Potential DLL Sideloading Of DBGHELP.DLL

Detects potential DLL sideloading of "dbghelp.dll"

Open in Detection LabConvert ruleBuild Package
Nasreddine Bencherchali, Wietze Beukema (project and research)Created 2022-10-25Updated 2025-10-076414b5cd-b19d-447e-bb5e-9f03940b5784windows
Log Source
WindowsImage Load (DLL)
ProductWindows← raw: windows
CategoryImage Load (DLL)← raw: image_load
Detection Logic
Detection Logic5 selectors
detection:
    selection:
        ImageLoaded|endswith: '\dbghelp.dll'
    filter_main_generic:
        ImageLoaded|startswith:
            - 'C:\Program Files (x86)\'
            - 'C:\Program Files\'
            - 'C:\Windows\SoftwareDistribution\'
            - 'C:\Windows\System32\'
            - 'C:\Windows\SystemTemp\'
            - 'C:\Windows\SysWOW64\'
            - 'C:\Windows\WinSxS\'
    filter_optional_anaconda:
        ImageLoaded|endswith:
            - '\Anaconda3\Lib\site-packages\vtrace\platforms\windll\amd64\dbghelp.dll'
            - '\Anaconda3\Lib\site-packages\vtrace\platforms\windll\i386\dbghelp.dll'
    filter_optional_epicgames:
        ImageLoaded|endswith:
            - '\Epic Games\Launcher\Engine\Binaries\ThirdParty\DbgHelp\dbghelp.dll'
            - '\Epic Games\MagicLegends\x86\dbghelp.dll'
    filter_optional_opera:
        ImageLoaded|contains: 'opera\Opera Installer Temp\opera_package'
        ImageLoaded|endswith: '\assistant\dbghelp.dll'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
False Positives

Legitimate applications loading their own versions of the DLL mentioned in this rule

Rule Metadata
Rule ID
6414b5cd-b19d-447e-bb5e-9f03940b5784
Status
test
Level
medium
Type
Detection
Created
2022-10-25
Modified
2025-10-07
Path
rules/windows/image_load/image_load_side_load_dbghelp.yml
Raw Tags
attack.persistenceattack.privilege-escalationattack.executionattack.stealthattack.t1574.001
View on GitHub