Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rule: add port proxy registry rule and further references #1569

Merged
merged 2 commits into from
Jun 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions rules/windows/process_creation/win_netsh_port_fwd.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
title: Netsh Port Forwarding
id: 322ed9ec-fcab-4f67-9a34-e7c6aef43614
description: Detects netsh commands that configure a port forwarding
description: Detects netsh commands that configure a port forwarding (PortProxy)
references:
- https://www.fireeye.com/blog/threat-research/2019/01/bypassing-network-restrictions-through-rdp-tunneling.html
- https://adepts.of0x.cc/netsh-portproxy-code/
- https://www.dfirnotes.net/portproxy_detection/
date: 2019/01/29
modified: 2021/01/06
modified: 2021/06/22
tags:
- attack.lateral_movement
- attack.defense_evasion
Expand Down
25 changes: 25 additions & 0 deletions rules/windows/registry_event/win_portproxy_registry_key.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
title: PortProxy Registry Key
id: a54f842a-3713-4b45-8c84-5f136fdebd3c
status: experimental
description: Detects the modification of PortProxy registry key which is used for port forwarding. For command execution see rule win_netsh_port_fwd.yml.
references:
- https://www.fireeye.com/blog/threat-research/2019/01/bypassing-network-restrictions-through-rdp-tunneling.html
- https://adepts.of0x.cc/netsh-portproxy-code/
- https://www.dfirnotes.net/portproxy_detection/
date: 2021/06/22
tags:
- attack.lateral_movement
- attack.defense_evasion
- attack.command_and_control
- attack.t1090
author: Andreas Hunkeler (@Karneades)
logsource:
category: registry_event
product: windows
detection:
selection_registry:
TargetObject: 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PortProxy\v4tov4\tcp'
condition: selection_registry
falsepositives:
- Unlikely
level: medium