afunix.sys - Clean (23/100) - DriverShield Analysis

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

afunix.sys - Analysis Report

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

VerdictClean (23/100)
YARA matches0
File size44032 bytes
Analyzed2026-03-22
SHA256e2b308278157a7784acec4d2e684469afe505d5e30faf6ff9bb1e825fec5b5ec
SHA173a5f909d2c0f1030f377de976ba8ee38c98ccc6
MD551ebf18b06147b42bf873df27d04c822

Driver identity

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

File descriptionAF_UNIX socket provider
ProductMicrosoft® Windows® Operating System
CompanyMicrosoft Corporation
Original filenameafunix.sys
Internal nameafunix.sys
File version10.0.19041.4355 (WinBuild.160101.0800)
Copyright© Microsoft Corporation. All rights reserved.

How the 23/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 surface42 / 100
Known-vulnerable corpus0 / 100
Code-signing state50 / 100
Packing and entropy0 / 100
Dynamic behaviour0 / 100
CVE cross-reference0 / 100

Kernel imports (12)

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

APIRiskWhy it matters
MmMapLockedPagesSpecifyCachecriticalHighly dangerous - potential for arbitrary code execution, memory corruption, or process termination
ZwSetInformationFilemediumModerate risk - system modification capability
ObReferenceObjectByHandlemediumModerate risk - system modification capability
KeBugCheckExmediumModerate risk - system modification capability
ZwCloselowStandard kernel API - generally benign
KeWaitForSingleObjectlowStandard kernel API - generally benign
PsGetCurrentProcesslowStandard kernel API - generally benign
ExAllocatePoolWithTaglowStandard kernel API - generally benign
KeInitializeEventlowStandard kernel API - generally benign
KeSetEventlowStandard kernel API - generally benign
DbgPrintExlowStandard kernel API - generally benign
RtlInitUnicodeStringlowStandard kernel API - generally benign

IOCTL dispatch codes (14)

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
0x00800023highMETHOD_NEITHERFILE_DEVICE_CUSTOM Function #8
0x0080858BhighMETHOD_NEITHERFILE_DEVICE_CUSTOM Function #354
0x002200F0mediumMETHOD_BUFFEREDFILE_DEVICE_UNKNOWN Function #60
0x00345705mediumMETHOD_IN_DIRECTFILE_DEVICE_DISK Function #1473
0x0034330DmediumMETHOD_IN_DIRECTFILE_DEVICE_DISK Function #3267
0x00800029mediumMETHOD_IN_DIRECTFILE_DEVICE_CUSTOM Function #10
0x00802484mediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #2337
0x0080248CmediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #2339
0x0080E281mediumMETHOD_IN_DIRECTFILE_DEVICE_CUSTOM Function #2208
0x00802494mediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #2341
0x00228341mediumMETHOD_IN_DIRECTFILE_DEVICE_UNKNOWN Function #208
0x0080249CmediumMETHOD_BUFFEREDFILE_DEVICE_CUSTOM Function #2343
0x00340398mediumMETHOD_BUFFEREDFILE_DEVICE_DISK Function #230
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
.text0x13290x14006.04CODE, EXEC, READ
.rdata0x19280x1A005.35IDATA, READ
.data0x01780x02000.75IDATA, READ, WRITE
.pdata0x04980x06003.54IDATA, READ
.idata0x0ADA0x0C004.3IDATA, READ
PAGE0x50E20x52006.12CODE, EXEC, READ
.edata0x00330x02000.34IDATA, READ
PAGECONS0x00750x02001.75IDATA, READ
INIT0x02E20x04004.89CODE, EXEC, READ, DISCARD
GFIDS0x00800x02001.13IDATA, READ, DISCARD
.rsrc0x04000x04003.4IDATA, READ, DISCARD
.reloc0x052C0x06004.95IDATA, READ, DISCARD

Exploit mitigations

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

MITRE ATT&CK techniques (12)

Techniques this driver could enable if loaded by an adversary.

IDTechniqueTactic
T1003.001OS Credential Dumping: LSASS MemoryCredential Access
T1055.001Process Injection: DLL InjectionDefense Evasion
T1055.012Process HollowingDefense Evasion
T1068Exploitation for Privilege EscalationPrivilege Escalation
T1211Exploitation for Defense EvasionDefense Evasion
T1489Service StopImpact
T1543.003Windows ServicePersistence
T1553.002Subvert Trust Controls: Code SigningDefense Evasion
T1553.006Code Signing Policy ModificationDefense Evasion
T1562.001Impair Defenses: Disable/Modify ToolsDefense 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 afunix.sys

Is afunix.sys safe?

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

What is the risk score of afunix.sys?

afunix.sys has a DriverShield composite risk score of 23/100, placing it in the clean verdict band. SHA256: e2b308278157a7784acec4d2e684469afe505d5e30faf6ff9bb1e825fec5b5ec.

What is afunix.sys?

afunix.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