Machine Learning
w Security
Nosacz Meetup #128.10.20.19
Mariusz Wołoszyn
To pewie widzieliśćie?
If it’s in Python it can be Machine Learning,
If it’s in PowerPoitn it’s AI
ML is everywhere
Hype
Gun Detection
Image recognition
Supervised learning, image classification, object detection
API:�https://valossa.com/image-recognition-demo-is-now-live/
Adversarial attacks
Adversarial training
Fooling humans
Mouse and cat
“Facebook AI Research (FAIR) has developed a state-of-the-art “de-identification” system that works on video, including even live video. It works by altering key facial features of a video subject in real time using machine learning, to trick a facial recognition system into improperly identifying the subject. “
Summary
Is ML in Security a thing?
Is ML in Security a thing?
Is ML in Security a thing?
Is ML in Security a thing?
Is ML in Security a thing?
Is ML in Security a thing?
Is ML in Security a thing?
OK, I was cheating a bit, but you got the point.
ML in Security
Machine Learning
In Security
Pattern recognition
Anomaly detection
Pattern recognition
Anomaly detection
Caveats
Choose wisely
Calibrate your models
Using default thresholds is usually bad idea (0.5 for probability scores or 0 for SVM).
Build your models around decision_function not predict_proba in sklearn.
Retrain your models regularly
Example Malware Detection
Feature Engineering
Model
EDA
XGBoost
There’s always a way to fool it...
Following slides were censored