Skip to main content

Real-Time Botnet Defense at CVS: AI-Driven Detection and Mitigation on Databricks

Summary

  • Real-time threat detection: CVS built an AI/ML system on Databricks to detect botnet attacks in near real-time.
  • Scalable data ingestion: The system processes bulk HTTP traffic data at enterprise scale while maintaining low latency.
  • Automated response: Attack signature identification and threat response automation minimize downtime and protect services.

Real-Time Botnet Defense at CVS: AI-Driven Detection and Mitigation on Databricks

Watch: Real-Time Botnet Defense at CVS: AI-Driven Detection and Mitigation on Databricks
Talk by andrew HintonA, Principal Data Scientist, CVS Health ; Virender Dhiman, Staff Data Scientist, CVS Health
Botnet attacks mobilize digital armies of compromised devices that continuously evolve, challenging traditional security frameworks with their high-speed, high-volume nature. In this video, we will reveal our advanced system — developed on the Databricks platform — that leverages cutting-edge AI/ML capabilities to detect and mitigate bot attacks in near-real time. We will dive into the system’s robust architecture, including scalable data ingestion, feature engineering, MLOps strategies & production deployment of the system. We will address the unique challenges of processing bulk HTTP traffic data, time-series anomaly detection and attack signature identification. We will demonstrate key business values through downtime minimization and threat response automation. With sectors like healthcare facing heightened risks, ensuring data integrity and service continuity is vital. Join us to uncover lessons learned while building an enterprise-grade solution that stays ahead of adversaries.
Databricks Named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning Platforms: https://www.databricks.com/blog/databricks-named-leader-2025-gartner-magic-quadrant-data-science-and-machine-learning
Build and deploy quality AI agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

FAQs

What are botnet attacks?

Botnets are networks of compromised devices controlled by attackers to perform malicious activities like DDoS attacks, data theft, or service disruption. They're difficult to detect because they evolve constantly and operate at high speed and volume.

How does ML help detect botnets?

Machine learning models analyze traffic patterns to identify anomalies indicating bot activity. The Databricks Data and AI platform processes massive HTTP traffic volumes to spot deviations from normal behavior in real-time.

What is time-series anomaly detection?

This technique analyzes data patterns over time to identify unusual behavior. CVS uses time-series anomaly detection to spot traffic patterns that deviate from normal, indicating potential bot attacks requiring investigation.

How important is real-time detection?

For healthcare organizations like CVS, rapid detection is critical. Real-time threat response minimizes data exposure, prevents service disruptions, and protects patient information. Delays in detection significantly increase risk.

Full transcript

