Thank you. The photographs are helpful. Lets set aside a virus for the moment. No harm in running a couple of virus scans if you wish to do so.
Based on the photographs I have some general observations that are not to be taken as criticism. Most certainly you are simply working as best you can with what you have.
First of all I do not see a Ubee Modem. I see what appears to a white colored wireless USB network adapter on the top front of the desktop case. Could not identify it. Nor can I really determine the condition of your USB ports. There are internal connections there that might be loose. You can check the internal connections by opening the case - if you are not sure how to do that then find a friend or family member to help.
Second the other photograph shows quite a cluster of knotted/coiled cables. Lots of tight turns. The power plug does not appear to be tightly plugged in. Some of the other cable plugs appear to not to be fully seated: for example the green 3.5 mm sound plug. Twists and bends will damage cables and plugs or degrade performance. Loose connections interrupt processing and peripherals will stop and may not necessarily restart when the connection is remade. Only a small amount of movement is necessary to cause problems.
Third, it appears to me that there is some build up of dust inside and on the case, cables, and ports. The subwoofer and walls may be interferring with airflow and cooling. Together the dust and lack of airflow may be causing some overheating problem.
The subwoofer for the speaker system should probably be on the floor and all of the wire drapped down behind if at all possible. It does look as if you are working on a fixed desk or counter of some sort.
My suggestion is that you shut down, unplug, and untangle the cables. Open the case and used a can of compressed air to blow out any accumulated dust, debris, paper bits, hair, etc.. All of that accumulates over time via the air currents and sticks due to electrostatics. Low airflow creates larger "no air" place where buildups occur. Dust insulates, components get hotter, and things start mis-behaving. Be sure to follow the instructions for using the compressed air: e.g, do not shake the can, do not blast full speed to spin the fans as that can damage bearings.
Untangle the cables and stretch them out along the wall if you are unable to loosely drape them down behind.. Reposition the subwoofer a few inches away from the computer case. Add a bit more room between case and wall. For now the idea is to fix the problem. You can make things "pretty" later on. (You can find many low cost/free cable management ideas online. Just google the topic.)
The plan is to eliminate possible physical causes and see what happens. If the problem continues then you can look for software problems - there are built in logs that capture system and software events.... That will be the next step.