It is rare but I heard there are viruses that hide in motherboard BIOS to be able to survive a reformat. So its either that or your SSD. http/www.cnet.com/forums/discussions/can-viruses-be-removed-from-the-bios-281792/
well I'm assuming it is my ssd since my hard disk is and has been working fine since ages(currently using the OS on the hdd) . I have installed a number of OS's on it and they have worked fine, no virus. So I don't think it's my BIOS.
what seems to bug me is how is such kind of a thing happening with a brand new ssd. Sandisk are a very reputable company. I guess we'll know when I get my replacement ssd and test it again.