Lucian Constantin
CSO Senior Writer

Malware uses Google Docs as proxy to command and control server

news
Nov 19, 20122 mins

Backdoor.Makadocs variant uses Google Drive Viewer feature to receive instructions from its real command and control server

Security researchers from antivirus vendor Symantec have uncovered a piece of malware that uses Google Docs, which is now part of Google Drive, as a bridge when communicating with attackers in order to hide the malicious traffic.

The malware — a new version from the Backdoor.Makadocs family — uses the Google Drive “Viewer” feature as a proxy for receiving instructions from the real command and control server. The Google Drive Viewer was designed to allow displaying a variety of file types from remote URLs directly in Google Docs.

[ Learn how to secure your systems with the Web Browser Deep Dive PDF special report and Security Central newsletter, both from InfoWorld. ]

“In violation of Google’s policies, Backdoor.Makadocs uses this function to access its C&C [command in control] server,” said Symantec researcher Takashi Katsuki, Friday in a blog post.

It’s possible that the malware author used this approach in order to make it harder for network-level security products to detect the malicious traffic, since it will appear as encrypted connections — Google Drive uses HTTPS by default — with a generally trusted service, Katsuki said.

“Using any Google product to conduct this kind of activity is a violation of our product policies,” a Google representative said Monday via email. “We investigate and take action when we become aware of abuse.”

Backdoor.Makadocs is distributed with the help of RTF or Microsoft Word documents, but does not exploit any vulnerability to install its malicious components, Katsuki said. “It attempts to pique the user’s interest with the title and content of the document and trick them into clicking on it and executing it.”

Like most backdoor programs, Backdoor.Makadocs can execute commands received from the attacker’s C&C server and can steal information from the infected computers.

However, one particularly interesting aspect of the version analyzed by Symantec researchers is that it contains code to detect if the operating system installed on the target machine is Windows Server 2012 or Windows 8, which were released by Microsoft in September and October respectively.

The malware doesn’t use any function that’s unique to Windows 8, but the presence of this code suggests that the analyzed variant is relatively new, Katsuki said.

Other strings from the malware’s code and the names of the bait documents suggest that it’s being used to target Brazilian users. Symantec currently rates the distribution level of the malware as low.

Lucian Constantin

Lucian Constantin writes about information security, privacy, and data protection for CSO. Before joining CSO in 2019, Lucian was a freelance writer for VICE Motherboard, Security Boulevard, Forbes, and The New Stack. Earlier in his career, he was an information security correspondent for the IDG News Service and Information security news editor for Softpedia.

Before he became a journalist, Lucian worked as a system and network administrator. He enjoys attending security conferences and delving into interesting research papers. He lives and works in Romania.

You can reach him at lucian_constantin@foundryco.com or @lconstantin on X. For encrypted email, his PGP key's fingerprint is: 7A66 4901 5CDA 844E 8C6D 04D5 2BB4 6332 FC52 6D42

More from this author