That is called hijacker than a virus because virus CANNOT move your mouse without a person behind the other side. It like your car engine start by itself and then drive without any one inside or the key in. If you have a virus on Mac than any devices connect to that network that Mac already been infected will be automatically get infect soon. Also, the differences between malware and virus is virus require no user interaction and automatically spread rapidly from the router. Unlike malware, it require user interaction and less chance of spreading because it require removable devices to transfer from one self to another computer.