Illegal aliens get exploited because government protections don't apply to them (they're less likely to know their rights and they're unlikely to go to authorities to report abuse). If it were legal for them to work, the government would protect them and they would be better off for it.