Hackers use weaponized Word documents to deliver malicious payloads through social engineering.
By embedding malware or exploiting vulnerabilities in these documents, attackers trick users into opening them and leading to the execution of malicious code.
While leveraging the familiarity and trust associated with such file format, this tactic is effective for several illicit purposes:-
Recently, cybersecurity researchers at Netskope identified a new Nim-based malware, which was delivered via weaponized Word documents by the threat actors.
Nim is a new language that sees a rising malware trend, and experts at Netskope Threat Labs note growing Nim-based threats, anticipating further popularity.
Among them, the most notable one is “Dark Power” ransomware, which is also a variant of the Nim-based family that surfaced recently.
The malicious Word doc drops the Nim backdoor, which is sent as an email attachment by a fake Nepali official.
Despite macro security, APT malware, like Menorah, which used a similar tactic months ago, still leverages macros for payload delivery.
Besides this, opening the file shows a blank doc, prompts macro to enable, and then the clicking triggers the:-
VBA project uses passwords and obfuscation to dodge AV solutions. At the same time, the macros employ Chr( ) and string concatenation.
Apart from this, the code is divided into four subroutines, and here below we have mentioned them:-
Word doc deploys Nim-based ‘conhost.exe’ backdoor on September 20, 2023. Nim is a versatile language that compiles the following languages together with Pythonic syntax:-
Backdoor operates with user’s privileges, mimicking Nepali authority to deceive users. C&C server imitates government domains ([.]govnp[.]org).
Nim backdoor checks for analysis tools and terminates if found. Then, it fetches the hostname and encrypts it with the ‘bakery’ function.
The encrypted hostname double-base64 encoded, which was:-
The C&C server issues the commands via HTTP GET, the response is decrypted by the ‘confectionary’ function, executed with cmd /c, and then the result is sent back to the server.
Besides this, for encryption and decryption, “NPA” was used as the key, potentially Nepal Agent.
Here below, we have mentioned all the C2 hosts that were contacted:-
The VBscript ‘OCu3HBg7gyI9aUaB.vbs‘ in the startup folder ensures access. Confirms internet connection, pings Google.
On success, it runs ‘8lGghf8kIPIuu3cM.bat,’ and the batch file drops the files and creates tasks for payload.
Meanwhile, the ‘d.bat’ establishes the persistent execution with the scheduled task ‘ConsoleHostManager.’
Malware in rare languages challenges security experts, and the cross-compilation in Nim aids hackers in creating obstacles for security analysts.
MD5
SHA-1
SHA-256
Network
A high-severity vulnerability has been discovered in the popular web framework, Next.js, which allows attackers…
In a decisive move to bolster cloud security, the Cybersecurity and Infrastructure Security Agency (CISA)…
Fortinet, a global leader in cybersecurity solutions, has issued an urgent security advisory addressing two…
Google has released a new security update on the Stable channel, bringing Chrome to version 131.0.6778.204/.205…
The Cybersecurity and Infrastructure Security Agency (CISA) has released new best practice guidance to safeguard…
The VIPKeyLogger infostealer, exhibiting similarities to the Snake Keylogger, is actively circulating through phishing campaigns. …