LoFP LoFP / legitimate usage of cloudflared tunnel.

Techniques

Sample rules

Cloudflared Tunnel Execution

Description

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.

Detection logic

condition: selection
selection:
  CommandLine|contains:
  - '-config '
  - '-credentials-contents '
  - '-credentials-file '
  - '-token '
  CommandLine|contains|all:
  - ' tunnel '
  - ' run '