Techniques › T1090 › T1090.001
T1090.001 Internal Proxy
command and control — ESXi, Linux, macOS, Network Devices, Windows · attack.mitre.org · JSON
1
MITRE detection strategy
5
analytics
6
Sigma rules tagged attack.t1090.001
1
KEV CVEs mapped here
<p>Adversaries may use an internal proxy to direct command and control traffic between two or more systems in a compromised environment. Many tools exist that enable traffic redirection through proxies or port redirection, including HTRAN, ZXProxy, and ZXPortMap. Adversaries use internal proxies to manage command and control communications inside a compromised environment, to reduce the number of simultaneous outbound network connections, to provide resiliency in the face of connection loss, or to ride over existing trusted communications paths between infected systems to avoid suspicion. Internal proxy connections may use common peer-to-peer (p2p) networking protocols, such as SMB, to better blend in with the environment.</p><p>By using a compromised internal system as a proxy, adversaries may conceal the true destination of C2 traffic while reducing the need for numerous connections to external systems.</p>
KEV CVEs mapped to this technique · CTID Mappings Explorer
| CVE | Vendor / product | Mapping type | State | Added |
|---|---|---|---|---|
| CVE-2021-22017 | VMware vCenter Server | primary impact | Mapped | 2022-01-10 |
Detection strategy · ATT&CK Enterprise v19.2
- DET0075 Internal Proxy Behavior via Lateral Host-to-Host C2 Relay v1.0
AN0204 WindowsAnomalous process (e.g.,
rundll32,svchost,cmd) initiates connections to internal peer hosts not seen in typical communication baselines, used to proxy or forward traffic internally, often using SMB, RPC, or high ports.Tunable:InternalConnectionPatternDestinationPortTimeWindowAN0205 Linuxsocat,ssh,iptables, orncatinvoked from user space or cron jobs to create port forwarding, reverse shells, or inter-host tunnels between compromised Linux systems. Behavior is typically paired with socket activity and high entropy traffic.Tunable:UserContextPortRangeProcessPatternAN0206 macOSExecution of AppleScript or Automator services launchingssh -L,socat, orlaunchctlitems that dynamically reroute traffic from one Mac endpoint to another. LaunchAgents used to establish permanent internal tunnels.Tunable:LaunchAgentPathPortBindingsAppleScriptUsageAN0207 ESXiESXi shell execution of tools/scripts (nc,socat,perl) relaying network traffic to other internal hosts, especially when initiated by unauthorized users or VMs.Tunable:CLICommandPatternVMInitiatorConnectionDirectionalityAN0208 Network DevicesConfiguration of internal NAT or proxy rules that redirect traffic between client segments internally (e.g., site-to-site port forwarding). Often used to relay internal beaconing or move traffic laterally through trust zones.Tunable:ProxyTargetConfigChangeUserFlowThreshold
Sigma rules · SigmaHQ da9bb07d64, tag attack.t1090.001
Author: Sajid Nawaz Khan
· 2023-12-20 · logsource: product=windows category=process_creation · 222129f7-f4dc-4568-b0d2-22440a9639ba
Detects creation of an ad-hoc Cloudflare Quick Tunnel, which can be used to tunnel local services such as HTTP, RDP, SSH and SMB.
The free TryCloudflare Quick Tunnel will generate a random subdomain on trycloudflare[.]com, following a call to api[.]trycloudflare[.]com.
The tool has been observed in use by threat groups including Akira ransomware.
Author: Samir Bousseaden
· 2019-02-16 (modified 2022-09-02) · logsource: product=windows service=security · 5bed80b6-b3e8-428e-a3ae-d3c757589e41
Detects svchost hosting RDP termsvcs communicating with the loopback address
Author: Florian Roth (Nextron Systems)
· 2022-09-13 (modified 2023-02-13) · logsource: product=windows category=process_creation · 8b0e12da-d3c3-49db-bb4f-256703f380e5
Detects usage of the Chisel tunneling tool via the commandline arguments
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-09-05 (modified 2023-02-13) · logsource: product=windows category=process_creation · cf93e05e-d798-4d9e-b522-b0248dc61eaf
Detects usage of the Sharp Chisel via the commandline arguments
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-12-20 · logsource: product=windows category=process_creation · e0c69ebd-b54f-4aed-8ae3-e3467843f3f0
Detects the execution of a renamed "cloudflared" binary.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-12-20 · logsource: product=windows category=process_creation · fadb84f0-4e84-4f6d-a1ce-9ef2bffb6ccd
Detects the execution of the "cloudflared" binary from a non standard location.
Rules tagged at the parent level (attack.t1090) 22
These target the parent technique, not this sub-technique specifically. Listed for completeness, not counted as coverage.
Author: Florian Roth (Nextron Systems)
· 2022-11-03 · logsource: product=linux category=network_connection · 19bf6fdb-7721-4f3d-867f-53467f6a5db6
Detects an executable accessing an ngrok tunneling endpoint, which could be a sign of forbidden exfiltration of data exfiltration by malicious actors
Author: Florian Roth (Nextron Systems)
· 2022-11-03 (modified 2024-02-02) · logsource: product=windows category=network_connection · 1d08ac94-400d-4469-a82f-daee9a908849
Detects an executable initiating a network connection to "ngrok" tunneling domains.
Attackers were seen using this "ngrok" in order to store their second stage payloads and malware.
While communication with such domains can be legitimate, often times is a sign of either data exfiltration by malicious actors or additional download.
Author: Florian Roth (Nextron Systems), omkar72, oscd.community, Swachchhanda Shrawan Poudel
· 2019-01-29 (modified 2023-09-01) · logsource: product=windows category=process_creation · 322ed9ec-fcab-4f67-9a34-e7c6aef43614
Detects the execution of netsh commands that configure a new port forwarding (PortProxy) rule
Author: frack113, Florian Roth
· 2022-09-02 (modified 2024-11-23) · logsource: product=windows category=process_creation · 32410e29-5f94-4568-b6a3-d91a8adad863
Detects the use of Fast Reverse Proxy. frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet.
Author: Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo'
· 2023-09-07 · logsource: product=azure service=riskdetection · 36440e1c-5c22-467a-889b-593e66498472
Indicates sign-in from a malicious IP address known to be malicious at time of sign-in.
Author: Andreas Braathen (mnemonic.io)
· 2024-06-17 · logsource: product=windows category=network_connection · 3ab65069-d82a-4d44-a759-466661a082d1
Detects an executable initiating a network connection to "LocaltoNet" tunneling sub-domains.
LocaltoNet is a reverse proxy that enables localhost services to be exposed to the Internet.
Attackers have been seen to use this service for command-and-control activities to bypass MFA and perimeter controls.
Author: Security Onion Solutions
· 2024-03-08 · logsource: product=opencanary category=application · 5498fc09-adc6-4804-b9d9-5cca1f0b8760
Detects instances where an HTTPPROXY service on an OpenCanary node has had an attempt to proxy another page.
Author: Muhammad Faisal (@faisalusuf), Hunter Juhan (@threatHNTR)
· 2024-06-03 · logsource: product=windows category=process_creation · 5fc297ae-25b6-488a-8f25-cc12ac29b744
Detects potentially suspicious execution of the Qemu utility in a Windows environment.
Threat actors have leveraged this utility and this technique for achieving network access as reported by Kaspersky.
Author: Florian Roth (Nextron Systems)
· 2022-04-29 · logsource: product=windows service=terminalservices-localsessionmanager · 64d51a51-32a6-49f0-9f3d-17e34d640272
Detects cases in which ngrok, a reverse proxy tool, forwards events to the local RDP port, which could be a sign of malicious behaviour
Author: Florian Roth (Nextron Systems)
· 2022-10-08 (modified 2024-11-23) · logsource: product=windows category=process_creation · 68d37776-61db-42f5-bf54-27e87072d17e
Detects the use of NPS, a port forwarding and intranet penetration proxy server
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-05-17 (modified 2023-12-21) · logsource: product=windows category=process_creation · 7050bba1-1aed-454e-8f73-3f46f09ce56a
Detects execution of the "cloudflared" tool with the tunnel "cleanup" flag in order to cleanup tunnel connections.
Author: Ömer Günal
· 2020-06-17 (modified 2022-10-05) · logsource: product=linux category=process_creation · 72f4ab3f-787d-495d-a55d-68c2ff46cf4c
Detects setting proxy configuration
Author: Florian Roth (Nextron Systems), oscd.community
· 2019-01-29 (modified 2023-02-13) · logsource: product=windows category=process_creation · 782d6f3e-4c5d-4b8c-92a3-1d05fed72e63
Detects the execution of netsh to configure a port forwarding of port 3389 (RDP) rule
Author: Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo'
· 2023-09-03 · logsource: product=azure service=riskdetection · 821b4dc3-1295-41e7-b157-39ab212dd6bd
Indicates sign-ins from IP addresses infected with malware that is known to actively communicate with a bot server.
Author: Janantha Marasinghe, Nasreddine Bencherchali (Nextron Systems)
· 2023-05-17 (modified 2023-12-20) · logsource: product=windows category=process_creation · 9a019ffc-3580-4c9d-8d87-079f7e8d3fd4
Detects execution of the "cloudflared" tool to connect back to a tunnel. This was seen used by threat actors to maintain persistence and remote access to compromised networks.
Author: Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo'
· 2023-09-07 · logsource: product=azure service=riskdetection · a3f55ebd-0c01-4ed6-adc0-8fb76d8cd3cd
Indicates sign-in from a malicious IP address based on high failure rates.
Author: Andreas Hunkeler (@Karneades)
· 2021-06-22 (modified 2024-03-25) · logsource: product=windows category=registry_event · a54f842a-3713-4b45-8c84-5f136fdebd3c
Detects the modification of the PortProxy registry key which is used for port forwarding.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-07-08 · logsource: product=windows category=ps_script · bd33d2aa-497e-4651-9893-5c5364646595
Detects powershell scripts that creates sockets/listeners which could be indicative of tunneling activity
Author: Andreas Braathen (mnemonic.io)
· 2024-06-17 · logsource: product=linux category=network_connection · c4568f5d-131f-4e78-83d4-45b2da0ec4f1
Detects an executable initiating a network connection to "LocaltoNet" tunneling sub-domains.
LocaltoNet is a reverse proxy that enables localhost services to be exposed to the Internet.
Attackers have been seen to use this service for command-and-control activities to bypass MFA and perimeter controls.
Author: Florian Roth (Nextron Systems)
· 2022-10-08 (modified 2024-11-23) · logsource: product=windows category=process_creation · d7654f02-e04b-4934-9838-65c46f187ebc
Detects the use of IOX - a tool for port forwarding and intranet proxy purposes
Author: Arda Buyukkaya (EclecticIQ)
· 2025-02-11 · logsource: product=windows category=process_creation · e99375eb-3ee0-407a-9f90-79569cc6a01c
Detects the execution of the "curl.exe" command, referencing "SOCKS" and ".onion" domains, which could be indicative of Kalambur backdoor activity.
Author: Florian Roth (Nextron Systems)
· 2022-12-27 (modified 2023-02-04) · logsource: product=windows category=process_creation · f5e3b62f-e577-4e59-931e-0a15b2b94e1e
Detects executable names or flags used by Htran or Htran-like tools (e.g. NATBypass)