Can a DSLR camera get a virus?

Some time ago my laptop was infected by some worn/virus, which also spread to my DSLRs memory card and USB sticks. All photos on the memory card were shown as 1KB files, without a possibility to open them. I dropped away a DSLRs memory card and all the USB sticks, and also re-isntalled the Windows on my laptop. Just a few days ago I bought a new memory card for my DSLR, made some shots. As soon as I plugged in a memory card, my laptop’s virus alert poped out, and all files on the memory card was again shown as 1KB files.

Could someone tell me where could be the case? In DSLR? It doesnt seem likely to me, but right now I ave no other guess.