Malvertising: Distributing Malice via Cross-Domain Script Inclusion

  • The attacker analyzes the scripts that are included in the target website from the third-party domain.
  • The attacker compromises the third-party domain, injects malicious code and then let the attack trigger.
  • When user opens the primary website in browser, the scripts are included from the cross domain injected with malicious content and served to the end-users.
  • Malvertising with malicious widgets and redirection
  • Malvertising with hidden iframes
  • Malvertising with infected Content Delivery Networks (CDNs)
  • Malvertising through Malicious Banners




Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aditya K Sood

Aditya K Sood

More from Medium

shark on wire 1 | category-forensics (by picoCTF)

VulnHub — VulnCMS: 1 (Drupalgeddon Path)

#2 Fawn — Starting point — Hack The Box Write-up

Paper — HacktheBox Walkthrough