Four Ways to Hack the Smart Grid