Detection rules › Sigma

Potential DLL Sideloading Of DBGHELP.DLL

Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems), Wietze Beukema (project and research)
Source
upstream

Detects potential DLL sideloading of "dbghelp.dll"

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1574.001 Hijack Execution Flow: DLL
Privilege EscalationT1574.001 Hijack Execution Flow: DLL
Defense EvasionT1574.001 Hijack Execution Flow: DLL

Event coverage

ProviderEvent IDTitle
Sysmon7Image loaded

Stages and Predicates

Stage 1: selection

ImageLoaded|endswith: '\dbghelp.dll'

Stage 2: not 1 of filter_main_generic

or:
ImageLoaded|startswith: 'C:\Program Files (x86)\'
ImageLoaded|startswith: 'C:\Program Files\'
ImageLoaded|startswith: 'C:\Windows\SoftwareDistribution\'
ImageLoaded|startswith: 'C:\Windows\SysWOW64\'
ImageLoaded|startswith: 'C:\Windows\System32\'
ImageLoaded|startswith: 'C:\Windows\SystemTemp\'
ImageLoaded|startswith: 'C:\Windows\WinSxS\'

Stage 3: not 1 of filter_optional_*

or:
ImageLoaded|endswith: '\assistant\dbghelp.dll'
ImageLoaded|contains: 'opera\Opera Installer Temp\opera_package'
ImageLoaded|endswith: '\Anaconda3\Lib\site-packages\vtrace\platforms\windll\amd64\dbghelp.dll'
ImageLoaded|endswith: '\Anaconda3\Lib\site-packages\vtrace\platforms\windll\i386\dbghelp.dll'
ImageLoaded|endswith: '\Epic Games\Launcher\Engine\Binaries\ThirdParty\DbgHelp\dbghelp.dll'
ImageLoaded|endswith: '\Epic Games\MagicLegends\x86\dbghelp.dll'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
ImageLoadedends_with
  • \Anaconda3\Lib\site-packages\vtrace\platforms\windll\amd64\dbghelp.dll
  • \Anaconda3\Lib\site-packages\vtrace\platforms\windll\i386\dbghelp.dll
  • \Epic Games\Launcher\Engine\Binaries\ThirdParty\DbgHelp\dbghelp.dll
  • \Epic Games\MagicLegends\x86\dbghelp.dll
  • \assistant\dbghelp.dll
  • \dbghelp.dll corpus 4 (sigma 4)
ImageLoadedmatch
  • opera\Opera Installer Temp\opera_package corpus 2 (sigma 2)
ImageLoadedstarts_with
  • C:\Program Files (x86)\ corpus 6 (sigma 6)
  • C:\Program Files\ corpus 6 (sigma 6)
  • C:\Windows\SoftwareDistribution\ corpus 2 (sigma 2)
  • C:\Windows\SysWOW64\ corpus 8 (sigma 8)
  • C:\Windows\System32\ corpus 8 (sigma 8)
  • C:\Windows\SystemTemp\ corpus 2 (sigma 2)
  • C:\Windows\WinSxS\ corpus 9 (sigma 9)