Sigma rule: Communication To Ngrok Tunneling Service Initiated
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7518ae56e7a1, updated 2024-02-02T00:00:00.000Z.
Rule
- Title
- Communication To Ngrok Tunneling Service Initiated
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-11-03
- Modified
- 2024-02-02
- File
- rules/windows/network_connection/net_connection_win_domain_ngrok_tunnel.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
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.
Log source
- product
- windows
- category
- network_connection
Detection
selection:
DestinationHostname|contains:
- 'tunnel.us.ngrok.com'
- 'tunnel.eu.ngrok.com'
- 'tunnel.ap.ngrok.com'
- 'tunnel.au.ngrok.com'
- 'tunnel.sa.ngrok.com'
- 'tunnel.jp.ngrok.com'
- 'tunnel.in.ngrok.com'
condition: selectionFalse positives (as the rule lists them)
- Legitimate use of the ngrok service.
Tags
- attack.exfiltration
- attack.command-and-control
- attack.t1567
- attack.t1568.002
- attack.t1572
- attack.t1090
- attack.t1102
- attack.s0508
MITRE ATT&CK ids this rule names
Related rules
References
- https://twitter.com/hakluke/status/1587733971814977537/photo/1
- https://ngrok.com/docs/secure-tunnels/tunnels/ssh-reverse-tunnel-agent
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/network_connection/net_connection_win_domain_ngrok_tunnel.yml
Sources and licences
SigmaHQ
"Communication To Ngrok Tunneling Service Initiated" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/network_connection/net_connection_win_domain_ngrok_tunnel.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: Communication To Ngrok Tunneling Service Initiated",
entity page, dataset version ref-7518ae56e7a1, updated 2024-02-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1d08ac94-400d-4469-a82f-daee9a908849 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1d08ac94-400d-4469-a82f-daee9a908849, 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.