avast does not detect keygens by the only fact of being illegal.
If it is detected as spyware, maybe it is really a spyware.

There is two other exclusion lists besides the one at AutoSandbox.