An emergency communications system used across a handful of small towns in northern Massachusetts was impacted by a cyberattack.