A cyberattack targeted more than 30 water facilities in the Midwestern US state earlier this week.