Robustifying Machine Learning Based Security Applications