An evolutionary game for confidentiality attacks