How hackers get into the grid – and how to stop them