Monday, March 4, 2024

Parrot TDS Injecting Malicious Redirect Scripts on Hacked Sites

In the murky depths of the digital world lurks a cunning predator – Parrot TDS, a cyber campaign that has flown under the radar for years, leaving a trail of compromised websites and vulnerable users in its wake. 

Parrot TDS identifies itself through a whisper in the code – keywords like Ndsj, Ndsw, and Ndsx. 

These cryptic markers serve as a beacon for researchers, revealing the campaign’s vast reach and persistent nature. 

Free Trial

Streaming Malware Service

Open Suspicious Files & Links in the ANY RUN Sandbox Safely; Try All Features for Free. Understand malware behavior, collect IOCs, and easily map malicious actions to TTPs — all in our interactive sandbox.

While the recent discovery of Parrot TDS by Palo Alto researchers, the service used to inject malicious scripts into existing JavaScript code on servers, has garnered significant attention, this tactic isn’t entirely new to the campaign’s history. 

Here’s a closer look at its evolution in this area:

Early Days (2019-2020):

  • Limited Code Injection: Parrot TDS primarily relied on appending malicious code to the end of legitimate JavaScript files. This approach was relatively crude and easier to detect.
  • Basic Obfuscation: The injected code often employed basic obfuscation techniques, making it slightly more challenging to read but not significantly hindering analysis.

Evolving Tactics (2021-2022):

  • More Sophisticated Injection: The attackers moved towards injecting code into the middle of existing JavaScript functions, disrupting their normal operation and making detection more complex.
  • Advanced Obfuscation: Increased use of techniques like string encryption and variable renaming made analyzing the injected code significantly more time-consuming.

Recent Developments (2023-Present):

  • Dynamic Injection: Parrot TDS has started leveraging server-side scripting languages like PHP to dynamically inject malicious code into JavaScript files at runtime. This makes detection even more challenging, as the injected code may not be present in static website scans.
  • Targeted Injection: The attackers are now focusing on injecting code into specific JavaScript libraries or plugins known to be used by targeted websites, further increasing the effectiveness of their attacks.

The Payload Takes Flight:

Parrot TDS has morphed through four distinct versions of its landing script, each iteration cloaked in increasingly sophisticated obfuscation techniques. 

Version 1, a simple yet effective trespasser, paved the way for its more cunning descendants, V2, V3, and V4, each armed with layers of complexity designed to evade detection.

Beyond the landing script lies the true payload – the malicious code that delivers the coup de grâce. 

Identified by the keyword Ndsx, these scripts come in nine distinct versions, with V2 reigning supreme, constituting over 70% of the observed samples. 

Unlike its seemingly harmless V1 counterpart, most Parrot TDS payloads are armed to the teeth. 

They can download scripts from malicious URLs, weave intricate webs of obfuscation, and ultimately compromise your online security.

A Global Flock:

Parrot TDS is not a regional nuisance; it’s a global pandemic. 

Its victims span diverse industries and nationalities, united by one common thread – vulnerabilities in popular content management systems like WordPress and Joomla. 

The attackers exploit these weaknesses like a predator finding an open door, infiltrating servers, and turning them into unwitting pawns in their digital game.

Vigilance is the watchword against Parrot TDS. 

Website administrators must become hawk-eyed detectives, scanning their servers for telltale keywords and suspicious code. 

Marcus Hutchins, Malware Analyst: “Parrot TDS’ adaptability shows the need for AI-powered detection systems that can identify suspicious code patterns and anomalies, regardless of obfuscation techniques.”


Latest articles

US Court Orders NSO Group to Handover Code for Spyware, Pegasus to WhatsApp

Meta, the company that owns WhatsApp, filed a lawsuit against NSO Group in 2019....

New SSO-Based Phishing Attack Trick Users into Sharing Login Credentials  

Threat actors employ phishing scams to trick individuals into giving away important details like...

U.S. Charged Iranian Hacker, Rewards up to $10 Million

The United States Department of Justice (DoJ) has charged an Iranian national, Alireza Shafie...

Huge Surge in Ransomware-as-a-Service Attacks targeting Middle East & Africa

The Middle East and Africa (MEA) region has witnessed a surge in ransomware-as-a-service (RaaS)...

New Silver SAML Attack Let Attackers Forge Any SAML Response To Entra ID

SolarWinds cyberattack was one of the largest attacks of the century in which attackers...

AI Worm Developed by Researchers Spreads Automatically Between AI Agents

Researchers have developed what they claim to be one of the first generative AI...

20 Million+ Cutout.Pro User Records Leaked On Hacking Forums

CutOut.Pro, an AI-powered photo and video editing platform, has reportedly suffered a data breach,...
Guru baran
Guru baran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Live Account Takeover Attack Simulation

Live Account Take Over Attack

Live Webinar on How do hackers bypass 2FA ,Detecting ATO attacks, A demo of credential stuffing, brute force and session jacking-based ATO attacks, Identifying attacks with behaviour-based analysis and Building custom protection for applications and APIs.

Related Articles