Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Attackers Use Office’s OLE to Distribute Keylogger

A recently observed targeted attack campaign that hit a major financial services provider was distributing an unknown keylogger disguised as a Silverlight update, Proofpoint researchers reveal.

A recently observed targeted attack campaign that hit a major financial services provider was distributing an unknown keylogger disguised as a Silverlight update, Proofpoint researchers reveal.

The attack included a small number of emails targeted at just one organization in an attempt to infect its computers with a yet to be identified keylogger. The emails included a Microsoft Word attachment with a highly obfuscated embedded object, in an attempt to avoid detection.

Malware authors have been seen before leveraging the object linking and embedding (OLE) functionality in Microsoft Office to hide malicious code in documents, and even Microsoft warned about this practice about half a year ago. While malicious macros remain a popular attack vector for malware distribution, the use of alternative methods, including OLE, is expected to increase this year.

Generically named “info.doc,” the document used in the newly analyzed attack encourages users to install the Silverlight plugin to view its content, Proofpoint reveals. The malware authors used a “Packager Shell Object” to hide a Visual Basic Script file that has been obfuscated by adding “We are safe” after every character in strings.

The first three lines of the code, the security researchers discovered, includes the deobfuscation function designed to replace the “We are safe” strings with empty strings.

The code was meant to perform an HTTP GET request to a malicous file, but it had been already removed by the time the researchers attempted to download and analyze it. The free file hosting site pomf[.]cat allows anonymous uploads and is frequently used to host malicious executables, researchers say.

Advertisement. Scroll to continue reading.

A malware sample retrieved from VirusTotal revealed that it was a new, unidentified keylogger. The application was observed making a network request to icanhazip[.]com to identify the public IP address of the infected machine, and was using the “GetAsyncKeyState” Windows API, which is frequently abused by keyloggers to identify keyboard keys pressed by the user.

The keylogger was found to use Gmail’s SMTP server to send logs to two hardcoded Gmail addresses. The application is written in AutoIt, uses tools such as the Lazagne password recovery tool, and has pretty straightforward keylogging functionality.

“As threat actors move beyond the use of malicious macros, organizations will need to rethink how they prevent malicious content from reaching end users. While many businesses are either blocking Microsoft Office macros at a policy level or educating users about the dangers of enabling macro content, attackers have other means of creating weaponized documents for distributing malware – in this case, an embedded Visual Basic script in a Microsoft Word document with a keylogger payload,” Proofpoint concludes.

Related: Malicious Office Docs Install Proxies to Spy on HTTPS Traffic

Related: Microsoft Blocks Risky Macros in Office 2016

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this live webinar as we explore if detection-first security operations can keep pace with AI, or if it’s time to rethink prevention as the strongest default.

Register

CodeSecCon bridges the gap between dev and security. Discover best practices for secure coding, innovative risk-reduction tools, and safe AI integration to cultivate a true DevSecOps culture. Safely secure your apps!

Register

People on the Move

1Kosmos has named Frank Cohen Chief Revenue Officer.

ServiceNow has appointed Simon Mouyal as Chief Marketing Officer.

James Wilkinson has been named Chief Information Security Officer for the City of Dallas.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.