Is there a 'generic thing' that can mitigate most of it?
At the risk of looking like I am going after "low hanging fruit", it would seem to ME that if you have open ports exposed to the world+dog, you either use them as simple re-directs via port forwarding (or similar) and don't have something that can access the router's admin screen NOR support UPnP in ANY way [which can open up ports at random to allow a firewalled box to listen to 'teh intarwebs' through the firewall - both convenient AND unwise].
I would think that 'zero config' 'UPnP' and 'remote admin' would be 90% of the problem... or am I wrong this time?
[the default config is nearly always the WRONG one, designed for convenience at the expense of security]