Model the system from adversary viewpoint: Threats identification and modeling