Advanced attack tree based intrusion detection