3 ms·
In my experiments K-Means clustering proved to be super useful to detect malicious activities, cyberattacks and all kind of suspicious behaviors without knowing
by gesman 10y ago
In my experiments K-Means clustering proved to be super useful to detect malicious activities, cyberattacks and all kind of suspicious behaviors without knowing any rules or patterns in advance.
Here's how K-Means with K=20 detected malicious activity within real world, live web server - just by selecting smallest clusters (bottom table shows specifics about what fallen into smallest clusters - all hits but the first one are attempt to exploit web application by some nefarious actors):
http://imgur.com/a/l3EGW http://imgur.com/a/l3EGW
This is built using free version of Splunk with free machine learning toolkit addon.
- gglanzani 10y agoI wonder if that's really Kmeans, as it tend to work well only when the size of the clusters are approximately the same. Or maybe splunk labels it as Kmeans when it really is some other algorithm.
- gesman 10y agoActually it K-Means applied after PCA (to reduce dimensionality) and after Standard Scaling.