Detection rules › Sigma

Potential OWASSRF Exploitation Attempt - Webserver

Status
test
Severity
high
Log source
category webserver
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects exploitation attempt of the OWASSRF variant targeting exchange servers It uses the OWA endpoint to access the powershell backend endpoint

Known false positives

  • Web vulnerability scanners

MITRE ATT&CK coverage

TacticTechniques
Initial Access

Rule body

title: Potential OWASSRF Exploitation Attempt - Webserver
id: 181f49fa-0b21-4665-a98c-a57025ebb8c7
status: test
description: Detects exploitation attempt of the OWASSRF variant targeting exchange servers It uses the OWA endpoint to access the powershell backend endpoint
references:
    - https://www.crowdstrike.com/blog/owassrf-exploit-analysis-and-recommendations/
    - https://www.rapid7.com/blog/post/2022/12/21/cve-2022-41080-cve-2022-41082-rapid7-observed-exploitation-of-owassrf-in-exchange-for-rce/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-12-22
modified: 2023-01-02
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-method: 'POST'
        sc-status: 200
        cs-uri-query|contains|all:
            - '/owa/'
            - '/powershell'
        cs-uri-query|contains:
            - '@'
            - '%40'
    filter_main_ua:
        cs-user-agent:
            - 'ClientInfo'
            - 'Microsoft WinRM Client'
            - 'Exchange BackEnd Probes'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Web vulnerability scanners
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    cs-method: 'POST'
    sc-status: 200
    cs-uri-query|contains|all:
        - '/owa/'
        - '/powershell'
    cs-uri-query|contains:
        - '@'
        - '%40'

Stage 2: not filter_main_ua

filter_main_ua:
    cs-user-agent:
        - 'ClientInfo'
        - 'Microsoft WinRM Client'
        - 'Exchange BackEnd Probes'

Exclusions

The rule actively suppresses these predicates.

Indicators

These rows show field, operator, and value matches.