Somebody Set Up Us the Bomb: Identifying List Bombing of End Users in an Email Anti-Spam Context
Summary
- New attack pattern: List bombing differs from traditional spam by exploiting public forms to flood user inboxes with high volumes of legitimate emails, creating a novel security challenge.
- Databricks detection pipeline: Cisco Talos implemented telemetry pipelines using Kafka for data ingestion, Delta table streaming for ETL workflows, and multi-table liquid clustering for efficient analytics.
- Anti-spam telemetry: The platform uses Delta tables as gold-layer curated datasets and integration points with external services to identify and respond to list bombing attacks in real-time.
Somebody Set Up Us the Bomb: Identifying List Bombing of End Users in an Email Anti-Spam Context

Talk by Doug Sibley, Security Research Technical Leader, Cisco Talos
Traditionally, spam emails are messages a user does not want, containing some kind of threat like phishing. Because of this, detection systems can focus on malicious content or sender behavior. List bombing upends this paradigm. By abusing public forms such as marketing signups, attackers can fill a user's inbox with high volumes of legitimate mail. These emails don't contain threats, and each sender is following best practices to confirm the recipient wants to be subscribed, but the net effect for an end user is their inbox being flooded with dozens of emails per minute. This talk covers the the exploration and implementation for identifying this attack in our company's anti-spam telemetry: from reading and writing to Kafka, Delta table streaming for ETL workflows, multi-table liquid clustering design for efficient table joins, curating gold tables to speed up critical queries and using Delta tables as an auditable integration point for interacting with external services.
Here’s more to explore:
Production ready data pipelines for analytics and AI: https://www.databricks.com/solutions/data-engineering
The Big Book of Data Engineering: https://www.databricks.com/resources/ebook/big-book-data-engineering-2nd-edition
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is list bombing?
List bombing is a cyber attack where attackers abuse public forms (like marketing signups) to fill a user's inbox with high volumes of legitimate mail. Unlike traditional spam, each email follows best practices and is technically legitimate, but the aggregate effect floods the user's inbox with dozens of emails per minute.
How does Cisco Talos detect list bombing?
Cisco Talos implemented detection using Databricks' streaming capabilities. They use Kafka for data ingestion, Delta table streaming for ETL workflows, and multi-table liquid clustering to efficiently analyze email telemetry patterns.
What role does Delta Lake play?
Delta tables serve multiple purposes: supporting streaming ETL workflows, enabling efficient multi-table joins through liquid clustering, creating curated gold tables for critical queries, and providing an auditable integration point with external services.
Why is this attack detection important?
This video demonstrates how Databricks' data engineering capabilities solve real-world security challenges. The detection system allows Cisco Talos to quickly hunt for list bombing attacks and protect users from inbox flooding incidents.
Full transcript
All right, good afternoon folks. I'm a tech lead on the anti-PAM threat research team with Cisco Talos. Uh today we're going to take a look at listbombing email attacks and kind of how we set up our telemetry pipelines to be able to quickly hunt for these kinds of things. Uh this is the forward-looking statement. By attending this talk, you have agreed to look forward for the entirety of this talk. If we see you looking in other directions, we're going to double the price of your DBUS.
So, first let's take a look at what like an average day of email looks like for a user. Um, so this is in fact my telemetry. Uh, what we're looking at here is email volume per minute across 24 hours. Uh, I would imagine most of you kind of have similar trends if we were to look at your data. The first thing we see uh through the entire period is a set of emails coming at regular intervals. These are some automated alerts coming from various data bricks jobs queries I have running.
From the density, you can kind of start to see that my main working hours are on the east coast. The times you're seeing on this graph are UTC. My high water mark was two instances of getting five emails in one minute. The key takeaway here is like, you know, I'm a human. Spoilers, you know, I get some automated emails. I get emails from Jira. I get emails from other people, but I don't constantly send and receive emails.
Like nobody really does. Now, like let's take a look at a different user's telemetry. So, this is someone who's having like a very different day than URI. This is the same view of a 24-h hour time period. Again, graphing emails per minute. Early in the day, we can see, you know, maybe there's some spikes of emails up to 10 or 20 per minute. You know, this seems high, but I I would say it's not unheard of for some people.
You know, we're very like communication centric in their work. What is unusual, and you maybe you notice this on the graph, like there's this very obvious prolonged spike later in the day. This is a period of about one hour where the user is getting dozens of emails per minute the entire time. The high water mark being a period where they're getting an email more than once per second. Imagine the like constant notification alerts you'd see on your desktop uh or getting a mobile alert for every email on your phone.
Like this would be no fun. So what exactly is happening to this user? I've pulled some of the subject lines from this event storm. Uh if we take a look at them, something pretty clear is happening. So, first they're getting emails about confirming subscriptions or registering accounts uh or setting up uh signing up for newsletters. They're getting emails in multiple languages. This user might be a polyglot, but I'm betting they don't really conduct their normal business in multiple languages.
I'm not showing you this data on this slide, but these emails are coming from sender addresses that have never emailed this user before. Uh, and some of these addresses have never emailed any of our users before. What is this user's name? Is it Ra LV Jixquix? Is it you, V6? We checked this user is not an ancient. They're a regular person. This is gibberish. So, you maybe you're seeing what the attacker did here. There's a huge variety of systems on the internet uh which lets you sign uh up with an email address and download a white paper or register an account. uh you know, all sorts of stuff.
If you don't think that's true, please go down to the expo hall and get your badge scanned. You're going to be rolling in those emails. Uh but why would an attacker do this? You know, there's two reasons. One's just to be a nuisance. You need to watch the world burn. It's a denial of service almost. Uh something just intended to cause grief. The other thing is to drown in noise, right? If I'm trying to compromise an account of yours and I trigger a password reset email or some security alert, are you really going to notice that email if you're getting, you know, an email every two seconds?
Looking at this from the anti-PAM perspective, like a lot of the tools in the toolbox don't really fit for account registration or marketing emails, like the sender is actually doing the correct thing here. They're trying to confirm that the recipient wants to be signed up. Uh the email itself is not malicious. Like the sender is acting in good faith. So detection systems which focus on like bad email content or behavior like they're not in scope for this attack.
So having introduced the attack, let's dive into how we tackle this from our telemetry starting from before we we even know this is a problem. Uh for threat research, this is always like the starting question of like we have data, we clearly care about the data, but we don't know what the critical questions are going to be for our data yet. So this is a cut down example of some of the fields we have in our telemetry. um I'm emitting a lot of you know more specific technical subsystems and responses.
Fortunately in our architecture uh we have our product emitting protobuffs into Kafka and these then get written out for to a delta table for us. Uh because they're protobuffs our table schema is defined in the protospec. All the messages we ingest will align to the schema. So this is much nicer than trying to like wrangle JSON into a table with the like moderate cost of we had to build a protospec ahead of time. The fields here are some of the things that like most obviously we would be interested in searching through.
Uh every event we process has an email ID. This is a UU ID4. We obviously have a time stamp of when it was processed. Then we have the more email specific attributes. Things like the sender, the recipient, subject lines, IPs, URLs, attachments, these kinds of things. This data is a mockup. Here we're seeing, you know, maybe I'm emailing myself about my boat syncing. Uh you know, or maybe the email is like a metaphor, right?
And this is some sort of like silly marketing. We don't really know because we don't see the content of the emails in this telemetry. We just get the metadata. So clearly we can write out a full table with our schema. But we also clearly have some fields which we want to search on. And so the question becomes like which of these columns do we want to liquid cluster on? There's more than four that we care about uh which is the single table limit.
But but also every column you add to the clustering spec you're going to like notionally lose some of the specificity uh on the other columns. So, we don't want to like just pack out our clusters uh if we don't think we're going to need it because it's going to degrade the things we do care about. So, to get around this limitation, we're actually going to uh tackle this with multiple tables. So, first we're going to set up a table with the full telemetry record and we're going to cluster that just by the email ID and the message timestamp.
And then additionally, we're going to set up several secondary tables. Each of these tables is intended to let us do optimized queries on that specific observable. So we'll cluster that table again by the message timestamp, but then we'll also cluster it on kind of like an optimized version of that uh observable based on what the data type is. So for example, when we're doing sender addresses, we could cluster on just the raw email address.
But a question that's probably interesting is uh sometimes is like what are all the various addresses that sent us something from this domain. So clustering on the reversed sender FQDN, this lets us answer that question very quickly while still supporting the kind of like fast lookup of single addresses, which is what we cared about. In these secondary tables, we're not going to store a full copy of the telemetry event.
It's like just a handful of critical fields. A few things like our final message verdict or the data center this event was in. These fields are low cardality, so they compress right uh very well into the underlying parquet. Uh and they're very cheap to include. So again the starting point for our tables is actually not Kafka. Again there's a uh separate production job which is reading Kafka and writing the full telemetry record to a starting delta table.
For our jobs we're going to be doing a streaming read from that delta table which means we don't have to like manage our Kafka secrets in this workflow which is nice to not have to do. The goal of my workflow is to take every event and land it into the various tables. So a single record needs to go into our main telemetry table. Uh then we need to also extract and format the observables for the secondary tables and write them out.
Now the thing we really don't want to happen here is to lose events right when everything's operating normally. The upstream delta table is landing new records every 60 seconds. So we want to get that uh data into our search tables as quickly as possible. The upstream table is partitioned by date and hour. So a simple design for this would be to just run an hourly query which dumps the telemetry from the hour prior. But this introduces like a lag.
Um, you also need to defensively code this uh because you know if there's some sort of delay upstream, you can't really assume the prior hour will always be available right at the top of the hour. Uh, and kind of in these constraints far in the way the easiest way to accomplish this uh from my experience is to just use stream processing. Uh, so with checkpoints you can uh checkpoint on write it will handle restarting uh without a lot of problems.
You can re re uh restart your jobs. uh all of the table inserts, they're fairly straightforward ETLs. So like we don't have to do super advanced transforms in a streaming context. Um and we're getting to land this data almost instantly from it being available upstream in our delta table. So we get very fast search on top of this. The job's going to have a sync for each of our tables. So we again we have the main telemetry table and kind of the specialist subtables.
There's like over a half dozen. Uh but the data is all coming from the same source. So we just have a single workflow which is writing out to the tables to leverage delta caching. So I have a good bit of like banter with some of my colleagues who prefer pispark. I prefer more SQL. Uh when it comes to data bricks at the end of the day it actually doesn't matter. Uh the real battle is going to be with the query planner.
So like some things are easier in one paradigm versus the other. But in practice, you can just like switch between the two at any point with Spark SQL commands. Or you can, you know, you can just go back to your PISpark native. So you don't really have to tie yourself to just one. This is an example of one of the table write ETLs. So it's a stream processing job. So it's easier to control the stream behavior using like read stream and write stream functions.
The actual data reformatting in the ETL I first prototype in SQL. uh which is why it's nice to just be able to swap uh uh the syntax on demand and not have to reimplement it. Uh so uh we're going to start by creating a streaming data frame from our table source. Uh we register it as a temporary view and then switch over to uh SQL to do all of the ETL. Uh and then we can register the result of that as a temporary view and jump back into PiSpark to actually do the final uh writing of the data frame.
So this flow works well for me. Uh most of the time when I'm I'm going to be writing out a table, it first started as like a set of exploratory SQL queries against something upstream. Uh so I already worked through queries to get the format I want. Uh to be able to lift and shift it without having to redo it is very nice. One quality of life piece is to like extract as much of your SQL ETL logic into standalone SQL functions as possible.
In one of these SQL statements, you'll see me calling share. funks. Reverse domain. So this is a string manipulation where we split an email address on the at symbol. We split the FQDN on all the periods. We reverse those tokens and then we rejoin it with periods. U it's not hard like we could write this every time. But maybe in one notebook you do it wrong and kind of everything breaks. So we can just encapsulate this using a SQL function and it saves a lot of sanity.
So like having built all these tables, what does it do for us? Uh first we have our main telemetry table. It has all of our data. And so this table's optimized for fast point lookups in support. Like the most common question you're going to be is what do we know about event X? So being able to pull that event out very quickly, that's that's a mustave. Our secondary tables, they're going to let us answer questions about the specific observables in a faster manner.
So if I wanted to know what a specific ascender address has been up to for several months, I could table scan our main table. That's querying um a large amount of data. If we can query against something that's liquid clustered for the use case, it's going to be significantly faster first because you know just liquid clustering is going to help you with file skipping. Uh but also in the secondary tables, they have fewer columns.
So ultimately there's just fewer paret files in S3. So we're just going to spend less time loading paret footers. Like there's all sorts of secondary speed ups. Critically, our main table is liquid cluster by email ID and by message timestamp. And we have those two pieces of information in all the secondary tables. So instead of loading the secondary tables up with unrelated columns, like if we if we need something, we want to join back to the main table where the data actually lives.
Here's an example of what a secondary table query looks like. In this table, we've liquid cluster by message timestamp as well as both the reversed sender and reverse recipient domains. So we can quickly look at what a sender or recipient has done as well as records like specifically between those two. So the basic like tell me when and how often query for this takes a few seconds to run on the secondary table. it would take several minutes to do this on the main table.
This table can also answer some questions like tell me all the sender addresses from this domain or tell me all the domains which have been emailed by this sender. Uh so like these things from this one table we can answer a variety of potentially interesting questions. So like we have our fast secondary table. We have our main table with all our information. Here's a join between the two. Like this query must work great, right?
I want to know the subjects from the email sent by a specific sender. So we use that secondary table to filter down to just the records we care about. Grab that from the main table. Like what could go wrong? Uh if you run that query, it's going to be catastrophe. This is where the forward-looking statement comes in. Right? So at the time of right now of this talk, if you run that query, what you're going to see is it's going to do a full table scan against our large table and then it's going to do a join against the secondary table and we've defeated the entire purpose.
Uh if you make this change, however, if you just give a little join hint, all of a sudden we're going to start triggering adaptive query execution and file skipping is going to um just dominate this query, especially if it's a very selective uh query in the CTE. We go from like a multi multi-minute query down to like sub 10 seconds. Uh this behavior could change in the future. In fact, I really hope it does change in the future because if you don't for remember to do this, uh it's a bad day for you.
So if you are doing stuff with liquid clustering, always test your queries and look for those file skipping statistics because that's going to tell you if it's actually doing what you think it's doing. So we've got a set of tables with our data. Uh we can answer a variety of uh generic questions from those tables like how do we actually use this to go after that list bombing attack I told you about. So thinking back to the attack, uh there's a few attributes in the attack that the attacker cannot control.
So they have to be sending a high volume and they have to be sending from a number of different uh automated systems. If they don't do either of these things, it kind of defeats the purpose of the attack. Uh if you recall from some of those subject lines where they had gibberish names, like if a web form takes uh a name as well as an email address, we saw the attackers just put random data into this field. Uh but the attacker does control this, right?
The attacker could choose to put the actual user's name in there. So we don't want to be crafting a detection around something the attacker can control. And since this is an attack that's targeting specific recipients, we want to build the detection logic around per recipient stats. So what we want to do is take 15-minute time windows uh and look for users who were receiving large numbers of emails from unique domains, something like 45 different unique domains in a time period.
We want to filter out recipients who historically get high volumes of emails from unique domains at once. We're going to do this by calculating the 90th percentile value of that number across that user's telemetry. And basically if that value was greater than 10 domains, we're going to assume it's some sort of inbox which just gets a lot of contact from you know all over the place like it could be a support or like help desk email address that just gets a lot of churn.
Uh finally we want to check if most of these emails uh coming to the recipient during the time window are actually from email addresses which have never emailed them before. And so this logic can be produced entirely from that uh sender recipient secondary table. Uh but deciding where to draw the lines is somewhat arbitrary. And so that was something that needed to go through several rounds of tweaks to get it right.
So now that we know the attributes of the attack and kind of the critical statistics we need for this detection, we're in a much better place to build some gold aggregate tables to answer the specific questions. So during the prototyping phase, we just need to know like can we answer this question at all? But to transition this to a nearrealtime detector, we need to build a system that lets us answer the question, what users is this happening to right now?
Like right now in telemetry. Uh to do that, we're going to need an aggregate table that is built around that 15-inute window. But we're also going to need some sort of lifetime statistic of just anyone any address that's ever emailed any of our users and the time stamp of the like first time that interaction happened. So these gold tables are going to be produced through their own scheduled workflows. For the lifetime aggregate, it's pretty pretty easy to just use a merge into syntax if you've ever used that in SQL.
We're only updating a few columns most of the time. For the 15-minute aggregation table, like we don't actually do this as a streaming job. We're just going to calculate these blocks twice per hour. Uh but we still want basically real time in our telemetry. So we actually merge a view in which calculates the most recent block directly from the raw table. And that way we can uh query the real-time data and use the older statistics to make sure it's performant.
But we have the most recent data in that uh basically a single view. So like we've covered how to set up the pipelines to detect this attack in our telemetry. But for me a big question in my workflows has always like how do we take what we now know and how do we actually do something about it. Uh and the point of the talk up to now has been like how do we design data tables that let you quickly answer questions that are novel.
Uh this is a big benefit uh for data bricks if you've heard in like any data bricks talk ever. Uh but we want to spare some thought to the idea that if it's easy to build new detections but it's hard to ship that detection over time you're going to get bogged down implementing all the extra bits needed to ship the data instead of focusing on identifying and answering the novel questions. Right? If you have domain experts and they spend uh their time working the data, their their time is best served using their knowledge to get more out of that data.
We don't want them to have to like learn Kafka or learn all sorts of things that might not be related to what they have they want to be working on. So to try to accomplish this, this is this is something newer we're trying, but the pattern we've been playing here is to use a delta table as a single single interaction point for an external service. In our case for email, we have the ability to send a retrospective verdict uh for a given email.
So this is something by email ID. It lets us update the verdict of that after the fact. To do this, it requires uh sending a specific protobuff with the correct information down through Kafka to an external service outside of data bricks. For the list bombing attack, like we could have our single workflow output it results to Kafka. But in a world where we have many different workflows looking for different things, it's going to get hard to manage like who exactly is talking to this service and like if something needs to be changed and how we do that, we'd have to roll it out to a lot of places.
So instead, we want to split the responsibility into two. We want a data bricks workflow which identifies the things it wants to send a retrospective for. Uh in this case, this is the list bombing workflow that we've been talking about. And then we want a second workflow which is going to ship that data to the right location in the right format. This is the logical flow for how we want a research idea to integrate into the external service.
On the front half, we have basically the researcher domain. So they're creating new ideas. You know, they're working the data. They're automating their detections, uh tweaking it. The final result of that is that they're going to have a job which is inserting rows into this table and says these are the things we want to take action on. From the researcher's perspective, once they get to this point, their job is done, they can go start working on the next thing.
Um and from this point which is step three here we want to transition this to an export job which is responsible for validating all the records inserted into this table. Uh and here we can run things like standard safety checks to verify like do we actually want to take some sort of external action. Uh and then we can do all things like package it up and ship to S3 or ship to Kafka or make some external API call. So by doing this we can plug multiple research ideas into this one table to ship the results while still having a single place to monitor the system behavior.
For me like super critically this job gives us a single choke point where we can implement safety checks and guarantee various research systems do in fact pass through these safety checks. And so like this is the flow for us. Data bricks as a platform gives us the ability to pull in data and answer questions very quickly. So, our goal is to be able to run ideas to ground to prove them out, try to get them running and producing value in the real world.
Um, and it's like it's not a shocker, but you want to start with the data that can answer a variety of questions uh fairly quickly. Like don't bother building that single purpose table till you know what that purpose is. For us in threat research, the value is the novel idea. Um, so taking the data and doing something new with it. The more time you're going to spend on data engineering, the less time you're going to spend being a domain expert.
Uh on the other hand, like I have this personal hobby called sleeping at night. And a big part of that is like trusting the systems you build to not blow up at 2 am. And so first off, this is the value proposition for data bricks in your cloud provider, like you're not managing your infrastructure. But it's also in the designs you choose like making sure any critical system calls the go through these like choke points and you can make sure you have some control over how these systems interact.
Uh and so thank you again. A reminder, please continue to complete your surveys and we have just a couple minutes if anyone has any questions. We have a microphone in the back.
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.