Suspicious Cabinet File Execution Through Msdt.EXE (via process_creation)

This rule detects execution of msdt.exe using the "cab" flag which could suggests anomalous diagcab files with embedded answer files abusing CVE-2022-30190

SigmamediumWindowsv1
sigma
title: Suspicious Cabinet File Execution Through Msdt.EXE (via process_creation)
id: b3fb6e8e-17e1-5818-9620-48e1a4f4dcb9
status: stable
description: This rule detects execution of msdt.exe using the "cab" flag which could suggests anomalous diagcab files with embedded answer files abusing CVE-2022-30190
references:
    - https://attack.mitre.org/techniques/T1202/
    - https://twitter.com/nas_bench/status/1537896324837781506
    - https://github.com/GossiTheDog/ThreatHunting/blob/e85884abbf05d5b41efc809ea6532b10b45bd05c/AdvancedHuntingQueries/DogWalk-DiagCab
    - https://github.com/elastic/protections-artifacts/commit/746086721fd385d9f5c6647cada1788db4aea95f#diff-9015912909545e72ed42cbac4d1e96295e8964579c406d23fd9c47a8091576a0
    - https://irsl.medium.com/the-trouble-with-microsofts-troubleshooters-6e32fc80b8bd
author: Huntrule Team
date: 2026-07-15
tags:
    - attack.stealth
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\msdt.exe'
        - OriginalFileName: 'msdt.exe'
    selection_cmd:
        CommandLine|contains|windash: ' -cab '
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.