
title: Netsh RDP Port Forwarding
author: Florian Roth, oscd.community
date: 2019/01/29
description: Detects netsh commands that configure a port forwarding of port 3389
  used for RDP
detection:
  SELECTION_1:
    EventID: 1
  SELECTION_2:
    Image: '*\netsh.exe'
  SELECTION_3:
    CommandLine: '*i*'
  SELECTION_4:
    CommandLine: '* p*'
  SELECTION_5:
    CommandLine: '*=3389*'
  SELECTION_6:
    CommandLine: '* c*'
  condition: (SELECTION_1 and SELECTION_2 and SELECTION_3 and SELECTION_4 and SELECTION_5
    and SELECTION_6)
falsepositives:
- Legitimate administration
id: 782d6f3e-4c5d-4b8c-92a3-1d05fed72e63
level: high
logsource:
  category: process_creation
  product: windows
modified: 2020/11/28
references:
- https://www.fireeye.com/blog/threat-research/2019/01/bypassing-network-restrictions-through-rdp-tunneling.html
status: experimental
tags:
- attack.lateral_movement
- attack.defense_evasion
- attack.command_and_control
- attack.t1090
ruletype: SIGMA
