Whether software is used for ethical or unethical purposes has nothing to do with the license. There is no possible way to bake subjective ethical usage guidelines into a license and still end up with free software. Trying to license "good" and "evil" boils down to the same slippery slope that the TOR Project dealt with when they had to reject requests to add censorship mechanisms. "Can't we just censor hate speech?"…
I couldn't have written it better myself. On a related note, the person behind the Hippocratic License (HL) which they define as "a modified MIT license that specifically prohibits the use of open source software to harm others" was recently asked by OSI [1] to modify the language in the original document since it might've led people to wrongly believe that the aforementioned license was Open Source Software and that…
This sounds next to impossible, unless the entity is a war criminal,in which case a civil suit would be entirely pointless.
Or do you even think there would - as an example - be a US court prohibit the use of some software for ICE? Such a court ruling would imply the US government acts against UN human rights. Which court would open this box for a software licence?