{"id":"a54f842a-3713-4b45-8c84-5f136fdebd3c","title":"New PortProxy Registry Entry Added","description":"Detects the modification of the PortProxy registry key which is used for port forwarding.","author":"Andreas Hunkeler (@Karneades)","status":"test","level":"medium","date":"2021-06-22","modified":"2024-03-25","tags":["attack.lateral-movement","attack.command-and-control","attack.t1090"],"technique_ids":["T1090"],"logsource":{"category":"registry_event","product":"windows"},"falsepositives":["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)"],"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/"],"source_path":"rules/windows/registry/registry_event/registry_event_portproxy_registry_key.yml","source_sha256":"77228b12b236e91000c88e131c443d1ee87e6aabb19d6497a2978df1941f2f96","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_event/registry_event_portproxy_registry_key.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: New PortProxy Registry Entry Added\nid: a54f842a-3713-4b45-8c84-5f136fdebd3c\nstatus: test\ndescription: Detects the modification of the PortProxy registry key which is used for port forwarding.\nreferences:\n    - https://www.fireeye.com/blog/threat-research/2019/01/bypassing-network-restrictions-through-rdp-tunneling.html\n    - https://adepts.of0x.cc/netsh-portproxy-code/\n    - https://www.dfirnotes.net/portproxy_detection/\nauthor: Andreas Hunkeler (@Karneades)\ndate: 2021-06-22\nmodified: 2024-03-25\ntags:\n    - attack.lateral-movement\n    - attack.command-and-control\n    - attack.t1090\nlogsource:\n    category: registry_event\n    product: windows\ndetection:\n    selection:\n        # Example: HKLM\\System\\CurrentControlSet\\Services\\PortProxy\\v4tov4\\tcp\\0.0.0.0/1337\n        TargetObject|contains: '\\Services\\PortProxy\\v4tov4\\tcp\\'\n    condition: selection\nfalsepositives:\n    - WSL2 network bridge PowerShell script used for WSL/Kubernetes/Docker (e.g. https://github.com/microsoft/WSL/issues/4150#issuecomment-504209723)\n    - Synergy Software KVM (https://symless.com/synergy)\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1090","id":"T1090","name":"Proxy","page":"techniques/enterprise/T1090/"}],"data_path":"data/detection-rules/a54f842a-3713-4b45-8c84-5f136fdebd3c.json","kind":"sigma"}
