All Apps and Add-ons

Machine Learning Toolkit: Has anyone used this app with data exfiltration?

mcbradford
Contributor

Hello,

Not sure if anyone has used the Machine Learning Toolkit for data exfiltration (data exfil)? I would like to identify outliers from my email traffic. I have the message size within my data, so I was hoping to use this data to establish a baseline and alert on the outliers. Any thoughts on doing this with Splunk and/or the Machine Learning Toolkit?

0 Karma
1 Solution

rjthibod
Champion

I have not used it for this purpose, but using the Median Absolute Deviation algorithm (MAD) under the Outlier Detection set of tools might prove useful.

MAD is more robust than using something like standard deviation, in part because it does not rely on a normal distribution assumption.

The tricky thing you would need to figure out is how to setup the model via fit in order to determine your thresholds based on certain message types or metadata (e.g., source, sender, etc.). Once you decide on what dimensions are important to differentiate message types, it should be pretty shortforward to use the toolkit to set the parameters for the populations and then setup some saved searches that would use apply.

View solution in original post

0 Karma

rjthibod
Champion

I have not used it for this purpose, but using the Median Absolute Deviation algorithm (MAD) under the Outlier Detection set of tools might prove useful.

MAD is more robust than using something like standard deviation, in part because it does not rely on a normal distribution assumption.

The tricky thing you would need to figure out is how to setup the model via fit in order to determine your thresholds based on certain message types or metadata (e.g., source, sender, etc.). Once you decide on what dimensions are important to differentiate message types, it should be pretty shortforward to use the toolkit to set the parameters for the populations and then setup some saved searches that would use apply.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...