To be fair, it was both. Those ships that got the recent upgrades also got trojans that Caprica Six put in the defense mainframe with Baltar's access codes.
Adding a layer of obscurity on top of your non-obscure security is a good idea. The more slices of swiss cheese you wrap your system with, the smaller the odds of the holes aligning.