Live Active security incident? Get immediate response
MITRE ATT&CK® Tool

S0508: ngrok

ngrok is a legitimate reverse proxy tool that can create a secure tunnel to servers located behind firewalls or on local machines that do not have a public IP. ngrok has been leveraged by threat actors in several campaigns including use for lateral movement and data exfiltration.[1][2][3][4]

EnterpriseS0508ToolObject v1.4 Modified
Glexia's Take

Analyst context for executives and security teams

Analyst confidence High

ngrok is legitimate software, but in ATT&CK it matters because a reverse proxy tunnel can give an attacker a path into or out of a Windows environment without needing an exposed public service. For leaders, the practical question is not whether ngrok is “bad,” but whether the organization can distinguish approved tunneling from unauthorized use that could support command-and-control, lateral movement, or data exfiltration.

Executive priority

Treat ngrok as an egress-control and incident-response readiness issue. Business risk comes from trusted-looking web traffic and encrypted tunnels bypassing assumptions about firewall protection, especially on servers or endpoints where tunneling tools have no business purpose. The ATT&CK relationship to SharePoint ToolShell Exploitation also makes this relevant to vulnerability response: patching exposed applications is necessary, but teams should also verify whether post-exploitation tunneling would be visible and containable.

Technical view

ATT&CK lists ngrok as a Windows tool with relationships to Proxy, Web Service, Exfiltration Over Web Service, Domain Generation Algorithms, and Protocol Tunneling. Because no official detection is provided, SOC and IR teams should validate coverage through local evidence: process execution for ngrok or renamed binaries, command-line and configuration artifacts, outbound tunnel establishment, DNS/proxy activity to external web services, and long-lived encrypted connections from systems that should not initiate tunnels. Investigation context should include whether the host has an approved administrative or development use case for ngrok.

Likely telemetry

  • Windows process creation and command-line logging
  • Endpoint file and binary execution evidence
  • Parent-child process relationships on Windows hosts
  • DNS query logs
  • Web proxy and secure web gateway logs

Detection direction

  • Build an allowlist of approved ngrok use cases, owners, hosts, and time windows; treat everything else as reviewable.
  • Hunt for ngrok execution, renamed copies, suspicious working directories, or unexpected child processes launching network tunnels.
  • Correlate process telemetry with outbound DNS/proxy/firewall events instead of relying on network indicators alone.
  • Prioritize alerts when tunneling behavior originates from servers, privileged workstations, or recently exploited/vulnerable internet-facing systems.
  • Tune for false positives from developers, support teams, and administrators who may legitimately use reverse tunnels.

Mitigation priorities

  • Define policy for approved reverse proxy and tunneling tools, including ownership and business justification.
  • Restrict unauthorized tunneling utilities through application control or endpoint policy where feasible.
  • Enforce outbound egress controls so sensitive servers cannot freely initiate external tunnels.
  • Use proxy/firewall logging and DNS visibility to create audit evidence for web-service and tunnel monitoring.
  • Include tunneling checks in incident response playbooks for suspected compromise and in vulnerability response for exposed services.
Analyst notes and limits

The object is a legitimate tool, so detection value depends heavily on business context. ATT&CK relationships show use by multiple groups and one campaign, but that should be used for prioritization and threat-informed hunting, not as proof of local exposure or current activity. The revoked S9000 Ngrok entry has been consolidated into this object.

MITRE provides no official detection text for this object, no ATT&CK tactics directly on the tool object, and only Windows as the listed platform for ngrok here. Local inventories, approved software lists, proxy visibility, and endpoint logging are required to determine whether use is legitimate or suspicious.

Official MITRE ATT&CK definition

ngrok

ngrok is a legitimate reverse proxy tool that can create a secure tunnel to servers located behind firewalls or on local machines that do not have a public IP. ngrok has been leveraged by threat actors in several campaigns including use for lateral movement and data exfiltration.[1][2][3][4]

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Techniques used

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

5 rows
Domain ID Name Relationship / procedure
Enterprise T1090 Proxy

ngrok can be used to proxy connections to machines located behind NAT or firewalls.CitationMalwareBytes Ngrok February 2020CitationZdnet Ngrok September 2018

Enterprise T1567 Exfiltration Over Web Service

ngrok has been used by threat actors to configure servers for data exfiltration.CitationMalwareBytes Ngrok February 2020

Enterprise T1568.002 Domain Generation Algorithms Sub-technique

ngrok can provide DGA for C2 servers through the use of random URL strings that change every 12 hours.CitationZdnet Ngrok September 2018

Enterprise T1102 Web Service

ngrok has been used by threat actors to proxy C2 connections to ngrok service subdomains.CitationZdnet Ngrok September 2018

Enterprise T1572 Protocol Tunneling

