One way to detect is to look at keyboards hooks. Kazaa, for example, appears there when it starts (funny, inst it?). You can see there some Antivirus software, like Viruscan.
On Windows 98 is easy...