Categories: Cyber CrimeMalware

Bad actors are using Gmail Drafts to control their bots

Security company Shape Security discovered a new strain of malware which is exploiting Gmail service as a communication channel with control server.

Security experts at Shape Security announced to have found a new strain of malware that implements a smart technique to communicate with command and control servers, the commands are hidden in unassuming Gmail drafts that are never even sent.

The technique is very hard to detect as explained by the researchers at Shape Security:

“What we’re seeing here is command and control that’s using a fully allowed service, and that makes it superstealthy and very hard to identify,” says Wade Williamson, stated one of the experts “It’s stealthily passing messages back and forth without even having to press send. You never see the bullet fired.”

The attack chain is composed of the following phases:

  • The bad actors first set up a Gmail account.
  • The targeted machine is infected by the malicious agent.
  • The bad actors open the Gmail account on the victim’s computer in an invisible instance of Internet Explorer. IE could be run by Windows programs appearing to the victim as a harmless query web page for information.
  • The bad actors set the Gmail account to the drafts folder open and hidden. The malicious code is designed to retrieve commands the attackers enter into that draft field. The malware uses a python script to fetch the instruction and respond with its own acknowledgments in the same Gmail draft form, along with the exfiltrate information.

Once again the attackers exploited a reputable web service to hide the communication between the malware and C&C server as explained in the blog post published by Wired.

“The communication is encoded to to prevent it being spotted by intrusion detection or data-leak prevention. The use of a reputable web service instead of the usual IRC or HTTP protocols that hackers typically use to command their malware also helps keep the hack hidden.”

The malware is a variant of the remote access trojan (RAT) called Icoscript detected for the first time in august by experts at G-Data security firm. The first version of IcoScript spotted by G-Data receives commands from C&C via email services including Yahoo and Gmail

The post confirmed that is hard to detect such kind of attacks, the unique alternative is represented by the blocking of the Gmail service.

Pierluigi Paganini

Security Affairs –  (Gmail, malware)

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Fintech firm Figure disclosed data breach after employee phishing attack

Fintech firm Figure confirmed a data breach after hackers used social engineering to trick an…

18 hours ago

U.S. CISA adds a flaw in BeyondTrust RS and PRA to its Known Exploited Vulnerabilities catalog

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a flaw in BeyondTrust RS and…

20 hours ago

Suspected Russian hackers deploy CANFAIL malware against Ukraine

A new alleged Russia-linked APT group targeted Ukrainian defense, government, and energy groups, with CANFAIL…

1 day ago

New threat actor UAT-9921 deploys VoidLink against enterprise sectors

A new threat actor, UAT-9921, uses the modular VoidLink framework to target technology and financial…

2 days ago

Attackers exploit BeyondTrust CVE-2026-1731 within hours of PoC release

Attackers quickly targeted BeyondTrust flaw CVE-2026-1731 after a PoC was released, enabling unauthenticated remote code…

2 days ago

Google: state-backed hackers exploit Gemini AI for cyber recon and attacks

Google says nation-state actors used Gemini AI for reconnaissance and attack support in cyber operations.…

2 days ago

This website uses cookies.