wlbsctrl.dll
There are executables that allowwlbsctrl.dll to be DLL hijacked.Expected Locations
The filewlbsctrl.dll is a phantom DLL, meaning it normally doesn't exist. As such, it is not expected to be present in any location.
Vulnerable Executables
Phantom DLL Hijacking (1 EXE)
By copying a malicious
wlbsctrl.dll to a specific location, the following vulnerable applications will execute the malicious DLL's code upon normal execution.
Detection
Below a sample Sigma rule that will find processes that loadedwlbsctrl.dll located in a folder that is not one of the expected locations (see above).
title: Possible DLL Hijacking of wlbsctrl.dll
id: 7274671b-4908-48a3-8140-5b9ff8212003
status: experimental
description: Detects possible DLL hijacking of wlbsctrl.dll by looking for suspicious image loads, loading this DLL from unexpected locations.
references:
- https://hijacklibs.net/entries/microsoft/built-in/wlbsctrl.html
author: "Wietze Beukema"
date: 2022-06-12
tags:
- attack.defense_evasion
- attack.T1574.001
logsource:
product: windows
category: image_load
detection:
selection:
ImageLoaded: '*\wlbsctrl.dll'
condition: selection
falsepositives:
- False positives are likely. This rule is more suitable for hunting than for generating detections.title: Possible preparation for wlbsctrl.dll DLL Hijacking
id: 7274672b-4908-48a3-8140-5b9ff8212003
status: experimental
description: Detects possible DLL hijacking of wlbsctrl.dll by looking for suspicious file writes of this DLL, to unexpected locations.
references:
- https://hijacklibs.net/entries/microsoft/built-in/wlbsctrl.html
author: "Wietze Beukema"
date: 2022-06-12
tags:
- attack.defense_evasion
- attack.T1574.001
logsource:
product: windows
category: file_event
detection:
selection:
TargetFileName: '*\wlbsctrl.dll'
condition: selection
falsepositives:
- False positives are likely. This rule is more suitable for hunting than for generating detections.Note that this rule is also included in the Detection Content Feeds that comprise all DLL Hijacking entries part of HijackLibs.
FAQs
Why should I care about this?
DLL Hijacking enables the execution of malicious code through a signed and/or trusted executable. Defensive measures such as AV and EDR solutions may not pick up on this activity out of the box, and allow-list applications such as AppLocker may not block the execution of the untrusted code. There are numerous examples of threat actors that have been observed to leaverage DLL Hijacking to achieve their objectives. As such, this project wants to encourage you to monitor for unusual activity involvingwlbsctrl.dll.
How do I abuse this vulnerability?
As a red teamer, you will have to compile your own version ofwlbsctrl.dll. There are various guides on how this can be achieved.