Skip to main content
Mallory
Malware1 associated actor

GoGra

Tracked since Mar 10, 2026 · Updated 23 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors1Associated
ATT&CK24Techniques
IOCs15Tracked
Type
Backdoor
Capabilities
ExfiltrationPersistencePost exploitationDefense evasion
Delivery
PhishingLure
Platforms
WindowsLinux

GoGra is a Go-based backdoor associated with the Harvester cyberespionage group, with variants for Windows and Linux. It was deployed against a media organization in South Asia in November 2023. Its functionality resembles Harvester’s earlier Graphon backdoor, and the Windows and Linux GoGra variants share substantial code and command-and-control logic.

GoGra abuses the Microsoft Graph API and Outlook mailboxes for command and control, blending its communications with legitimate Microsoft cloud traffic. It authenticates using OAuth access tokens, retrieves email-based tasking, decrypts commands using AES-CBC, and executes them through the operating system’s command interpreter. Command results are encrypted and returned through email. The Linux variant embeds Azure AD application credentials, polls for tasking at two-second intervals, and deletes processed command messages to reduce forensic traces.

Linux infections use social-engineering lures involving executable ELF files disguised as PDF documents. A Go-based dropper displays a decoy document while installing the backdoor. Persistence is established through a systemd user service and an XDG autostart entry that masquerades as the legitimate Conky system monitor. These mechanisms support continued remote command execution and the exfiltration of command output.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Harvester

Associated Malware & Tools graphon ... Graphican GoGra remsec_strider BirdyClient Grager graphite

via medium apophis133apophis133.medium.com
MITRE ATT&CK

Techniques & procedures

24 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1583.006Web ServicesEvidence2

The malware uses the legitimate Microsoft Graph API and Outlook mailboxes as a covert command-and-control (C2) channel

Initial Access

4 techniques
T1078Valid AccountsEvidence1

The GoGra backdoor abuses Microsoft cloud services by using hardcoded Azure AD credentials to obtain OAuth2 tokens.

T1078.004Cloud AccountsEvidence1

The inner i386 implant comes equipped with hardcoded, plaintext Azure AD application credentials, including a tenant ID, client ID, and client secret. These credentials allow the malware to request OAuth2 tokens from Microsoft.

T1566PhishingEvidence1

The attackers use social engineering lures to gain initial access to victim networks by deploying tailored decoy documents.

T1566.001Spearphishing AttachmentEvidence2

They send out emails containing malicious attachments named after trusted services or entities. For example, some files were named after Zomato... other decoys included umrah.pdf... or TheExternalAffairesMinister.pdf.

Execution

4 techniques
T1059Command and Scripting InterpreterEvidence1

It decrypts the malicious content in the emails, executes commands locally, and sends encrypted results back via reply emails...

T1059.004Unix ShellEvidence5

Upon receiving an email, it decrypts the base64-wrapped message body using AES-CBC encryption, and executes the payload on the host via /bin/bash -c .

T1204User ExecutionEvidence3

The hackers cleverly name a file something like “Zomato Pizza.pdf,” placing a tiny space between the name and the extension... the computer sees it as a Linux ELF binary program and runs it. Once the file is opened, a Go dropper shows a fake PDF or document so the user doesn’t get suspicious.

T1204.002Malicious FileEvidence1

The attacks employ social engineering to trick victims into opening ELF binaries disguised as PDF documents. The dropper then proceeds to display a lure document while stealthily running the backdoor.

Persistence

5 techniques
T1078Valid AccountsEvidence1

The GoGra backdoor abuses Microsoft cloud services by using hardcoded Azure AD credentials to obtain OAuth2 tokens.

T1078.004Cloud AccountsEvidence1

The inner i386 implant comes equipped with hardcoded, plaintext Azure AD application credentials, including a tenant ID, client ID, and client secret. These credentials allow the malware to request OAuth2 tokens from Microsoft.

T1543.002Systemd ServiceEvidence3

The malware writes its internal payload to ~/.config/systemd/user/userservice and ensures execution upon system reboot by setting up a systemd user unit

T1547Boot or Logon Autostart ExecutionEvidence3

This way, every time the computer restarts, GoGra starts running again.

T1547.013XDG Autostart EntriesEvidence1

The malware writes its internal payload to ~/.config/systemd/user/userservice and ensures execution upon system reboot by setting up a systemd user unit and an XDG autostart entry. This autostart entry actively masquerades as the legitimate "Conky" Linux system monitor.

Privilege Escalation

5 techniques
T1078Valid AccountsEvidence1

The GoGra backdoor abuses Microsoft cloud services by using hardcoded Azure AD credentials to obtain OAuth2 tokens.

T1078.004Cloud AccountsEvidence1

The inner i386 implant comes equipped with hardcoded, plaintext Azure AD application credentials, including a tenant ID, client ID, and client secret. These credentials allow the malware to request OAuth2 tokens from Microsoft.

T1543.002Systemd ServiceEvidence3

The malware writes its internal payload to ~/.config/systemd/user/userservice and ensures execution upon system reboot by setting up a systemd user unit

T1547Boot or Logon Autostart ExecutionEvidence3

This way, every time the computer restarts, GoGra starts running again.

