Hacking

A new DDoS technique abuses HTML5 Hyperlink Audit Ping in massive attacks

Experts at Imperva discovered a new type of large-scale DDoS attack that abuses the HTML5 Ping-based hyperlink auditing feature.

Experts at Imperva Vitaly Simonovich and Dima Bekerman observed a large-scale DDoS attack abusing the HTML5 Ping-based hyperlink auditing feature.

The DDoS attack peaked at a massive 7,500 requests per second and delivered more than 70 million requests over a four-hour period from around 4,000 user IPs.

“We recently investigated a DDoS attack which was generated mainly from users in Asia. In this case, attackers used a common HTML5 attribute, the <a> tag ping, to trick these users to unwittingly participate in a major DDoS attack that flooded one web site with approximately 70 million requests in four hours.” reads the analysis published by Imperva.

“Rather than a vulnerability, the attack relied on turning a legitimate feature into an attack tool. Also, almost all of the users enlisted in the attack were mobile users of the QQBrowser developed by the Chinese tech giant Tencent and used almost exclusively by Chinese speakers.”

Analyzing the logs, experts noticed that all the malicious requests contained the HTTP Headers “Ping-From” and “Ping-To”. This was the first case of a DDoS attack using the <a> tag ping attribute.

Both Ping-Form and Ping-To values referred to the “http://booc[.]gz[.]bcebos[.]com/you[.]html” URL.

The User-Agent in the requests is associated with the popular Chinese chat app, WeChat that uses a default mobile browser to open links in messages. QQBrowser is very popular in China, it is the default browser for many Chinese users.

Experts believe that attackers used a mix of social engineering combined with malvertising to trick WeChat users into opening the browser. Below the possible scenario described by the experts:

  1. The attacker injects malicious advertising that loads a suspected website
  2. Link to the legitimate website with the malicious ad in an iframe is posted to a large WeChat group chat
  3. Legitimate users visit the website with the malicious ad
  4. JavaScript code executes, creating a link with the “ping” attribute that the user clicks on
  5. An HTTP ping request is generated and sent to the target domain from the legitimate user’s browser

Anyway, the new DDoS attack technique could involve almost any browser, experts pointed out that Firefox has the ping attribute disabled by default.

Attackers set up a crafted web page with two external JavaScript files, one of these included an array containing URLs representing the targets of the DDoS attack. The second JS file was used to randomly selected an URL from the array, create the <a> tag with a ‘ping’ attribute, and programmatically click the link every second.

As long as the user remains on the crafted website, a hyperlink auditing ping was sent to the target website. Experts explained that 4,000 users visiting a crafted website would potentially generate more than 14 million requests per hour.

“If you are not expecting or do not need to receive ping requests to your Web server, block any Web requests that contain “Ping-To” and/or “Ping-From” HTTP headers on the edge devices (Firewall, WAF, etc.). This will stop the ping requests from ever hitting your server. (Note: Imperva DDoS Protection is already updated to prevent ping functionality abuse targeted at your sites.)” conclude the expert.

“Application DDoS attacks are here to stay and will continue to evolve at incredible rates. Attackers are always finding new and creative ways to abuse legitimate services for malicious purposes.”

[adrotate banner=”9″] [adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – hacking, HTML5)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Nation-state actors exploited two zero-days in ASA and FTD firewalls to breach government networks

Nation-state actor UAT4356 has been exploiting two zero-days in ASA and FTD firewalls since November…

4 hours ago

Hackers hijacked the eScan Antivirus update mechanism in malware campaign

A malware campaign has been exploiting the updating mechanism of the eScan antivirus to distribute…

11 hours ago

US offers a $10 million reward for information on four Iranian nationals

The Treasury Department's Office of Foreign Assets Control (OFAC) sanctioned four Iranian nationals for their…

18 hours ago

The street lights in Leicester City cannot be turned off due to a cyber attack

A cyber attack on Leicester City Council resulted in certain street lights remaining illuminated all…

18 hours ago

North Korea-linked APT groups target South Korean defense contractors

The National Police Agency in South Korea warns that North Korea-linked threat actors are targeting…

1 day ago

U.S. Gov imposed Visa restrictions on 13 individuals linked to commercial spyware activity

The U.S. Department of State imposed visa restrictions on 13 individuals allegedly linked to the…

2 days ago

This website uses cookies.