BUFFALO, N.Y.-NYSEG, National Grid and other power companies around the country are working with federal and state agencies and to see what they would do in the event of a cyber or physical attack on power facilities and how they would respond.

This drill is based on the concern that someone could hack the power grid and cause widespread chaos.

UB students at the Department of Computer Science and Engineering are being trained to counter that cyber threat and protect these types of systems with an awareness that they are vulnerable.

The hope is that drills like this one called Grid Ex - 2 can help the utility companies upgrade their security.

It also helps Homeland Security agencies like the FBI to better understand the required response to such an attack.