Discovery Of Triggering Relations And Its Applications In Network Security And Android Malware Detection