Harvester Expands GoGra Backdoor to Linux, Using Outlook for C2

· Original article ↗

Summary

Researchers linked Harvester’s Linux GoGra backdoor to its Windows variant through shared code and typos. It uses Microsoft Graph and Outlook for C2; researchers reported no observed victims in this activity.

Key points

  • A Go dropper deploys an i386 Linux implant that persists through a systemd user unit and an XDG autostart entry disguised as Conky.
  • The backdoor uses hardcoded Azure AD application credentials to obtain OAuth2 tokens and poll an Outlook mailbox through Microsoft Graph.
  • It decrypts tasking with AES-CBC, executes commands through /bin/bash -c, and emails encrypted results to the operator.
  • The implant deletes the original tasking message after sending results.
  • Researchers linked the Linux and Windows GoGra variants through a nearly identical codebase and matching spelling errors.
  • Researchers reported no observed victims; initial VirusTotal submissions came from India and Afghanistan, which the article presents as an indication of regional targeting.

Article Details

Attack Vectors
  • Social-engineering lures use tailored decoy documents to induce users to execute malicious Linux ELF files disguised with document-like filenames.
  • A Go dropper deploys the GoGra Linux backdoor, which establishes persistence through a systemd user unit and an XDG autostart entry.
  • GoGra uses hardcoded Azure AD application credentials to access Microsoft Graph API and poll an Outlook mailbox for encrypted tasking.
  • The backdoor executes received commands via /bin/bash -c, emails encrypted results to the operator, and deletes the original tasking message.
Defensive Notes
  • The article directs readers to the Symantec Protection Bulletin for the latest protection updates; it provides no specific mitigation steps.

Indicators of compromise

TypeIndicatorContext
SHA2562d0177a00bed31f72b48965bee34cec04cb5be8eeea66ae0bb144f77e4d439b1Hash identified in the article for the GoGra Linux backdoor.
SHA25657cd5721bae65c29e58121b5a9b00487a83b6c37dded56052cab2a67f90ea943Hash identified for TheExternalAffairesMinister.zip, an archive containing the GoGra Linux backdoor.
SHA25674ac41406ce7a7aa992f68b4b3042f980027526f33ec6c8d84cb26f20495c9dcHash identified in the article for the GoGra Linux backdoor.
SHA2569c23c65a8a392a3fd885496a5ff2004252f1ad4388814b20e5459695280b0b82Hash identified in the article for the GoGra Linux backdoor.
SHA256d8d84eaba9b902045ae4fe044e9761ad0ce9051b85feea3f1cf9c80b59b2b123Hash identified for a ZIP file containing the GoGra Linux backdoor.

MITRE ATT&CK

Threat Actors

Malware

Vendors

Products

Countries

Related Articles