RCLONE
MEGACMD
RCLONE.CONF
BULK SYNC
DetectionBlue TeamSOCOctober 12, 2026•9 min read

Detecting Rclone and MEGAcmd Exfiltration

Rclone is a legitimate, open-source sync tool and a favourite of ransomware operators. Renaming the binary changes the file name, not what it does.

Scroll

Rclone supports dozens of storage back ends, runs from a single executable and is trivial to script, which is why extortion crews use it to move terabytes to Mega, S3-compatible buckets and SFTP servers. Its command lines, its configuration file and its network profile are all detectable, even when the binary is renamed.

Signals at a Glance

SignalWhereATT&CK
rclone verbs (copy, sync, move) with a remote:path argumentSysmon 1, 4688, EDRT1567.002
PE metadata says rclone but the file name does notSysmon 1 (OriginalFileName)T1036.003
rclone.conf created or read outside an admin’s profileSysmon 11, file eventsT1552.001
Hundreds of parallel TLS sessions to one storage providerZeek, firewallT1567.002
MEGAcmd binaries (mega-login, mega-put) on a serverProcess creationT1567.002

Process and Command Line

Match on the product metadata embedded in the executable, not only on the file name. Operators routinely rename rclone to something that looks like a Windows component, but the original file name and description survive in the PE header:

title: Rclone Or Renamed Rclone Executing A Transfer
logsource:
  category: process_creation
  product: windows
detection:
  by_name:
    Image|endswith: '\\rclone.exe'
  by_metadata:
    OriginalFileName: 'rclone.exe'
  verbs:
    CommandLine|contains:
      - ' copy '
      - ' sync '
      - ' move '
      - ' copyto '
  flags:
    CommandLine|contains:
      - '--transfers'
      - '--config'
      - '--no-check-certificate'
      - '--auto-confirm'
      - '--multi-thread-streams'
  condition: (by_name or by_metadata) and (verbs or flags)
level: high
# tune/validate: allowlist approved backup jobs by parent process and account

Config and Network Artifacts

Rclone stores remotes in a file called rclone.conf, by default under the user’s roaming profile on Windows. Operators often drop a pre-built config next to the binary and pass it with --config. Hunt both locations and the file’s creation time:

// Microsoft Defender XDR (KQL) - rclone configuration files and MEGAcmd tooling
// tune/validate: compare against your approved-backup inventory
DeviceFileEvents
| where Timestamp > ago(7d)
| where FileName =~ "rclone.conf"
    or FileName startswith "mega-" and FileName endswith ".bat"
    or FileName =~ "MEGAcmdServer.exe"
| project Timestamp, DeviceName, ActionType, FolderPath, FileName,
          InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessAccountName
| order by Timestamp desc
Vetted sources

SigmaHQ publishes rclone execution and rclone.conf rules, Elastic ships a cloud-sync tool detection, and CISA ransomware advisories regularly cite rclone and MEGAcmd. Baseline your own environment — some IT teams run rclone for legitimate backups, which is why an owned allowlist matters.

Build Detections That Fire

Mjolnir Security helps blue teams turn threat intelligence into high-fidelity detections across endpoint, network, identity and cloud telemetry.

Detection EngineeringManaged Detection & ResponseThreat HuntingIncident ResponsePurple Teaming
  • Detection Engineering We build and tune detections mapped to ATT&CK from your own telemetry.
  • Threat Hunting as a Service Hypothesis-driven hunts for the behaviours on this page.
  • 24/7 Incident Response Containment when a detection fires. Call +1 833 403 5875.
Written by: Mjolnir Threat Research (MTAC)  |  Published: October 12, 2026  |  Last reviewed: October 12, 2026