Nasty stuff can happen to you anywhere, I don't think it's possibkle to draw little red lines around areas and say thats where the danger lies.
Most dangerous place to be is driving on a fast and crowded road. That's where most people get killed.
In a strange place I suppose the best thing is not to look like you're a threatening or vulnerable outsider. And be aware that in all kinds of places making eye contact with a stranger is considered a threatening act.
But the world's a lot safer in general than you'd ever believe from what you read in the papers and see on TV. You're a lot more at risk travelling to most of those places, I suspect, then you would be in their roughest parts.