Sigma rule: New PortProxy Registry Entry Added
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9624c5059c2f, updated 2024-03-25T00:00:00.000Z.
Rule
- Title
- New PortProxy Registry Entry Added
- Status
- test
- Level
- medium
- Author
- Andreas Hunkeler (@Karneades)
- Date
- 2021-06-22
- Modified
- 2024-03-25
- File
- rules/windows/registry/registry_event/registry_event_portproxy_registry_key.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the modification of the PortProxy registry key which is used for port forwarding.
Log source
- product
- windows
- category
- registry_event
Detection
selection:
# Example: HKLM\System\CurrentControlSet\Services\PortProxy\v4tov4\tcp\0.0.0.0/1337
TargetObject|contains: '\Services\PortProxy\v4tov4\tcp\'
condition: selectionFalse positives (as the rule lists them)
- WSL2 network bridge PowerShell script used for WSL/Kubernetes/Docker (e.g. https://github.com/microsoft/WSL/issues/4150#issuecomment-504209723)
- Synergy Software KVM (https://symless.com/synergy)
Tags
- attack.lateral-movement
- attack.command-and-control
- attack.t1090
MITRE ATT&CK ids this rule names
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/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_event/registry_event_portproxy_registry_key.yml
Sources and licences
SigmaHQ
"New PortProxy Registry Entry Added" by Andreas Hunkeler (@Karneades) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_event/registry_event_portproxy_registry_key.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: New PortProxy Registry Entry Added",
entity page, dataset version ref-9624c5059c2f, updated 2024-03-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a54f842a-3713-4b45-8c84-5f136fdebd3c (accessed 2026-11-03).
Underlying source: SigmaHQ rule a54f842a-3713-4b45-8c84-5f136fdebd3c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.