A blue screen is the OS giving up
Kernel panics, stop codes, dying RAM. Usually not a genius hacker.
A blue screen on Windows, a kernel panic on a Mac, a black “something went wrong” on a phone: the OS hit a problem it could not contain in one app, so it halted the whole machine. That is rude and it is safer than letting a broken driver write over your disk.
It is usually not a genius hacker
Bad RAM. A disk that is dying. A GPU driver after a game patch. Heat. A USB gadget that lies about being a disk. Forcing a shutdown during an update. Those are the common authors. Malware can cause crashes too, but the first crash after you installed “driver booster” is more likely the booster.
Write down the stop code if Windows shows one, or take a photo. Search that exact string plus your model. You will get better answers than “I have a virus” forums.
What to do in the hour after
Let it reboot. If it loops, try Safe Mode on Windows (minimal drivers) or Recovery on a Mac. Unplug extra dongles. The last thing you installed is a suspect. A memory test and a disk check are dull and they catch the boring failures.
If the box keeps panicking after a clean boot, back up while it still mounts the disk. A crashing OS can become a disk that will not mount. Photos first.
The lesson
Crashes are the OS admitting defeat. Updates exist partly to stop the next defeat. A machine that blue-screens once after a storm might be fine. A machine that does it daily is asking for a reinstall or a hardware look. Do not pay a pop up “optimizer” to read the crash. That pop up is a second outage waiting to happen.