Evidently you've never monitored log files on a server open to the Internet. If you had, you'd know that filtering off a few 'specific' nations' IP ranges will instantly cut your risks down by 90%. The nations causing the biggest problems are always countries with a lot of developers and low wages. India would be a huge addition.
This makes complete sense economically. In China, a smart engineer could make $5k a year writing software 80 hours a week or could develop a botnet and make $100K, with no risk of legal issues. Can't blame him one bit.
The same good developer in the US or Western Europe could just work a normal job, make decent money without risking jail. Why bother with the scams?
It's econ 101.
Or it could be racism, xenophobia, or misogyny. But I doubt it.