← Lab /Security & privacy

Elastic discovers NANOREMOTE Windows backdoor that uses Google Drive for stealthy file transfer

The NANOREMOTE backdoor can be blocked by Elastic Defend’s behavioral rules and machine-learning classifier.

Security & privacy Elastic Security Labs 11 Dec 2025 Attack Real-world evidence

Published as “NANOREMOTE, cousin of FINALDRAFT”

Why it matters

Defenders should monitor Google Drive API usage and apply Elastic Defend behavioral rules and YARA signatures to detect and block NANOREMOTE activity.

Summary

Elastic Security Labs identified a new Windows backdoor called NANOREMOTE that communicates via the Google Drive API for file upload and download, making its traffic blend with legitimate cloud traffic. The implant includes 22 command handlers for enumeration, command execution, and a custom PE loader that runs binaries in memory to evade traditional detection. Lab tests showed Elastic Defend generating multiple alerts and blocking the attack chain using behavioral rules, a machine-learning classifier, and memory-protection features. The authors provide YARA signatures and detection guidance, but the evidence is limited to a few samples observed in telemetry and VirusTotal.

What they found 3

  1. NANOREMOTE includes command execution, discovery/enumeration and file transfer capabilities using Google Drive API

    “NANOREMOTE includes command execution, discovery/enumeration and file transfer capabilities using Google Drive API”

  2. The backdoor integrates functionality from open-source projects including Microsoft Detours and libPeConv

    “The backdoor integrates functionality from open-source projects including Microsoft Detours and libPeConv”

  3. Elastic Defend prevents the NANOREMOTE attack chain through behavioral rules, machine learning classifier, and memory protection features

    “Elastic Defend prevents the NANOREMOTE attack chain through behavioral rules, machine learning classifier, and memory protection features”

Caveats 2

  • Within a lab environment executing NANOREMOTE, there were many different alerts triggered using Elastic Defend.
  • It’s not clear why the threat group behind these implants are not rotating the key, it’s possibly due to convenience or testing.

What’s new here 4

  • Discovery of a new Windows backdoor (NANOREMOTE) that leverages Google Drive API for C2 and data exfiltration
  • Implementation of a custom in-memory PE loader using libPeConv to evade standard process monitoring
  • Integration of open-source hooking library Microsoft Detours for resilience against termination
  • Detection guidance and YARA rules for the backdoor, plus Elastic Defend behavioral rules that flagged the activity in lab tests