Microsoft interview question

How do you create a Malware to evade Endpoint security system?