It is a thin line, most of these groups are in contact with lawyer teams before they start the operations and the lawyers are in the know.
These groups do risk assessment before going ahead.
Again, ethics are a matter of opinion, laws are a matter of fact. Yes, in the US you have the legal right to an attorney. Whether that attorney is behaving ethically depends on the attorney’s behavior and the person making the judgment on the ethics. You and I don’t have to have the same opinion on what’s ethical. We can each advocate for our own ideas of ethics to be codified into policy.
Lawyers, even in the United States, are bound by rules of conduct, and will stop being lawyers very quickly if the overstep the rules of ethical conduct.
The standards of ethics they are checked against are not yours or mine, they are the rules they agreed to. To pretend like ethics aren't a thing for lawyers is surprisingly uninformed for HN.
Which is good and fair. I think the example was Tony Soprano though and the (imaginary) lawyer in question knew full well the kind of shennanigans he was up to, these lawyers know they're defending murderers and people that ruin lives.
But that’s the point of lawyers. When they defend a guilty party, most of the time they know that the party is indeed guilty. They need to, to prepare a good defence.