Combating Advanced Persistent Threats through Artificial Intelligence: An Algorithmic Approach | Synapse