T1547.013XDG Autostart EntriesEvidence1

The malware writes its internal payload to ~/.config/systemd/user/userservice and ensures execution upon system reboot by setting up a systemd user unit and an XDG autostart entry. This autostart entry actively masquerades as the legitimate "Conky" Linux system monitor.

Stealth

7 techniques
T1036MasqueradingEvidence6

The attackers actively masquerade malicious ELF files as standard document files by appending extensions like “. pdf”, with a subtle space between the filename and the extension to ensure that the file still executes as a Linux binary.

T1070Indicator RemovalEvidence3

...sending encrypted results back via reply emails, deleting the original command email to evade detection.

T1070.004File DeletionEvidence4

Following exfiltration, the implant issues an HTTP DELETE command to wipe the original tasking message and remove evidence of its presence.

T1078Valid AccountsEvidence1

The GoGra backdoor abuses Microsoft cloud services by using hardcoded Azure AD credentials to obtain OAuth2 tokens.

T1078.004Cloud AccountsEvidence1

The inner i386 implant comes equipped with hardcoded, plaintext Azure AD application credentials, including a tenant ID, client ID, and client secret. These credentials allow the malware to request OAuth2 tokens from Microsoft.

T1564.001Hidden Files and DirectoriesEvidence1

GoGra writes files to a hidden folder called ~/.config/systemd/user/userservice

T1684.001ImpersonationEvidence1

According to researchers, the group uses social engineering to trick victims. They send out emails containing malicious attachments named after trusted services or entities.

Credential Access

1 technique
T1528Steal Application Access TokenEvidence1

The inner payload carries hardcoded Azure AD application credentials in plain text, including a tenant ID, client ID, and client secret. These credentials allow the malware to request OAuth2 tokens directly from Microsoft...

Collection

1 technique
T1114Email CollectionEvidence1

These credentials allow the malware to request OAuth2 tokens directly from Microsoft and begin communicating through a real Outlook mailbox folder named “Zomato Pizza,” polling for new instructions every two seconds... Results are encrypted with the same AES key and sent back to the attacker via an email reply with the subject “Output.”

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence7

The malware uses the legitimate Microsoft Graph API and Outlook mailboxes as a covert command-and-control (C2) channel, allowing it to bypass traditional perimeter network defenses.

T1071.001Web ProtocolsEvidence2

The GoGra backdoor abuses Microsoft cloud services by using hardcoded Azure AD credentials to obtain OAuth2 tokens. It polls a specific Outlook mailbox folder via Microsoft Graph API, looking for emails with commands.

T1102Web ServiceEvidence3

The malware uses the legitimate Microsoft Graph API and Outlook mailboxes as a covert command-and-control (C2) channel... One of its tools is a custom backdoor called Graphon, which has similarities with GoGra and also uses Microsoft infrastructure for its C2 activity.

T1102.002Bidirectional CommunicationEvidence1

It polls a specific Outlook mailbox folder via Microsoft Graph API, looking for emails with commands. These are decrypted and executed on the system, while results are encrypted and sent back.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence5

Execution results are AES-encrypted and emailed back to the operator via a reply message using the subject line ‘Output’.

Indicators of compromise

Observables

15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
hackreadNews · Apr 23, 2026Harvester APT Expands Spying Operations with New GoGra Linux MalwareA Linux backdoor used for espionage. It is delivered via social-engineering lures disguised as PDF files, establishes persistence by writing files under ~/.config/systemd/user/userservice while masquerading as Conky, and uses Microsoft Graph API and Outlook mailboxes as a covert command-and-control channel. It polls for AES-CBC-encrypted commands and exfiltrates results by email.Read more ↗scworldNews · Apr 23, 2026GoGra backdoor targets Linux, abuses Microsoft Graph API for stealthy attacks | brief | SC MediaGoGra is a backdoor used by the Harvester espionage group. The Linux variant is distributed via ELF binaries disguised as PDF files, establishes persistence using systemd and an XDG autostart entry, queries a specific Outlook mailbox folder through the Microsoft Graph API for command emails, decrypts and executes commands locally, and sends encrypted results back via reply emails while deleting the original command email to evade detection.Read more ↗cyber security newsNews · Apr 23, 2026Hackers Use Outlook Mailboxes to Hide Linux GoGra Backdoor CommunicationsA cross-platform espionage backdoor used by Harvester that abuses Microsoft Graph API and real Outlook mailboxes as a covert C2 channel. The Linux variant is deployed by a Go dropper, establishes persistence via systemd user units and XDG autostart disguised as Conky, polls an Outlook folder for commands, executes them via /bin/bash, encrypts results, and deletes command emails to reduce forensic traces.Read more ↗security affairsNews · Apr 23, 2026Microsoft Graph API misused by new GoGra Linux malware for hidden communicationA cross-platform backdoor used for cyberespionage that abuses Microsoft Graph API and Outlook mailboxes as a covert command-and-control channel. It uses hardcoded Azure AD credentials to obtain OAuth2 tokens, polls mailbox folders for command emails, decrypts and executes payloads via /bin/bash -c, encrypts results, sends them back through Outlook, and deletes messages to reduce traces.Read more ↗
+6 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching15Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping24Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.