Together with researchers from several universities, Brazil's research and education network RNP, has designed an early warning system that monitors a range of social media channels to spot imminent attacks and to launch preventive measures and counterattacks.