Potential Antivirus Software DLL Sideloading

 Original Source: [Sigma source]
Title: Potential Antivirus Software DLL Sideloading
Status: test
Description:Detects potential DLL sideloading of DLLs that are part of antivirus software suchas McAfee, Symantec...etc
References:
  -https://hijacklibs.net/
Author: Nasreddine Bencherchali (Nextron Systems), Wietze Beukema (project and research)
Date: 2022-08-17
modified:2025-10-07
Tags:
  • -'attack.persistence'
  • -'attack.privilege-escalation'
  • -'attack.execution'
  • -'attack.stealth'
  • -'attack.t1574.001'
Logsource:
  • category: image_load
  • product: windows
Detection:
  selection_bitdefender:
    ImageLoaded|endswith: '\log.dll'
  filter_log_dll_bitdefender:
    ImageLoaded|startswith:
      -'C:\Program Files\Bitdefender Antivirus Free\'
      -'C:\Program Files (x86)\Bitdefender Antivirus Free\'

  filter_log_dll_dell_sar:
    Image: 'C:\Program Files\Dell\SARemediation\audit\TelemetryUtility.exe'
    ImageLoaded:
      -'C:\Program Files\Dell\SARemediation\plugin\log.dll'
      -'C:\Program Files\Dell\SARemediation\audit\log.dll'

  filter_log_dll_canon:
    ImageLoaded|startswith: 'C:\Program Files\Canon\MyPrinter\'
  filter_log_dll_avast:
    ImageLoaded:
      -'C:\Program Files\AVAST Software\Avast\log.dll'
      -'C:\Program Files (x86)\AVAST Software\Avast\log.dll'

  filter_log_dll_avg:
    ImageLoaded:
      -'C:\Program Files\AVG\Antivirus\log.dll'
      -'C:\Program Files (x86)\AVG\Antivirus\log.dll'

  selection_fsecure:
    ImageLoaded|endswith: '\qrt.dll'
  filter_fsecure:
    ImageLoaded|startswith:
      -'C:\Program Files\F-Secure\Anti-Virus\'
      -'C:\Program Files (x86)\F-Secure\Anti-Virus\'

  selection_mcafee:
    ImageLoaded|endswith:
      -'\ashldres.dll'
      -'\lockdown.dll'
      -'\vsodscpl.dll'

  filter_mcafee:
    ImageLoaded|startswith:
      -'C:\Program Files\McAfee\'
      -'C:\Program Files (x86)\McAfee\'

  selection_cyberark:
    ImageLoaded|endswith: '\vftrace.dll'
  filter_cyberark:
    ImageLoaded|startswith:
      -'C:\Program Files\CyberArk\Endpoint Privilege Manager\Agent\x32\'
      -'C:\Program Files (x86)\CyberArk\Endpoint Privilege Manager\Agent\x32\'

  selection_avast:
    ImageLoaded|endswith: '\wsc.dll'
  filter_wsc_dll_avast:
    ImageLoaded|startswith:
      -'C:\program Files\AVAST Software\Avast\'
      -'C:\program Files (x86)\AVAST Software\Avast\'

  filter_wsc_dll_avg:
    ImageLoaded|startswith:
      -'C:\Program Files\AVG\Antivirus\'
      -'C:\Program Files (x86)\AVG\Antivirus\'

  selection_eset_deslock:
    ImageLoaded|endswith: '\DLPPREM32.dll'
  filter_eset_deslock:
    ImageLoaded|startswith:
      -'C:\program Files\ESET'
      -'C:\program Files (x86)\ESET'

  selection_titanium:
    ImageLoaded|endswith: '\tmdbglog.dll'
  filter_titanium:
    ImageLoaded|startswith:
      -'C:\program Files\Trend Micro\Titanium\'
      -'C:\program Files (x86)\Trend Micro\Titanium\'

  condition:(selection_bitdefender and not 1 of filter_log_dll_*) or (selection_fsecure and not filter_fsecure) or (selection_mcafee and not filter_mcafee) or (selection_cyberark and not filter_cyberark) or (selection_avast and not 1 of filter_wsc_dll_*) or (selection_titanium and not filter_titanium) or (selection_eset_deslock and not filter_eset_deslock)
Falsepositives:
  -Applications that load the same dlls mentioned in the detection section. Investigate them and filter them out if a lot FPs are caused.
  -Dell SARemediation plugin folder (C:\Program Files\Dell\SARemediation\plugin\log.dll) is known to contain the 'log.dll' file.
  -The Canon MyPrinter folder 'C:\Program Files\Canon\MyPrinter\' is known to contain the 'log.dll' file
Level: medium