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.
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).
| Verdict | Clean (23/100) |
| YARA matches | 0 |
| File size | 44032 bytes |
| Analyzed | 2026-03-22 |
| SHA256 | e2b308278157a7784acec4d2e684469afe505d5e30faf6ff9bb1e825fec5b5ec |
| SHA1 | 73a5f909d2c0f1030f377de976ba8ee38c98ccc6 |
| MD5 | 51ebf18b06147b42bf873df27d04c822 |
Version resource data embedded in the afunix.sys PE header, as extracted by the analysis engine.
| File description | AF_UNIX socket provider |
|---|---|
| Product | Microsoft® Windows® Operating System |
| Company | Microsoft Corporation |
| Original filename | afunix.sys |
| Internal name | afunix.sys |
| File version | 10.0.19041.4355 (WinBuild.160101.0800) |
| Copyright | © Microsoft Corporation. All rights reserved. |
Each component is scored 0-100 and then weighted into the composite. See the analysis methodology for the exact formula.
| Component | Sub-score |
|---|---|
| Multi-engine consensus | 0 / 100 |
| YARA signature matches | 0 / 100 |
| Dangerous kernel imports | 84 / 100 |
| IOCTL dispatch surface | 42 / 100 |
| Known-vulnerable corpus | 0 / 100 |
| Code-signing state | 50 / 100 |
| Packing and entropy | 0 / 100 |
| Dynamic behaviour | 0 / 100 |
| CVE cross-reference | 0 / 100 |
Kernel-mode APIs resolved from the Import Address Table of afunix.sys, ranked by exploitation relevance.
| API | Risk | Why it matters |
|---|---|---|
| MmMapLockedPagesSpecifyCache | critical | Highly dangerous - potential for arbitrary code execution, memory corruption, or process termination |
| ZwSetInformationFile | medium | Moderate risk - system modification capability |
| ObReferenceObjectByHandle | medium | Moderate risk - system modification capability |
| KeBugCheckEx | medium | Moderate risk - system modification capability |
| ZwClose | low | Standard kernel API - generally benign |
| KeWaitForSingleObject | low | Standard kernel API - generally benign |
| PsGetCurrentProcess | low | Standard kernel API - generally benign |
| ExAllocatePoolWithTag | low | Standard kernel API - generally benign |
| KeInitializeEvent | low | Standard kernel API - generally benign |
| KeSetEvent | low | Standard kernel API - generally benign |
| DbgPrintEx | low | Standard kernel API - generally benign |
| RtlInitUnicodeString | low | Standard kernel API - generally benign |
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.
| Code | Severity | Transfer | Description |
|---|---|---|---|
| 0x00800023 | high | METHOD_NEITHER | FILE_DEVICE_CUSTOM Function #8 |
| 0x0080858B | high | METHOD_NEITHER | FILE_DEVICE_CUSTOM Function #354 |
| 0x002200F0 | medium | METHOD_BUFFERED | FILE_DEVICE_UNKNOWN Function #60 |
| 0x00345705 | medium | METHOD_IN_DIRECT | FILE_DEVICE_DISK Function #1473 |
| 0x0034330D | medium | METHOD_IN_DIRECT | FILE_DEVICE_DISK Function #3267 |
| 0x00800029 | medium | METHOD_IN_DIRECT | FILE_DEVICE_CUSTOM Function #10 |
| 0x00802484 | medium | METHOD_BUFFERED | FILE_DEVICE_CUSTOM Function #2337 |
| 0x0080248C | medium | METHOD_BUFFERED | FILE_DEVICE_CUSTOM Function #2339 |
| 0x0080E281 | medium | METHOD_IN_DIRECT | FILE_DEVICE_CUSTOM Function #2208 |
| 0x00802494 | medium | METHOD_BUFFERED | FILE_DEVICE_CUSTOM Function #2341 |
| 0x00228341 | medium | METHOD_IN_DIRECT | FILE_DEVICE_UNKNOWN Function #208 |
| 0x0080249C | medium | METHOD_BUFFERED | FILE_DEVICE_CUSTOM Function #2343 |
| 0x00340398 | medium | METHOD_BUFFERED | FILE_DEVICE_DISK Function #230 |
| 0x0034002E | medium | METHOD_OUT_DIRECT | FILE_DEVICE_DISK Function #11 |
Section layout and Shannon entropy. High entropy in a code section is a packing or encryption indicator.
| Section | Virtual size | Raw size | Entropy | Flags |
|---|---|---|---|---|
| .text | 0x1329 | 0x1400 | 6.04 | CODE, EXEC, READ |
| .rdata | 0x1928 | 0x1A00 | 5.35 | IDATA, READ |
| .data | 0x0178 | 0x0200 | 0.75 | IDATA, READ, WRITE |
| .pdata | 0x0498 | 0x0600 | 3.54 | IDATA, READ |
| .idata | 0x0ADA | 0x0C00 | 4.3 | IDATA, READ |
| PAGE | 0x50E2 | 0x5200 | 6.12 | CODE, EXEC, READ |
| .edata | 0x0033 | 0x0200 | 0.34 | IDATA, READ |
| PAGECONS | 0x0075 | 0x0200 | 1.75 | IDATA, READ |
| INIT | 0x02E2 | 0x0400 | 4.89 | CODE, EXEC, READ, DISCARD |
| GFIDS | 0x0080 | 0x0200 | 1.13 | IDATA, READ, DISCARD |
| .rsrc | 0x0400 | 0x0400 | 3.4 | IDATA, READ, DISCARD |
| .reloc | 0x052C | 0x0600 | 4.95 | IDATA, READ, DISCARD |
| Control Flow Guard | Enabled |
|---|---|
| ASLR | Enabled |
| DEP | Enabled |
| Integrity check | Not enforced |
| Mitigation score | 80 / 100 |
Techniques this driver could enable if loaded by an adversary.
| ID | Technique | Tactic |
|---|---|---|
| T1003.001 | OS Credential Dumping: LSASS Memory | Credential Access |
| T1055.001 | Process Injection: DLL Injection | Defense Evasion |
| T1055.012 | Process Hollowing | Defense Evasion |
| T1068 | Exploitation for Privilege Escalation | Privilege Escalation |
| T1211 | Exploitation for Defense Evasion | Defense Evasion |
| T1489 | Service Stop | Impact |
| T1543.003 | Windows Service | Persistence |
| T1553.002 | Subvert Trust Controls: Code Signing | Defense Evasion |
| T1553.006 | Code Signing Policy Modification | Defense Evasion |
| T1562.001 | Impair Defenses: Disable/Modify Tools | Defense Evasion |
| T1569.002 | System Services: Service Execution | Execution |
| T1652 | Device Driver Discovery | Discovery |
Engine angr, status no_findings, 0 paths explored at a maximum depth of 0. Vulnerability classes reached: 0. Exploitable paths: 0.
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.
afunix.sys has a DriverShield composite risk score of 23/100, placing it in the clean verdict band. SHA256: e2b308278157a7784acec4d2e684469afe505d5e30faf6ff9bb1e825fec5b5ec.
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