If its illegal then by definition it's unethical.
i believe that laws are created around ethics, not the other way around.
ethics are individual, and laws are taking those ethics and spreading it for everyone. its possible for something to be ethical and illegal, or the other way around. There is no set "book of ethics" to follow. Its what you feel is right or wrong. YOu should still follow the laws, but that doesnt make whatever is leagel automatically ethical, or the other way around