Hello. Hello. Thanks everyone for uh coming out to our talk today. Uh we're going to be going over um real- time botnet defense uh AIdriven detection mitigation on data bricks. Um so I I know it's late in the evening. Uh you may be thinking about dinner. Uh but you did decide to sort of spend some time with us today. So we'll hopefully make it worth your while. Uh but uh yeah uh in a disclaimer. So everything that our opinions is that we're saying today is is basically ours uh and it's not the views of CVS Health uh and any of its affiliates.
And so this is just our opinions. So to get started uh I just want to kind of sort of break the ice. Uh who here has lost personal data like through a a breach or anything like that? Yeah. And so, as you know, there's been millions and tons and tons of breaches uh over the years. This is typically a bad thing. Um, also too, like, have you ever tried to go to one of your favorite say websites and the website is down, you can't get to it, try to order a ticket.
Uh, we also know that these DDoS attacks or denial of service attacks are hugely a problem and these are usually related to bot attacks. uh and so everyday life can be disrupted and impacted by just simple bond activity. And so the point here is uh with botn nets uh you can lose a ton of data. This data is then excfiltrated and sent to uh different sites to try to basically uh get into your personal information. Uh so with that I'll just kind of I just want to level set but with that we'll go ahead and get started with introductions.
Uh so. I am a principal data scientist at uh CVS Health and I'm the staff data scientist at CVS Health and I work with. Awesome. And so what we'll do first is we'll just kind of think about what the threat landscape uh is. And so like in this case, you know, we have bot attacks uh and so what does that look like today? How do we we start to uh mitigate this and think about this? So one of the first things is uh there's a ton of uh automation and so AI is is you know obviously a huge thing uh and so we know now that 50% of normal traffic is typically related to bot activity.
Uh so as you saw before you know we we know bots are are pretty prevalent but also like just going through the web is not actually human traffic it's typically bot traffic. Uh these are just scrapers trying to understand websites products. Uh and then most are okay and then some of course are malicious. Uh and then the big thing with bots is uh to orchestrate what is called account takeover or attos. Uh so in that case these are things they're scraping.
They're trying to get fake data. They're impersonating humans. Uh and this becomes a problem when uh uh servers or companies do not have the proper infrastructure. So you can only handle so many requests, but if many of your requests are coming from non-human actors, uh that becomes a problem. And so people like us who want to actually access access resources, uh we tend to lose that. And now what happens though is bot activity are becoming just like we're using AI in our everyday lives, uh attackers are using AI to power bots.
And so what this means is that the threats now are evolving. They're no longer just simple bot activity or just simple uh you know a ton of requests. These things are becoming more sophisticated. So acting more like humans. So typically one of the ways you can detect bots is there simply the activity. Can a human click a thousand times in a second or or anything like that. But now we can find that with AI the bots can now behave much like humans. they can invade uh conventional detections and of course they can um come up with even dynamic strategies that we can't even think of.
Uh and so then what that all leads to is that our traditional defenses in general are not as sufficient. So rulebased detection uh even ML static without any retrain or pattern recognition uh these things can become obsolete quite quickly because bot attacks can evolve. Uh and then of course because we have uh legacy systems that may have uh previous or rulebased detections uh this also uh will will be a severe limitation.
Uh and so what I want to kind of just level set here is more most uh major enterprises have some form of bot defense and so this isn't uh a problem that is not thought of. This isn't a problem that is unsolved. There are plenty really great bot defense uh sort of uh companies that specialize in this. Uh but what we do know is that in some situations that is not sufficient and attackers they can evolve at rates that are sometimes faster than any sort of traditional defense.
Uh so what I what we're doing here is just kind of walk you through what exactly a botnet attack looks like. Uh so in general the way that we think about this is and this is really high level super simple is that there's a bot attack and then there's some security team. So we know we have these defenses. These defenses are sometimes evaded and then uh somebody at some point has to investigate and then figure out a way to actually stop it.
So if your automated defenses fail, a human at some point has to investigate and do what is what we sometimes refer to as forensic investigation. Uh and then this is a a purely today a manual process. Um and so then there's also trial and error. So like you go in, you have to figure out the signature. You implement the signature and your number one goal is not to impact normal traffic. So if you come in, let's say you want to block some traffic.
Uh you set a rule and it blocks normal traffic. Well, now you've created the opposite effect that you actually want it. And so it's a it's a really intricate process and the super uh specialized uh uh teams of folks uh sort of investigate this. But what we thought when we looked at this was can we automate this? Can we can we use machine learning? Can we use AI to solve this? This is purely uh a manual process. And so now to kind of put that into perspective, you know, we know humans have to do it, but what exactly what does that look like?
So what when a human is doing this, uh what we found is that this is is quite difficult. And so if I give you sort of a toy example, let's suppose that there are 50 attributes. And so these are 50 things that you can build a rule on or or block traffic on. And if we just take those simple sort of 50 uh attributes and in this toy example, we're just going to say the cardality. So the number of unique values is just 100 per actual uh attribute.
And if we just want to say block on four rules, well then that's 230,000 uh possible combinations of just attributes. And so if you naively went in, you'd have to pick from this uh space. But then when we consider like how many value combinations that turns into 100 million and then if you consider like overall partitions or these like if you actually examine every single one then that's two to the 13th. And that's just a simple example.
And so what we refer to this as of course cominatory explosion. Uh and so as we have more attributes more sophistication it becomes incredibly difficult for a human to then actually understand how to block a rule. I mean you do have experts you do have experience and that space is not usually fully explored but it is indeed a large space to explore. Uh and so with that and I'm just trying to point to how difficult this problem can be is that really there's there's no silver bullet.
There's there's no simple solution to this. I mean despite really uh awesome software and advances uh at some point a bot attack can get in and the reason for this is that uh you need custom rules and so even if you were to look at your overall global traffic there is still uh for some organization a unique attack and so that one botnet may not actually uh behave in the same way it behaves in say a different enterprise and that creates problems.
So there really isn't just this one-sizefitit all in general, but not in every single case. And one thing I like to kind of think about is this asymmetry of effort. And so what I mean by that is an attacker can evolve. I mean with AI, with machine learning, they can evolve these signatures rapidly. And let's say it takes us an hour uh to uh sort of do an investigation and they can change the signature as soon as they notice that their traffic is actually now not getting through.
They can spend a minute or two change a few variables and now they're back in. And then we're back in a cycle of uh catching up, spending more time. And so there's just uh just an imbalance of what it takes. And because of AI, because of uh the different variables, the patterns, the timing, uh is near infinite rule possibilities. And so you don't really uh ever have a simple solution. Uh and so what that all boils down to is just simply this is a trial and error process guided by experts.
So then like what we thought then like kind of going back to why we're all here is what if you know we could basically detect these bot attacks uh these really custom or tricky ones automatically and then also generate a rule. And so then what we're basically saying is that uh we can monitor detect that something unusual happened and then as soon as that unusual behavior is detected then we generate a rule to block it.
And so then that asymmetry is now kind of brought into a more reasonable perspective. And so we can kind of block almost as fast in theory as a rule can be generated. And so now we're back into a sort of a a a fair game. Uh and instead of hey, I can spend one minute, you take an hour, I can do this all day and then it takes time and resources. And so with that, we'll move into section two where we're kind of like what we did is we introduced an system to sort of do this.
And I'll pass it over to do uh to discuss Hello, good evening everyone. So now I just wanted to level said that we you all of you are excited enough to find out like how do we do this you know so it's an NP hard problem. So as mentioned then it's it's not a trivial problem. So we start with developing an AI powered solution for modern security. So what does that mean? So we we need to uh we need to analyze millions and millions of records.
Okay. So we are a data AI summit. So let's talk about data first, right? So if we navigate through this data, so we have to develop an AIdriven platform with automated forensic investigation. And when we when we say that uh so how do we do that? So it has to have some key capabilities to make it happen, right? So it has to have real-time anomaly detection on unsupervised data and then it has to do the automated rule generation.
What does the rule generation means? So basically can we block the traffic? If we find out anomaly in the traffic, can we block it? Right? So to block the traffic, we have to generate the rules and those rules need to be scalable and it has to be like automated way and then it has to be like proactive threat blocking. So without letting us know without letting user know uh user letting us know can we uh block proactively you know so if you see that the forensic integrative investigation tool is going from reactive to proactive uh journey.
So basically if you do reactive approach so we have the threats we have the attacks and then we do the manual investigation we find out signature of the traffic and then uh hacker change the signature again and then we have to generate the manual rules it's a cat and mouse game. So can we stay ahead in this game so for that we have to we have to make sure that we do the real-time detection. So we have to do the behavior analytics and then ML models and then thread scoring to generate you know how confident we are in the anomaly uh detection.
So and then we do the okay for proactive learning can we do like continuous uh streaming the data doing the inferences on the models and can we generate the rules on the fly and can we prevent uh the malacious traffic before even it occurs you know so we so we need all these features in this uh feed tool so how do we do that okay what the architecture look like so if you go with that way so we have data sources is if we talk from left to right so we have multiple data sources so main one is the HTTP traffic data and we we will go into the details of that and then we have to somehow intake that data so we're using data bricks and then we have to pre-process it using feature engineering and then u on the model AI model layer we have topic assigner topic inspector and don't worry about this we're going to talk about uh all of these concepts in next few slides so we We have to assign we have topic assigner, topic inspector, topic composer and then we have to generate the rules and then uh we have to post-process the rules to make sure that they are uh syntax compliant in an automated fashion because it has to get applied in the system.
So and then uh we have to implement those rules. So it has to have all those aspects and u we were um so this is a very pretty innovative approach. We were able to file the patent for this last year. Uh and that's system and methods for automating integrative forensic investigation tools using machine learning. So that's the title of our patent and application number. Okay. So with that and I've said so how do we do this you know so let's talk about data.
So we're talking about millions and millions of records like it's a very fast velocity it's coming data right. So it's all cloud and we have to it's a big data scale. we have to use pi spark and you know we have to process it as fast pace so we are using lakehouse we are using data bricks so what why lakehouse so it's pretty scalable and it provides us data storage and uh the compute like it it allow us to use pispark for that so for data storage we are using medelian architecture and what does that mean so it has like uh multiple layers so we have the bronze tables so when the row data comes road traffic it's a bronze uh bronze tables and then we do the feature engineering on that data and it's a silver tables and then we apply AI modeling on that and then we reach to the gold tables you know so that's the median architecture and as we said it's allow us lakehouse allow us to use apache spark and for faster processing and big data scale processing so with that we have to make sure that it's a real-time detection so for that we use streaming you know so we have the HTTP traffic logs we use data bricks autoloader and then we uh we create multiple buckets one bucket is for data retention other is for parket files for the AI models and we're going to uh we're going to process this data further via the lens of AI so we talk about enough about data so now we're going to talk about okay how do we utilize this data using AI okay so with that I want I would like to invite for talking about the corrects.
Perfect. Yeah. So, so that was the data portion. Now, we'll move back to sort of the AI portion to tie into the entire theme of data and AI summit. Uh, and so in our case, we have what we consider the brain or the modeling side of this. Uh, and so the brain of IIT really is uh anomaly detection at its core. And so, what we're doing is anomaly detection. There's no labels. uh we have to basically figure out what is unusual and then we have to figure out a way to then generate rules from that.
And so you'd imagine there's an immense amount of uncertainty in that. So you know we we don't know what's good traffic bad traffic but what we do know is how traffic normally looks in our organization. So like anyone sort of using this tool is is really specific to your traffic patterns. And so what we do first is uh just moving back to the piece that showed a moment ago uh in the AI layer, what we do first uh is this topic assigner.
And so you may be wondering what is that like topic assigning? And so topic modeling is is actually used in in a different field, not exactly in bot defense. Uh but what we've done though is that we've taken the traffic as it comes in and what we want to do is actually identify some way to categorize it. And so like you'd imagine like in normal text uh if you uh have a bunch of novels and then you sort of categorize those into say c you know uh maybe horror novels or or fantasy novels or whatever the case may be.
We want to basically do the exact same thing with a request. So when a request comes in how do we say that this is requests of type A or type B or any number of types. Uh and so that's what we do when we first get the traffic in. We figure out a way to generate an embedding. So we have an embedding model that generates an embedding and then we take that and we generate topics. So then the next step what we'll do is we'll do what is composing of those topics.
So we need to put them in a way that we can actually use them. And so what we're doing there is uh looking across our data we're putting topics and traffic into certain areas. And I'll talk about these components here in more detail in a second. And then from the composing of a topic so we we generate we assign we figure out how to put it all together to make it useful. And then what we want to do is basically generate uh inspect those topics.
So, if you were to think and if you let's let's consider a small example in your house, let's say you have a blueprint and let's say at 7 a. m. you were to measure and you have a hundred people in your house for whatever reason and let's say you just have four rooms. Uh in those four rooms, uh let's let's say that we we know that say the top left corner is room A, the back left is room B, so on and so forth. If you're to count the distribution of user or people in that house at that time, then you can actually model that composition over time.
So what we're saying is that at minute one, if we see traffic of composition X, how does that evolve over time? And so what we're looking for is unusual patterns within what we consider normal. And so if we know that, hey, at 7 a. m. , let's say room A is the kitchen, maybe you would expect to see 70% of your uh occupants in the kitchen because it's maybe breakfast time. But let's say at 12:00 a. m. , uh maybe it's unusual.
So maybe there's only 10% or 1%. And so if you were to actually understand the distributions overtime, it's much easier to say at 12:00 a. m. on a Wednesday night, you have 90% of your occupants uh in the in room A, which would be the kitchen. that would be unusual. And so what we've done at that point is at least identify what is uh the problem. And so we haven't generated a rule. We haven't done much of anything other than figure out that there is uh something unusual happening around that time within this particular sort of topic.
Uh and then from there what we want to do is then generate rules and I'll we'll talk about that in a second. Uh so in this case let's let's just kind of examine uh the topic assigner. And so if we we generate if we kind of drill down just a bit uh what we had to do in this uh first iteration is we had to figure out a way to encode the various pieces. And so when you get a request that comes in you have things like user agent you have things like uh the characteristics.
So is this like a a scraper type of activity you have things like the domain you have things like the headers uh and various pieces. And so what we did at the first uh sort of go at this uh is to figure out how do we embed because ultimately we want to use AI ultimately we want to use models ultimately we want to generate topics so we have to generate an embedding in some way and of course we have some text data but you'd imagine some of this is not clean text so this is not human readable data uh by any stretch and so what we do at the first step is to you basically train a mass language task which will basically be much similar uh to way uh the BERT models were trained uh very early on.
Uh and so from that what we then can get is a notion of an embedding of user agent, a notion of an embedding of the characteristics and then when I mentioned the topic uh a composer and the topic composer has to then go in across these different sort of verticals and put everything together because even now this is still not a a clean problem. We don't know that um traffic uh observation one is in topic A. We only know that traffic observation one is in uh seven different topics here.
And that's still somewhat of a challenging problem and we want to compress that down. But at least what we've done at this step is embed and get everything into a sort of a reasonable sort of a perspective. And so like I mentioned so this is going to allow us like why did we do it? So this allows us to organize our traffic. Uh this helps us enable or enables us to identify sort of normal behavior like I mentioned with the sort of blueprint example.
Uh and then it provides a foundation for us looking at network network activity. So without this, we just have a bunch of random text uh that may be human text, unstructured text, but we can't really do anything with it from that perspective. But what we have now at least is some general framework that allows us to uh start to do some analysis. And so then from there, the next step is uh composing. So this is where we we kind of bring everything together.
And this little uh uh image at the top is is really kind of u representative of what we're doing. We're taking in all these different topics and we're now starting to put it into sort of these different buckets. And so if we know that now we've we we're basically drawing that floor plan and we're drawing the boxes that are allowing us to separate uh the traffic. And so why do we do this? Because now we get more of a holistic view of the individual topics.
Uh, and then we can now get down to more complex patterns because it's much it's far more difficult now to figure out uh which room you'll be in because when you walk in like an attacker, they have no idea. They just kind of walk in and they're they're sort of like positioned somewhere in this house and they don't know or at least they would have not have an idea of where they're going to actually land. And so then after that, so then when the topic inspector is is done, we need to uh generate an anomaly.
So what we need to do is figure out what is normal, what is ab what is uh anomaly or abnormal. And we do this through what is called like a variational autoenccoder. So a very standard anomaly detection model. And this allows us to generate regions and what we refer to just basically time windows of unusual traffic. And so again the why why do we do this piece? Uh we can pinpoint now specific time frames. So what I was mentioning earlier that 12 am what we're now able to do is figure out okay we have something really unusual going on from say Wednesday at 12 am to 1 pm and so we know that there was some type of an attack or some unusual behavior as as we've laid it out here and so this gives us the first major clue of that something unusual is going on and how we actually start to generate rules.
So now we know there's a red flag, there's an alert going on. Now how do we generate our rules? And then finally uh what we want to do this is the fun part because now this is where we take and this is very interesting problem. We take our data that comes in which is this unusual client domain URLs we transform into these wild vector spaces and then now we've identified an anomaly in this vector space but then how do we get back out?
How do we actually turn that vector space back into a rule that we can use into some system? And that's challenging. So we just know that this point exists in this particular region in our embedding space which is completely arbitrary and we need to then figure out okay well what client domain what uh user agents and those kind of things that are associated and so this is where rule generation comes into play uh and then after we can generate the rules we do an impact simulation so you know we're just you know the AI system uh it can make mistakes and so we would hate to sort of generate a rule that blocks a ton of traffic that would be a nightmare and so we can take historical traffic look back then kind estimate uh across many many rules.
So like 25, 35, 100 rules and estimate the impact and say okay well we think now that these rules have whatever specificity sensitivity and then they also on historical traffic we expect it to block x% of that traffic. Uh and then we pass that rule off to uh our stakeholders. The investigation is now done. They have a better idea of what's going to happen uh if they implement this rule and then they have better sort of u confidence in the overall process.
And so from that we can optimize the selection of the rule. We know how it'll impact traffic uh and we can get that rule in as quick as possible. And so why here? Uh basically automate the creation. So that's what we originally set out to do. Uh as soon as there's an attack, we can generate a rule or at least identify that there's an attack, generate a rule, minimize the impact on normal traffic, uh and then get that over so we can block traffic almost immediately.
And so now what we want to do is just walk you through. We don't have an actual live demo, but what we'll do is give you sort of a scenario where we actually implemented this in practice and walk you through what it sort of looks like and we'll pass. Okay, so lot of theory. Let's walk through the example. How do we do this? Okay, so so in this example, we're showing that user is making requests to do the investigation on the traffic.
Okay, so we're talking about unsupervised learning to self-supervised. Okay, so user submit the request and then we have the dashboard where user can see what's the invest in investigation request is submitted and we can come back with the rules and then they can review the rules they can apply. Okay. So then we have to uh in the back end what's happening is it's AI ML is doing the anomaly detection and generating the rules.
So to do that as mentioned we have to work with the topics. The topics are nothing is a fancy word of saying groups you know. So we we do group grouping of the traffic unsupervised learning. So we find out the groups and so we assign the tra assign the topics to each traffic record. So like that. So for each request each uh each HTTP request we assign the topics and then we find out the groups. So as you see the in the embedding dimension we see that for each embed so we convert the raw HTTP request to the embeddings and then for each embeddings we group.
So as you see the clusters and then um yeah topics or cluster you can interchangeably use that. So we're going to be investigating uh this circle uh area in the next few slides. So having said that now so we find so we had the unsupervised HTTP traffic logs we did embed and we did cluster or we find out the groups. So now we have those groups. What do we do with those groups? So we find out the distribution now we introduce the temporal dimension.
So we we analyze the temporal distribution of those clusters. So if we say that okay so from 8:00 a. m. to 10:00 a. m. what request we have more we have requests coming in real time. So we're going to we're going to categorize that request into particular cluster or particular topic. So we're going to find out how many how many requests are belonging to a particular topic. Okay. So with that approach we we find out what a normal looks like for an enterprise like CVS you know so we find out okay if you see this uh graph the green uh bottom line is the normal traffic that's how the distribution should look like across those topics and then we have the mean the expected average the yellow one and the blue one is what the real one coming right now.
So as you see on the right hand side there are like a particular spike that is happening u in the traffic. So what do we do that we pass this uh temporal uh time series data to the variational autoenccoders and then we find out with a certain 95% threshold we we find out uh what are the anomalous requests are. So with that uh topic distribution and we we we highlight these red ones are the anomalous uh traffic data. So we com we went from completely unsupervised to find out these anomalies using unsupervised way.
Okay. So what do we do after that? So we can look this anomalous traffic. Okay. what we can analyze it further and we we had this figure two slides back where we said that okay we're going to analyze this region. So when we look when we zoom in this particular area we found that we could we can find out the contours and we can precisely label the HTTP request whether it's anomalous or not. So now we are entering into territory of self-s supervision.
So we went from unsupervised to self-s supervision. So now the next challenge was that we have to okay now this is good that we find out the anomalies. This this traffic looks anomalous. Okay. So now we have to generate rules. Okay. Why why that is anomalous? We have to explain it to the stakeholders. We have to find out okay what are the key attributes those are contributing to that anomaly. So for that to generate the rules we use the decision tree approach.
So that is a naive way to create the decision tree. So to do that we have to this I'm giving the naive example. So we can do one simple approach is to do the one hand coding and then create the decision rules around that. So this is a trivial example but real life is not that trivial. So uh how do we do that is uh we we select the feature importance. So we fit the random forest and we find out the best decision tree out of that and we we look through the variations as well and uh we we find out okay what are the top 10 contributing features most important features and then we generate the rules around those features.
So in this example we see that okay so as you understand that it it can go left and right and it can find out if x2 is less than three then it's go to left branch and then uh so so so and so on and so forth. So that's how we generate the rules and uh I mean in the implementation there were more challenges but yeah I mean we were able to navigate all those through. So with that I wanted to do the conclusion. So cool. Right.
So I'm sure this has been a whirlwind of data and AI uh topics and things that we probably don't normally think about. Uh but just really high level we'll just kind of move back to uh some of the conclusions. So what we did is that the we wanted to introduce just the overall importance of like data and the AI relative to this bot problem uh which is more in the security domain and in general is not a um a glamorous kind of thing to work on uh in terms of um uh impact.
It's behind the scenes. You know when we do this right there's no impact. Life is nice and cool. Otherwise uh when we make mistakes uh attackers are able to get in disrupt our normal lives. Uh so this is a a really challenging problem but what we what we're able to do is leverage a ton of data. Uh so to get those behavioral patterns to understand uh what to block. It really takes a significant amount of data. It takes a significant amount of compute.
Uh we're we're talking pabytes of actual data that's processed. We train models on on millions and millions of records. Uh and so it's a really really interesting problem. uh we also kind of hopefully showcase uh the A IML sort of innovation that was part of this project uh and how on demand so what Vender showed you is that if a user makes a request they can retrospectively go back and then look and see uh if something unusual happened but then there's also a real-time component where we're running the system uh alongside and so there's either hey you want to go back look three days ago was there something unusual maybe I need to be aware of uh but we can also run this in uh what we consider a near real um sort of mode where it's running alongside detecting the anomalies, generating the rules proactively.
Um and so like that's kind of what makes this uh sort of a mitigation as well. So not only just detection but mitigation and that we're able to generate rules. Uh and then from that we we demonstrated the central role of data bricks in all of this. Uh it really really helped us a ton uh without uh sort of being able to ingest the data uh use spark structured streaming uh train models on GPUs and those kind of things. uh it really helped us scale and do things really well.
Uh and so like the big thing is what did we learn? Uh so as we did this like we found that streaming is of course super important. So we initially set out to sort of design the system from the perspective of just on demand requests but in reality we need this these uh sort of detections happening alongside real traffic and we need to be able to block at the same rate at which the attackers can evolve. Uh and then what we also learned is uh training models uh especially a ton of MLMs uh getting those in ML flow integrating those uh making revisions fine-tuning uh retraining as new data comes in is non-trivial.
So MLflow is super critical uh to be able to u keep track of your models uh you know call them when you need to uh make sure they updated have the right features feature store we found is extremely important uh lineage unity catalog is really important into this um and did I mention streaming of course uh so but with that uh just uh before we close for any questions we wanted to acknowledge the data bricks team which all is here so will uh and Rohan they for with us sort of lock and step as we went through this helped us uncover a lot of uh different problems uh from GPUs to compute to you name it streaming uh but really great to have those guys on our side yeah uh with that we'll take some questions and uh don't forget to survey go ahead Nice.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.