Minnesota officials are investigating a cyberattack that targeted more than 30 community water systems on July 26 and 27.