Known false positives
- Remote administration of registry values
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Discovery | No specific technique |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| RPCFW | Event ID 3: An RPC server function was called. |
Rule body
title: Remote Registry Recon
id: d8ffe17e-04be-4886-beb9-c1dd1944b9a8
status: test
description: Detects remote RPC calls to collect information
references:
- https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rrp/0fa3191d-bb79-490a-81bd-54c2601b7a78
- https://github.com/jsecurity101/MSRPC-to-ATTACK/blob/ddd4608fe8684fcf2fcf9b48c5f0b3c28097f8a3/documents/MS-RRP.md
- https://github.com/zeronetworks/rpcfirewall
- https://zeronetworks.com/blog/stopping-lateral-movement-via-the-rpc-firewall/
author: Sagie Dulce, Dekel Paz
date: 2022-01-01
tags:
- attack.discovery
logsource:
product: rpc_firewall
category: application
definition: 'Requirements: install and apply the RPC Firewall to all processes with "audit:true action:block uuid:338cd001-2244-31f1-aaaa-900038001003"'
detection:
selection:
EventLog: RPCFW
EventID: 3
InterfaceUuid: 338cd001-2244-31f1-aaaa-900038001003
filter:
OpNum:
- 6
- 7
- 8
- 13
- 18
- 19
- 21
- 22
- 23
- 35
condition: selection and not filter
falsepositives:
- Remote administration of registry values
level: high
Stages and Predicates
Stage 0: condition
selection and not filterStage 1: selection
selection:
EventLog: RPCFW
EventID: 3
InterfaceUuid: 338cd001-2244-31f1-aaaa-900038001003
Stage 2: not filter
filter:
OpNum:
- 6
- 7
- 8
- 13
- 18
- 19
- 21
- 22
- 23
- 35
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
OpNum | eq | 13 | excludes:OpNum field:"OpNum" value:"13" |
OpNum | eq | 18 | excludes:OpNum field:"OpNum" value:"18" |
OpNum | eq | 19 | excludes:OpNum field:"OpNum" value:"19" |
OpNum | eq | 21 | excludes:OpNum field:"OpNum" value:"21" |
OpNum | eq | 22 | excludes:OpNum field:"OpNum" value:"22" |
OpNum | eq | 23 | excludes:OpNum field:"OpNum" value:"23" |
OpNum | eq | 35 | excludes:OpNum field:"OpNum" value:"35" |
OpNum | eq | 6 | excludes:OpNum field:"OpNum" value:"6" |
OpNum | eq | 7 | excludes:OpNum field:"OpNum" value:"7" |
OpNum | eq | 8 | excludes:OpNum field:"OpNum" value:"8" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
EventLog | eq |
| field:"EventLog" kind:eq value:"RPCFW" |
InterfaceUuid | eq |
| field:"InterfaceUuid" kind:eq value:"338cd001-2244-31f1-aaaa-900038001003" |