Possible Exploitation of Exchange RCE CVE-2021-42321


Description

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

Query · sigma

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

Known false positives

  • Unknown, please report false positives via https://github.com/SigmaHQ/sigma/issues
Raw source Possible Exploitation of Exchange RCE CVE-2021-42321 · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
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

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.