Ransomware has threatened meat and gasoline supplies in recent months, but it can cause a whole host of problems when cities and towns are targeted.