technically anything that is not factory and hasn't got an engineer's certificate(in australia) to prove the legality of the modifcation (emissions, safety etc)
If you were really wanting to know 'wut (sic)' was illeagal, you'd pop down to (or visit the website) the road and traffic authority of your state and ask for a copy of the rules.
Good luck