OceanLotus APT Group Uses Undetected Ratsnif Remote Trojan to Leverage Network Attack’s

OceanLotus APT Group also known as APT32, SeaLotus, and CobaltKitty uses undetected Remote Access trojans Ratsnif to leverage network attack capabilities. The trojan was active since 2016, and it has features like packet sniffing, gateway/device ARP poisoning, DNS poisoning, HTTP injection, and MAC spoofing.

The Cylance Threat Research Team detected four distinct samples of Ratsnif trojan, out of four, three of them found developed in 2016 and one sample in 2018. There is no significant change with the version developed in 2016, and they are similar in functionality.

The fourth sample was developed in the second half of 2018; it has significant changes when compared to the previous version. Previous samples entirely depend on C2 servers, whereas the current sample doesn’t rely on C2 servers for operations.

It also includes some new features such as HTTP injection, protocol parsing, and SSL hijacking. It uses WolfSSL library for traffic decryption and http_parser.c for parsing HTTP traffic.The new sample also includes features like protocol parsing, ARP poisoning, DNS spoofing, HTTP redirection, and HTTP injection.

Ratsnif Multi-stage Infection

The initial payload is the loader DLL that copies 1st stage shellcode into memory and execute it. Which decompress the 2nd stage payload is the shellcode that executes into the memory and hooks several API functions that responsible for returning command line.

Researchers identified a bug in Ratsnif that could lead to memory read violation when parsing a specific parameter (“dwn_ip’). What happens is that the value is passed as a string and it should be passed as a pointer to a string.

The 2018 variant employs multiple sniffers for harvesting sensitive information from packets and to minimize the data extraction and to exfiltrate the process.

Ratsnif contains Base64 encoded C2 URL, but the trojan didn’t use it. Instead, it logs the captured information in a text, and uses another module to exfiltrate it, reads the analysis.

“Ratsnif is an intriguing discovery considering the length of time it has remained undetected, likely due to limited deployment. It offers a rare glimpse of over two years of feature development, allowing us to observe how threat actors tailor tooling to their nefarious purposes.”

In the previous campaign, OceanLotus uses steganography method to hide the encrypted malware payload within a .png image file to infect the targeted system.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Lumma Stealer Attacking Users To Steal Login Credentials From Browsers

Researchers observed Lumma Stealer activity across multiple online samples, including PowerShell scripts and a disguised…

1 day ago

New ‘OtterCookie’ Malware Attacking Software Developers Via Fake Job Offers

Palo Alto Networks reported the Contagious Interview campaign in November 2023, a financially motivated attack…

1 day ago

NjRat 2.3D Pro Edition Shared on GitHub: A Growing Cybersecurity Concern

The recent discovery of the NjRat 2.3D Professional Edition on GitHub has raised alarms in…

1 day ago

Palo Alto Networks Vulnerability Puts Firewalls at Risk of DoS Attacks

A critical vulnerability, CVE-2024-3393, has been identified in the DNS Security feature of Palo Alto…

1 day ago

Araneida Scanner – Hackers Using Cracked Version Of Acunetix Vulnerability Scanner

Threat Analysts have reported alarming findings about the "Araneida Scanner," a malicious tool allegedly based…

3 days ago

A Dark Web Operation Acquiring KYC Details TO Bypass Identity Verification Systems

A major dark web operation dedicated to circumventing KYC (Know Your Customer) procedures, which involves…

3 days ago