8198f5af-4b40-4800-a22a-4a7cf957ef37

MSqPq.sys :inline :inline

Description

BlackCat Ransomware Deploys New Signed Kernel Driver. BlackCat ransomware incident that occurred in February 2023.

  • UUID: 8198f5af-4b40-4800-a22a-4a7cf957ef37
  • Created: 2023-06-05
  • Author: Guus Verbeek
  • Acknowledgement: |

DownloadBlock

This download link contains the malicious driver!

Commands

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

Detections

YARA 🏹

Expand

Exact Match

with header and size limitation

Threat Hunting

without header and size limitation

Sigma 🛡️

Expand

Names

detects loading using name only

Hashes

detects loading using hashes only

Sysmon 🔎

Expand

Block

on hashes

Alert

on hashes

Resources


  • https://www.trendmicro.com/en_us/research/23/e/blackcat-ransomware-deploys-new-signed-kernel-driver.html

  • Known Vulnerable Samples

    PropertyValue
    FilenameMSqPq.sys
    Creation Timestamp2022-12-21 06:07:48
    MD597539c78d6e2b5356ce79e40bcd4d570
    SHA1f6793243ad20359d8be40d3accac168a15a327fb
    SHA25656066ed07bad3b5c1474e8fae5ee2543d17d7977369b34450bd0775517e3b25c
    Authentihash MD5e66ea646261c73baee310361524fbb7c
    Authentihash SHA112d1ff0396dc1ffe15ad4fcb42319f6d4ee99393
    Authentihash SHA2560527451d72ba02db8479ea69689350cc563b939bb2cc685386719ab32b7e2772
    RichPEHeaderHash MD5b3c2084dcf3f40c0653c0d83ed93d1ec
    RichPEHeaderHash SHA198192b19393d287eeaa3c6cb52aa97723a66d136
    RichPEHeaderHash SHA256783d7f55f46700737aafd36725d14b1c98049d9c0179f13143227d1e285d624b

    Download

    Certificates

    Expand
    Certificate 650869732d03e27a4fd494dc51845887
    FieldValue
    ToBeSigned (TBS) MD525491518fa7930337802391dc6ba0a58
    ToBeSigned (TBS) SHA186d84a70f5ffcab0f069df5a064c21d3ae4f5c9b
    ToBeSigned (TBS) SHA256608df7f76afec05ddbc17edf9194ff9be0c0393a39fafed038e46e8e6fff4424
    SubjectC=CN, ST=Sichuan, L=Pingchang, O=No Organization Affiliation, OU=Digital ID Class 3 , Microsoft Software Validation v2, OU=Individual Developer, CN=YI ZENG
    ValidFrom2013-12-31 00:00:00
    ValidTo2014-12-31 23:59:59
    Signature432c93efbd6e349900bc3e13152ced0c09907fd2517e9206860024b072d5e2e89d7d25f475476620d516b3faef06bc9933aedcd0144475c660c13c8e4bf23fa72fb67120ca241b00b7e2b172ad72514536c5f8760961a77beff475b9485b4d1b61151654c52eb24ae4b5c5f8c891ac3cffede838d7df8f27790c6939961ef0f06df8d2c27843ad2c9724fdf2b6bcacb9376f2e00e8448837f9c865ee243f1fc57bd58e163243a79f7e24dd209526fd699c0ccb42c4427e96fff07dca30b6f374dc777d3b2b076370c543e1d3bdddad307b200ad8b41a00492acf0dade86f47b1f8170a88f15813e920a835f64292432f1ad4744ba387ba592b388a8e6f1dd71f
    SignatureAlgorithmOID1.2.840.113549.1.1.5
    IsCertificateAuthorityFalse
    SerialNumber650869732d03e27a4fd494dc51845887
    Version3
    Certificate 611993e400000000001c
    FieldValue
    ToBeSigned (TBS) MD578a717e082dcc1cda3458d917e677d14
    ToBeSigned (TBS) SHA14a872e0e51f9b304469cd1dedb496ee9b8b983a4
    ToBeSigned (TBS) SHA256317fa1d234ebc49040ebc5e8746f8997471496051b185a91bdd9dfbb23fab5f8
    SubjectC=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=(c) 2006 VeriSign, Inc. , For authorized use only, CN=VeriSign Class 3 Public Primary Certification Authority , G5
    ValidFrom2011-02-22 19:25:17
    ValidTo2021-02-22 19:35:17
    Signature812a82168c34672be503eb347b8ca2a3508af45586f11e8c8eae7dee0319ce72951848ad6211fd20fd3f4706015ae2e06f8c152c4e3c6a506c0b36a3cf7a0d9c42bc5cf819d560e369e6e22341678c6883762b8f93a32ab57fbe59fba9c9b2268fcaa2f3821b983e919527978661ee5b5d076bcd86a8e26580a8e215e2b2be23056aba0cf347934daca48c077939c061123a050d89a3ec9f578984fbecca7c47661491d8b60f195de6b84aacbc47c8714396e63220a5dc7786fd3ce38b71db7b9b03fcb71d3264eb1652a043a3fa2ead59924e7cc7f233424838513a7c38c71b242228401e1a461f17db18f7f027356cb863d9cdb9645d2ba55eefc629b4f2c7f821cc04ba57fd01b6abc667f9e7d3997ff4f522fa72f5fdff3a1c423aa1f98018a5ee8d1cd4669e4501feaaeefffb178f30f7f1cd29c59decb5d549003d85b8cbbb933a276a49c030ae66c9f723283276f9a48356c848ce5a96aaa0cc0cc47fb48e97af6de35427c39f86c0d6e473089705dbd054625e0348c2d59f7fa7668cd09db04fd4d3985f4b7ac97fb22952d01280c70f54b61e67cdc6a06c110384d34875e72afeb03b6e0a3aa66b769905a3f177686133144706fc537f52bd92145c4a246a678caf8d90aad0f679211b93267cc3ce1ebd883892ae45c6196a4950b305f8ae59378a6a250394b1598150e8ba8380b72335f476b9671d5918ad208d94
    SignatureAlgorithmOID1.2.840.113549.1.1.5
    IsCertificateAuthorityTrue
    SerialNumber611993e400000000001c
    Version3
    Certificate 5200e5aa2556fc1a86ed96c9d44b33c7
    FieldValue
    ToBeSigned (TBS) MD5b30c31a572b0409383ed3fbe17e56e81
    ToBeSigned (TBS) SHA14843a82ed3b1f2bfbee9671960e1940c942f688d
    ToBeSigned (TBS) SHA25603cda47a6e654ed85d932714fc09ce4874600eda29ec6628cfbaeb155cab78c9
    SubjectC=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=Terms of use at https://www.verisign.com/rpa (c)10, CN=VeriSign Class 3 Code Signing 2010 CA
    ValidFrom2010-02-08 00:00:00
    ValidTo2020-02-07 23:59:59
    Signature5622e634a4c461cb48b901ad56a8640fd98c91c4bbcc0ce5ad7aa0227fdf47384a2d6cd17f711a7cec70a9b1f04fe40f0c53fa155efe749849248581261c911447b04c638cbba134d4c645e80d85267303d0a98c646ddc7192e645056015595139fc58146bfed4a4ed796b080c4172e737220609be23e93f449a1ee9619dccb1905cfc3dd28dac423d6536d4b43d40288f9b10cf2326cc4b20cb901f5d8c4c34ca3cd8e537d66fa520bd34eb26d9ae0de7c59af7a1b42191336f86e858bb257c740e58fe751b633fce317c9b8f1b969ec55376845b9cad91faaced93ba5dc82153c2825363af120d5087111b3d5452968a2c9c3d921a089a052ec793a54891d3
    SignatureAlgorithmOID1.2.840.113549.1.1.5
    IsCertificateAuthorityTrue
    SerialNumber5200e5aa2556fc1a86ed96c9d44b33c7
    Version3

    Imports

    Expand
    • ntoskrnl.exe
    • HAL.dll

    Imported Functions

    Expand
    • KeInitializeEvent
    • KeInitializeEvent
    • HalReturnToFirmware
    • HalReturnToFirmware
    • HalReturnToFirmware
    • HalReturnToFirmware

    Exported Functions

    Expand

    Sections

    Expand
    • .text
    • .py
    • .idata
    • .reloc

    Signature

    Expand
    {
      "Certificates": [
        {
          "IsCertificateAuthority": false,
          "SerialNumber": "650869732d03e27a4fd494dc51845887",
          "Signature": "432c93efbd6e349900bc3e13152ced0c09907fd2517e9206860024b072d5e2e89d7d25f475476620d516b3faef06bc9933aedcd0144475c660c13c8e4bf23fa72fb67120ca241b00b7e2b172ad72514536c5f8760961a77beff475b9485b4d1b61151654c52eb24ae4b5c5f8c891ac3cffede838d7df8f27790c6939961ef0f06df8d2c27843ad2c9724fdf2b6bcacb9376f2e00e8448837f9c865ee243f1fc57bd58e163243a79f7e24dd209526fd699c0ccb42c4427e96fff07dca30b6f374dc777d3b2b076370c543e1d3bdddad307b200ad8b41a00492acf0dade86f47b1f8170a88f15813e920a835f64292432f1ad4744ba387ba592b388a8e6f1dd71f",
          "SignatureAlgorithmOID": "1.2.840.113549.1.1.5",
          "Subject": "C=CN, ST=Sichuan, L=Pingchang, O=No Organization Affiliation, OU=Digital ID Class 3 , Microsoft Software Validation v2, OU=Individual Developer, CN=YI ZENG",
          "TBS": {
            "MD5": "25491518fa7930337802391dc6ba0a58",
            "SHA1": "86d84a70f5ffcab0f069df5a064c21d3ae4f5c9b",
            "SHA256": "608df7f76afec05ddbc17edf9194ff9be0c0393a39fafed038e46e8e6fff4424",
            "SHA384": "5764c4369b430f60b38834619195fc4f2bb623b947d0f299b372830272bdde9bd61ed4b577685ec5b6bccd57e2536a4c"
          },
          "ValidFrom": "2013-12-31 00:00:00",
          "ValidTo": "2014-12-31 23:59:59",
          "Version": 3
        },
        {
          "IsCertificateAuthority": true,
          "SerialNumber": "611993e400000000001c",
          "Signature": "812a82168c34672be503eb347b8ca2a3508af45586f11e8c8eae7dee0319ce72951848ad6211fd20fd3f4706015ae2e06f8c152c4e3c6a506c0b36a3cf7a0d9c42bc5cf819d560e369e6e22341678c6883762b8f93a32ab57fbe59fba9c9b2268fcaa2f3821b983e919527978661ee5b5d076bcd86a8e26580a8e215e2b2be23056aba0cf347934daca48c077939c061123a050d89a3ec9f578984fbecca7c47661491d8b60f195de6b84aacbc47c8714396e63220a5dc7786fd3ce38b71db7b9b03fcb71d3264eb1652a043a3fa2ead59924e7cc7f233424838513a7c38c71b242228401e1a461f17db18f7f027356cb863d9cdb9645d2ba55eefc629b4f2c7f821cc04ba57fd01b6abc667f9e7d3997ff4f522fa72f5fdff3a1c423aa1f98018a5ee8d1cd4669e4501feaaeefffb178f30f7f1cd29c59decb5d549003d85b8cbbb933a276a49c030ae66c9f723283276f9a48356c848ce5a96aaa0cc0cc47fb48e97af6de35427c39f86c0d6e473089705dbd054625e0348c2d59f7fa7668cd09db04fd4d3985f4b7ac97fb22952d01280c70f54b61e67cdc6a06c110384d34875e72afeb03b6e0a3aa66b769905a3f177686133144706fc537f52bd92145c4a246a678caf8d90aad0f679211b93267cc3ce1ebd883892ae45c6196a4950b305f8ae59378a6a250394b1598150e8ba8380b72335f476b9671d5918ad208d94",
          "SignatureAlgorithmOID": "1.2.840.113549.1.1.5",
          "Subject": "C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=(c) 2006 VeriSign, Inc. , For authorized use only, CN=VeriSign Class 3 Public Primary Certification Authority , G5",
          "TBS": {
            "MD5": "78a717e082dcc1cda3458d917e677d14",
            "SHA1": "4a872e0e51f9b304469cd1dedb496ee9b8b983a4",
            "SHA256": "317fa1d234ebc49040ebc5e8746f8997471496051b185a91bdd9dfbb23fab5f8",
            "SHA384": "b71052da4eb9157c8c1a5d7f55df19d69b9128598b72fcca608e5b7cc7d64c43c5504b9c86355a6dc22ee40c88cc385c"
          },
          "ValidFrom": "2011-02-22 19:25:17",
          "ValidTo": "2021-02-22 19:35:17",
          "Version": 3
        },
        {
          "IsCertificateAuthority": true,
          "SerialNumber": "5200e5aa2556fc1a86ed96c9d44b33c7",
          "Signature": "5622e634a4c461cb48b901ad56a8640fd98c91c4bbcc0ce5ad7aa0227fdf47384a2d6cd17f711a7cec70a9b1f04fe40f0c53fa155efe749849248581261c911447b04c638cbba134d4c645e80d85267303d0a98c646ddc7192e645056015595139fc58146bfed4a4ed796b080c4172e737220609be23e93f449a1ee9619dccb1905cfc3dd28dac423d6536d4b43d40288f9b10cf2326cc4b20cb901f5d8c4c34ca3cd8e537d66fa520bd34eb26d9ae0de7c59af7a1b42191336f86e858bb257c740e58fe751b633fce317c9b8f1b969ec55376845b9cad91faaced93ba5dc82153c2825363af120d5087111b3d5452968a2c9c3d921a089a052ec793a54891d3",
          "SignatureAlgorithmOID": "1.2.840.113549.1.1.5",
          "Subject": "C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=Terms of use at https://www.verisign.com/rpa (c)10, CN=VeriSign Class 3 Code Signing 2010 CA",
          "TBS": {
            "MD5": "b30c31a572b0409383ed3fbe17e56e81",
            "SHA1": "4843a82ed3b1f2bfbee9671960e1940c942f688d",
            "SHA256": "03cda47a6e654ed85d932714fc09ce4874600eda29ec6628cfbaeb155cab78c9",
            "SHA384": "bbda8407c4f9fc4e54d772f1c7fb9d30bc97e1f97ecd51c443063d1fa0644e266328781776cd5c44896c457c75f4d7da"
          },
          "ValidFrom": "2010-02-08 00:00:00",
          "ValidTo": "2020-02-07 23:59:59",
          "Version": 3
        }
      ],
      "CertificatesInfo": "",
      "Signer": [
        {
          "Issuer": "C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=Terms of use at https://www.verisign.com/rpa (c)10, CN=VeriSign Class 3 Code Signing 2010 CA",
          "SerialNumber": "650869732d03e27a4fd494dc51845887",
          "Version": 1
        }
      ],
      "SignerInfo": ""
    }
    

    source

    last_updated: 2024-09-26