I think that's rather more difficult. I was about to say that they could use existing powers, which enable them to try to protect federal institutions. The big difficulty in dealing with cyber, of course, is identifying where the problem is coming from. It may seem simple, but it is in fact very difficult, and in most cases anybody trying to affect elections uses cut-outs.
You will have read as well, as I have, what is believed to have happened in respect of the last U.S. presidential election, and it took about a year before they had some reasonable assurance that it was the Russians.
I'm not sure I would use the offensive capability to protect our elections, but I would use that grey area of defensive moving into offensive if we can identify where it's coming from.