Virtual Event: Threat Detection and Incident Response Summit - Watch Sessions
Connect with us

Hi, what are you looking for?


Malware & Threats

Malvertising Campaign Abuses Baidu Ad API

Researchers at FireEye discovered a malvertising campaign in which attackers delivered malware by abusing a legitimate ad API provided by Chinese web services company Baidu.

Researchers at FireEye discovered a malvertising campaign in which attackers delivered malware by abusing a legitimate ad API provided by Chinese web services company Baidu.

Instead of relying on exploits like in many other malvertising campaigns, the malicious actors behind this operation leveraged a simple HTML redirector. When victims visited one of the attackers’ web pages, they entered an infinite redirection loop where malicious content was fetched from compromised ad slots and malware was dropped onto the victim’s machine.

Requests to the attack websites were answered with a response that pushed users into the redirection loop and created an iframe where a compromised ad slot’s ID was fed into the Baidu ad API using a standard script. A second iframe was then created and used to obtain the actual attack script.

A VBScript file dropped on the targeted machine downloaded and launched a polymorphic Trojan downloader identified by Microsoft as Win32/Jongiti. The infection chain continued and victims were also served potentially unwanted programs (PUPs), keyloggers and adult content droppers via direct download.

FireEye noted that the attack did not work on systems running Internet Explorer 11 and later. With the introduction of IE 11, Microsoft stopped allowing the client-side execution of VBScript files.

This malvertising campaign was first spotted in mid-October 2015 and it was active until February. The Chinese web services giant has taken steps to neutralize the threat and prevent future campaigns.

The company said it removed all malicious content by March 18 and introduced new rules so that all accounts must be verified using a mobile phone number and domain registration records; both have real-name enforcement in China. By implementing this policy, the company can provide information associated with malicious accounts to law enforcement.

Advertisement. Scroll to continue reading.

Baidu also said it enhanced its malicious content detection systems, and it’s currently in the process of disabling the mechanism that allows user-defined scripts and Flash content to be uploaded to its ad platform.

Malvertising continues to be problematic and has affected numerous high profile websites over the past period. Earlier this month, experts reported spotting a campaign that leveraged the Angler exploit kit to deliver malware via many top news sites and entertainment portals.

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.


Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.


Expert Insights

Related Content


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.


The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...