Security Experts:

Connect with us

Hi, what are you looking for?


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.

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 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 a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Expert Insights

Related Content

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.


CISA, NSA, and MS-ISAC issued an alert on the malicious use of RMM software to steal money from bank accounts.


Chinese threat actor DragonSpark has been using the SparkRAT open source backdoor in attacks targeting East Asian organizations.

Application Security

Electric car maker Tesla is using the annual Pwn2Own hacker contest to incentivize security researchers to showcase complex exploit chains that can lead to...

Malware & Threats

Norway‎-based DNV said a ransomware attack on its ship management software impacted 1,000 vessels.

Malware & Threats

Cybercrime in 2017 was a tumultuous year "full of twists and turns", with new (but old) infection methods, a major return to social engineering,...


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...