ksthunk.sys - Clean (22/100) - DriverShield Analysis

Analysis of ksthunk.sys: clean verdict, risk score 22/100. 0 YARA matches. SHA256 bcd26fd24a0cfc2d. Kernel imports, IOCTL codes, MITRE ATT&CK, and code-signing details.

ksthunk.sys - Analysis Report

DriverShield analyzed the Windows kernel driver ksthunk.sys and assigned a verdict of Clean with a composite risk score of 22/100, indicating no notable risk signals (0-29 band).

VerdictClean (22/100)
YARA matches0
File size37376 bytes
Analyzed2026-03-22
SHA256bcd26fd24a0cfc2d0c142430db78aeb900f6bcf1322e831d9a051e4dd6432f0f
SHA13fa5059369ee3d5e18177b3a17b5fe31b8427f3e
MD5311347892d84a7e03872ed923d5f2514

Driver identity

Version resource data embedded in the ksthunk.sys PE header, as extracted by the analysis engine.

File descriptionKernel Streaming WOW Thunk Service
ProductMicrosoft® Windows® Operating System
CompanyMicrosoft Corporation
Original filenameksthunk.sys
Internal nameksthunk.sys
File version10.0.19041.4957 (WinBuild.160101.0800)
Copyright© Microsoft Corporation. All rights reserved.

How the 22/100 score breaks down

Each component is scored 0-100 and then weighted into the composite. See the analysis methodology for the exact formula.

ComponentSub-score
Multi-engine consensus0 / 100
YARA signature matches0 / 100
Dangerous kernel imports84 / 100
IOCTL dispatch surface33 / 100
Known-vulnerable corpus0 / 100
Code-signing state50 / 100
Packing and entropy0 / 100
Dynamic behaviour0 / 100
CVE cross-reference0 / 100

Kernel imports (14)

Kernel-mode APIs resolved from the Import Address Table of ksthunk.sys, ranked by exploitation relevance.

APIRiskWhy it matters
MmMapLockedPagesSpecifyCachecriticalHighly dangerous - potential for arbitrary code execution, memory corruption, or process termination
MmGetSystemRoutineAddresshighPotentially dangerous - could be used for privilege escalation or security bypass
KeSetEventlowStandard kernel API - generally benign
ExFreePoollowStandard kernel API - generally benign
IoDeleteDevicelowStandard kernel API - generally benign
IoCreateDevicelowStandard kernel API - generally benign
ProbeForReadlowStandard kernel API - generally benign
ProbeForWritelowStandard kernel API - generally benign
ZwCloselowStandard kernel API - generally benign
KeWaitForSingleObjectlowStandard kernel API - generally benign
ExAllocatePoolWithTaglowStandard kernel API - generally benign
RtlInitUnicodeStringlowStandard kernel API - generally benign
KeInitializeEventlowStandard kernel API - generally benign
IofCompleteRequestlowStandard kernel API - generally benign

IOCTL dispatch codes (11)

Control codes reachable through the driver dispatch routine. Codes tied to published exploit code are flagged, since they are the primary Bring Your Own Vulnerable Driver (BYOVD) entry points.

CodeSeverityTransferDescription
0x002200F0mediumMETHOD_BUFFEREDFILE_DEVICE_UNKNOWN Function #60
0x00802484mediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #2337
0x00802494mediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #2341
0x0080BB89mediumMETHOD_IN_DIRECTFILE_DEVICE_CUSTOM Function #3810
0x00809484mediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #1313
0x0080EC81mediumMETHOD_IN_DIRECTFILE_DEVICE_CUSTOM Function #2848
0x0080249CmediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #2343
0x0080E281mediumMETHOD_IN_DIRECTFILE_DEVICE_CUSTOM Function #2208
0x0080BAF9mediumMETHOD_IN_DIRECTFILE_DEVICE_CUSTOM Function #3774
0x003403B0mediumMETHOD_BUFFEREDFILE_DEVICE_DISK Function #236
0x0034002EmediumMETHOD_OUT_DIRECTFILE_DEVICE_DISK Function #11

PE sections

Section layout and Shannon entropy. High entropy in a code section is a packing or encryption indicator.

SectionVirtual sizeRaw sizeEntropyFlags
.text0x38A90x3A006.09CODE, EXEC, READ
.rdata0x11400x12003.8IDATA, READ
.data0x01980x02000.38IDATA, READ, WRITE
.pdata0x05940x06004IDATA, READ
.idata0x0A8A0x0C004.28IDATA, READ
PAGE0x19380x1A005.98CODE, EXEC, READ
PAGECONS0x00800x02001.27IDATA, READ
INIT0x03520x04005.42CODE, EXEC, READ, DISCARD
GFIDS0x00F80x02002IDATA, READ, DISCARD
.rsrc0x04180x06002.52IDATA, READ, DISCARD
.reloc0x04980x06004.72IDATA, READ, DISCARD

Exploit mitigations

Control Flow GuardEnabled
ASLREnabled
DEPEnabled
Integrity checkNot enforced
Mitigation score80 / 100

MITRE ATT&CK techniques (9)

Techniques this driver could enable if loaded by an adversary.

IDTechniqueTactic
T1003.001OS Credential Dumping: LSASS MemoryCredential Access
T1055.012Process HollowingDefense Evasion
T1068Exploitation for Privilege EscalationPrivilege Escalation
T1211Exploitation for Defense EvasionDefense Evasion
T1543.003Windows ServicePersistence
T1553.002Subvert Trust Controls: Code SigningDefense Evasion
T1553.006Code Signing Policy ModificationDefense Evasion
T1569.002System Services: Service ExecutionExecution
T1652Device Driver DiscoveryDiscovery

Symbolic execution

Engine angr, status no_findings, 0 paths explored at a maximum depth of 0. Vulnerability classes reached: 0. Exploitable paths: 0.

Frequently asked questions about ksthunk.sys

Is ksthunk.sys safe?

Based on DriverShield static and dynamic analysis, ksthunk.sys is assessed as clean, with no notable risk signals. Its composite risk score is 22/100 (verdict: clean). Always validate findings independently before acting.

What is the risk score of ksthunk.sys?

ksthunk.sys has a DriverShield composite risk score of 22/100, placing it in the clean verdict band. SHA256: bcd26fd24a0cfc2d0c142430db78aeb900f6bcf1322e831d9a051e4dd6432f0f.

What is ksthunk.sys?

ksthunk.sys is a Windows kernel-mode driver (.sys) analyzed by DriverShield for vulnerabilities, BYOVD abuse potential, and malware indicators.

Related: What an IOCTL dispatch code is · BYOVD research index · full driver database · CVE library · code signing atlas


DriverShield © 2025-2026 · Terms · Privacy · Contact