Security News

Perspective of the Month | APT Groups | May 2023

Which APT groups were active in May 2023? Read how the Sidewinder APT group used polymorphic attacks against Pakistan and Turkey, and how to defend.

Brandefense logo Updated 5 Min Read
perspective of the months apt groups

Sidewinder is an APT group, a state-linked hacking group that MITRE ATT&CK describes as a suspected Indian threat actor active since at least 2012. This post covers a recent campaign in which it targeted government authorities and individuals in Pakistan and Turkey. The attacks use polymorphic files and the Office flaw CVE-2017-0199, and they usually start with spear-phishing emails.

Which APT groups & ransomware gangs were effective this month? The new malware, cyber-attacks, and more are in this monthly analysis.

Sidewinder APT: Unleashing Polymorphic Attacks on the Cyber Battlefield

 

How Does the Sidewinder APT Group Target Government Authorities and Individuals in Pakistan and Turkey?

Recent researches showed that the Sidewinder APT group has expanded their attack capabilities and launched a multiphase polymorphic attack campaign targeting victims in Pakistan and Turkey. The campaign employs advanced techniques to evade detection by traditional signature-based antivirus (AV) systems and deliver malicious payloads.

Sidewinder, also known as Rattlesnake, Razor Tiger, APT-C-17, or T-APT-04, is an APT (Advanced Persistent Threat) group believed to originate from India and sponsored by the state. This highly sophisticated group has been conducting cyber operations since at least 2012. Their targets predominantly include government, military, telecommunication, media organizations, law enforcement, financial institutions, and business entities across the Asia-Pacific region.

Since their activities were first detected in 2018, Sidewinder has garnered attention for their advanced techniques and cyber espionage campaigns. They focus on countries such as Pakistan, Afghanistan, Bhutan, China, Myanmar, Nepal, and Sri Lanka. The group’s operations demonstrate significant sophistication, making them a formidable threat to their targets.

Typical attack chains mounted by the threat group start with spear-phishing emails containing an attachment or a malicious URL that directs the victims to an intermediary payload to drop the final-stage malware. Additionally, the adversary has been known to utilize Telegram to exfiltrate sensitive data from compromised computers.

In the campaign’s first phase, which began in November 2022, Pakistani targets were subjected to server-side polymorphic attacks. This technique modifies the appearance of malicious code through encryption and obfuscation. The use of polymorphism and server-based variations further complicates detection and analysis. Each time the server responds, it provides a different version of the file, bypassing signature-based detection. As a result, victims in the Pakistani IP range receive an RTF payload, while those outside the range receive an 8-byte RTF file containing a single string.

The attackers leverage a remote template injection flaw to deliver malicious payloads masked as documents catered to the victims’ interests. One example document discovered by researchers during the campaign had the subject line “GUIDELINES FOR BEACON JOURNAL – 2023 PAKISTAN NAVY WAR COLLEGE (PNWC).” Another pretended to be a letter of offer and acceptance for defense-related purchases. Interestingly, instead of using malicious macros within documents, the APT group exploits the CVE-2017-0199 vulnerability to deliver the payloads. This vulnerability allows them to bypass antivirus scanners and execute malicious code.

How a Sidewinder attack runs
  1. Spear-phishing emailAn attachment or malicious URL leads to an intermediary payload.Technique T1566 (MITRE ATT&CK, opens in a new tab)
  2. Remote template injectionThe document uses CVE-2017-0199, not macros, to fetch the payload.Technique T1221 (MITRE ATT&CK, opens in a new tab)
  3. Server-side polymorphismThe server returns a different file each time. Pakistani IP range gets an RTF payload.
  4. Final-stage malwareThe intermediary payload drops it on the victim’s computer.
  5. Data theftThe group is known to use Telegram to exfiltrate data from compromised computers.

In the early March of 2023, it was discovered that the campaign had expanded to target victims in Turkey in its second phase. Researchers found a new malicious document connected to the previous attack, indicating that Turkey had become a new target country for Sidewinder. The establishment of servers delivering second-stage payloads specifically to victims in Turkey aligns with geopolitical factors, particularly the Turkish government’s support of Pakistan, which has sparked criticism from India. This suggests that regional dynamics and strategic interests influence the APT group’s choice of targets.

Sidewinder at a glance
Also known as.
Rattlesnake, Razor Tiger, APT-C-17, T-APT-04.
Active since.
At least 2012.
Believed origin.
India, state sponsored (as the post says). MITRE ATT&CK: suspected Indian threat actor.
Targets.
Government, military, telecommunication, media, law enforcement, finance and business in the Asia-Pacific region.
Recent campaign.
Pakistan from November 2022, then Turkey from early March 2023.

 

How can Brandefense help you protect against Sidewinder?

 

To protect against the ongoing threat of Sidewinder APT, regional organizations should prioritize cybersecurity and establish strong security measures. Since Sidewinder and other APT groups often use targeted spear-phishing as their initial attack method, organizations need reliable email protection solutions to isolate and examine malicious attachments safely. It’s also recommended for organizations continuously monitor their network activity and consider implementing DRPS (Digital Risk Protection Service) solutions and threat intelligence services to improve their defense against cyber attacks. By taking these proactive measures, organizations can better protect themselves against the sophisticated tactics of Sidewinder and other cyber threat actors.

Frequently Asked Questions.

What is the Sidewinder APT group?

Sidewinder is an APT (Advanced Persistent Threat) group believed to originate from India and to be state sponsored. MITRE ATT&CK lists Rattlesnake and T-APT-04 as aliases and says it has been active since at least 2012.

Who does Sidewinder target?

MITRE ATT&CK lists government, military and business entities in Asia, mainly Pakistan, China, Nepal and Afghanistan. The post adds telecommunication, media, law enforcement and finance, and a campaign against Pakistan and Turkey.

How does a Sidewinder attack start?

Usually with spear-phishing emails that carry an attachment or a malicious URL. MITRE ATT&CK also lists spear-phishing attachments and links for the group.

What is CVE-2017-0199?

It is a Microsoft Office and WordPad remote code execution flaw, published 12 April 2017, with a CVSS v3.1 base score of 7.8 (High) in NVD. The post says Sidewinder uses it to deliver payloads instead of macros.

What is server-side polymorphism?

The post describes it as a server that returns a different version of a file each time it responds, so signature-based antivirus cannot match it.

Sources

  1. 1 MITRE ATT&CK: Sidewinder (G0121)
  2. 2 NIST NVD: CVE-2017-0199
  3. 3 MITRE ATT&CK: Template Injection (T1221)
Share