Spyware secretly monitors your activity and steals information like passwords or browsing habits. The program described in the question is a **Trojan**. This type of program disguises itself as something desirable, like a free game, to trick you into installing it. Once inside, it does its damage.