A bio-inspired approach to attack graphs analysis