Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Threat Intelligence

9/3/2020
05:10 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Evilnum APT Group Employs New Python RAT

The PyVil remote access Trojan enables attackers to exfiltrate data, perform keylogging, take screenshots, and deploy tools for credential theft.

The Evilnum advanced persistent threat (APT) group has adopted a new Python remote access Trojan (RAT) to target financial tech organizations with well-crafted spear-phishing attacks. This is one of several changes detected in the group's tactics over recent weeks, researchers report.

Evilnum first appeared in 2018. Since then, it has employed a variety of attack strategies against fintech companies. Most of its victims are located across the UK and EU, though some attacks have landed in Australia and Canada. Evilnum has been seen using attack components scripted in JavaScript and C#, as well as tools from malware-as-a-service provider Golden Chickens.

Related Content:

New Threat Activity by Lazarus Group Spells Trouble for Orgs

55% of Cybersquatted Domains Are Malicious or Potentially Fraudulent

Cybereason researchers have noticed Evilnum using a new Python-scripted RAT they call PyVil, as well as changes in its infection chain, persistence, and infrastructure, to evade detection. 

The APT group opts for highly targeted attacks over broad phishing campaigns. It often exploits Know Your Customer (KYC) regulations, which mandate businesses keep records with essential data belonging to each customer, as well as identify people who can act on a customer's behalf.

Evilnum often begins infections with emails delivering ZIP archives that contain LNK files disguised as personal documents -- for example, credit cards, driver's licenses, and utility bills. These are likely stolen and belong to real people, researchers note in a report on their findings.

When the LNK file is opened, it deploys the JavaScript Trojan, which replaces the LNK file with a real file and renders the process invisible to the victim. Evilnum has used six iterations of the JavaScript Trojan, all of which have minor differences but the same core functionalities: They upload and download files, steal cookies, collect antivirus information, and execute commands, among other tricks. Sometimes a C# Trojan with similar functionality is used instead.

Now, researchers say, Evilnum appears to be changing its process to better conceal its activity. During the infection stage, it instead uses modified versions of legitimate executables to try and remain undetected.

Instead of delivering four LNK files in a ZIP archive, it only archives one. This LNK file is disguised as a PDF with content like utility bills, credit card photos, and driver's license photos. When the LNK file is executed, a JavaScript file is written to disk and executed, replacing the LNK file with a PDF. This time, the JavaScript acts as a dropper and lacks command-and-control (C2) communication capabilities.

This marks the first stage in a new infection chain that ends with the delivery of the PyVil RAT, compiled with py2exe.

"This Python RAT has various capabilities," says Tom Fakterman, cybersecurity analyst with Cybereason. "[It's] able to download additional Python scripts … it has the ability to steal credentials, the ability to deliver more malware and executables, and run commands on the system."

It can also perform keylogging, take screenshots, and collect information such as the antivirus products on the machine, USB devices connected, and version of Chrome running.

This is a new Python RAT, and the code inside the executable is obfuscated with extra layers in order to prevent decompilation of the payload, Fakterman explains in a write-up of his findings. Because the RAT is hidden under all this code, it can perform functions while remaining hidden.

While analyzing PyVil, researchers noticed several times that the malware received new Python modules from the C2 server. This is a custom version of the LaZagne Project, which Evilnum has used in the past, and the script is written to dump passwords and collect cookie data to send to the C2. They note this can be used to grow attack functionality. 

"This innovation in tactics and tools is what allowed the group to stay under the radar, and we expect to see more in the future as the Evilnum group's arsenal continues to grow," Fakterman states in his write-up.

 

Kelly Sheridan is the Staff Editor at Dark Reading, where she focuses on cybersecurity news and analysis. She is a business technology journalist who previously reported for InformationWeek, where she covered Microsoft, and Insurance & Technology, where she covered financial ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Threaded  |  Newest First  |  Oldest First
Commentary
Ransomware Is Not the Problem
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  6/9/2021
Edge-DRsplash-11-edge-ask-the-experts
How Can I Test the Security of My Home-Office Employees' Routers?
John Bock, Senior Research Scientist,  6/7/2021
News
New Ransomware Group Claiming Connection to REvil Gang Surfaces
Jai Vijayan, Contributing Writer,  6/10/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: Zero Trust doesn't have to break your budget!
Current Issue
The State of Cybersecurity Incident Response
In this report learn how enterprises are building their incident response teams and processes, how they research potential compromises, how they respond to new breaches, and what tools and processes they use to remediate problems and improve their cyber defenses for the future.
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-32695
PUBLISHED: 2021-06-17
Nextcloud Android app is the Android client for Nextcloud. In versions prior to 3.16.1, a malicious app on the same device could have gotten access to the shared preferences of the Nextcloud Android application. This required user-interaction as a victim had to initiate the sharing flow and choose t...
CVE-2020-36388
PUBLISHED: 2021-06-17
In CiviCRM before 5.21.3 and 5.22.x through 5.24.x before 5.24.3, users may be able to upload and execute a crafted PHAR archive.
CVE-2020-36389
PUBLISHED: 2021-06-17
In CiviCRM before 5.28.1 and CiviCRM ESR before 5.27.5 ESR, the CKEditor configuration form allows CSRF.
CVE-2021-32575
PUBLISHED: 2021-06-17
HashiCorp Nomad and Nomad Enterprise up to version 1.0.4 bridge networking mode allows ARP spoofing from other bridged tasks on the same node. Fixed in 0.12.12, 1.0.5, and 1.1.0 RC1.
CVE-2021-33557
PUBLISHED: 2021-06-17
An XSS issue was discovered in manage_custom_field_edit_page.php in MantisBT before 2.25.2. Unescaped output of the return parameter allows an attacker to inject code into a hidden input field.