Categories: Malware

Iranian APT Hackers Attack Government Organizations via Weaponized Excel Files to Steal Network Credentials

Researchers observed a new malware called ForeLord from the Iranian APT hackers via weaponized MS excel document to attacker government organizations.

Iranian Threat group called COBALT ULSTER aka MuddyWater,  Seedworm, TEMP.Zagros is behind this attack and believed to be a retaliation operation from Iran after a January 2, 2020, U.S. drone strike that kills Iran security Chief Soleimani.

We have reported last year about this same threat group were added a new set of latest exploits to their hacking arsenal and tactics, techniques and procedures (TTPs) to target government entities and telecommunication sectors.

Researchers also observed a series of spearphishing campaigns that occurred between mid-2019 and mid-January 2020 targeted governmental organizations in Turkey, Jordan, Iraq.

ForeLord is a remote access trojan that often delivered via a malicious excel document that contains a Macro with a stealthy persistence mechanism.

ForeLord Infection Vectors

In the initial stage of the attack, Threat actors launching the spearphishing emails that deliver a ZIP archive containing malicious Excel files.

This malicious excel file uses as a Macro that helps to drop the ForeLord RAT, at the same time malicious document uses cmd.exe to execute a batch script to add a key in the registry to maintain the persistence in every time victims restart the system.

malicious Excel file creating the ForeLord persistence mechanism.

Threat actors using DNS based command and control server to transfer the data and the name “Forelord” derived from one of the DNS responses “lordlordlordlord” in the part fo the C2 Protocol.

According to Secureworks research “The use of DNS tunneling means the requests are initially directed to legitimate DNS servers, which relay the requests to malicious nameservers controlled by the threat actors. Pivoting on elements of the C2 protocol, CTU researchers identified 14 additional domains possibly registered by COBALT ULSTER.”

Infection Chain (Source:SecureWorks)

Once the threat actors gained the initial access, they dropped several tools including PasswordDumper.exe, PASS32.dll, Mimikatz and more to collect credentials, test those credentials on the network, and create a reverse SSL tunnel to provide an additional access channel to the network.

Specifically, an open-source penetration testing tool is known as CredNinja.ps1 used in this attack to collected credentials or hashes.

Threat actors used a list of valid user accounts from the target domain in conjunction with a weak password list to determine potentially accessible accounts.”

Finally, they are using another tool called Secure Socket Funneling, a network tool and toolkit to forwards stolen data from multiple sockets through a single secure TLS tunnel to a remote computer.

Suggested Mitigation

Apply security updates to all systems, particularly those that are Internet-facing.

Protect user credentials within the environment through periodic user awareness training and multi-factor authentication (MFA). Employ MFA for remote access solutions and web-based email access, including Office365

As most of the observed Iranian intrusions involved malware or abuse of native system tools, employ endpoint detection technology that detects those types of activity.

Establish and test procedures for responding to denial of service activity. If appropriate, a distributed denial of service mitigation service provider can ensure continuity of Internet-facing services.
Balaji

BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

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…

1 day 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…

1 day ago