Let's assume the question as written was programming related:
"How to spawn mulitple UDP requests in C#"
And the body was "I'm writing an app to do a DOS attack on a website. Here is my code, the app crashes when I spawn 2 threads..."
Should there be a "Do no evil" rule, that prohibits these questions on Stack Overflow?
Well for one, the person has to be incredibly stupid to admit to wanting to build a DOS app and to then actually go use it to commit DOS attacks. Ignoring the ability to track people on the web, that person has increased the risks of getting caught for very little gain.
Assuming they were that stupid, the likelihood of them assembling the rest of the knowledge required to carry out that attack would be beyond their abilities.
It's more likely, the person is curious about DOS attacks, and wants to learn about them by writing their own app.
If a malicious person wanted to write a DOS app, but got stuck, and did not want to trigger this hypothetical "Do no evil" rule, it would be trivial to omit the parts of their question where they are admitting to do harm, and phrase the question in a manner that was acceptable to our current (and proposed) guidelines.
Said more plainly: At best, such a rule would really prevent only the very stupid from achieving their goal. Everyone else would easily mask their question.
I think a simple comment asking "Why do you want to build a DOS app?" would suffice.