SharkLoader Malware Unleashes Cobalt Strike in Global StrikeShark Campaign: A Deep Dive into the Multi-Vector Cyberattack + Video

Listen to this Post

Featured Image

Introduction:

The cyber threat landscape has once again evolved with the emergence of the StrikeShark campaign, a sophisticated operation leveraging a previously undocumented malware loader known as SharkLoader. Discovered by Kaspersky’s Global Research and Analysis Team (GReAT), this campaign has successfully compromised government entities, diplomatic organizations, and software development firms across Asia, Latin America, and Europe. What makes StrikeShark particularly alarming is its combination of multiple attack vectors—ranging from the exploitation of critical vulnerabilities in public-facing applications to the use of convincing software lures—all designed to ultimately deploy the infamous Cobalt Strike Beacon, granting attackers deep remote access and control over compromised systems.

Learning Objectives:

  • Understand the technical mechanics of the SharkLoader malware and its multi-stage infection chain.
  • Identify the specific vulnerabilities (CVE-2021-26855, CVE-2023-32315, CVE-2024-36401) exploited in the StrikeShark campaign.
  • Learn detection, mitigation, and response strategies to defend against such sophisticated, multi-vector attacks.

You Should Know:

  1. The StrikeShark Attack Chain: From Initial Access to Cobalt Strike Deployment

The StrikeShark campaign is characterized by its diverse and opportunistic methods for gaining initial access. According to Kaspersky’s analysis, the attackers leverage two primary pathways: exploiting known vulnerabilities in internet-facing applications and distributing malicious droppers disguised as legitimate software.

Vulnerability Exploitation: The threat actors have been observed weaponizing publicly available proof-of-concept (PoC) exploits for several high-profile CVEs. These include:
CVE-2021-26855 (ProxyLogon): An Exchange Server vulnerability that allows authentication bypass and impersonation, used to target a diplomatic organization in Indonesia.
CVE-2023-32315: A path traversal flaw in Openfire, exploited against software development organizations in Taiwan.
CVE-2024-36401: A critical remote code execution (RCE) bug in GeoServer, used to target a Colombian organization.
Other Exploited Flaws: The attackers have also targeted vulnerabilities in Microsoft SharePoint, Fortinet FortiOS, Cisco IOS XE, F5 BIG-IP, Zimbra, Apache Shiro, and Hikvision products.

Malicious Droppers: In cases where direct exploitation isn’t feasible, the attackers use custom dropper executables. These droppers are disguised as legitimate software installers, such as Google Update and Cisco AnyConnect. Some samples even drop decoy PDF documents—one appearing as a technical document on liquid rocket engine design—to distract the victim while the malware installs silently in the background.

  1. SharkLoader’s Evasion and Persistence: The Perfect DLL Hijacking

Upon successful initial access, the threat actors establish persistence and deploy SharkLoader using a sophisticated technique known as “Perfect DLL Hijacking”. This technique, detailed by security researcher Elliot Killick, allows the malware to execute malicious code while bypassing the Windows Loader Lock, a system-wide mechanism designed to prevent DLL hijacking.

DLL Side-Loading Chain: The attackers deploy web shells to trigger a DLL side-loading chain involving a legitimate Windows application, SystemSettings.exe. This application is copied to a new location and used to load a malicious file named SystemSettings.dll.
Persistence Mechanisms: To maintain a foothold, SharkLoader creates two Windows scheduled tasks. The first task runs every five minutes, ensuring the loader remains active. The second task fires every second immediately after deployment and is removed after about 1.5 seconds, likely to guarantee SharkLoader launches right away.

  1. The Final Payload: Cobalt Strike Beacon and Post-Compromise Activity

Once SharkLoader is running, it decrypts and loads additional encrypted modules entirely in memory, never writing the final payload to disk.

Payload Decryption: One module, DscCoreR.mui, is decrypted using a Blowfish cipher and contains the Cobalt Strike Beacon shellcode. Another module, SyncRes.dat, uses AES-128 encryption and installs numerous Windows API hooks designed to bypass security monitoring. These hooks redirect system calls through custom stubs, making the malware far harder to detect.
Cobalt Strike Beacon: The final payload is the Cobalt Strike Beacon, a legitimate penetration testing tool often misused by threat actors for command and control, reconnaissance, lateral movement, and data exfiltration.
Post-Compromise Tools: The attackers have also utilized several open-source post-compromise tools like FScan, Searchall, and Pillager, which are commonly used by Chinese-speaking developers. Their activities include extensive reconnaissance, credential dumping from Windows memory and Active Directory, and lateral movement.

