Malware

DePriMon downloader uses a never seen installation technique

ESET researchers discovered a new downloader, dubbed DePriMon, that used new “Port Monitor” methods in attacks in the wild.

The new DePriMon downloader was used by the Lambert APT group, aka Longhorn, to deploy malware.

According to a report published by Symantec in 2017, Longhorn is a North American hacking group that has been active since at least 2011. The group is very sophisticated and used zero-day exploits and complex malware to conduct targeted attacks against governments and organizations in almost every industry, including financial, energy, telecommunications, and education, aerospace.

The targets were all located in the Middle East, Europe, Asia, and Africa.

In 2017, Symantec speculated that at least 40 targets in 16 countries have been compromised by the threat actors.

One of the malware in the arsenal of the group is the Black Lampert, it is an active implant used to control the infected system. Other malware in the arsenal are the passive network-based backdoor White Lampert, the Blue Lampert second-stage payload, the Green Lampert payload, and the Pink Lambert tool.

The DePriMon downloader achieves persistence by registering a new local port monitor, an evasion trick that falls under the “Port Monitors” technique in the MITRE ATT&CK knowledgebase.

According to ESET, the DePriMon has been active since at least March 2017, it was found on computers in a private company in Central Europe, and at dozens of computers in the Middle East.

The domain names used as C&C servers contain Arabic words, suggesting that the attackers’ campaign aimed at targets in the Middle East.

The DePriMon is downloaded to memory and executed as a DLL using reflective DLL techniques, it is registered with a key and value, which requires administrator rights.

The registered DLL will be loaded at system startup by the spoolsv.exe with SYSTEM privileges.

“Both DePriMon’s second and third stages are delivered to the victim’s disk in the first stage. The second stage installs itself and loads the third stage using an encrypted, hardcoded path. One of the possible explanations is that it was configured after the first stage of the attack occurred.” reads the analysis.

“The described installation technique is unique. In principle, it is described in the MITRE ATT&CK taxonomy as “Port Monitors”, under both Persistence and Privilege Escalation tactics. We believe DePriMon is the first example of malware using this technique ever publicly described.”

The malware leverages the Microsoft implementation of SSL/TLS, Secure Channel, for C2 communication. ESET researchers pointed out that the authors have put significant effort into encryption in order to prevent the analysis of the DePriMon malware.

DePriMon communicates securely over TLS, the connection is initialized with a Windows socket and can continue with initialization of an authenticated Security Support Provider Interface (SSPI) session with the Negotiate / NTLM SSP. Then the DePriMon malware uses Schannel for the communication.

“DePriMon is an unusually advanced downloader whose developers have put extra effort into setting up the architecture and crafting the critical components,” ESET concludes. “DePriMon is a powerful, flexible and persistent tool designed to download a payload and execute it, and to collect some basic information about the system and its user along the way.”

[adrotate banner=”9″] [adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – DePriMon, malware)

[adrotate banner=”5″]

[adrotate banner=”13″]

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…

20 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…

22 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.