Detection rules › Sigma
Potential OWASSRF Exploitation Attempt - Webserver
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
| Tactic | Techniques |
|---|---|
| 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.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
cs-user-agent | eq | ClientInfo | excludes:cs-user-agent field:"cs-user-agent" value:"ClientInfo" |
cs-user-agent | eq | Exchange BackEnd Probes | excludes:cs-user-agent field:"cs-user-agent" value:"Exchange BackEnd Probes" |
cs-user-agent | eq | Microsoft WinRM Client | excludes:cs-user-agent field:"cs-user-agent" value:"Microsoft WinRM Client" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
cs-method | eq |
| field:"cs-method" kind:eq value:"POST" |
cs-uri-query | match |
| field:"cs-uri-query" kind:match |
sc-status | eq |
| field:"sc-status" kind:eq value:"200" |