Webcams are vulnerable to hacking just like any other tech device. If an unauthorized entity has gained access to your computer resources including your webcam, the adversary can spy on you and the people around you. To get access to a user's webcam, attackers make use of Trojan horse malware or Remote Access Technology (RAT). However, you can avoid such attacks and prevent yourself from being watched through your computer. Just observe any suspicious activity like mouse cursor is moving without touching, or screen keeps blinking every now and then, or there is some suspicious background process running in the Task Manager. All these are signs of someone spying on you through your camera.