We found this sample in our own lab environment, not on a customer system and not through the honeypot. It is a 419,840 byte 64-bit Windows console program. A packer check found no packer and a Microsoft Visual C/C++ compiler fingerprint, so nothing hides the code or strings.
SigDrop: a CLFS and Defender-abuse privilege escalation tool that plants a hid.dll for osk.exe
A 64-bit Windows console tool that tries to trick a privileged Windows Defender process into writing an attacker DLL into Program Files, then starts the On-Screen Keyboard so the DLL loads with higher rights.
Caleb, our malware analysis agent, examined the sample in an isolated container with no network. The program was only read by tools or run inside an emulator, never on a real computer. Analysis steps: Packer check, Static analysis, Emulation, Analysis step, Cross-references, Our decompiler, Bytes at an address, Decoding, Our rule engine. This write-up is built from that tool output and was reviewed by a person before publishing. The sample came from our own lab environment; no customer data was used.
- The binary carries the build tag "SGDROP-nSig-v1" and error strings about connecting to the Windows Defender RPC port and creating CLFS containers.
- It holds the NT path \??\C:\Program Files\Common Files\microsoft shared\ink\hid.dll and an Object Manager path \BaseNamedObjects\Restricted\mpasbase.vdm, which suggests a symbolic link redirect aimed at a Defender file.
- In emulation the only behaviour we saw before it stopped was the creation of an osk.exe process, the program expected to load the planted hid.dll.
- The file is not packed. It is a plain Microsoft Visual C/C++ build, so its strings are readable and easy to signature.
- A signature built on five of its strings matched this sample and none of 598 clean files.
How it reached us
result: No packer detected
output: {"size":419840,"entropy":5.56,"detections":[{"type":"Compiler","name":"Microsoft Visual C/C++","version":"19.36.35722","info":"LTCG/C++","part":"Header…The file is an unpacked MSVC build.
The reviewer asked us to use lab telemetry from our own Sentinel environment. No lab telemetry rows were part of the evidence set behind this post, so we cannot map the attack chain to log times here. We list that gap below rather than guess at what the logs held.
Stage one: the exploit launcher
Going after Windows Defender
The launcher carries the error message "Failed to connect to windows defender RPC port !!!". This suggests it talks to Defender's local RPC service. For an attacker, Defender is a good target: its service runs as SYSTEM and it reads and writes protected files.
CLFS logs and symbolic links
Other strings point to the method. "Failed to create CLFS containers" shows it builds Common Log File System containers. A wide string \BaseNamedObjects\Restricted\mpasbase.vdm points at a Defender signature file name inside an Object Manager directory. We infer the tool plants symbolic links there so that a privileged file operation lands somewhere it chooses.
id=$a offset=0x49000 data=534744524f502d6e5369672d7631 id=$b offset=0x25840 data=4661696c656420746f20636f6e6e65637420746f2077696e646f777320646566 id=$d offset=0x25d20 data=5c0042006100730065004e0061006d00650064004f0062006a00650063007400 id=$e offset=0x25a30 data=4661696c656420746f2063726561746520434c465320636f6e7461696e657273
Our rule engine hit the build tag, the Defender RPC error, the mpasbase.vdm link path and the CLFS error inside the sample.
The target path
The destination is written in the binary as \??\C:\Program Files\Common Files\microsoft shared\ink\hid.dll. A normal user cannot write to that folder, which is why the tool needs a privileged process to do the write for it. Our analyst's report adds that the tool uses an oplock, a directory watch and a transacted delete to win the timing, but the tool output in this evidence set only shows the strings.
Stage two: the planted hid.dll and osk.exe
Once hid.dll is in the ink folder, the launcher starts osk.exe, the On-Screen Keyboard. In emulation, the one process action we saw was creating osk.exe. We infer this is a DLL search order hijack: osk.exe is expected to load hid.dll from the ink folder, and the attacker code then runs inside it.
op=create target=osk.exe
In emulation the launcher created an osk.exe process.
Our analyst reported that the launcher carries a second program, a 64-bit DLL built as hid.pdb, that contains the strings conhost.exe and consent.exe. We did not have tool output for that DLL in this evidence set, so we cannot say what it does after loading. The names suggest it may try to start a console or interact with the UAC prompt process, but that is an inference.
The chain as the strings and emulation describe it.
Who is behind it
No tool output named a known family or actor. The sample calls itself "SGDROP-nSig-v1", and our analyst's report notes version info describing it as a proof of concept. We treat it as hostile because it is a working-looking privilege escalation chain, but we make no attribution.
id=$c offset=0x25db0 data=5c003f003f005c0043003a005c00500072006f006700720061006d0020004600 matchedCount: 0
The hid.dll path string matched in the sample, and the signature matched no clean files.
Indicators
Every indicator the analysis found. Network indicators are defanged so they cannot be clicked. We never share the sample itself.
| Type | Indicator | Context |
|---|---|---|
| SHA-256 | 3a6ff6a34a4e1750ef66af2532fb4f848b4bd77def9d9dc1f4ed3eb9b8025d87 | The sample |
| URL | hxxp://schemas[.]microsoft[.]com/SMI/2020/WindowsSettings | Named in Caleb's report |
| File path | C:\Program Files\Common Files\microsoft shared\ink\hid.dll | Named in Caleb's report |
| File path | %TEMP%\SigDrop_ | Named in Caleb's report |
MITRE ATT&CK
| Tactic | Technique | ID | Evidence |
|---|---|---|---|
| Defense Evasion, Execution | DLL | T1574.001 | Finds and kills any running osk.exe, then starts osk.exe again with ShellExecuteW 'open' so it will load the planted hid.dll (one of its functions (decompile); ShellExecuteW open osk.exe in emulate from 0x1… |
| Privilege Escalation | Exploitation for Privilege Escalation | T1068 | Abuses Windows Defender's RPC service and CLFS log/container files, Object Manager symbolic links (mpasbase.vdm, MpEngine.dll), oplocks and a transacted delete to get a privileged write or redirect (… |
| Execution | Native API | T1106 | Creates symbolic link objects by calling NtCreateSymbolicLinkObject and NtOpenDirectoryObject, looked up from ntdll at runtime (one of its functions (decompile); strings in bytes at an address a code address) |
| Discovery | Process Discovery | T1057 | Lists running processes with a Toolhelp32 snapshot (one of its functions (decompile)) |
| Defense Evasion | Exploitation for Stealth | T1211 | Uses a Windows Defender component as the vehicle for the exploit (inferred from the strings 'Failed to connect to windows defender RPC port' and the mpasbase.vdm/MpEngine.dll targets) (bytes at an ad… |
| Collection | Local Data Staging | T1074.001 | Builds a working directory at %TEMP%\SigDrop_<GUID> using CoCreateGuid |
Detection
osk.exe loading hid.dll from the ink folder
DeviceImageLoadEvents | where InitiatingProcessFileName =~ 'osk.exe' | where FileName =~ 'hid.dll' | where FolderPath has 'microsoft shared\\ink' | project Timestamp, DeviceName, InitiatingProcessFileName, FolderPath, SHA256, InitiatingProcessParentFileName
The real hid.dll lives in System32. osk.exe loading a hid.dll from the Common Files ink folder matches the hijack this tool sets up. This is a starting point and needs tuning.
hid.dll written into the Common Files ink folder
DeviceFileEvents
| where ActionType in ('FileCreated','FileRenamed','FileModified')
| where FileName =~ 'hid.dll'
| where FolderPath has 'microsoft shared\\ink'
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessAccountName, FolderPath, SHA256Catches the planted DLL landing in the target folder. If the writer is a Defender process, that is a strong sign the redirect worked.
osk.exe started by an unusual parent
DeviceProcessEvents
| where FileName =~ 'osk.exe'
| where InitiatingProcessFileName !in~ ('[redacted]','[redacted]','[redacted]','[redacted]')
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessCommandLine, AccountNameThe launcher starts osk.exe itself. An unknown console program as parent of osk.exe is rare. The parent list is a guess to tune for your estate.
YARA: Matches SigDrop_noSig.exe
rule SigDrop_CLFS_Defender_LPE {
strings:
$a = "SGDROP-nSig-v1" ascii
$b = "Failed to connect to windows defender RPC port !!!" ascii
$c = "\\??\\C:\\Program Files\\Common Files\\microsoft shared\\ink\\hid.dll" wide
$d = "\\BaseNamedObjects\\Restricted\\mpasbase.vdm" wide
$e = "Failed to create CLFS containers" ascii
condition:
uint16(0) == 0x5A4D and 3 of them
}Each YARA rule matched this sample and none of our clean test files when Caleb tested it.
What we have not covered yet
No lab telemetry rows from our Sentinel environment were included in the evidence for this post, so we could not map the chain to log times or say what the logs did or did not record.
Emulation stopped early twice (at an unsupported FlsGetValue2 call and at CoCreateGuid), so we did not see the Defender RPC calls, CLFS container creation, symbolic link creation or the file write happen.
The embedded hid.dll was not analysed in the tool output we had, so what it does inside osk.exe (and its use of conhost.exe and consent.exe) is unknown.
We did not confirm whether the redirect works against a current, patched Defender build.
One indicator our analyst named appeared in no tool output and was left out.
What defenders should do
- Watch the ink folderAlert on any new or changed hid.dll under C:\Program Files\Common Files\microsoft shared\ink and on osk.exe loading a DLL from there.
- Keep Defender and Windows patchedThis chain relies on Defender's privileged file handling and CLFS. Keep platform, engine and OS updates current so known redirect bugs are closed.
- Hunt for the work folderOur analyst saw the tool build a %TEMP%\SigDrop_<GUID> folder. Searching for that prefix in file events is a cheap first sweep.
- Use the string signatureThe five-string signature matched this sample and no clean files, so it is a reasonable file scan rule for this build.
Want Research Like This Watching Your Environment?
Overwatch Console turns its own malware research into tested detections for your Microsoft Sentinel workspace, with AI agents triaging every incident and your team approving what happens next.
Start Free Trial