SILKLOADER

Even though libvlc is an open-source project, the threat actor did not modify and compile the open-source code to create the malicious libvlc.dll files.
Instead, the malicious DLLs were created from scratch.
These DLLs are designed to mimic the legitimate libvlc.dll file by including export function names found in the legitimate version and thus imported by the VLC executable.
Only one of the export functions contains malicious code.

All other export functions are trivially implemented with “retn 0” instructions .
The “libvlc_new” export function, which implements the malicious code, is called by the VLC executable to create a libvlc instance6.
As such, the malicious code is executed immediately when the renamed VLC executable is launched.

The malicious code acts as a shellcode loader.
The shellcode loader dynamically resolves the API functions it needs.
These functions and module names are encrypted using a simple XOR based algorithm.
The loader first decodes the base64 encoded shellcode using the CryptStringToBinaryA function.
It then performs a set of anti-analysis checks, which are explained in the following subsection.
Lastly, it proxies the execution flow to the beginning of the shellcode by calling CertEnumSystemStoreLocation and setting the allocated shellcode’s address as the callback function parameter.

Anti-sandbox checks
The loader contains three anti-sandbox checks that will cause execution to terminate:
1.
It checks if the username (retrieved via GetUserNameW) is “vbccsb”.
This is the default username used by ThreatBook Cloud Sandbox, a platform primarily used within the Chinese cybersecurity sphere.
2.
It checks if the process command line contains the word “TRANSFER”.
This is likely an anti-sandbox check for VirusTotal sandboxes.
3.
It checks if the process name (VLC executable) matches a hard-coded value.
This is likely an anti-sandbox check as well, as certain sandboxes do not use the original filename for execution.
Based on analyzed samples, original filenames appear to be either one of following:
• msdtc.exe
• wpspdf.exe
• charmap.exe

The loaded shellcode contains a stub which calls a decoder located at the end of the loaded shellcode to decode another stub.
This newly decoded stub then decodes an appended payload which has been XORed.
In the case of all SILKLOADER samples that were analyzed, the appended payload was a Cobalt Strike reflective loader.
This indicates that SILKLOADER was created for the sole purpose of being used as a Cobalt Strike beacon loader.

Sign Up For Threat Alerts

Loading...
Threats Icon

Jul 04, 2023

Rhysida Ransomware RaaS Crawls Out of Crimeware...

The Rhysida ransomware-as-a-service (RaaS) group has gone from a dubious newcomer to a fully-fledged ransomware...

Threats Icon

Jun 26, 2023

Operation Magalenha – Long-Running Campaign Pursues Portuguese...

The attackers can steal credentials and exfiltrate users' data and personal information, which can be...

Threats Icon

Apr 24, 2023

Lazarus Group Adds Linux Malware to Arsenal...

Researchers have discovered a new campaign conducted by Lazarus, known as "Operation DreamJob," which targets...

Threats Icon

Apr 23, 2023

Additional IOCs for 3cx breach

Recently an unexpected malicious activity emanating from a legitimate, signed binary, 3CXDesktopApp was observed.

Threats Icon

Apr 23, 2023

Ex-Conti and FIN7 Actors Collaborate with New...

IBM Security X-Force recently discovered a new malware family Analysts have called "Domino," which Analysts...

Threats Icon

Apr 20, 2023

AuKill EDR killer malware abuses Process Explorer...

The AuKill tool abuses an outdated version of the driver used by version 16.32 of...

Threats Icon

Apr 20, 2023

Fake Chrome updates spread malware

A campaign running since the end of last year is using hacked sites to push...

Threats Icon

Apr 20, 2023

QBot using new attack vector in its...

QBot, also known as QakBot, previously operated as a banking trojan and has since transformed...

Threats Icon

Apr 20, 2023

CrossLock Ransomware Emerges: New Golang – Based...

The CrossLock ransomware employs the double extortion technique to increase the likelihood of payment from...

Threats Icon

Apr 20, 2023

Windows Zero-Day Vulnerability CVE-2023-28252 Exploited by Nokoyawa...

A zero-day vulnerability in the Microsoft Windows system, which also affects Windows 11, has been...

Threats Icon

Apr 18, 2023

Additional IOcs for 3cx breach

Recently an unexpected malicious activity emanating from a legitimate, signed binary, 3CXDesktopApp was observed. As...

Threats Icon

Apr 18, 2023

Additional IOcs for 3cx breach

Recently an unexpected malicious activity emanating from a legitimate, signed binary, 3CXDesktopApp was observed. As...

Threats Icon

Apr 18, 2023

APT36 Expands Interest Within Indian Education Sector

Symantec described UPS in 2016 report as Buckeye (also known as APT3 Gothic Panda UPS...

Threats Icon

Apr 17, 2023

ChinaZ DDoS Bot Malware Distributed To Linux...

The ChinaZ DDoS bot malware was discovered targeting Linux systems while a version for Microsoft...

Threats Icon

Apr 16, 2023

Resurgence Of The Mexals Cryptojacking Campaign

The Mexals crypto jacking campaign has been in operation since at least 2021 and continues...