Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

“Spymel” Trojan Uses Stolen Certificates to Evade Detection

An infostealer malware family identified by researchers at Zscaler ThreatLabZ leverages compromised digital certificates to avoid being detected by security products.

An infostealer malware family identified by researchers at Zscaler ThreatLabZ leverages compromised digital certificates to avoid being detected by security products.

The threat, which payload hashes provided by Zscaler show was discovered in late December, has been dubbed “Spymel” and it’s designed to allow cybercriminals to steal information from compromised machines and spy on the victim.

Attackers have distributed the malware via spam emails containing an archived JavaScript file that downloads Spymel from a remote server and installs it on infected systems.

While the downloader source code is not protected in any way, the actual malware executable, a .NET binary, is highly obfuscated. The file is signed with a digital certificate issued by DigiCert to SBO INVEST, which, according to Reason Core Security, is a France-based software publisher.

It appears the malware developers have somehow obtained more than one certificate issued to this company. The first version of the malware analyzed by Zscaler had been signed with a certificate that has been revoked by DigiCert, but a newer variant, which experts spotted two weeks later, was signed with a different certificate issued to SBO INVEST.

Spymel, a threat designed to work on both Windows XP and Windows 7 systems, creates registry keys for persistence. The malware’s configuration data, including for command and control (C&C), is hardcoded within the malware executable.

Advertisement. Scroll to continue reading.

The Trojan uses modules to perform various tasks. One of the modules allows cybercriminals to log keystrokes and save the data to a file. Another module, dubbed “ProtectMe,” is designed to prevent the victim from terminating the malware using tools like Process Explorer, Task Manager, Process Hacker, or the taskkill command.

“The malware monitors application like Task Manager, Process Explorer, and Process Hacker. It uses GetForegroundWindow() API to get the handle of active window and changes it’s functionality if process is from the above list,” Zscaler researchers explained.

Attackers can use the C&C server to send various commands to the malware, including for collecting information about the infected system and the files found on it, deleting, executing or renaming a specified file, uploading a specified file to the C&C, capturing a screenshot of the desktop, and enabling or disabling video recording.

The C&C server used by the malware is hosted on the android.sh domain, which has a Germany IP address.

It’s not uncommon for potentially unwanted applications (PUA) and malware to abuse digital certificates. The number of certificates used to sign malware has increased steadily over the past years, with more than 6,000 cases being recorded in 2014.

Related Reading: Let’s Encrypt’s Free Certificates Abused by Cybercriminals

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

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

Click to comment

You must be logged in to post a comment Login

Leave a Reply

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.

SecurityWeek’s Cyber AI & Automation Summit pushes the boundaries of security discussions by exploring the implications and applications of predictive AI, machine learning, and automation in modern cybersecurity programs.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Mitek Systems has appointed Jordan Riek as CISO.

Jairo Orea has joined Ocean as CSO.

Johannes Ullrich is stepping down as the director of the Internet Storm Center.

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.