Name:Ngrok Reverse Proxy on Network id:5790a766-53b8-40d3-a696-3547b978fcf0 version:11 date:None author:Michael Haag, Nasreddine Bencherchali, Splunk status:production type:Anomaly Description:This analytic detects DNS lookups to ngrok-managed endpoint domains, agent gateway domains, and CNAME targets, plus a CISA-reported ngrok-themed domain.
Results classify TCP tunnel hostnames, tunnel.us-style agent gateway lookups, and generated-looking endpoint labels, and summarize repeated queries and distinct DNS answers by source and 15-minute interval.
Threat actors have used ngrok to expose internal services, including RDP and SMB, maintain persistence, move laterally, and proxy command-and-control traffic.
Ngrok is also a legitimate developer and remote-access service, so use the query classification, frequency, endpoint context, and approved usage baseline to prioritize investigation. Data_source:
-Sysmon EventID 22
search:| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time) as lastTime values(DNS.answer) as answer distinct_count(DNS.answer) as distinct_answers values(DNS.answer_count) as answer_count values(DNS.query_count) as query_count