A piece of software designed to assume control of the computer, sometimes surreptitiously.