New York’s attorney general sued another Internet pop-up advertising company Tuesday, accusing it of secretly installing malicious programs on personal computers and sending ads through “spyware” that is already installed.

Eliot Spitzer said Direct Revenue LLC has installed millions of pop-up ad programs that also monitor the Internet activity of users. He asked a state court to stop the practice.