New Facebook Worm Variant Leverages Multiple Cloud Services

New Facebook Worm Variant Leverages Multiple Cloud Services

Social networks are particularly interesting for malware authors because they can be leveraged to spread an infection starting with a single person.

Patient zero can transmit the piece of malware to all of his or her contacts which in turn do the same, quickly becoming viral and affecting hundreds of thousands of people.

We came across a worm that we think belongs to the Kilim family and whose purpose is to compromise a user and spread via Facebook.

The lure is the promise of pornographic material that comes as what appears to be a video file named Videos_New.mp4_2942281629029.exe, which in reality is a malicious program.

Once infected, the victim spreads the worm to all of his contacts and groups that he belongs to, by posting the following message:

Sex photos of teen girls in school – NEW SCANDAL WHL2R{removed} Like · · Share

The bad guys have built a multi-layer redirection architecture that uses the URL shortener, Amazon Web Services and cloud storage.


Technical details

The following is the sequence of events that happen when a user clicks to download the “sex photos of teen girls”.

  1. shortened URL, redirects to another URL
  2. Second URL redirects to an Amazon Web Services (AWS) page
  3. AWS page redirects to a malicious site (
  4. The malicious site checks the user’s computer and either redirect to ads for mobile devices or follows a link to
  5. The user receives a prompt to download a file (Trojan) from
  6. If the user runs the file, his machine is infected and additional components are downloaded (Worm)
  7. The user’s computer is now a bot and spreads the original link to his contacts/groups on Facebook.
hxxp:// hxxp:// hxxp:// hxxps:// hxxp:// hxxps://{removed} hxxps://{removed} hxxp:// hxxp:// hxxp:// hxxp:// hxxp://

Malicious backend

We identified three domains involved in the configuration and update mechanism for the worm:

  • | Enom, whoisguard Protected, Panama | | PVH AS16276 OVH
  • | Enom, whoisguard Protected, Panama | | PVH AS16276 OVH
  • | Enom, whoisguard Protected, Panama |AS13335 CLOUDFLARENET

The first domain ( filters potential victims by identifying which user-agent their browser is showing in possibly the most complete – but not necessarily efficient – way we have ever seen:


Mobile users are redirects towards affiliate pages for various offers:


Desktop users get a different payload which is a link chosen randomly from a predefined array:


This is a malicious file (Trojan) hosted on the popular cloud storage Box. Malwarebytes Anti-Malware detects it as Trojan.Agent.ED (VirusTotal link).

This binary is responsible for downloading additional resources (the worm component) from another resource (

Here we find a malicious Chrome extension (VirusTotal link) and additional binaries (scvhost.exe and son.exe).

Additional code is retrieve by the piece of malware (perhaps in case the user does not have the Chrome browser) from a third site,, to spread the worm via Facebook:

As mentioned earlier, a rogue Chrome extension is injected but that is not all. The malware also creates a shortcut for Chrome that actually launches a malicious app in the browser directly to the Facebook website:


The “-load-and-launch-app” parameter calls the rogue app (Google developer page). The manifest and other needed files are located in the AppData folder, in a directory called Mozila:


In this ‘modified’ browser, attackers have full control to capture all user activity but also to restrict certain features.

For example, they have disabled the extensions page that once can normally access by typing chrome://extensions/, possibly in an attempt to not let the user disable or remove the malicious extension.

Clearly, the crooks behind this Facebook worm have gone to great lengths to anonymize themselves but also to go around browser protection by creating their own booby-trapped version.

We have reported the various URLs to their respective owners and some have already been shutdown. However, we still urge caution before clicking on any link that promises free prizes or sensational items.

Once again the bad guys are leveraging human nature and while we do not know how many people fell for this threat, we can guess that it most likely affected a significant number of Facebook users.


Jérôme Segura

Principal Threat Researcher