Sigma Rule Library

Possible Exploitation of Exchange RCE CVE-2021-42321

Detects log entries that appear in exploitation attempts against MS Exchange RCE CVE-2021-42321

View on GitHubOpen raw file

Detection logic

selection

EventID:
  - 6
  - 8
Data|contains:
  - "Cmdlet failed. Cmdlet Get-App, "
  - "Task Get-App throwing unhandled exception: System.InvalidCastException:"

Condition

selection

Raw YAML

title: Possible Exploitation of Exchange RCE CVE-2021-42321
id: c92f1896-d1d2-43c3-92d5-7a5b35c217bb
status: test
description: Detects log entries that appear in exploitation attempts against MS Exchange RCE CVE-2021-42321
references:
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-42321
author: 'Florian Roth (Nextron Systems), @testanull'
date: 2021-11-18
modified: 2022-07-12
tags:
    - attack.lateral-movement
    - attack.t1210
    - detection.emerging-threats
logsource:
    product: windows
    service: msexchange-management
    # warning: The 'data' field used in the detection section is the container for the event data as a whole. You may have to adapt the rule for your backend accordingly
detection:
    selection:
        EventID:
            - 6
            - 8
        Data|contains:
            - 'Cmdlet failed. Cmdlet Get-App, '
            - 'Task Get-App throwing unhandled exception: System.InvalidCastException:'
    condition: selection
falsepositives:
    - Unknown, please report false positives via https://github.com/SigmaHQ/sigma/issues
level: high

False positives

  • Unknown, please report false positives via https://github.com/SigmaHQ/sigma/issues

References

Similar rules