Anti-spyware scans a system in search of bits of code called signatures that are telltale signs of a spyware infection.