4. Detection and Mitigation Strategies

To defend against the StrikeShark campaign and similar threats, organizations must adopt a multi-layered security approach.

Patch Management: The exploitation of known vulnerabilities underscores the critical need for rigorous patch management. Organizations should prioritize patching the CVEs mentioned above, especially for internet-facing applications like Exchange Server, Openfire, and GeoServer.
Endpoint Detection and Response (EDR): Deploy robust EDR solutions that can detect and block malware droppers and suspicious DLL side-loading activities.
Application Whitelisting: Implement application whitelisting to prevent unauthorized executables and DLLs from running.
Security Awareness Training: Train employees to recognize and avoid suspicious software installers and decoy documents.

Monitoring and Hunting:

Monitor for SystemSettings.exe loading from unusual locations.

Monitor for the creation of scheduled tasks with suspicious names or high-frequency execution intervals.
Search for Indicators of Compromise (IOCs): Specific IOCs associated with the campaign include:
Malware Files: `SystemSettings.exe` (MD5: D98F568496512E4F98670C61C97CB07A), `SystemSettings.dll` (MD5: AA3086BE652C8B20B0B29B2730D57119).

Suspicious File Names: `GoogleUpdateStepup.exe`, `AutoUpdate.exe`.

Deploy YARA Rules: Use YARA rules to detect Cobalt Strike Beacons and other C2 frameworks.

  1. Windows and Linux Commands for Detection and Hardening

While the StrikeShark campaign primarily targets Windows systems, the following commands can aid in detection and hardening:

Windows (Detection):

List Scheduled Tasks: `schtasks /query /fo LIST /v` (Look for suspicious tasks running at short intervals).
Find DLL Side-Loading: Use PowerShell to check for `SystemSettings.exe` running from non-system directories: `Get-Process | Where-Object { $_.Path -like “SystemSettings.exe” }`
Check for Suspicious Network Connections: `netstat -ano | findstr ESTABLISHED` (Look for connections to known malicious IPs).
Enable Advanced Audit Policies: `auditpol /set /subcategory:”Process Creation” /success:enable /failure:enable`

Linux (Hardening for GeoServer):

Check GeoServer Version: `cat /path/to/geoserver/start.jar | grep version`
Apply Workaround for CVE-2024-36401: Remove the vulnerable `gt-complex-x.y.jar` file (e.g., rm /path/to/geoserver/webapps/geoserver/WEB-INF/lib/gt-complex-31.1.jar). Note: This may break some functionality.
Block Outbound Connections: Use iptables to block outbound connections to known malicious IPs: iptables -A OUTPUT -d <MALICIOUS_IP> -j DROP.

What Undercode Say:

Key Takeaway 1: The StrikeShark campaign is a stark reminder that the line between legitimate penetration testing tools and malicious attack frameworks is increasingly blurred. The use of Cobalt Strike, a tool designed for security professionals, by threat actors highlights the need for defenders to think like attackers and proactively hunt for signs of its misuse within their networks.
Key Takeaway 2: The combination of widely known vulnerabilities and sophisticated, custom-built malware like SharkLoader demonstrates a shift in the threat actor’s tradecraft. By relying on publicly available PoC exploits and blending in with legitimate software like Google Update and Cisco AnyConnect, the attackers are able to achieve a high level of operational security, making detection and attribution significantly more challenging.

Prediction:

  • -1 Increased Sophistication of Loader Malware: The technical complexity of SharkLoader, with its use of Perfect DLL Hijacking, in-memory execution, and API hooking, suggests that we will see a continued trend of highly evasive, custom-built loaders. This will force security vendors to invest more heavily in behavioral analysis and machine learning-based detection to keep pace.
  • -1 Blurring Lines Between Red and Black Teams: The reliance on Cobalt Strike, a tool synonymous with red teaming, will continue to complicate defense strategies. Organizations must assume that such tools are already present in their environment and focus on detecting the actions taken by the Beacon (e.g., unusual process creation, credential dumping) rather than just the tool itself.
  • +1 Proactive Threat Hunting as a Standard Practice: The StrikeShark campaign will accelerate the adoption of proactive threat hunting. Security teams will need to move beyond reactive alerting and actively search for IOCs, suspicious DLL loading patterns, and unusual scheduled tasks to catch sophisticated threats before they can deploy their final payloads.

▶️ Related Video (76% Match):

🎯Let’s Practice For Free:

🎓 Live Courses & Certifications:

Join Undercode Academy for Verified Certifications

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

IT/Security Reporter URL:

Reported By: Dlross New – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeTesting & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky