Mar 28, 2023Ravie LakshmananMalware Attack / Hacking

DBatLoader Malware

A new phishing campaign has set its sights on European entities
to distribute Remcos RAT[1]
and Formbook[2]
via a malware loader dubbed DBatLoader.

“The malware payload is distributed through WordPress websites
that have authorized SSL certificates, which is a common tactic
used by threat actors to evade detection engines,” Zscaler
researchers Meghraj Nandanwar and Satyam Singh said[3]
in a report published Monday.

The findings build upon a previous report[4]
from SentinelOne last month that detailed phishing emails
containing malicious attachments that masquerade as financial
documents to activate the infection chain.

Some of the file formats used to distribute the DBatLoader
payload concern the use of a multi-layered obfuscated HTML file and
OneNote attachments.

The development adds to growing abuse[5]
of OneNote files[6]
as an initial vector for malware distribution since late last year
in response to Microsoft’s decision to block macros by default in
files downloaded from the internet.

DBatLoader, also called ModiLoader and NatsoLoader, is a
Delphi-based malware that’s capable of delivering follow-on
payloads from cloud services like Google Drive and Microsoft
OneDrive, while also adopting image steganography techniques to
evade detection engines.

DBatLoader Malware

One notable aspect of the attack is the use of[7]
mock trusted directories[8] such as “C:\Windows
\System32” (note the trailing space after Windows) to bypass User
Account Control (UAC[9]) and escalate
privileges.

WEBINAR

Discover the Hidden Dangers of Third-Party SaaS Apps

Are you aware of the risks associated with third-party app
access to your company’s SaaS apps? Join our webinar to learn about
the types of permissions being granted and how to minimize
risk.

RESERVE YOUR
SEAT
[10]

A caveat here is that the directories cannot be directly created
from within the Windows Explorer user interface, instead requiring
the attacker to rely on a script to accomplish the task and copy to
the folder a rogue DLL and a legitimate executable (easinvoker.exe)
that’s vulnerable to DLL hijacking in order to load the DLL
payload.

This enables the attackers to conduct elevated activities
without alerting users, including establishing persistence and
adding the “C:\Users” directory to the Microsoft Defender exclusion
list to avoid getting scanned.

To mitigate risks posed by DBatLoader, it’s advised to monitor
process executions that involve filesystem paths with trailing
spaces and consider configuring Windows UAC to Always notify[11].

Found this article interesting? Follow us on Twitter [12] and LinkedIn[13] to read more exclusive
content we post.

References

  1. ^
    Remcos
    RAT
    (thehackernews.com)
  2. ^
    Formbook
    (thehackernews.com)
  3. ^
    said
    (www.zscaler.com)
  4. ^
    previous
    report
    (www.sentinelone.com)
  5. ^
    growing
    abuse
    (www.zscaler.com)
  6. ^
    OneNote
    files
    (thehackernews.com)
  7. ^
    use
    of
    (medium.com)
  8. ^
    mock
    trusted directories

    (daniels-it-blog.blogspot.com)
  9. ^
    UAC
    (attack.mitre.org)
  10. ^
    RESERVE YOUR SEAT
    (thn.news)
  11. ^
    Always
    notify
    (learn.microsoft.com)
  12. ^
    Twitter 
    (twitter.com)
  13. ^
    LinkedIn
    (www.linkedin.com)

Read more