I think the concept should be re-thought. For example, I can't see how a hacker can destroy factories across an entire world. After all, not all factories use computers. Very few of them that do use computers use the same one. Most all of them have specially designed, dedicated software, that isn't shared with others. Also, dedicated, turn-key equipment isn't online anyway, so it isn't vulnerable to attack.
A hacker could maybe disrupt the banking system. Of course, it wouldn't destroy the banks, they would still be there. But they could be disrupted so they don't function for a turn. Also things like research labs. Some things are too broad-based to be attacked en masse. Highly technical, computerized things could be targeted. Other stuff couldn't be targeted across an entire civ, although local instances could be disrupted. Still, you aren't going to destroy libraries, they will still have their books, and I'm sure all their digital data is archived onto discs.