ngrok can tunnel RDP and other services securely over internet connections.CitationFireEye Maze May 2020CitationCyware Ngrok May 2019CitationMalwareBytes Ngrok February 2020CitationTrend Micro Ngrok September 2020

Associated objects

Groups, software, and campaigns

Group Enterprise

G0049: OilRig

OilRig is a suspected Iranian threat group that has targeted Middle Eastern and international victims since at least 2014. The group has targeted a variety of sectors, including financial, government, energy, chemical, and telecommunications. It appears the group carries out supply chain attacks, leveraging the trust relationship between organizations to attack their primary targets. The group works on behalf of the Iranian government based on infrastructure details that contain references to Iran, use of Iranian infrastructure, and targeting that aligns with nation-state interests.[1][2][3][4][5][6][7]

Group Enterprise

G1003: Ember Bear

Ember Bear is a Russian state-sponsored cyber espionage group that has been active since at least 2020, linked to Russia's General Staff Main Intelligence Directorate (GRU) 161st Specialist Training Center (Unit 29155).[1] Ember Bear has primarily focused operations against Ukrainian government and telecommunication entities, but has also operated against critical infrastructure entities in Europe and the Americas.[2] Ember Bear conducted the WhisperGate destructive wiper attacks against Ukraine in early 2022.[3][4][1] There is some confusion as to whether Ember Bear overlaps with another Russian-linked entity referred to as Saint Bear. At present available evidence strongly suggests these are distinct activities with different behavioral profiles.[2][5]

Group Enterprise

G1015: Scattered Spider

Scattered Spider is a native English-speaking cybercriminal group active since at least 2022. [1] [2] The group initially targeted customer relationship management (CRM) providers, business process outsourcing (BPO) firms, and telecommunications and technology companies before expanding in 2023 to gaming, hospitality, retail, managed service provider (MSP), manufacturing, and financial sectors. [2] Scattered Spider relies heavily on social engineering, including impersonating IT and help-desk staff, to gain initial access, bypass multi-factor authentication (MFA), and compromise enterprise networks. The group has adapted its tooling to evade endpoint detection and response (EDR) defenses and used ransomware for financial gain. [3] [4] [5] Scattered Spider had expanded into hybrid cloud and identity environments, using help-desk impersonation and MFA bypass to obtain administrator access in Okta, AWS, and Office 365. [6]

Group Enterprise

G0117: Fox Kitten

Fox Kitten is threat actor with a suspected nexus to the Iranian government that has been active since at least 2017 against entities in the Middle East, North Africa, Europe, Australia, and North America. Fox Kitten has targeted multiple industrial verticals including oil and gas, technology, government, defense, healthcare, manufacturing, and engineering.[1][2][3][4]

Malware Enterprise

S9000: Ngrok

Official MITRE ATT&CK object mirrored from source data.

Windows Revoked/deprecated
Campaign Enterprise

C0058: SharePoint ToolShell Exploitation

The SharePoint ToolShell Exploitation campaign was conducted in July 2025 and encompassed the first waves of exploitation against incompletely patched spoofing (CVE-2025-49706) and remote code execution (CVE-2025-49704) vulnerabilities affecting on-premises Microsoft SharePoint servers. Later patched and updated as CVE-2025-53770 and CVE-2025-53771, the ToolShell vulnerabilities were widely exploited including by China-based ransomware actor Storm-2603 and espionage actors Threat Group-3390 and ZIRCONIUM. SharePoint ToolShell Exploitation targeted multiple regions and industries including finance, education, energy, and healthcare across Asia, Europe, and the United States.[1][2][3][4][5]

Relationship explorer

All related ATT&CK context

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates .

ATT&CK release
19.1
Object version
1.4
Created
Modified
Raw hash
4e66f5e0de5189e4...
Imported snapshots across ATT&CK releases (1)
Release Bundle imported Object version Modified Status Raw hash
19.1 1.4 Current bundle 4e66f5e0de51…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Zdnet Ngrok September 2018

    Cimpanu, C. (2018, September 13). Sly malware author hides cryptomining botnet behind ever-shifting proxy service. Retrieved September 15, 2020.

    Open source URL
  2. [2]
    FireEye Maze May 2020

    Kennelly, J., Goody, K., Shilko, J. (2020, May 7). Navigating the MAZE: Tactics, Techniques and Procedures Associated With MAZE Ransomware Incidents. Retrieved May 18, 2020.

    Open source URL
  3. [3]
    Cyware Ngrok May 2019

    Cyware. (2019, May 29). Cyber attackers leverage tunneling service to drop Lokibot onto victims’ systems. Retrieved September 15, 2020.

    Open source URL
  4. [4]
    MalwareBytes LazyScripter Feb 2021

    Jazi, H. (2021, February). LazyScripter: From Empire to double RAT. Retrieved November 17, 2024.

    Open source URL
  5. [5]
    mitre-attack S0508
    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.