EP286 Building an AI-pilled, solo vibe-coded, Clickhouse-based SIEM with Dan Lussier
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
[music]
Hi there. Welcome to the Cloud Security Podcast by Google. Thanks for joining us today. Your hosts here today are myself, Tim Peacock, uh, group PM on Google Psych Ops, and of course, the one and only Kyle Champlan, another PM on Google Psych Ops and good friend of both me and the show. Kyle, thank you for joining us as a special co-host today. Listeners, you can get this podcast wherever you get your podcast as well as at our website, youtube.com/cloudsackpodcast. If you enjoy our content and want it delivered to you piping hot, please do hit that subscribe button. You follow the show, argue with us and the rest of all our cloud security podcast listeners on our LinkedIn page. Kyle, what are we talking about today? It was like a AI click house. What are we doing here?
>> Oh yeah. Well, so definitely one of my favorite topics of all time is just how do you deal with large amounts of operational data? And specifically we talked about nano which is a sim somebody somebody literally built apparently in two weeks at the end of the year. So >> by themselves with AI. >> Yeah I guess in conjunction with AI but certainly like I would say there was a singular vision behind the problems to be solved which was pretty amazing. I think taking the angle of must be fast at scale and must be you know cost effective was kind of an interesting take really strips down I think what I thought sim was at this sort of juncture right in 2026 after multiple decades of different permutations architectured etc. I could have gone on for hours.
>> Kyle, how long have you been doing SIM? When did you first work on a SIM? >> That's a great question. So, on the product side, my first time working on a SIM directly and sort of owning it was at Splunk and was specifically enterprise security or ES as we like to call it and that was back in like 2015 2016 time frame. So, it's been over a decade and things have changed. [laughter] >> It's a new world, isn't it? >> It is. It is totally new world and and Dan in particular, you know, talked a little bit about having I think lived through each wave. I think all the way back from if you count Arcside as like kind of wave one, you know, Spunk wave.
>> Yeah, Spunk would be wave two. And you could argue like SEO Ops is maybe in between waves right now, but like Panthers would be a wave three. Like we're the themes, the core ideas of what we were trying to solve were a little bit different each time or maybe a lot different. I don't know. >> Maybe a lot different. Well, listeners, without any further ado, let's turn things over to today's guest. Today, we're joined by longtime collaborator, good friend Dan Lucier, the founder of Nano. Dan, thank you so much for joining us. You've been in the security operations world for a long time. And
you've done something I'm blown away by, which spoiler alert, listeners, Dan has vibe coded an entire sim. >> Yeah. >> What led to this? What was the moment where you said, you know what, I've had it. I'm just going to build what I want. >> I would say probably for the last two years or so, I've been just kind of building anything and everything that would come to mind. like some of my earlier projects were building a C2 platform in Python just to kind of see what it would be like if I could bypass EDRs and stuff and it did. So I knew kind of then that there was power to be had there and in those days it was still like copy and pasted code out of chat GPT or there was no no harnesses, no no agents. But yeah, I mean that was that was like the the ticket for me was I I've been doing this for a while and then around December of of this past year I was laying in bed reading my Google feed and it said something about Postgres introducing a new extension that would be really really good for keyword searches and I was like you know what I bet I could build a sim
and I bet that I could do it on Postgres. Now I'm very familiar with Postgres. I kind of knew when I was thinking that oh it'll never happen cuz it just doesn't scale well for sim generally speaking with large data. So I went for it anyway though. So I started building and built built built and then yeah eventually got to the point where I was like oh wait a minute postgres really isn't the ticket for this once I started blasting like you know 50 to 100 terabytes of data into it. It it didn't like that. So that's when I started poking around. Looked at Duck DB looked at ClickHouse looked at Hatche solutions that are out there. That was kind of like the the pivot point for me. And I spent like the I had two weeks off from work at the end of December. And I spent that entire time pretty much architecting how I wanted it to look, what I wanted the field to be, how fast I wanted it, how little resources you could use while still having, you know, like everything you want, right? Like to me, one of the biggest things is like how much can I deploy a full sim in a package on like two vCPU with 4 gigs of memory and still ingest 10 to 20 gigs of data per day and not keel over.
>> I just want to touch on one thing you said there, which is you had two weeks off at the end of the year and you decided to spend it building a sim. >> There might be there might be something wrong with you. [laughter] >> Yeah, there is there is many things I would say. >> All the right things are wrong with Dan for sure. [laughter] >> And I'm curious. So you you've I think the three of us actually largely have been in like the broader SIM space for a while now. So to kind of land on SIM as the thing. I want to unpack that if I could with you. Like why not just try to fix something like maybe if there's open source stuff there's a lot of open source Sims out there. Why not start there? Like why build it literally from scratch which is amazing by the way and on hard mode by the way. So you're using Rust and ClickHouse. So >> yeah. So there's two things you need to know about me. One, I'm absolutely insane when it comes to like want to just build new things and see what it looks like and just like beating myself up when it's not working and trying to argue with AI agents for some reason.
[laughter] And the second is I I really in my head always kind of have a design of exactly what I want and what I would love to see in a product, right? So, you know, I've often uh you know, Tim, we we did a lot of meetings in the the sec ops stage, right? We talk about you know, here's feedback, feedback, feedback. So those were all like things that I really wanted to see in a platform. Some made it, some didn't. And in my head, I was like, I know exactly what I want to see kind of get delivered into a product. And that's really what helped steer that direction for for like going down the SIM path. In addition to that, I I absolutely love dealing with logging, dealing with telemetry, being able to write detection rules, and then also kind of bolting on all of the, you know, bleeding edge AI stuff that's coming out right now obviously is very impactful to these type of tools. So, I saw what a lot of the main stays are doing right now with it and I was like, "Cool, that's what they're going to do. I'm going to do it the way that would help me in a platform." It's a little different than kind of the rest, but it's, you know, achieving what I wanted.
So, >> pretty cool. >> So, you did this all by yourself and you didn't raise money. How much did you spend on the tokens for this? Like, what how big is the hole in your credit card? [laughter] >> So, you got a figure and I wrote these stats down. Hold on. >> Oh, yeah. Nice. So claw code max at 200 a month. >> Uhhuh. >> Codeex pro at 100 a month. >> So do that over the past 6 months or so and still paying today to obviously have that. And then in addition to that infrastructure cost, right? So like you can't build a product and not stand it up in Kubernetes and actually see what it's going to look like and scale it.
You just throw it on a VM. It's not going to be realistic to the real world. So yeah, I would say I'm probably all in around $7,000 out of pocket. >> Okay. So, hang on. I've been in meetings at Google that easily cost that much in the span of about 30 minutes, but you've gone from zero to a working sim for seven grand. >> Yeah. >> Are you are you still connected to reality or you just like totally AI pill now? >> There's definitely a mix there, [laughter] you know, not not just this project, even in my normal 9 to5 is still very, you know, AI is just a lot of the things. It just speeds up stuff so much, right? I was already kind of ahead. I've been principal engineer.
I've already been kind of on that higher level. Uh and then when you throw AI into the mix, you can take that and say, "All right, well, things that I was already, you know, would take me four hours now take me 10 minutes." So like now I and I can automate it and replicate it. And yeah, you could just So the AI pill is definitely being swallowed, I would say. [laughter] Um but with that said, I still like to get outdoors and enjoy life outside of AI. So [laughter] >> that's a relief. I'm glad to hear that. >> Yeah. Glad glad you're touching grass, as they say. Yeah. [laughter] So, you know, let's actually continue on the the speed theme. So, one of the things that's kind of a marquee part of nano is just what you would refer to as subsecond search speed, but on balance, you actually put this out there. You know, you're you're looking for a cost efficiency thing. So, those things have to kind of be both intention and also in balance.
>> Is that where you think the big sort of innovation and value lies for customers? Is it in pivot, the AI assistant that you've built? sort of like how much is this like a reaction to what I think we can all agree are largely failings of the sim category to deliver like a a really amazing user experience and like and maybe a more interesting question I'll give full credit to Tim is like how does writing stuff in plain English change the game does it really for analysts who have spent years in like domain specific languages like how does that all kind of hold together for you >> so for the first part of there around speed and reliability right so those are like the two things that >> I've been doing this for a long time you guys are doing this for a long time. I have POCD and POVed almost every SIM on the market. Um [laughter] many how many times that you get into one of those tenants and like day one it's amazing. Like wow, it's beautiful.
It's got all the speed, everything. And then you know a month later it's like oh well that that subsecond search is now 30 seconds or 20 like that. And that's just so common, right? I I haven't seen really a platform that has gotten away with it's just the the realistic feel of it, right? the databases get larger, everything gets bigger, and you need to scale forward properly, right? >> And I know users themselves will be the the bad guys in this situation where they're like, "Hey, I'm only going to send five gigs per day." And then they send five terabytes, you know, per hour, you [laughter] know, >> four of those are, you know, VPC flow logs, >> right?
They'll never look at. Yeah. [laughter] >> So, no, I like that the speed part and that's kind of why I went the click house thing. I found it to be very fast and even after dumping in a 100 terabytes of data over three to four months, five months into the same tenant, even with you still have to obviously put the resources up at that point. It's no longer like a 2x4, but it can handle it and still come back with fast searches. And to me, that was like the selling point for me. Like, wow, I can really have a quick a quick SIM. It's always running. It's always fast.
It's not choking out all the time. I would say the most choke that I've seen so far is when I push an update to a new query that AI wrote and for some reason it [laughter] it decides to like rebuild all the materialized views in click house and suddenly we're out of memory on everything. So, >> gotcha. >> We don't do that anymore, but in the early days it was happening quite a bit as I was getting familiar with clicks. So, >> the second part of your question what was it the >> Oh, I was actually wanted to drill in a little bit on pivot. So there's kind of like so Tim said hey AI build like there is a lot of value I think to still be discovered in the use of AI but I do think it has to be paired with as you alluded to like a a user experience that scales for sure >> but let's drill into maybe pivot and like natural language by the way as you just alluded to there's a sort of dev oops moment waiting for every single like you know machine generated query that you're like oh wait a minute >> this just rewrote my entire database or you know dev null or yeah so I'm curious just sort of like maybe even the balance of like the dangerous output potentially dangerous output and operationally speaking >> and the value it can bring to folks that don't want to learn SQL or don't want to learn you know a specific dialect of a DSL.
>> Yep. >> So I would say like in and I've done a lot of migrations over the years the the biggest challenge is always like day one with many sock analysts and many incident responders, right? Yeah. >> If you don't knock it out the park on day one when they get into that platform, they pretty much have a bad taste in their mouth for the remainder. like they're not going to like the product, they're not going to want to convert you because often you're you're bringing somebody away from a product that they may like, right? Like, oh, I really love that solution and now you're trying to put me in something else. I'm already upset there. So, how do you help that? Right? And I think that the natural language is a huge one. I know with secops, it made a big difference, right? Like having that natural language in there because a lot of people didn't really fundamentally understand the query capability, you know, on day one whereas, you know, natural language is like here you go, just say what you want. A lot of people didn't understand the query capability. That's one of the nicest things anybody's ever said about using Wild 2 for search. [laughter]
>> I'm trying to be very safe here. >> It's okay. [laughter] >> I think the heart of it though as you you pointed to is it's kind of especially this day and age 2026 and SIM. I mean, it's kind of you're always coming from something else, right? I think that was uh why it was kind of mind-blowing that when Tim and Tim shared the article your your sort of launch uh site and it's like wait somebody built a sim in 2026 like who's this crazy person we got to talk to him immediately >> so that that's super helpful for sure. >> Yeah. >> So I I want to pick on your architecture because we've had so many architecture debates on this podcast over the years which I never I never thought my podcast would be a podcast for arguing about sim architecture. That was not on my [laughter] agenda. But you went with a pretty tightly coupled design here. It's like full full stack. Why did you do that instead of say, you know, not that?
Why did you go with a coupled as opposed to the decoupled? >> It's not to say that you can't decouple parts of it. Shortly after I launched was immediately meeting with potential customers that were like, hey, we just want to have our click house and our ingestion pipeline. Can you do that? And I'm like, well, yeah. I mean, it's just the SIM is just something that can sit in the middle. So detaching some of those components is not the end of the world. So it's already been done for me. But >> yeah, >> the core of it was >> I often look at these solutions and see you like secops and stuff that are fully together and it's something that I always liked, right? Uh be it Splunk or others, they all came to that market of like you're going to have this centralized location, you're going to have this schema, you're going to follow this and then down the road things benefit from it, right? The AI benefits from everything kind of benefits from a structured setup. So that was kind of how I I landed on like you know doing that setup.
>> Right on. I I do want to you know just to continue the debate. So I I data nerd for sure. Why >> that's why I chose Kyle as host for this episode by the way. I was like who can really get into it with Dan about this one name. It was always going to be Kyle for this. >> I appreciate that. It's kind of a dubious honor but uh certainly appreciate it being the data nerd. Not being on the podcast podcast. It's wonderful to be here. [laughter] So click house is interesting to me. So can I just full disclosure I worked at a startup before coming to to Google that actually built on top of Snowflake. So we you know we had this sort of very abstracted I'd argue very nice elegant UI and and set of tools to interface with but under the hood the engine was Snowflake but we fully managed that like it was completely opaque to the user that that was on the back end and there's a lot of benefits that I found to doing that but why click house specifically and I'm curious sort of what your learnings are there. Maybe we'll go toe-to-toe on some of the finer points. I don't know how how much time I'll be able to do that. So, >> so Clickhouse in particular, what I wanted to do was similar kind of sec ops did with the you're going to have like these highly indexed fields, right? And then the rest of it is going to be in like a JSON store, right? Where you'll be able to access it. And Clickhouse in particular has really good means of like the Bloom filters and whatnot across those JSON filters to still have [clears throat] >> really fast reads. So when you're doing your searches and it's going through and and going through the granulars to find, you know, like exactly, you know, that hit or mark for keyword searching because that's like to me keyword searching is like a core component to a sim. And some don't have it, some do.
But like there's so many times an analyst goes in, it's like, I just have this word or I have this thing I want to look up. I don't want to know the before and after. And Clickhouse with the way I implement it at least just really works well in that regard, right? like having the like the your core fields like IP addresses and things like that are mapped perfectly. Um I have UDM and then I have OCSF is also supported now. So like having kind of both of them because I got tons of feedback right after release where everybody's like why didn't you just use OCSF? [laughter] So yeah, I did that. But yeah, being able to kind of [clears throat] that's why I like Click House was and you can run it relatively lean and still have a pretty good, you know, backend operational. So >> yeah, that makes sense. And I think maybe to unpack that a bit more. I try to think of them as kind of two buckets.
You alluded to this, there's kind of a world in which you could bring your own. So if the customer wanted to repatriate and run click house on prem, they could do that, right? Was that in the calculus or that was more an afterthought or just kind of like because you seem to be very into the architecture, which thank goodness, but it's some of those decisions are also as much like where it actually runs and it gets into other discussions like not just compliance but sovereignty and all that. Was that part of it? >> Oh, interesting. it was so when I was building it, it wasn't on my my radar. I was more focused on like here's this bundled solution, deploy it how you will, right? Or I can deploy it for you through my deployment scripts. Like you you choose, you put it in whatever cloud environment you want. The full stack will be there for you. And then when I started meeting with some potential customers, they were like, "Oh, well, you know, I want to be able to like air gap this or potentially put it into the data cyber team and having it, you know, localized to just my region." So that's when I was like, "All right, cool. We can we can totally do that." cuz the the sim had already been almost decoupled, but it wasn't hard to decouple it, right? Like the vector part was here, the you know, click is here. Hey, you want to bring your own? Okay, we just switch it up and you just use an environment variable or whatever to get your data to the proper location, right?
>> Right on. So, kind of like a hidden hidden bonus feature. >> Yeah. Yeah. Luckily, right, cuz I asked AI, I was like, well, I was just looking for [laughter] converting this and adding this, you know, I was like, oh, no problem. We built it so it could handle that. [laughter] >> Yeah. Yeah. So, you got to take credit for the AI answer for sure. Yeah. >> No, I mean Dan is not the first Cloudac podcast guy to to sing the virtues of Click House. We had Allan from Run Reveal like 50 episodes ago, like a whole year ago. We were already talking about Click House on the show. So, that seems like a pretty solid choice these days.
>> Yeah. >> I want to talk a little bit about the kind of analyst experience side of things where you know the mapping of IPs to owners, the looking up asset criticality. This takes a ton of time for a lot of people. Is your AI assistant doing all that as well? Because, you know, we've got Tina in sec ops doing, you know, triage investigation agent. We named her Tina. >> She's named now. It's Tina. >> Yeah. Yeah. Internally, we call her Tina. Yeah. [laughter] Yeah. And then, you know, she's got siblings that are still cooking. >> That's true. >> But, you know, we do a lot of that stuff. And so I'm wondering like how much of that have you imbued into your AI and how are you thinking about you know the line between helpful context gathering versus maybe actually making changes and doing things that might be risky.
>> Yeah. So pivot itself will take because the the core build of like the highly indexed fields and whatnot and kind of logic behind it is I have something called identity resolve which will map either against DHCP but I've seen just throughout my years that DHCP can be a great challenge in actually getting that telemetry from most organizations especially smaller you're pretty much in you know out of the water for there. So I map it primarily to EDR events. So like assist defender crossrack whatever you know that's that's where you're going to get kind of that matching. um it looks at DHCP as like a first class and then you know EDR is your second so if you have DHCP it'll pull that first and then pivot can utilize that right so when it gets you know essentially you'll have detections are firing detections eventually bubble up to an alert alert turns into a case right and then you have your cases kind of just sitting out there and they're beginning their triage I use cheap models for the initial triage because the cost for AI is is astronomical right in these scenarios when you're looking at I want to run AI analysis this across my 500 cases, thousand cases per day, the the top tier models are going to just blow through an AI budget within seconds. So the focus is pivot goes through and says, "All right, I got this case. I'm going to do my analysis." Another case comes in associated to it. Another alert comes in associated to it, whatever. It continues to go through those. It looks across your historical cases as well to see if in the last 30 days, any false positives, true positives, anything looks similar. So it's doing all of that analysis. It's branching out and doing searches automatically as well. So like, hey, we're going to go back, you know, 30 minutes here, ahead, 30 minutes from the time. So just like a plus and minus there.
>> Yeah. >> But all of that said, and I'm sure you guys feel the same way, AI is not at the point where it's going to say, "Case closed. [laughter] This alert is done. Case closed." Like I I don't know how you would ever say to, you know, a regulator or something that says, "Hey, how did this get missed? Oh, AI said, right?" And that that's a huge challenge, right? And even when AI becomes fantastic, fable, mythos, everybody else, right? Like it's still going to be a challenge. And that if you miss something and then somebody comes and says, "Hey, how'd you miss that? So what do I now go and and sue Google because Gemini decided to, you know, like or you know, Tina's decided to tell me something." So like, you know, that is the challenge. I think it's just Yeah. So I have options for it. You can toggle it on if you want it to answer completely for you, but the main toggle by default just kind of puts it higher and changes criticality based on what its analysis is. So yeah.
>> Yeah, this is a surprisingly cautious AI
triage answer for somebody who is as AI pilled as you seem to be. So this is unexpected [clears throat] and fascinating. I love it. >> Yeah, for sure. It's there's a you could almost just say there's just not enough case law in terms of like how these things might >> That's a great pun. I'm jealous. >> [laughter] >> I appreciate that. I'll have a few more for the rest of the show. >> Please, please. >> So, you know, I want to hearken back to, you know, it's hard to categorize these as waves. You could argue maybe well, what is now Sack Ops Chronicle at the time, even Panthers or some of the other folks were maybe like a wave three of Sims. So, I'll call them wave three.
People will argue in the comments, I'm sure. Apologies ahead of time. And shout out to the friend of the show, Jack. I believe when we think about Panther specifically, they had a really strong point of view of like, hey, detections as code is like the only way to to make this work at scale and and I think sort of to handle a bunch of emerging kind of what we'll call themes in the sim space. So is like you write some Python gets deployed like normal software through CI/CD pipelines, Jenkins, whatever. And I do think like that works if you do if you're sort of you have a lot of engineers. It basically is a simple way to do it, but not necessarily a lot of analysts. And so back to the sort of like simplicity of that first experience sort of I guess you could say an analyst never forgets. There's your second one Tim like how do you sort of think about optimizing between that's a very powerful expressive thing. Python's very expressive as a language usually DSLs are not as expressive and balance that with like ease of use visual editors or maybe you know in this sort of world where we're all using MCP servers to live our lives sort of where are you in that spectrum? How are you thinking about it in terms of Nano and how you're sort of implementing it from a product perspective?
>> Sure. So, first for the Panther side of things, those guys are great, right? Like they have like one of the best AI implementations I've seen in a product and like their detection code is like topnotch. So, a very cool platform over there. >> From my perspective, I love detection code. It was like so much of what I put into when I was kind of like working back and forth with David French and whatnot on the the Google side when I was doing that. >> Shout out to Frenchie. >> Yeah, French is right. Um, so yeah, detection code to me is like one of those I hold it very very close to my heart and and something that I love to do, but I fully understand who can do it and who can't. I would say compared to like a year ago, we're much closer to allowing smaller teams to be like go at it, right? If they have access to a cloud code or or an anti-gravity or something on their endpoint, they can hook in an MCP server and be very successful, right? Like if the MCP server, which you know for nano that's what I do with mine, it calls all the prevalent APIs and it can just like do the whole rule for you including the points of like getting it into GitHub, you know, having your peer analysis and all those things happen. And I think that that is what's going to be powerful over the coming, you know, like upcoming months is that people are more and more so getting hands-on with these agents and they can start to get familiar with how to use them. and 100% this ability
to go in and just say, "Hey, I I got to detect Kerberosting, you know, and can you help me write that rule?" So instead of them having to go on Google, search what are the event IDs, what's this, what's that, they can just say that and it'll it'll kind of pull through and and write it for them, right, based off of whatever their SIM platform is. And I think most Sims right now are kind of really heading in this direction. I've seen it with SEO Panther. They're all kind of, hey, you know, here's your MCP server. Go and build, right? Yeah. And I think smaller teams can take advantage of that. That said, there are still many people that just want to go in, utilize a nice UI, and that's their, you know, I just want to write my queries, leave me alone. [laughter] >> You build both, right? So that's that's that.
>> For sure. I think it is a yes and for sure. >> Yep. >> Yeah. So I hate to do this because this has been such a shockingly fun dive into SIM architecture. Again, things I thought I would never say. Uh, but I have to ask our traditional closing questions. And so one, do you have a tip to, you know, security leaders who are thinking about what their fourth wave SIM will look like? And then two, uh, recommended reading, which could be anything from, of course, your blog post, which we'll put in the show notes, to really anything, you know, Mary Shel to Mary Oliver.
>> Yeah, I've done a ton of these. Even like 6 months ago or so, I did a full analysis or a full SIM evaluation across the current market. So like I would say the biggest things we were kind of touching on this earlier was as you do your evaluations really figure out what your team is looking for right is it the AI front of things is it we really want stability and fast searches like what is most important and then like get at least a month-long POV/PC going so you can see and send lots of data or ask the vendor hey can you give me a tenant that has three months of data in it just so they can get a feel for like what does that look like realistically right because it's hard if you do like a twoe PC you're just not going to know. You don't know what's going to like it looks good with, you know, 5 KB per day, right? [laughter] But it doesn't look good when you start sending 20 gigs per day or the price becomes astronomical, right? So, I think from that regard, those would be the biggest hits I would have when you go through that process and then just test test, find what works best for your teams and and go that path. So, on the reading side of things, I primarily just read technical articles non-stop. So like I would say keep up with any any articles related to AI and security and SIM and things like that, you know, they're going to keep you a breast of like everything that's going on right now. So yep, >> right on.
>> Amazing. Well, Dan, thank you so much, not just for joining us on the show, but also for contributing Nano to the world and for all of the wonderful years of collaboration between you, your teams, and and our teams here. >> Yeah, appreciate it. >> Thank you. >> Thank you. >> And now we are at time. Thank you very much for listening and of course for subscribing. Please subscribe so you can get new episodes piping hot. And if you love our content, please drop us a review on your platform of choice. >> You can find this podcast on YouTube, Apple Podcast, Spotify, or wherever you get your podcast. Also, you can find us on our website cloud.withgoogle.com/cloudsecurity/mpodcast.
You can argue with us on the Google Cloud Security Community site, googlecloud community.com. >> You can follow us on x.com/cloudseodcast. Tweet at us, email us, argue with us. And if we like or hate what we hear, we can invite you to the next episode. >> See you on the next episode of the Cloud Security Podcast by Google.
[music]





