Next, I used my father's USB to transfer another file from my netbook to his laptop (my USB was with my teacher at the time) and then the USB got infected.
First, how do you know? Have you scanned it? What does the virus do? How did it get there, or do you not know?
So it means that a virus from the library computer (which runs on Windows 8) got into Ubuntu
I'm not sure what you mean here. You plugged a USB with a possible Windows virus into an Ubuntu laptop. Now maybe the virus tries to run itself as soon as you plug it in - I guess that's possible. If it is a Windows virus, maybe it runs this command:
move . C:\Program Files\NotAVirus
to move the virus to program files. But in Ubuntu there is no path called C:\Program Files\NotAVirus
, or any move
command. A virus running that command here, would get this error:
move: command not found
So lets summarise:
A virus is at school - possible, although unlikely in my opinion.
It moves to your USB (USB 1) - quite possible
It moves to Ubuntu - almost impossible. Okay, so you can write a virus for Linux, and you could even write one for Windows and Linux, but it's 3 or 4 times the amount of coding and gets you maybe 2% extra computers being infected. Unlikely that someone would.
Assuming it is a Cross-OS (Windows and Linux) virus, it moves itself to your Ubuntu laptop, and does what?
If you have WINE installed, so you can run Windows programs (.exe
files, like SketchUp or Microsoft Word). A virus could run with WINE, but it is still limited to the artificial WINE environment.
By no means am I saying it hasn't happened, but I really don't think it has.
Have you noticed any files going missing, the computer slowing down, are there any strange processes running in System Monitor, or unusual internet connectivity?