Magnitude EK via Malvertising


This is the first time I have found Magnitude in the wild and also the first time I have looked at it. Magnitude has been around for a long time so I don’t expect much would have changed with this sample compared to older ones. It is known to drop Cerber Ransomware however in this sample it failed to download the payload properly.

I’m not sure why it failed but during the initial bombardment of exploits my browser struggled and crashed which may have interrupted a flow as I reloaded the browsers causing seemingly another chain to kick off.

There is still lots to look at with this EK so the PCAP and the Flash File which only had one detection on VT at the time of upload is at your leisure.

Background Information:

  • A few articles and samples on Magnitude exploit kit:


Notable Details:

  •– Part of  a malvertising chain
  • – – Dummy site with Gate One
  • – Site with Gate one redirects to Magnitude EK
  •– – Magnitude EK
  • Payload failed to download.
  • Flash File on VirusTotal only had one detection at the time of upload.

Details of infection chain:

(click to enlarge!)


Magnitude EK used a variety of exploits however the payload failed to download correctly.

Full Details:

  • Magnitude is found via malvertising chains exclusively in the Southeast Asia region.
  • There seems to be several flows but I will list the interesting parts.
  • The first gate contains obfuscated code which redirects to the second gateGate1
  • The second gate redirects to Magnitude EK again using obfuscated code.Gate2
  • There appears to be two parts to the landing page on separate URL’s. This is a snippet of the first one.LandingPage1
  • This is a snippet of the second part of Magnitude EK. It begins by using VBScript:LandingPage2.PNG
  • I won’t claim to know exactly what exploits Magnitude used. I know it has used at least the following CVE-2013-2551, CVE-2015-7645 and CVE-2016-4117. The latter is a Flash exploit. The Flash file only had one detection on VT at the time of upload. That vendor identified it as “SWF/Magnitude.Gen” specifically.
  • SHA256: 0e2b5b20706353924e9a6f7a1568ae4076d4620d45f15346dab8e8c3bfdc59b3
    File name: e2gd3fads5
    Detection ratio: 1 / 55
    Antivirus Result Update
    AhnLab-V3 SWF/Magnitude.Gen 20170322

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s