Rewrite the below paragraph: A newer version of a malware loader called Hijack Loader…
- User
Rewrite the below paragraph: A newer version of a malware loader called Hijack Loader has been observed incorporating an updated set of anti-analysis techniques to fly under the radar.
"These enhancements aim to increase the malware's stealthiness, thereby remaining undetected for longer periods of time," Zscaler ThreatLabz researcher Muhammed Irfan V A said in a technical report.
"Hijack Loader now includes modules to add an exclusion for Windows Defender Antivirus, bypass User Account Control (UAC), evade inline API hooking that is often used by security software for detection, and employ process hollowing."
Hijack Loader, also called IDAT Loader, is a malware loader that was first documented by the cybersecurity company in September 2023. In the intervening months, the tool has been used as a conduit to deliver various malware families.
- Assistant
A recent version of the malware loader known as Hijack Loader, also referred to as IDAT Loader, has recently been enhanced with sophisticated anti-analysis features to remain undetectable.
"These improvements are designed to augment the stealth capabilities of the malware, allowing it to avoid detection for extended durations," stated Muhammed Irfan V A, a researcher at Zscaler ThreatLabz, in a detailed report.
"The updated Hijack Loader now includes functionalities that disable Windows Defender Antivirus, circumvent User Account Control (UAC), dodge inline API hooking commonly utilized by security programs for identifying threats, and utilize process hollowing techniques."
First identified in September 2023 by the cybersecurity firm, Hijack Loader has since been actively deployed to distribute various types of malware.
- User
Rewrite the follwing paragraph: What makes the latest version notable is the fact that it decrypts and parses a PNG image to load the next-stage payload, a technique that was first detailed by Morphisec in connection with a campaign targeting Ukrainian entities based in Finland.
- Assistant
The most recent iteration of the software is particularly distinguished by its ability to decrypt and parse a PNG image to initiate the loading of the subsequent payload. This method was initially described by Morphisec in a study detailing a campaign aimed at Ukrainian organizations located in Finland.
- User
Rewrite it :Researchers also observed additional unhooking techniques used to hide malicious activity.
- Assistant
Additionally, researchers have noted the use of extra unhooking methods designed to conceal malicious activities.
- User
Rewrite the following paragraph: The sample analyzed implements complex multi-stage behavior in which the first-stage executable (streaming_client.exe) deobfuscates an embedded configuration partially used for dynamic API resolution (using PEB_LDR_DATA structure without other API usage) to harden against static analysis.
Afterward, the malware uses WinHTTP APIs to check if the system has an active internet connection by connecting to https[:]//nginx[.]org. If the initial connectivity check succeeds, then execution continues, and it connects to a remote address to download the second-stage configuration blob.
- Assistant
The analyzed sample exhibits intricate multi-stage functionality wherein the initial executable (streaming_client.exe) deobfuscates an embedded configuration that assists in dynamic API resolution (utilizing the PEB_LDR_DATA structure exclusively, without relying on other APIs) to increase resistance to static analysis.
Subsequently, the malware employs WinHTTP APIs to verify the presence of an active internet connection by establishing a connection to https[:]//nginx[.]org. Should this initial check for connectivity prove successful, it proceeds to connect to a remote server to fetch the second-stage configuration blob.
- User
Rewrite the following paragraph: Upon successfully retrieving the second-stage configuration, the malware iterates over the downloaded buffer, checking for the initial bytes of a PNG header. It then proceeds to search for the magic value C6 A5 79 EA, which precedes the XOR key (32 B3 21 A5 in this sample) used to decrypt the rest of the configuration blob.
- Assistant
After successfully obtaining the second-stage configuration, the malware scans the downloaded buffer to identify the initial bytes indicative of a PNG header. Following this, it searches for the magic value C6 A5 79 EA, which is found just before the XOR key (32 B3 21 A5 in this example). This key is then used to decrypt the remainder of the configuration blob.
- User
Rewrite it: Following XOR decryption, the configuration undergoes decompression using the RtlDecompressBuffer API with COMPRESSION_FORMAT_LZNT1. After decompressing the configuration, the malware loads a legitimate Windows DLL specified in the configuration blob (in this sample, C:\Windows\SysWOW64\mshtml.dll).
The second-stage, position-independent shellcode retrieved from the configuration blob is written to the .text section of the newly loaded DLL before being executed. The HijackLoader second-stage, position-independent shellcode then performs some evasion activities (further detailed below) to bypass user mode hooks using Heaven’s Gate and injects subsequent shellcode into cmd.exe.The injection of the third-stage shellcode is accomplished via a variation of process hollowing that results in an injected hollowed mshtml.dll into the newly spawned cmd.exe child process.
- Assistant
Following the XOR decryption process, the configuration is decompressed using the RtlDecompressBuffer API employing COMPRESSION_FORMAT_LZNT1. Once decompressed, the malware then loads a legitimate Windows DLL specified within the configuration blob (in this instance, C:\Windows\SysWOW64\mshtml.dll).
The second-stage position-independent shellcode extracted from the configuration blob is injected into the .text section of the loaded DLL and then executed. This second-stage shellcode of HijackLoader conducts several evasion techniques to circumvent user mode hooks using the Heaven’s Gate strategy and proceeds to inject further shellcode into cmd.exe. This third-stage shellcode injection is achieved through a specialized form of process hollowing, ultimately culminating in the insertion of a modified hollowed mshtml.dll into a newly created cmd.exe child process.
- User
rewrite: The third-stage shellcode implements a user mode hook bypass before injecting the final payload (a Cobalt Strike beacon for this sample) into the child process logagent.exe. The injection mechanism used by the third-stage shellcode leverages the following techniques:
Process Doppelgänging Primitives: This technique is used to hollow a Transacted Section (mshtml.dll) in the remote process to contain the final payload. Process/DLL Hollowing: This technique is used to inject the fourth-stage shellcode that is responsible for performing evasion prior to passing execution to the final payload within the transacted section from the previous step.
- Assistant
The third-stage shellcode executes a bypass of user mode hooks prior to injecting the ultimate payload (in this instance, a Cobalt Strike beacon) into the child process, logagent.exe. The injection strategy employed by the third-stage shellcode utilizes the following methods:
Process Doppelgänging Primitives: This approach involves hollowing out a Transacted Section (mshtml.dll) within the remote process to house the final payload.
Process/DLL Hollowing: This method facilitates the injection of the fourth-stage shellcode, which undertakes evasion actions before handing off execution to the final payload located within the transacted section established in the preceding steps.
- User
rewrite: This additional fourth-stage shellcode written to logagent.exe performs similar evasion activities to the third-stage shellcode executed in cmd.exe (as indicated in the hook bypass section) before passing execution to the final payload.
- Assistant
The fourth-stage shellcode injected into logagent.exe carries out evasion techniques akin to those conducted by the third-stage shellcode in cmd.exe (referenced in the hook bypass section), before transitioning control to the final payload.
- User
initial access mitre mapping of Hijack Loader malware
- Assistant
The MITRE ATT&CK framework provides a comprehensive model for understanding the tactics, techniques, and procedures (TTPs) used by cyber adversaries. For a malware like Hijack Loader, which primarily functions as a malware loader, the "Initial Access" tactic is pivotal as this is the stage where it first infiltrates a system. Here are potential MITRE ATT&CK mappings for the Initial Access methods that might be leveraged by the Hijack Loader malware:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.