New HijackLoader Malware Uses Advanced Techniques to Avoid Detection

Threat actors exploit HijackLoader because it is a powerful tool for injecting malicious code into legitimate processes, enabling stealthy execution of payloads. 

This technique helps them to evade detection by leveraging trusted applications to carry out malicious activities. 

This scenario makes it more complicated for security measures to effectively identify and mitigate the threat.

Cybersecurity researchers at Crowdsrtike recently discovered a HijackLoader (aka IDAT Loader) that employs sophisticated techniques to evade detection.

Sophisticated HijackLoader Malware

CrowdStrike researchers found HijackLoader evolving with new defense evasion tricks like process hollowing, pipe-triggered activation, and a mix of process doppelganging. 

These enhancements make it stealthier and harder to analyze, not only that even extra unhooking techniques were also spotted.

CrowdStrike uncovered a sophisticated HijackLoader sample that starts with streaming_client.exe, which obfuscates a configuration to evade static analysis. 

Using WinHTTP APIs, it tests internet connectivity by contacting https[:]//nginx[.]org. If successful, it downloads a second-stage config from a remote server.

After getting the second-stage config, the malware hunts for PNG header bytes and a magic value. It then decrypts using XOR and decompresses using RtlDecompressBuffer API. 

Next, it loads a legit Windows DLL specified in the configuration and writes the shellcode to its .text section for execution. It utilizes Heaven’s Gate to evade user mode hooks and injects more shellcodes into cmd.exe. 

HijackLoader infection chain (Source – Crowdstrike)

The third-stage shellcode injects a final payload like a Cobalt Strike beacon into logagent.exe using process hollowing.

HijackLoader evades detection with Heaven’s Gate hook bypass and unhooking DLLs watched by security tools. It also uses process hollowing variations and transacted hollowing for injection.

This merges the transacted section and process doppelgänging with DLL hollowing.

Main Evasion Techniques

Here below, we have mentioned all the main evasion techniques that the HijackLoader and Shellcode use:-

  • Hook Bypass: Heaven’s Gate and Unhooking
  • Process Hollowing Variation
  • Interactive Process Hollowing Variation: Tradecraft Analysis
  • Transacted Hollowing² (Transacted Section/Doppelgänger + Hollowing)
  • Transacted Section Hollowing
  • Process Hollowing

The exploitation of HijackLoader underscores the significance of proactive cybersecurity measures to detect and prevent such covert attacks.

Organizations should prioritize regular security audits, employ robust endpoint protection, and stay updated on emerging threats to effectively defend against the evolving tactics employed by threat actors. 

Besides this, user education and awareness training are essential in mitigating the risks associated with these sophisticated attack vectors.

Stay updated on Cybersecurity news, Whitepapers, and Infographics. Follow us on LinkedIn & Twitter.

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

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago