The attacks come as federal officials warn the U.S. power grid needs better security to prevent domestic terrorism