G2 ('the second Generation in Virus Creation') is a virus creator. It produces viral assembler source of different virus types. The characteristics of the G2-based virus are selected by editing a configuration file. There are several options: infect COM, EXE or both; resident or nonmemory resident; encrypted or not; INT 24h hooking or not; COMMAND.COM infection or not; anti-debugging tricks or not; and other.
This generator looks as an enhanced version of the PS-MPC code generator.