It's actually not the only path at all. Few other paths:
1. Outlaw cryptocurrency. Now it's much harder to pay digital ransoms.
2. Stop confusing "identification", "authentication" and "authorization". Me having Bob's SSN doesn't mean I'm Bob. Me having Bob's credit card number doesn't mean I'm Bob either. This is childish crap that we should have resolved decades ago.
> So everything like memory safety, formally proven kernel OS's (seL4), capability based security etc... all these avenues need to be explored and adopted yesterday.
None of this will stop thousands of MySQL installations listening to public IPs with login root/root dude.
Most exploits are trivial human mistakes.