Detection rules › Sigma

RDP to HTTP or HTTPS Target Ports

Status
test
Severity
high
Log source
category network_connection, product windows
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects svchost hosting RDP termsvcs communicating to target systems on TCP port 80 or 443

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 3: Network connection

Rule body

title: RDP to HTTP or HTTPS Target Ports
id: b1e5da3b-ca8e-4adf-915c-9921f3d85481
status: test
description: Detects svchost hosting RDP termsvcs communicating to target systems on TCP port 80 or 443
references:
    - https://twitter.com/tekdefense/status/1519711183162556416?s=12&t=OTsHCBkQOTNs1k3USz65Zg
    - https://www.mandiant.com/resources/bypassing-network-restrictions-through-rdp-tunneling
author: Florian Roth (Nextron Systems)
date: 2022-04-29
modified: 2022-07-14
tags:
    - attack.command-and-control
    - attack.t1572
    - attack.lateral-movement
    - attack.t1021.001
    - car.2013-07-002
logsource:
    category: network_connection
    product: windows
detection:
    selection:
        Image|endswith: '\svchost.exe'
        Initiated: 'true'
        SourcePort: 3389
        DestinationPort:
            - 80
            - 443
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\svchost.exe'
    Initiated: 'true'
    SourcePort: 3389
    DestinationPort:
        - 80
        - 443

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
DestinationPorteq
  • 443 corpus 5 (sigma 5)
  • 80 corpus 11 (sigma 6, elastic 3, kusto 2)
field:"DestinationPort" kind:eq
Imageends_with
  • \svchost.exe corpus 23 (sigma 22, kusto 1)
field:"Image" kind:ends_with value:"\svchost.exe"
Initiatedeq
  • true corpus 50 (sigma 50)
field:"Initiated" kind:eq value:"true"
SourcePorteq
  • 3389 corpus 3 (sigma 3)
field:"SourcePort" kind:eq value:"3389"