0e94f1a2-beab-4adb-9687-eb2719a201c9

mst.sys :inline

Description

mst.sys is a vulnerable kernel driver from the KeServiceDescriptorTable/vulnerable-drivers repository. The driver exposes dangerous kernel primitives to usermode.

  • UUID: 0e94f1a2-beab-4adb-9687-eb2719a201c9
  • Created: 2026-04-17
  • Author: Michael Haag
  • Acknowledgement: | [@rainbowdynamix, @DbgPrint](https://twitter.com/@rainbowdynamix, @DbgPrint)

Download

This download link contains the vulnerable driver!

Block mst.sys across your endpoints

Add this driver to your block policy in minutes with MagicSword, threat-driven application control. Free for up to 100 endpoints.

Start Blocking for Free

Commands

sc.exe create mst binPath=C:\windows\temp\mst.sys type=kernel && sc.exe start mst
Use CasePrivilegesOperating System
Elevate privilegeskernelWindows 10

Detections

YARA 🏹

Expand

Exact Match

with header and size limitation

Threat Hunting

without header and size limitation

Renamed

for renamed driver files

Sigma 🛡️

Expand

Names

detects loading using name only

Hashes

detects loading using hashes only

Sysmon 🔎

Expand

Block

on hashes

Alert

on hashes

Resources


  • https://github.com/magicsword-io/LOLDrivers/issues/325
  • https://github.com/KeServiceDescriptorTable/vulnerable-drivers

  • Known Vulnerable Samples

    PropertyValue
    Filenamemst.sys
    Creation Timestamp2022-04-13 11:02:45
    MD584c230b35f5c8e2a075362277c513a94
    SHA1001136fe2a17280190a7adcf95586ebcffa4aac2
    SHA256bf8d3377fc0834828afcc94165172333b2e1b58fb37d45be91a07d8d2e54d431
    Authentihash MD53c15644a60cc2fd398a514bb60995226
    Authentihash SHA12eb67b65e70b3de842b0c6b487a83481cbe5624d
    Authentihash SHA2561822e496ba402b26d4a736d4626334752d0be76b4a68cc2e799e7a9db4a69515
    RichPEHeaderHash MD59ea853a51ad34f4ef7136cb25a6a4cf9
    RichPEHeaderHash SHA174d84cab66e4a2a45496e7dc335bc0495077138e
    RichPEHeaderHash SHA25629f7c6e8c9e2f82a41dc24d9b91bc6ddf207a25ae0b371d9a854cbddb4319d80
    CompanyMellanox Technologies Ltd.
    DescriptionMST Driver
    ProductMST (Mellanox Support Tools)
    OriginalFilenamemst.sys

    Download

    Certificates

    Expand
    Certificate 886b354fcf261fa6471bb123f32cde0c
    FieldValue
    ToBeSigned (TBS) MD55e5b9537780aa13d3fb2d14d1b8bfef8
    ToBeSigned (TBS) SHA1ed748386784a1509dbfa0fde91dd186ba78eb477
    ToBeSigned (TBS) SHA2565370eb20751c80998024d1bbb4fc8778f95b15a7ac81718144037f7194b4498c
    SubjectCN=MellanoxCert(Test)
    ValidFrom2019-01-24 09:37:26
    ValidTo2039-12-31 23:59:59
    Signature0f41790d8339f582a943b24e9a1678a5890109ef2bf2cb2f8b89de3bfa80bba2ccc0149dd1f7742daf21e26d5ef0bcdc192a3360d8bd247c13e989fc25521c4bc947afc1db188dcff931e702718a6fb84e5a5dd0bda7c57eec5270fe2b92375ab364e23bf0f289066fe1c29a45cdd6600bdf567cfbebec184f60f5a1434716e1c36444eca03520cbd4fd0111f8932e96f5a36b8fb6ea71aa64c633f112a70b659c0108c4750e707e4daa9f7a2c989cf81f1ac80219bdead4d7ee12e7b5188826e3d2e96f20899f7c0e41541a9d080bec054758019956033ee4201925aef3a81cae321f7e3754535b6191c328f3fa6b6da24e347011a13577a6281e2e070bcb33
    SignatureAlgorithmOID1.2.840.113549.1.1.11
    IsCertificateAuthorityTrue
    SerialNumber886b354fcf261fa6471bb123f32cde0c
    Version3

    Imports

    Expand
    • ntoskrnl.exe
    • HAL.dll

    Imported Functions

    Expand
    • KeWaitForSingleObject
    • ExAllocatePoolWithTag
    • ExFreePoolWithTag
    • MmBuildMdlForNonPagedPool
    • MmMapLockedPagesSpecifyCache
    • MmUnmapLockedPages
    • MmUnmapIoSpace
    • IoAllocateMdl
    • IofCompleteRequest
    • IoCreateSymbolicLink
    • IoDeleteDevice
    • IoDeleteSymbolicLink
    • IoFreeMdl
    • MmGetPhysicalAddress
    • MmGetVirtualForPhysical
    • __C_specific_handler
    • KeReleaseMutex
    • MmMapIoSpace
    • RtlQueryRegistryValues
    • DbgPrintEx
    • RtlTimeToTimeFields
    • KeGetCurrentProcessorNumberEx
    • ExSystemTimeToLocalTime
    • ZwWriteFile
    • ZwClose
    • PsGetCurrentProcessId
    • PsGetCurrentThreadId
    • sprintf_s
    • _vsnprintf
    • KeBugCheckEx
    • KeInitializeMutex
    • DbgPrint
    • KeDelayExecutionThread
    • RtlInitUnicodeString
    • MmGetSystemRoutineAddress
    • ZwSetSecurityObject
    • IoDeviceObjectType
    • IoCreateDevice
    • ObOpenObjectByPointer
    • RtlGetDaclSecurityDescriptor
    • RtlGetGroupSecurityDescriptor
    • RtlGetOwnerSecurityDescriptor
    • RtlGetSaclSecurityDescriptor
    • SeCaptureSecurityDescriptor
    • _snwprintf
    • RtlLengthSecurityDescriptor
    • SeExports
    • RtlCreateSecurityDescriptor
    • _wcsnicmp
    • wcschr
    • RtlAbsoluteToSelfRelativeSD
    • RtlAddAccessAllowedAce
    • RtlLengthSid
    • IoIsWdmVersionAvailable
    • RtlSetDaclSecurityDescriptor
    • ZwOpenKey
    • ZwSetValueKey
    • ZwQueryValueKey
    • ZwCreateKey
    • RtlFreeUnicodeString
    • ExAllocatePoolWithQuotaTag
    • ZwQuerySystemInformation
    • HalGetBusDataByOffset
    • HalSetBusDataByOffset
    • KeQueryPerformanceCounter

    Exported Functions

    Expand

    Sections

    Expand
    • .text
    • .rdata
    • .data
    • .pdata
    • PAGE
    • INIT
    • .rsrc
    • .reloc

    Signature

    Expand
    {
      "Certificates": [
        {
          "CertificateType": "Leaf (Code Signing)",
          "IsCA": false,
          "IsCertificateAuthority": true,
          "IsCodeSigning": true,
          "SerialNumber": "886b354fcf261fa6471bb123f32cde0c",
          "Signature": "0f41790d8339f582a943b24e9a1678a5890109ef2bf2cb2f8b89de3bfa80bba2ccc0149dd1f7742daf21e26d5ef0bcdc192a3360d8bd247c13e989fc25521c4bc947afc1db188dcff931e702718a6fb84e5a5dd0bda7c57eec5270fe2b92375ab364e23bf0f289066fe1c29a45cdd6600bdf567cfbebec184f60f5a1434716e1c36444eca03520cbd4fd0111f8932e96f5a36b8fb6ea71aa64c633f112a70b659c0108c4750e707e4daa9f7a2c989cf81f1ac80219bdead4d7ee12e7b5188826e3d2e96f20899f7c0e41541a9d080bec054758019956033ee4201925aef3a81cae321f7e3754535b6191c328f3fa6b6da24e347011a13577a6281e2e070bcb33",
          "SignatureAlgorithmOID": "1.2.840.113549.1.1.11",
          "Subject": "CN=MellanoxCert(Test)",
          "TBS": {
            "MD5": "5e5b9537780aa13d3fb2d14d1b8bfef8",
            "SHA1": "ed748386784a1509dbfa0fde91dd186ba78eb477",
            "SHA256": "5370eb20751c80998024d1bbb4fc8778f95b15a7ac81718144037f7194b4498c",
            "SHA384": "57b2168c2326b65d79a067f33616801823c8a10966aabeca523a3ef7d351eb3593f2c0bc48799143aa3ca464ead7dd34"
          },
          "ValidFrom": "2019-01-24 09:37:26",
          "ValidTo": "2039-12-31 23:59:59",
          "Version": 3
        }
      ],
      "CertificatesInfo": "",
      "Signer": [
        {
          "Issuer": "CN=MellanoxCert(Test)",
          "SerialNumber": "886b354fcf261fa6471bb123f32cde0c",
          "Version": 1
        }
      ],
      "SignerInfo": ""
    }
    

    source

    last_updated: 2026-04-20