Hackers target ad networks to inject cryptocurrency mining scripts