A Smarter Way to Fight Online Threats