Saturday, December 21, 2024
Homecyber securityBeware!! Hackers Hide Fileless Malware "DarkWatchman" In The Windows Registry

Beware!! Hackers Hide Fileless Malware “DarkWatchman” In The Windows Registry

Published on

SIEM as a Service

A new malware with highly-capable JavaScript RAT, which is paired with a C# keylogger has been discovered by the security analysts at Prevailion that recently emerged in the cybercrime underground.

This new stealthy and lightweight malware is dubbed as ‘DarkWatchman,’ and it is operated by the threat actors based in Russia, which primarily targets the organizations based in Russia. 

In early November, the first signs and the existence of DarkWatchman has been detected. 

- Advertisement - SIEM as a Service

During the investigation, it was discovered that via phishing emails with malicious ZIP attachments, the attackers are distributing this malware to target their victims.

Malicious Attachments

These malicious ZIP attachments contain the following things:-

Once the user opens the attachment, then in the background, the self-installing WinRAR archive automatically starts installing the payloads.

Capabilities & Functionalities of DarkWatchman

  • Execute EXE files (with or without the output returned)
  • Load DLL files
  • Execute commands on the command line
  • Execute WSH commands
  • Execute miscellaneous commands via WMI
  • Execute PowerShell commands
  • Evaluate JavaScript
  • Upload files to the C2 server from the victim machine
  • Remotely stop and uninstall the RAT and Keylogger
  • Remotely update the C2 server address or call-home timeout
  • Update the RAT and Keylogger remotely
  • Set an autostart JavaScript to run on RAT startup
  • A Domain Generation Algorithm (DGA) for C2 resiliency
  • If the user has admin permissions, it deletes shadow copies using vssadmin.exe

A ‘file-less’ RAT

Why has this malware been tagged with the tag “stealthy and lightweight”? All due to its capabilities and file size.

This stealthy malware, DarkWatchman, is a JavaScript RAT that cogitates the size of 32kb, and when it’s get compiled, it uses only 8.5kb of space. 

Apart from having stealthy methods, DarkWatchman, while transferring data between modules, uses the following things:-

  • Large set of binaries
  • Scripts
  • Several stealthy payloads

For the keylogger, DarkWatchman uses the Windows Registry fileless storage means, which implies, every time the user logs into Windows a scheduled task will be assembled to launch the DarkWatchman RAT rather than storing the keylogger on disk.

Here’s what the security experts, Matt Stafford and Sherman Smith stated:-

“The keylogger is distributed as obfuscated C# source code that is processed and stored in the registry as a Base64-encoded PowerShell command. When the RAT is launched, it executes this PowerShell script which, in turn, compiles the keylogger (using CSC) and executes it. The keylogger itself does not communicate with the C2 or write to disk. Instead, it writes it’s keylog to a registry key that it uses as a buffer.”

Moreover, it’s been speculated that DarkWatchman is might be tailored by or for the ransomware groups. Since the malware offers several stealthy capabilities, so, the groups with fewer skills and abilities will get lucrated of this malware.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity and hacking news updates.

Balaji
Balaji
BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Latest articles

Threat Actors Selling Nunu Stealer On Hacker Forums

A new malware variant called Nunu Stealer is making headlines after being advertised on underground hacker...

Siemens UMC Vulnerability Allows Arbitrary Remote Code Execution

A critical vulnerability has been identified in Siemens' User Management Component (UMC), which could...

Foxit PDF Editor Vulnerabilities Allows Remote Code Execution

Foxit Software has issued critical security updates for its widely used PDF solutions, Foxit...

Windows 11 Privilege Escalation Vulnerability Lets Attackers Execute Code to Gain Access

Microsoft has swiftly addressed a critical security vulnerability affecting Windows 11 (version 23H2), which...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

Threat Actors Selling Nunu Stealer On Hacker Forums

A new malware variant called Nunu Stealer is making headlines after being advertised on underground hacker...

Beware Of Malicious SharePoint Notifications That Delivers Xloader Malware

Through the use of XLoader and impersonating SharePoint notifications, researchers were able to identify...

Malicious Supply Chain Attacking Moving From npm Community To VSCode Marketplace

Researchers have identified a rise in malicious activity on the VSCode Marketplace, highlighting the...