start	end	text
0	6200	All right, good morning. Thank you for coming out to the inaugural year of the Red Team Village.
6800	11220	Hoping to have many, many, many more years. We tried to dedicate a lot of space, so
11760	14640	we ended up getting a little bit more space, but we tried to dedicate at least
14640	20500	30 plus percent of that space to T.O.P.S. because we have so many amazing people in the
20500	26800	red space field. And you had to go to all these different places to hear them and talk to them.
26800	32580	So, we've got an amazing lineup of different folks. Mr. Charles Herring, he's got an immense
32580	40080	background. You want to talk about me? There's a whole slide about me. It's my favorite topic.
40080	46220	We're just going to do the whole hour about me. It's all about me. Anyway, well, thank you. Please
46220	58840	give him a warm applause. We're going to do about 45-50 minutes and then we'll do some Q&A
58840	64780	after that. If you have any questions along the way, feel free to shoot a hand up and I will
64780	68900	answer the question because that gives me an opportunity to drink my water.
69660	74300	If you want the deck, Twitter at Charles Herring, charlesherring.com. We'll shoot you to LinkedIn.
74300	79760	You can grab this deck from either one of those places. It's uploaded to CDN. A little bit about
79760	84960	me. This guy is actually me, though I do recognize it. I look like I ate him and had an allergic
84960	93340	reaction. Life got hard during this time. I was in the Navy for 10 years. I spent seven years
93340	100680	fixing F-18 Hornets. After 9-11, got wrapped into doing security because I was doing that for fun,
100680	105320	cyber security stuff, hacking stuff for fun. Ahead of that, I was detailed to be the network
105320	109900	security officer at the Naval Postgraduate School. That was also a fun time when Chris Eagles spun up
110660	116680	a school of root. So anyone that's old enough to remember that, one captured the flag here at
116680	122360	DEFCON a handful of times. And at the time, we're trying to figure out how to operationalize
122360	127780	cyber security operations. And so I partnered with InfoWorld back before journalism died and
127780	132080	the test center was still open and they would send all the gear and we would mess with it,
132080	138060	put it on the network and figure out what could work, what didn't work, what type of
138060	142440	technologies and approaches worked. Some of the stuff we're going to talk about today,
142440	147580	network behavioral anomaly detection was done really in two veins that were pretty successful.
148120	157760	Georgia Tech had an arm that was doing something that later became called stealth watch. So it was
157760	162080	the Naval Postgraduate School. It was called Therminator. You can Google that. NSA holds that
162080	171740	code now. Left the Navy, did consulting work for about seven years, then went back to Lancope to
171740	175280	help them figure out how to sell something as complicated as network behavioral anomaly
175280	180320	detection. That company got acquired by Cisco. And about four years ago, I started a project
180320	187560	called WIDFU that is setting out to orchestrate security operations. You can, if you are
187560	193000	interested about that, there's www.widfu.com. So here's what we're going to cover today.
193240	198020	Going to hit on the concepts of NBAD and UBA, how it works, what the terms mean, just to define
198020	202380	those so we're all up to speed. Then we're really going to look at how to poison that data in the
202380	206720	context of a red cell team. People are collecting data, they're analyzing it, they want to catch
206720	211420	attacks. What we're going to look at today are some concrete techniques in messing that data up
211420	216360	so they cannot catch the attacks that are underlying. And so it's going to be two parts.
216360	221800	The techniques, so what are the commands we run, and the scenarios, or how do we leverage those
221800	228780	techniques in different poisoning scenarios. So just real quick on some definitions,
228900	232520	a signature-based definition, most of you guys know this, signature is you're inspecting an
232520	237500	object as it's entering the subject. So the packet, the file, it has some characteristic
237500	242760	that's weird. If I was drinking my drink and there was mold floating on it or something weird,
242760	246040	I'm like, okay, there's something wrong with this object, I'm not going to ingest it.
246040	252380	I know that mold is not good, right? Behavioral detection is observing the subject after
252380	259080	ingestion occurs. So sandboxing is really good at this. If I drink the drink and I become sick,
259080	264760	that behavior tells me the object may have been bad, right? And then anomaly detection is looking
264760	267900	at all of the behaviors, whether they're on the network, on the endpoint, or whatever,
267900	273240	you establish what is normal. And then if anything happens that is not a categorized,
273800	280320	whitelisted normal, it is abnormal, it is an anomaly. And so this is one area that has worked
280320	285060	really well over the last few years, and we've done a whole lot of good research as an industry
285860	290620	on anomaly detection, or what's more commonly being marketed now as machine learning,
290620	297020	is particularly supervised machine learning. But in the relationships,
297020	302320	anomaly detection create new behaviors. We see something new happening in the wild,
302320	308240	and we categorize it as a nefarious behavior. So Heartbleed a few years ago was a good example
308240	313760	of this. When we start seeing the ratio of server bytes, client bytes, that are being
313760	321020	exchanged across Apache are not in the realm of normal web communications. It's a net new behavior.
321180	331160	And so we're able to tag that as an application denial of service. And then from behaviors,
331160	335520	we are able to detect new signatures. When we see this behavior, we may not know what the attack is
335520	341320	at the time, but we know the behavior is bad, such as the files are being encrypted on the disk,
341320	347000	data is being deleted, data is being exfiltrated, the behavior is bad. And so those behaviors inform
347000	350840	us on how to build new signatures. And of course, the best thing about signatures are,
350840	356920	we can attach CVEs to them, we know exactly, we can look at the adversaries that created them
356920	364340	to better understand exactly what happened. So false positives, or when I say a false positive,
364340	370940	I mean a detection of something other than an attack is high in anomaly-based detection,
370940	376720	because until you get to the point where you've categorized every behavior so you know what's
376720	382600	normal and why it's normal, you're going to have alarms that are triggering that are uncategorized
382600	389940	but non-nefarious. Anomaly-based detection, as we look at it, requires baselines. If you're
389940	396200	establishing normal, you have to define what is normal. And most of the techniques we do
396200	400100	in anomaly detection, whether it's on the network side or the user side,
400100	407320	they're based on mathematical models. You can do mean, you can do different types of standard
407320	413520	deviation. There's all kinds of models on what the baseline is, how many bytes. So what you start
413520	419640	with is, what type of metric are we looking at? Is it packets transferred per second? Is it packets
419640	425480	transferred per second against port? So you build a mathematical set of numbers that you're going to
425480	430560	track. Second thing you have to figure out is, what is the baseline applied to? Is it applied
430560	436880	to the entity? So are you baselining the behavior of every host or every user on the network? Or
436880	445820	are you looking at set-based baselining? So all of the users in wireless, or all of the hosts that
445820	452820	are belonging to the C-suite. So you create sets and then baseline against sets, or you baseline
452820	458420	against entity. And that's pretty important when you look at how to exploit them. So what baseline
458420	464560	are you going to exploit? We'll look at baseline boiling a little bit. Supervised machine learning
464560	468780	versus unsupervised machine learning is you take all the variables in unsupervised machine learning
468780	475720	and you find every possible relationship against the different data. So if you have 15, if you have
475720	482020	packets versus port versus bytes versus, you know, all these things you can look at, what are the
482020	487100	distributions of those sets? And then what do those sets mean when we see them? And that was actually
487100	493440	one of the main pieces of the Therminator research. So as a product in the industry,
493440	500020	network behavioral anomaly detection is looking at a horizontal traffic. Normally inside the network it's
500020	506280	looking at net flow generally. There's also the ability for probe solutions. But you don't, because
506280	512460	you're counting things, you don't need to inspect the characteristics of the payload, right? We don't,
512460	518440	so this is one thing that's sort of safe from encryption. Because you don't care what's in the
518440	522240	payload, you care what's in the header. How many packets, how many bytes, how many connections,
522240	528880	those kind of things. It also tends to look at solving horizontal east-west conversations.
528880	532480	What are the, how much data is being transferred from data center to data center or whatever.
533580	539700	And that's why net flow or other meta type tools work there. Almost no one definitions, we'll get
539700	546620	the fun part. That's a list of stuff from Gartner on people that do NBAD. Types of anomalies you
546620	556700	look for are service traffic thresholds, so how much web traffic was consumed from China in a day,
556700	561720	right? And so you look at that type of thing. It also fits in the geographic traffic anomaly,
561720	569880	how much traffic is impacting on a given geo. Data hoarding or data staging is if you expect a host
569880	576800	to consume 10 megs a day from the network services and now they just consumed 100 megs,
576800	581380	that's a mathematical anomaly against what you expected in the baseline. So those are just
581380	589200	observing network patterns. When we look at UBA, really what this solves is where do you do an
589200	593120	investigation? Those of us who have been doing this for a couple of decades remember the days
593120	598500	where we had alarm tables. We started to be on alert at the top of the table, we'd prioritize
598500	603500	them on different types of metrics, which one was scarier, which was our confidence level,
603500	609100	all these things that came in sort of in the really initial IDS, IPS days. And we'd work our
609100	615160	way down that list. The next sort of thing that happened was host-centric investigations to where
615160	620540	you take the alarms and you attach them to the network devices that are generating the alarms
620540	627120	and then you investigate that host. And so you correlate them there. And then the first part of
628020	636020	user-entity behavioral analysis is putting the alarms on the credential level. So if there's
636020	641480	three different machines used, but one credential used, you investigate the user credential
642160	648760	instead of the host level. And what it does is it provides a boil down of all of those alerts. So
648760	652660	there could be hundreds or thousands of alerts that are attached to one set of credentials.
653400	661640	And then this is the interface that I use. This is using Cytoscape, which is a bioinformatics
661640	668920	graph library. So when you look at user-based anomaly, I'm almost done with definitions,
668920	675080	and we'll do the actual exploits. A couple of things, geographic traffic or magic carpet
675080	680040	type of attacks. If a guy always logs in in Columbus, Ohio, and then all of a sudden he's
680040	685840	logging in from Tehran, that's a geographic anomaly that he's too far outside of where he
685840	690700	normally logs in. A time of day, if they're always logging in at 8 o'clock in the morning or during
690700	696300	the morning hours, and all of a sudden he starts logging in at 2 o'clock in the morning, that's a
696300	703080	time of day anomaly. Different types of hosts. So when you categorize how does that user get onto
703080	710520	the network? Is it only on guest wireless or are they logging into servers? So in those types of
710520	716200	access change, it's also a type of anomaly. And then what services? If it's only consuming email
716740	721700	and the internet is the baseline, then all of a sudden we're looking at something like
722800	729460	accessing core data services like SQL or something like that, then that's an anomaly in itself.
729460	734720	All right, so now that's a million things that do UBA. So let's talk about how to poison the
734720	741620	data now. So there's really three types of poisoning that we're going to go over here today.
741680	748200	The first is mass implication, which means if I'm attacking from this computer,
748200	753000	I don't want you to investigate this computer because I'm going to make it look like everybody's
753000	757280	attacking the network. It's not just my computer, everyone's attacking. So you have to figure out
757280	765160	which one's the real attacker. Second one is baseline boiling, is contributing to the
765160	769880	calculations of baselines in a way that they grow. So if you're doing something like data
769880	775460	exfiltration or time of day, you just slowly contribute data that makes it to where the
775460	780080	baseline is so big that it's useless, that everything is always okay. Everything is
780080	786800	always normal because you're contributing that data in a slow way. Attack masking is when we
786800	792900	send one record to offset another record. So this is really good in recon. So if I send a send packet
793260	798460	and a send act doesn't come back, I can generate a record that said a send act came back. So now it
798460	803340	doesn't look like the scan anymore. It looks like a two-way handshake occurred. The ways we're going
803340	809740	to do it is log spoofing, which means we're going to generate false logs. We're just going to lie.
809740	814960	We're going to create a log. We're going to get it into the processing system and just write
814960	820840	whatever we want. The second approach we do is behavioral spoofing. So we make it look like that
820940	826980	a behavior happened on the network that didn't actually happen. And so the way that we're going
826980	831480	to do this is one, we can do it from a machine we own on the network. We can do it from a VM
831480	837040	or containers. A lot of the code I'm going to give up here is going to be via Docker containers.
837160	843520	And we can also trick networking devices into lying for us by doing fake telemetry
843520	847540	that makes the networking device think that something happened that didn't really happen.
848360	855640	So the end goal of this is, on the left, is an attack that happened at a university
856240	864320	of data exfiltration going from left to right. And when you look at UBA tools and tools that
864320	871620	utilize graph theory, what you're driving for in developing these visualizations is clarity
871620	877380	to the investigator. You take thousands or tens of thousands of events, you contextualize them
877380	883620	against the modus operandi of the attacker, and then you render it and the investigator's like,
883620	887520	yep, someone's stealing our data. We're on stage two of this particular kill chain,
887520	893480	this particular MO. And then that's easy to investigate, and then the bad guy's killed.
894000	898400	What we're going to look at in poisoning is, if you can, we move to being invisible, right?
898400	905480	We erase the records that we did an attack, so that there's no record. That's actually pretty
905480	911700	hard, so I like the second one better. Make it look like everything's screwed, right? And so
911700	917600	make it look like every single thing on the network is infected, and an attacker make everything look
917600	922040	horrible, and you can't investigate any of it. So this is what we're going to drive at toward
922040	929540	in these exploits. So real quick on how to protect against this, and this is sort of the key part if
929540	935900	you have to tell people how to fix it. We have a really bad problem with non-repudiation and logging.
935920	945300	UDP is a really crappy way to get data logging into a system. TLS is really, it's a pain too,
945300	953340	because of the overhead of the TCP handshake, as well as the encryption handshake. And for
953340	960120	some technologies, it's not even possible. RFC 5101, which establishes IPFIX as a metadata for
960930	969060	sending out network communications, it's written to support TLS encryption or transport, but
969980	975280	no one does it. So you can't buy a tool that actually complies with that part of the RFC.
975300	979440	It also does, of course, add client overhead, server overhead. You can run into
980540	986940	reflection, denial of service, all those things as well. And spoofing, right? So people, you can
986940	991140	just lie. There's nothing with the UDP packet in particular that keeps you from saying in the
991140	996080	header that I am whatever IP address I want to be. And as long as that packet can route to the
996080	1002720	destination, I look, it sounds like I, it looks to the server like I did that. And so tools like
1002720	1008520	Cisco have the overhead of doing a reverse path lookup to make sure that if you're saying you're
1008520	1016020	sending from 10.10.5.5, that you're really on that segment. Then really the other part is protecting
1016020	1023880	the collection infrastructure. The tools that are generating telemetry should be in a segment that
1023880	1030660	is the path to the analysis is protected. So everyone can't, no one on the network can send
1030660	1038240	logs unless they're in an authorized segment. I do, I also put up here honeypot. So if you're
1038240	1042620	doing any type of deception, that stuff, that stuff is really cool when you run into everything's
1042620	1048620	infected because you get real telemetry because nothing should be talking to a non-existent box.
1048620	1054500	So it's really the tripwire of figuring out where is the real guy when all of the analysis fails.
1054840	1060320	And really another core part here is as you're receiving data, it needs to be tagged on how it
1060320	1067360	was received, right? What listening service received it on what port? What were the authentication
1068720	1073340	components that happened? Was it sent over TLS? Was it sent over UDP? And those types of things
1073340	1078360	so that when you run into a poisoning scenario, you can filter out the stuff that meets the criteria
1078360	1085580	of poisoning because you logged that as it came in. The things we're going to go over really fit
1085580	1091340	in all parts of the MITRE ATT&CK matrix for enterprise except for initial access.
1091840	1096020	So the first technique is really simple. It's just what I call a pump and dump.
1096320	1102800	So what you do is you're going to spin up a container or VM. I'm going to give you the
1102800	1107600	code on the container here in a second using a Docker container. You assign it a MAC address.
1107600	1111800	You can pull an IP address from DHCP or assign your own IP address. You do stuff,
1111800	1118980	like maybe you do recon. And then you kill that container. You reassign a new MAC address,
1118980	1124200	pull a new IP address, and then do something else. And so in the logging in the system,
1124200	1127680	you're spoofing the IP address, you're spoofing the MAC address. They can't find the machine
1127680	1132740	because it vaporizes, right? So it's the same machine, but it keeps popping up using
1133960	1140860	a different networking component. So this is a Docker version with Kali Linux.
1140860	1146040	So the first thing is that one line creates the container, and it'll actually pull from
1146040	1151060	Docker Hub if you have an internet connection. It establishes whatever MAC address you want
1151060	1158420	to use. In this scenario, it's going to pull a DHCP address. So that way you know it can route.
1158500	1164880	And there's a record. You do stuff. So you create the container. You start the container.
1164880	1169320	That gives you a shell into the container. You do all the stuff you want to do, right?
1169320	1173670	These scenarios will go through a little bit or anything else. Then you kill the container,
1174440	1179360	spin up a new one with a new MAC address, pull a new IP address, and then repeat. So it looks like
1179360	1185400	you have this machine that pops up for a few minutes. It might hit something, flag it, but
1185400	1193360	it's gone by the time the responders can deal with it. This one's really fun. It's what I call a
1193360	1198420	pocket dimension. So a lot of access switches now are sending telemetry. Wireless access points do
1198420	1204720	this a lot, things like Meraki or Mist, where they just believe the traffic happening on the
1204720	1213100	access point is really happening. So you spin up several containers on a fake network. And it can
1213100	1217760	be on a Slash 2, a Slash 4. You might be able to get a Slash 0 to work, but I generally run on a
1217760	1223240	Slash 4. And you spin up an external host. It could be a Microsoft host or whatever IP addresses
1223240	1231180	you want. And then you do things to those fake machines. So it looks like 10.10.5.5 is communicating
1231180	1238420	with 8.8.8.8, but it's not. It's communicating with your 8.8.8.8. And so you can generate all
1238420	1243360	these false traffic patterns, whether they're inside the network or outside of the network,
1243360	1249260	by creating the containers, launching the traffic that you're lying about. You're creating a behavior
1249260	1258300	in this fake network. That fake network is bound to the NIC. The NIC is then being monitored by
1261000	1266420	the wireless access point. A wired access switch is generating either syslog or
1266420	1275060	NetFlow telemetry. That stuff is already configured to ship it to the syslog or NetFlow or UBA tools.
1275080	1278840	So you're generating all this fake traffic and it gets shipped out. So it looks like this. This
1278840	1287840	is two different machines. You create a network bridge called Pocket, or a Docker network called
1287840	1298680	Pocket. You bridge that across to the physical network that's on the bridge command there.
1298880	1305700	Spin up containers, have the communications you want, whether that uses for boiling baselines,
1305700	1311080	you could use it for doing recon, you could scan the whole internet if you want.
1311180	1316140	Whatever you wanted to do, but it's happening in this fake network, but generating real telemetry
1316140	1325800	inside of the security architecture. This one is a little bit harder, or should be harder,
1325800	1331780	is just spoofing records directly to the log collector, whether that's syslog or NetFlow,
1331780	1334640	but you have to find it first. And I'll show you a couple of techniques for
1335260	1340300	resolving this. First is you can look for DNS things, because people name them like
1341320	1347080	syslogcollector.acme.local, right? So doing some basic DNS lookups will probably reveal
1347080	1352380	something, give you a step towards where the collector is. If you have a compromised machine
1352380	1357150	that's already generating telemetry, that's just a TCP dump on that machine to figure out what it's
1357150	1365630	with over NetFlow or syslog pieces, you can just do a SYN scan. If something's collecting syslog,
1365630	1371590	they're going to be open on 514, see if you get a SYNAC back on any of those. But once you discover
1371590	1376030	it, you're just going to spoof records that can say anything that you want, because record
1376030	1381890	collection stinks right now. And then you can just do a pump and dump, right? Create the records,
1381890	1385650	drop that machine, create more records from a new machine.
1386730	1390710	So if you don't know how to send syslog over Netcat, that's how you do it.
1391370	1399610	Syslog is really uncomplicated. So you can send any message you want. Most syslog formats from
1399610	1404410	different tools are very well documented. There are plugins for it, but essentially just Netcat
1404410	1410630	anything you want to the port of the server, and the server will process it as if it is the gospel.
1410630	1417090	So another cool way of doing is what I call a UDP spray. There's a cool project on GitHub
1417090	1421670	called Samplicator. And essentially what it does is it opens up a socket, it listens for a UDP
1421670	1426630	packet, and you have rule-based systems that say, when I receive packets from the following sources
1426630	1431730	or they have the following characteristics, forward those packets to the following destinations.
1432010	1438790	And what it does is it maintains the original header. So if you sent from 10.1.1.1,
1438790	1444290	it looks like 10.1.1.1 when it hits the final destination and not the Samplicator IP address.
1444650	1451110	So you can just load up class B's worth of IP addresses and just say, I'm going to send a packet
1451110	1455930	into Samplicator and it's going to spray it out to every possible destination. Some detection
1455930	1461070	mechanisms may see a UDP flood or something like that because of the number of UDP packets coming
1461070	1468690	out. But this is one way to get the packet to the destination if there's a route to it. So it's
1468690	1473770	send it to everybody, and whoever picks up on that log just receives the log. And that's really all
1473770	1479750	that you have to do there. Samplicator is a very simple application to use. Then it's used the
1479750	1483930	previous slide to generate the Netcat message, send it to Samplicator, and then it shoots it out
1483930	1491270	to all the UDP destinations. For things that are using TLS, this is some really simple Python code.
1493530	1497670	That's all you need to do to send a message. You'll see the message is right here on the
1497670	1503050	socket. The rest of it's just removing verification. So if the endpoint does
1503050	1507010	require certificate verification, you're obviously going to have to get a hold of a good certificate
1507010	1511770	here, which actually might not be too hard if you own a machine because the machine will have a
1511770	1517970	certificate on it if it's already shipping logs. But that's the Python stuff there. And again,
1517970	1525370	if anybody needs these slides, they're just at Charles Herring, charlesherring.com.
1525870	1529910	Give them to you right here on the thumb drive that I would not recommend you plug into your
1529910	1538530	machine. Next thing is, here's another approach. So there's a tool called nProbe. There's an
1538530	1546610	open source version. It sniffs a NIC. So it sniffs the packet capture and it creates NetFlow records.
1546870	1551750	And so in the case of like a pocket dimension, you're running these different attacks,
1551750	1558790	have nProbe generate the metadata about those fake attacks and forward those on to the collector,
1558790	1563830	right? Whether you do that through a UDP spray or you already know the end destination of where
1563830	1571830	you're going. So grab that from nTop, friends over there. A lot of stuff starting to move towards
1571830	1576710	REST APIs. So Elasticsearch, Splunk, those types of devices. If you're making a, you want to make
1576790	1581190	a direct right there. This is an example for Elasticsearch in the format. It really is just
1581190	1591350	message colon. So this is a JSON post to the Elasticsearch API. So you can do that. But
1591350	1595190	generally, if you're using Elasticsearch, you also have available something's listening on
1595190	1600910	syslog somewhere. Mike's dying. Okay. All right. So let's do a scenario.
1602990	1608750	We want to recon the network, but we want to cover our tracks by making it look like everybody's
1608750	1613950	reconning the network, right? And so they can't, they won't find our machine until it's way too
1613950	1621730	late. So best way to do this is in a pocket dimension and generate, you can generate the
1621730	1625830	fake records, right? So you're scanning everything inside of the pocket dimension,
1625830	1631710	which is generating all these recon records that are getting forwarded off to the infrastructure.
1632530	1636950	You could also do this by spinning up as many Docker containers as you want, spoofing the IP
1636950	1642550	address if it's because it doesn't matter in recon, particularly if you're doing a send scan,
1642550	1647030	if the packet comes back to the fake machines. So in the pocket dimension, you can do as many
1647030	1654350	as you want. You can simulate some syntax, but it's really good in just getting a recon done.
1654350	1658530	And they will know recon just happened. So the blue team will know recon just happened,
1658530	1661290	but they won't be able to figure out where it actually came from or where the data was
1661290	1665530	collected to shut it down. And also you could use a pump and dump here, of course,
1665530	1670330	after you finish the recon from the machine that collected the data, kill the MAC address,
1670330	1676630	kill the IP address, then create a new container for subsequent parts of the kill chain.
1678930	1684470	This is something I talked about a little earlier, but if you're going to send,
1684470	1688970	let's say you're scanning the network and you just want to create a bidirectional connection.
1689630	1693910	Inside of the real network, you're scanning the whole network. And if you don't get a
1693910	1700690	SYNACK back, you create a net flow record. In this case, it says there was a SYNACK,
1700690	1707510	that the SYNACK did come back. So it will confuse detection mechanisms enough to prevent a scan
1707510	1713050	from triggering because it has a record that the bidirectional connection actually occurred.
1713690	1718330	There's also the ability to do this. There's a scanner. I'll see if I can post it later on
1718330	1723150	to where it does this automatically. So you scan, the machine doesn't get a SYNACK back,
1723150	1730290	and it knows where the flow collector is. You can generate a SYNACK record from the
1730290	1734690	scanner itself. So it's this really simple Python script to shoot that out.
1736590	1743610	And this one's sort of the fun one here. How do you boil a baseline? So boiling a baseline,
1743610	1748270	and going back to the Venn diagram we had, anomaly detection catches everything.
1748270	1752090	As long as you have visibility on everything, it will always generate an alert, right?
1753450	1757690	Unless you break the baselines. And so if you think about the metric that you want to run
1757690	1763350	against, whether that's doing a geographical attack, you need to move data. Data exfiltration
1763350	1771770	is a big one here. If you need to move data to a segment on the Internet that normally doesn't
1771770	1777610	transact that data, you're going to create records every day of data going out there. You start with
1777710	1784110	a K, and the next day it's a K and a half, then it's 5K. And every day you just slowly move that
1784110	1790850	baseline up by generating more and more telemetry that says that traffic happened that really did
1790850	1795470	not happen. And so that can be done either by direct logging, so you're sending the logs
1795470	1803050	directly to the collection source, or it can be by spoofing the behavior inside of a pocket
1803050	1809330	dimension, right? Where you're executing these increasingly large, whether it's data transfers,
1809330	1813350	time of days are another good one for this. Eventually, you should have every user logging
1813350	1819510	on from every place at every hour of the day. And now you can never detect an anomaly in user
1819510	1825810	behavior because everyone's always working everywhere. And so in that case, it's just
1825810	1830870	generated a syslog record for authentication successful for user so-and-so, and then you just
1830870	1835950	do that for every user that you need to use inside of a campaign. Any questions on that?
1836010	1839750	I don't care if there's any questions, but I'm gonna drink this drink.
1841910	1851970	Think about a question. All right, so this is the last piece. Just recapping this to prevent
1851970	1859650	this stuff from happening. If you can do TLS, client-based authentication on record collection,
1859650	1864350	that is ideal. Because then you're down to protecting the public key infrastructure,
1864350	1867490	right? And if you lose the public key infrastructure, you're screwed, of course, so
1867490	1872970	don't let that happen. But there is overhead there. So as you're scoping out products and
1874330	1879630	resources for doing the logging, it has to be mindful of the overhead that's going to go into
1879630	1886410	that logging collection. And then when you're building out tools, firewalls, EDRs, all those
1886410	1893850	things, they need to be wrapped into their own DMZ. So if your teams have not built tooling
1893850	1901730	telemetry inside of a bubble that communicates with the logging tools, you're going to have
1901730	1907730	problems. If anybody can send data into the telemetry, you're sort of in trouble. But that
1907730	1916370	is basically it. Get the thing there. I'll answer any questions. Thank you for having me.
1916410	1919430	Applause.
