Text this: Optimal defense strategy based on the mean field game model for cyber security