A previously undocumented threat actor has been targeting entities in the Middle East with new malware and DNS redirections, Cisco’s Talos security researchers say.
One campaign, which Talos refers to as DNSpionage, employed fake, malicious websites featuring job postings attempting to compromise targets via malicious Microsoft Office documents. The malware used in these attacks supports HTTP and DNS (Domain Name System) communication.
Another campaign targeted Lebanon and the United Arab Emirates (UAE) .gov domains, as well as a private Lebanese airline company, with DNS redirections. To stay undetected, the threat actor spent a lot of time understanding the victims’ network infrastructure, the researchers say. Carefully generated Let’s Encrypt certificates were used for the redirected domains.
The malicious Microsoft Office document on the fake job listing sites was a copy of a legitimate file found on the website of Canadian sustainable energy company Suncor Energy. The attackers likely sent spear-phishing emails to their target to deliver links to the malicious document.
When the document is opened, the macro decodes a PE file and drops it as “svshost_serv.doc” but, when the document is closed, it renames the file to “svshost_serv.exe.” The macro also creates a scheduled task to execute the binary.
The final payload is a remote administration tool that supports DNS tunneling as a covert communication channel. Additional scripts and tools downloaded from the attackers’ server are stored in a Downloads folder, while files to be exfiltrated are stored in the Uploads directory.
During October and November, another campaign targeted victims in Lebanon and UAE. The researchers discovered that multiple nameservers belonging to the public sector in these countries, as well as some companies in Lebanon, were compromised.
The Finance Ministry of Lebanon’s email domain was the victim of a malicious DNS redirection, the same as a domain from the Police (VPN and College) and the Telecommunication Regulatory Authority in UAE. Let’s Encrypt certificates were issued the same dates the attacks took place.
Additionally, the actor targeted Lebanese airline Middle East Airlines (MEA) with a DNS redirection attack. The Let’s Encrypt certificate used in this assault was created the week before and contains alternative names in the subject lines, which allows for multiple domains to be added to the certificate for SSL activities.
“These domains show a clear understanding of the victims’ domains, [which] leads us to believe the attacker was active in these environments to understand the specific domains and certificates they would be required to produce,” Talos notes.
The targets of the DNSpionage malware haven’t been identified, but they are users in Lebanon and the UAE, Talos says. The researchers couldn’t determine whether the DNS redirection attacks were successful either, but the attackers continue their efforts.
“We are highly confident that both of these campaigns came from the same actor. However, we do not know much about the location of the actors and their exact motivations. It is clear that this threat actor was able to redirect DNS from government-owned domains in two different countries over the course of two months, as well as a national Lebanese airline,” Talos says.
Related: APT Group Uses Windows Zero-Day in Middle East Attacks
Related: DarkHydrus Uses Open Source Phishery Tool in Middle-East Attacks