[Defender] All site got infected with Gumblar attack

All my site got infected with a virus which keep al my site redirecting to a site cpamatik.com. How come bitdefender didn't intercept this and how can I prevent this in the future?