Automating red teaming activities to help defenders