- May 7, 2002
- 10,371
- 762
- 126
https://www.bleepingcomputer.com/ne...-kit-hides-malvertising-code-in-image-pixels/
I am betting that Ad companies don't really care, as long as it "looks" OK to them, they allow it on their networks, and thus spread everywhere.
Since a large number of advertising networks allow advertisers to deliver JavaScript code with their ads, the crooks also included JS code that would parse the image, extract the pixel transparency values, and using a mathematical formula, convert those values into a character.
Since images have millions of pixels, crooks had all the space they needed to pack malicious code inside a PNG photo.
I am betting that Ad companies don't really care, as long as it "looks" OK to them, they allow it on their networks, and thus spread everywhere.