The topological defense in SIS epidemic models