Fighting Ransomware and Advance Threats with Machine Learning