start	end	text
5500	12700	How is everyone doing? I'm genuinely surprised. So either
12700	15120	y'all went to bed early or you never went to bed. So thank you
15120	18540	so much for being here. This talk is Maldaptive. Diving
18540	22680	really, really deep into LDAP obfuscation, de-obfuscation and
22680	26580	detection. My name is Daniel Bohannon. Everyone I know calls
26580	29620	me Debo for short, so feel free to call me that. I'm a principal
29620	32480	threat researcher for a startup company called Permiso Security
32480	35940	doing cloud and identity stuff. For the last better part of a
35940	39320	decade, I've been really focused on end point security, doing
39320	42620	some IR and threat research at Mandiant, Microsoft. And I have
42620	46100	a little bit of a problem with obfuscation. It's kind of an
46100	48640	obsession of mine of taking things that look normal and
48640	52540	making them look just absolutely crazy. And then as a defender,
52540	55460	looking for ways to detect those things. Another thing I'm really
55460	57040	passionate about is coffee and books and all the great
57040	59480	conversations that happen around both of those things.
60780	66140	Hello, everyone. So I'm Sabayita. You can call me Sabi for
66140	70320	short. I'm originally from Albania. I recently moved to
70320	74380	Germany, Berlin, working for Solaris as a senior cyber
74380	78580	security engineer. I'm passionate about cyber defense.
78580	83200	Currently I'm also working on the field, doing a little
83200	86340	incident response, detection engineering and time and time
86340	90360	allows threat hunting. I do have also some experience in
90360	94700	consulting and government. Love mountains. You can see even a
94700	101140	goat there. And enjoy moving a lot at the Great Espresso.
101140	103820	All right. So to kick things off, we're going to do a little
103820	106520	historical lesson on Active Directory and LDAP. And then
106520	109100	we're going to break down kind of the components of LDAP so we
109100	111400	know which pieces we're talking about when we get into the main
111400	114120	piece of the talk, which is diving crazy deep into all the
114120	116780	obfuscation. And then at the end, we'll talk more about our
116780	119540	solution. You know, we don't like to just create problems. We
119540	121320	want to actually have some real solutions there so that
121320	123940	defenders can walk away equipped with something really
123940	128440	beneficial. And then we'll do a demo and a tool release at the
128440	132880	end. So let's get going. We are going to go back in time to the
132880	135300	days of disco balls and DeLoreans, talking about the
135300	140120	1980s. The Directory Access Protocol, or the DAP, was a
140120	142800	directory service kind of at that time. LDAP is the
142800	147300	lightweight version. That's the L in LDAP. Between 93 and 97, you
147300	150200	have three different versions of LDAP come onto the scene. In
150200	154260	1998, the Open LDAP Project released Open LDAP. And then
154260	156000	what's important for this presentation is in the year
156000	160120	2000, Microsoft released Active Directory, in which they kind of
160120	163700	ensured compliance with LDAP. So it's important to remember
163700	167240	there's a server and client side component here. So Active
167240	169940	Directory, we chose that because it's the most popular, most
169940	173480	widely used application service, or directory service
173480	176220	application in use. And so we wanted to make sure all the
176220	179020	rules of obfuscation that we were discovering and building
179020	183020	would work against an Active Directory server. So that's the
183020	185760	server side component. You have clients that will issue LDAP
185760	189740	queries, or LDAP, what are called search filters. And LDAP
189740	191840	is literally the protocol that allows that exchange of
191840	195920	information between the client side and the server side. On the
195920	200680	offensive side, LDAP, or AD in general, is quite a popular
200680	203160	topic. And you look at open source tooling in the last
203160	205980	decade, you have things like PowerView from the folks at
205980	209160	SpectreOps, BloodHound, SharpHound, SoapHound, any kind
209160	211600	of hound, right? Looking for really quick ways to get
211600	214540	information from an offensive perspective, but also for
214540	217560	defensive perspectives. With BloodHound and PingCastle,
217560	220480	looking for ways to give defenders quick visibility into
220480	224840	attack paths so that they can make better choices and
225620	230440	increase the complexity for an attacker just to come in and get
230520	233920	a really short path to DA or whatever else they want. So as
233920	236360	defenders, we should then ask, okay, if attackers are using
236360	240280	this, what are our data sources for defending? And so this is
240280	243040	actually kind of a point of frustration for us. When we
243040	245740	started this research, even until today, there's not that
245740	248160	many options for production-ready telemetry
248160	251660	gathering for LDAP search filters. What we use in our lab
251660	255460	environment was Silk ETW by Ruben Boonen. And actually one
255460	258440	of the modules that were released with Mount Adaptive is
258560	260880	a telemetry module to allow you to install these things,
260880	263040	configure them, so you can have locally that client-side
263040	265920	visibility. And then on the server side, there are options
265920	268380	like kind of like debug mode options, but those are not
268380	271320	generally recommended to turn on in production. So if you want
271320	274800	this visibility in production, the best case right now is get
274800	278300	Microsoft Windows Defender. CrowdStrike has some stuff I've
278300	280800	heard as well, but in terms of like, if you want to just trust
280800	284040	the detections they have, cool. If you want to have all the data
284040	287300	so you can validate, then maybe explore your options a little
287300	291220	bit. So another thing to keep in mind is there are big
291220	293800	differences between client-side and server-side logs when it
293800	297500	comes to LDAP. For all the hackers in the room, you're
297500	299980	going to love client-side logs because it's basically like
300420	303800	WYSIWYG. Like any obfuscation we're going to talk about, you
303800	305800	put that in, that's exactly what it looks like in those
305800	309500	client-side logs. Awesome for obfuscation evasion. With an
309500	313620	important caveat, it depends how you're issuing that query. So a
313620	318460	lot of the mechanisms, like the ADDZ accelerator in PowerShell
318460	323020	will use the WLDAP32.DLL to route that request. If that's
323020	326500	the case, then the data will show up in an ETW stream for the
326500	331060	LDAP provider and you can scoop it out. However, some folks have
331060	333300	noticed there are many other ways to talk to an Active
333300	337140	Directory server. So SOAP Hound is an example from Falcon Force
337140	339480	where they said, hey, let's just make SOAP requests directly to
339480	342420	the domain controller and avoid any kind of client-side logging.
342680	346680	So because of this, it's still a valuable data source, but it's
346680	349940	important to look at the server-side logs as well. There
349940	354040	is significant normalization that occurs in server-side logs.
354040	357260	So a lot of the obfuscation we'll talk about is normalized,
357260	359100	but there are still some interesting tricks that do
359100	363100	persist. And yeah, that's all I'll say about that right now.
363920	367500	So over the next 40-ish minutes, we're going to be doing an
367500	370880	absolute speed run through all of the obfuscations that we've
370880	375280	enumerated and built out for this research. This is something
375280	379480	we've spent over 2,000 hours of R&D on. For the record, that's
379480	382840	too much R&D. I don't recommend it to anybody. But here we are,
382840	386380	so we're really happy to get this out there and then let our
386380	389440	minds think about something else. And as I mentioned earlier,
389440	391340	we're going to be doing a demo and tool release for MAL
391340	394260	Adaptive. And the name comes from MAL Adaptive because
394260	396680	typically people would think of LDAP queries as like a pretty
396680	400560	simple, rigid kind of a language. So how flexible can it really
400560	403800	be? And we hope to convince you pretty quickly that it can be
403800	407320	pretty flexible. So with that, let's look at the LDAP overview
407320	409840	so we know which pieces of an LDAP search request we're
409840	412460	talking about for each obfuscation technique.
414320	420100	So we're going to... let's dive deep into the anatomy of an LDAP
420100	424640	search request. We'll be looking at RFC 4511. There are many
424640	428380	components to an LDAP search request, but we are going to be
428380	434200	focused on the four main ones, which is the base object, where
434200	437820	in the active directory structure to start the search,
437820	442320	the scope that says how far to let the search run, the filter,
442320	445580	which is the logic of what to look for in the directory
445580	449020	structure, and the attribute selection, which are the
449020	454260	properties that we want to bring back. As defenders, most
454260	457940	people focus on the filter for detecting malicious LDAP
458700	462800	queries. So for this reason, it's also going to be our
462800	468700	primary obfuscation focus. We don't want to overlook also the
468700	472180	base object and attribute selection. So they are going to
472180	477240	be our secondary and tertiary obfuscation focus. As filter is
477240	483000	the main one, let's see what makes up a filter. So well, it's
483000	486420	made up of tokens. There are five required tokens that we
486920	490760	have group start and group end, the hold in the middle, the
490760	495740	attribute and the value for it, and the comparison operator. So
495740	498040	here, for example, we are looking, I'm looking for
498040	504220	myself, basically. There are also two optional tokens, which
504220	508860	is boolean operator and extensible match filter. Debo is
508860	512860	going to talk about these in the upcoming slides. But just so
512860	515660	you know, these are bitwise values. They have different
515660	518380	meanings based on the attributes, and Microsoft
518380	522380	documents all of these per attribute. So different numbers
522380	529080	mean actually different things to different attributes. In this
529080	531980	one, basically, we're looking for objects that are not
531980	536380	disabled, let's say. Most people actually do not write simple
536380	540500	filters like this. They do try to combine multiple filters, and
540500	544740	they do that with a boolean operator to create a filter
544740	552590	list. So it's not going to look actually as a pretty tree just
552590	557450	like this one, but it's a single row, usually. So it's going to
557450	560790	be composed of two filters, which together they make up a
560790	564490	filter list, and the whole string is actually called a
564490	570010	search filter for an LDAP search request. Uh-oh.
570010	572870	Sorry. No, we don't don't need help with PowerPoint
572870	575090	transitions. Moving on.
577870	581250	Hold on. It looks like you could use some help with crowd
581250	586790	work. Hilarious. Oh, Clippy. I have trivia and jokes. I don't
586790	588890	know. I could use that on a Sunday morning. How about y'all?
589990	593430	What do you call the biggest LDAP search request in history?
594050	599630	Any takers? It's pronounced ten and a half megabytes. Because
599630	603290	that's the limit for a search request. Now, Clippy actually
603290	607130	comes armed with sources. But just know that that's a lot of
607130	609610	data. And keep in mind, LDAP is not just for querying
609610	612050	information. It's also for updating records. But for the
612050	615450	purpose of recon, I encourage anybody in this room to issue
615450	618930	something even close to ten and a half megs and see how much
618930	623470	shows up in your logs. All right. Thanks, Sabi. So now that
623470	625730	we had a good idea of the different components of LDAP
625730	628350	that we're going to be looking at, let's actually do the fun
628350	632150	stuff of obfuscation. For all the defenders in the room, it's
632150	635250	going to get dark and bleak before it gets bright again. But
635250	638910	we promise there is a light at the end of the tunnel. So as
638910	640870	Sabi mentioned, the filter is going to be the primary
640870	643950	obfuscation focus because it really is kind of the primary
643950	647450	defensive detection focus today. And we're going to spend most of
647450	650030	our time on the filter. And then a lot of the techniques that
650030	652950	work on the filter will then be applied to the base object and
652950	657390	attribute selection as well. There's a lot of things that we
657390	660710	discovered that are not documented. Some of it was sheer
660710	663170	luck. Some of it was brute forcing. Some of it was the fact
663170	664970	that when you build an obfuscation framework, you're
664970	667250	kind of defining the boundaries of a language and it's going to
667250	670550	break out sometimes and teach you things that still work. And
670550	674150	so we'll try to mention things that are undocumented and then
674150	677710	also put this undocumented icon at the top. So we're going to
677710	680750	start by looking at these five tokens and looking at
680750	683350	obfuscation that can be applied to each, beginning with the
683350	691390	attribute token. So let's see how what we can do to obfuscate
691390	694710	the attribute. We can actually do casing. It is case
694710	700490	sensitive, so we can play with it. We can use object, OID
700490	705570	object identifier. OID object identifier, Microsoft defines it
705570	708930	as a dotted string of numbers, which is actually quite true
708930	712910	because you can also add this OID prefix at the beginning of
712910	715830	it and it's still going to work, which is also case
715830	720110	sensitive. Another thing that is really fascinating and
720110	724390	undocumented is that we can add prefixes of zeros to each
724390	729090	octet on this part and it executes just fine. It will also
729090	733330	show just like this also on client side logs. Another thing
733330	736950	we can do for attribute obfuscation is ambiguous name
736950	742050	resolution. So the same applies as above. So we can use
742050	747070	insensitive casing and OID notation even for the ANR. But
747070	751310	what is exactly ANR? So in case you know some name, but you
751310	756350	don't know in which property it actually is, you can search and
756350	758970	what it would actually do depending on the version of
758970	762550	active directory, it will logically transform this single
762550	767990	term into this query. So basically everything is ended in
768110	771670	a wildcard, except for some attributes that do not support
771670	776490	this. And in case your search actually contains a space just
776490	781210	like us, we're looking for domain admins, then it's going
781210	785970	to be added another this one. So these four ones because it will
785970	789490	treat it as a first name, last name, last name, first name.
790350	794250	Some nice obfuscation tricks. So we can use ANR, for example,
794250	798550	if we're trying to search for curb TGT. And we can also use
798550	802350	which is the second example, only the some parts of it. And
802350	806490	it's going to be an explicit wildcard. So we'll still even on
806490	810710	the second example, we're still going to have the same results.
810710	813810	And the third example, which is very nice, we actually
813810	818590	discovered that if you add an implicit wildcard, after that,
818590	824210	everything you add is going to be ignored. So you can play with
824210	828530	it, but you're still going to be to get the result of ANR.
828550	834970	And return the curb TGT. And just as this also going to be
834970	838850	handled from our detection framework. If you don't want to
838850	843570	do all the crazy stuff with a wildcard, and just be explicit,
843570	846990	you can actually just add an equal sign, which is document
846990	852430	the which is the documented way to get the information. As a
852430	856390	recap for attribute obfuscation, we can do casing, object
856390	861990	identify notation, and ambiguous name resolution. Ah, Clippy
861990	865370	again. Do you know where else ambiguous name resolution
865370	870610	exists? We don't know Clippy. Where? Microsoft, what is more
870610	874170	ambiguous than resolving to rename your products every six
874170	875730	months? Am I right?
877050	880050	I did not know Clippy was allowed to make Microsoft burns.
880050	883910	I don't know if that was cleared. Thanks, Clippy. So one
883910	886490	token down. We've talked about attributes. Next, we're gonna
886490	889210	look at the comparison operator. Most of the time, this is an
889210	891950	equals sign. When it comes to Active Directory's
891950	895310	implementation of LDAP, you also have the approximately equal to
895770	899610	because casing doesn't matter. But it does prevent you from
899610	902210	using the wildcard and hex characters that we'll be talking
902430	904810	a lot more about later. But we're really going to focus on
904810	907690	the range operator. So greater than equal to less than equal
907690	910410	to. So here's an example a lot of red teamers would be familiar
910410	913330	with service principal name equal star means give us the
913330	916110	objects that have an SPN, any value, I don't care, but it must
916110	919850	be defined. Well, technically, we could rewrite this with a
919850	923110	string operator and say, hey, make sure it's present, it has a
923110	925270	value that is greater than or equal to the alphabetical
925270	928810	sorting of a string that begins with equals, or the exclamation
928810	932450	point, or is less than ZZZ. So there are other ways logically
932450	935590	that you can accomplish this equivalence, this presence
935590	939590	filter. One really important note, if you think about the
939590	942050	printable range of ASCII characters, this is the proper
942050	945230	ordering that we all know and love and have agreed upon as a
945230	948830	standard as an industry. We do not know why, but there is an
949590	952790	abnormal range or sorting for strings in Active Directory
952790	954850	casing doesn't matter. So we get rid of those. But you have all
954850	957150	of the digits and alpha characters at the end, you have
957150	960050	this very specific grouping of special characters, and then all
960050	962990	the other characters fall right into the middle. This took us
962990	965590	probably five days to find because it only occurred this
965590	968970	bug only occurred like one out of 1000 iterations. But this is
969610	972450	the ordering. So our obfuscation framework handles that, but
972450	976770	just know it's kind of weird. Another thing we can do is use
976770	979310	the range filters for precise values. So SAM account type
979310	982710	equals this number ending with 368. This is another bitwise
982710	985470	value. But let's say that detections were looking at this.
985470	988430	Well, you could also instead of saying ends with 368, say
988430	992150	greater than equals to 7, less than equal to 9, and then
992150	995070	specifically exclude the 7 and 9. So logically, you're left with
995070	998770	an 8. If you're like me and are more visual person, I like to
998770	1002230	think of it as a timeline. And so greater than equal to 7, less
1002230	1005570	than equal to 9, and then let's just pop off the 7 and 9. So
1005570	1009350	you're left with the 8. There are a lot of kind of flavors or
1009350	1012950	recipes we built into the obfuscation module, showing a
1012950	1015570	couple of them here. One of my favorites is actually using
1015570	1018910	ranges for exclusions. In this last example, where you can say
1018910	1022230	give me the presence filter, but then exclude everything outward
1022230	1025550	and inclusive of the numbers 7 and 9. So you're left with 8. So
1025550	1027410	again, those are all random options in the obfuscation
1027410	1030850	filter, the obfuscation module. This works for numbers. It also
1030850	1033490	works for strings with a caveat that suffixes are a little
1033490	1038430	tricky. But yeah, it is still quite effective for those
1038430	1040670	things. So in review for the second token type of comparison
1040670	1043830	operator, we have approximately equal to, we have the logical
1043830	1046030	equivalence for the presence filter, and then we can use the
1046030	1048670	range operators to do some really fun stuff for precise
1048670	1051530	values, whether they're strings or numbers. And defenders should
1051530	1054010	be pretty familiar with some of these we just looked at because
1054010	1058430	it's actually part of the Sharp Hound project. So that same
1058430	1061310	account type, service principal name. So again, these are pretty
1061310	1064010	relevant examples, and you can see that if a detection was
1064010	1066330	looking for this, it would probably get smoked by what we
1066330	1070210	just showed you. So the third token type is the Boolean
1070210	1073050	operator. Mostly we think of ands and ors, but when it comes to
1073050	1077530	LDAP, the not is where things get really crazy really fast. So
1077530	1079570	let's take a really practical example. Let's say you're
1079570	1081830	looking for country equals Albania. You want to have all
1081830	1084370	those objects that come out of Active Directory. One thing you
1084370	1087190	can do is just throw a bunch of Boolean operators inside of it,
1087190	1089490	and logically it doesn't matter if you and and or one thing,
1089490	1092130	it's still going to be that same one thing. Additionally, you can
1092130	1095410	also put in double negation. Again, logically this is still
1095410	1098270	going to give you country equals Albania, the same number of
1098270	1103150	objects. Additionally, if you wanted to do a Boolean operator,
1103150	1105470	you can technically slide it right inside of the filter
1105470	1107670	itself. So in this case, if we're looking for location
1107670	1110830	equals Kukic, which is a city inside of Albania, you can see
1110830	1112810	that bottom example, that Boolean is sitting directly
1112810	1116750	inside of the group start, group end filters or tokens. In our
1117330	1120050	parser that we wrote for this research, we handle this
1120050	1122410	similarly, but do call out the distinction because it is
1122410	1125550	extremely important for certain kinds of detections, as well as
1125550	1128730	obfuscation and deobfuscation scenarios. Most of the time,
1128730	1131070	though, you're dealing with a slightly more complex filter
1131070	1134070	like this. So this is saying, I want to know when the country
1134070	1138050	is Albania, and either the location is Kukic or Tirana, two
1138050	1141470	cities. It's important to know that the Boolean operator has
1141470	1144190	kind of a scope of influence. So in this case, there are two
1144190	1147050	Booleans, and you can see the boxes around the filters that
1147050	1150050	they affect. If we added in a third set, there are now three
1150050	1153230	groups. And so as we're parsing it, we basically create a stack
1153230	1156250	of Boolean operators to know exactly how many Booleans are
1156250	1160070	affecting the filter that we're looking at. One really, really
1160070	1162910	fun feature is the not Boolean operator. So let's slide that in
1162910	1166830	there. The not only affects the first filter or the first
1166830	1169690	Boolean operator that it modifies. So we can see location
1169690	1173250	equals Kukic is modified by that not, but the filter just below
1173250	1177150	it is completely, it doesn't modify it at all. So this is
1177150	1180030	another one that we have to track, as well as a lot of crazy
1180030	1183350	things like negation, traversal, because you can have lots of
1183350	1185950	layers in between, and you have to track the Booles all the way.
1185970	1189790	Lots of fun. Honestly, a lot of headaches. But yeah, it's built
1189790	1191730	into the parser, so we don't have to think about that anymore.
1191730	1194990	And we'll see that in the demos towards the end. My personal
1194990	1197450	favorite obfuscation technique with Boolean operators is
1197450	1200370	logical inversion. So for any math nerds in the house, this is
1200370	1204530	known as DeMorgan's law, but basically not A or B is the same
1204530	1207950	as not A and not B with the inverse sitting below. So what
1207950	1211310	you can do is take any LDAP search filter, choose a spot and
1211310	1213190	negate it. In this case, we're going to choose the whole
1213190	1216130	filter. And now everything else kind of to the right of that is
1216130	1219390	going to be in scope for obfuscation. So step number two
1219390	1222130	is identifying within that in scope section, all the ands and
1222130	1225810	ors and inverting them. And then the third step is locating
1225810	1228330	all the filters and inverting them from a negation
1228330	1230730	perspective. So none of these filters are negated. So we're
1230730	1234350	going to add that not and those are now negated. Now, this is
1234350	1237610	logically the same as what we started with. Again, this is a
1237610	1240470	lot of headaches if you're parsing this manually. And so in
1240470	1243590	the parser, we basically have a concept of what's the logical
1243590	1245730	inclusion? Is this included, true or false? What's the
1245730	1248770	logical Boolean? Is it and or? And we also maintain a stack of
1248770	1251790	all those Boolean operator tokens for your convenience. So
1251790	1254290	interview for the third token type of Boolean operator, we
1254290	1257470	have the additive nature, double negation, and then DeMorgan's
1257470	1262590	laws for the Boolean operator inversion. Oh, goodness. Okay.
1262630	1266490	What is my least favorite LDAP token type? I'm assuming Boolean
1266490	1269390	operator, but let's see what happens here. Yep, Boolean
1269390	1273290	operator, because I'm afraid of getting tied up in knots. Oh,
1273290	1276210	that's cringe, Clippy. Clippy's losing steam fast. Yeah, get
1276210	1278730	that out of the way. Okay. All right, the fourth token type
1278730	1281770	extensible match filter. So Sabi mentioned this before. This is
1281770	1284630	for attributes that have bitwise values. It's an integer
1285650	1288670	number, but it actually represents a base two add-ins
1288670	1292290	for all the bitwise flags based on which attribute that it is.
1293050	1298810	So it is, there are four values that are supported by the by
1298810	1301230	active directories LDAP implementation, we're going to
1301230	1303790	focus on the first two, because they're the most interesting in
1303790	1307090	terms of obfuscation. And that's the and and the or. For me, I
1307090	1311450	remember the or because it ends with dot 804. So 804 is or 803
1311450	1315890	is not or. All right, so here's an example. User account
1315890	1318050	control, and you can see in the red is the extensible match
1318050	1321210	filter. In this case, it's an 803, so that's an and, and it's
1321210	1326030	the number 515, which is the base two add-ins 1, 2, and 512.
1326090	1328150	So one of the things we can do is what we've called bitwise
1328150	1332630	breakout. So we can break that 515 out into 1 and 514. Again,
1332630	1335550	as long as we have the proper grouping of add-ins, we can do
1335550	1339570	this. 514 is actually 2 and 512. So we can break that out even
1339570	1342270	further. So from a detection perspective, we can spread our
1342270	1344710	logic across many different filters, which is really, really
1344710	1349730	complicated. But it's also fun. If you started with an or, the
1349730	1351810	same trick applies. Just make sure that the Boolean operator
1351810	1354410	you add is an or instead of an and and that it matches the
1354410	1359150	extensible match filter. This is a pretty trivial example, but a
1359150	1362010	lot of real world examples can get pretty crazy. Like this is a
1362010	1365390	git domain user from PowerView. Massive number. You can imagine
1365390	1368310	all the random groupings and regroupings of base two add-ins
1368310	1373670	to produce the same value in your overall search filter. So
1373670	1376410	another thing we can do is if you have a filter that is a
1376410	1379270	precise value. So this is looking for the exact ones and
1379270	1383910	zero set to equal this number. What you can do is use this
1383910	1387250	little formula. You can add the extensible match filter of and
1387250	1390270	for all the one bits. You can add the or extensible match
1390270	1393290	filter for all the zero bits and negate it and then and both of
1393290	1397190	those filters together. What's really cool about this is now we
1397190	1399130	have extensible match filters and we can use the first
1399130	1402970	breakout type to break those into smaller and smaller random
1402970	1404890	groupings of those base two add-ins. So we're not going to
1404890	1408610	take this further, but this could explode into 10, 15, 20
1408610	1412050	different filters all slammed together. So interview for the
1412050	1414530	fourth token type of extensible match filter, we have the
1414530	1417130	bitwise breakout with and and or and then also the precise
1417130	1420090	breakout, which kind of combines the second one with the first
1420090	1420810	one.
1423770	1428730	Thanks, Thibaut. Let's look at what we can do to obfuscate a
1428730	1432040	little the value. We are still in the filter section. So
1433710	1437070	excluding a couple of attribute types, just like seeing here, it
1437070	1441990	is still casing doesn't matter. So it's case sensitive. And we
1441990	1446190	can also do prepended zeros to anything that are bitwise digits
1446190	1451270	or numbers. And we got some undocumented feature regarding
1451270	1456010	timestamps is that we originally noticed that sometimes
1456010	1460290	milliseconds were present, but it didn't actually seem to
1460290	1464430	matter. If you change the millisecond values or remove
1464430	1468830	them, it turns out you can add actually add literally anything
1468830	1475970	as long as you have a capital Z in it. So and technically, it is
1475970	1479110	going to be treated still as a correct timestamp in the
1479110	1483810	results. And it doesn't need to be only capital Z, it can also
1483810	1488270	be it's hex encoding representation, which leads us to
1488270	1493710	the next point, which is hex encoding for value obfuscation.
1493950	1497630	And it's our favorite thing to do to be honest, the hex
1497630	1502550	encoding itself, it exists to be able to to escape certain
1502550	1506290	special characters, which Microsoft has detailed here very
1506290	1510030	well. But you can also escape any printable characters that
1510030	1515290	you want to as well. So you can swap these with the hex
1515290	1518430	representations, and it's still going to be to give you the
1518430	1521590	same results. And it's going to show just like this on the
1521590	1527210	client side logs. Again, our parser, our parser parses codes
1527210	1532430	decodes all the values. So it's all being handled. One
1532430	1536330	undocumented thing is that Microsoft says that the hex
1536330	1539090	representation should be followed by two characters
1540210	1544670	representative SK hex character. But that's actually not true for
1544670	1549010	the first 16 characters, you can drop the leading zero and it's
1549010	1554110	still going to work. Wildcards, we mentioned a little bit even
1554110	1557970	on the wildcards. So for example, instead of looking for
1557970	1562450	the curb TGT, you can also just look for RBG and see what you
1562450	1568170	get. These actually for wildcards, we are not the only
1568170	1572430	ones who have been looking for evasion purposes. So even the
1572430	1577350	researcher Hope Walker, these are two very well great posts
1577350	1581170	blog posts recent, it's a researcher at specter ops, and
1581170	1587490	she outlines using wildcards for evasion purposes. As a
1587490	1590550	recap, for value, we can do casing, we can do prepended
1590550	1596710	zeros, timestamps, hex encoding, and wildcards. The good news is
1596710	1600690	that's all you can do with obfuscation. Nah, I'm lying, you
1600690	1605090	guys, we got much more. So until now, we actually were looking
1605090	1609810	for top and obfuscation. Let's see outside of it a little. And
1609810	1613810	for example, for filter wide obfuscation, you can actually
1613810	1618390	add group start and group end, as long as as much as you want,
1618390	1623030	as long as you stay until the depth of 99. You can also add
1623030	1628370	white space all over, and it is significant. And it can be new
1628370	1635110	line, tab, etc. Garbage filters, again, need here actually you
1635110	1638630	need to be careful if you're looking for if you're actually
1638630	1642470	using logical or or logical end, because in case you're looking
1642470	1647250	for logical end, you need to make sure the properties exist.
1647250	1653010	But you can go crazy with ours. And lastly, is filter filter
1653010	1658990	reordering. So until now, we only handled the filter. Let's
1658990	1663930	see what we can do with base object. As a reminder, the base
1663930	1667710	object is where in the active directory. So structure, we want
1667710	1670770	to see we want to start the search, there are some good
1670770	1674870	detection opportunities that we feel aren't discussed as much.
1674930	1678210	And for example, like some offensive tools, just like
1678210	1682770	certify, they have a very benign common and super search, super
1682770	1687130	common search filter. So in this case is the base object, and
1687130	1691110	it's looking for public key services, we are going to focus
1691670	1696670	from a syntax perspective on a simple, really simple object
1696670	1700710	like this. All the tricks we've seen until now, okay, for
1700710	1704950	example, they still work, which is the casing, we can play, you
1704950	1709510	can do also the hex encoding for the value portion, you can use
1709510	1714150	the ID notation of the attributes, and also supports
1714150	1720550	the ID prefix as well as your prefix. And white space, it
1720550	1724450	actually can be added at the end, as well as between the
1724450	1729910	slashes of the LDAP prefix. Something interesting is that
1729910	1733550	it's true for the base object, but not for the value in the
1733550	1737990	filter is that as long as hex is not present, you can actually
1737990	1741210	encapsulate it with double quotes, and it will show up this
1741210	1745450	way in client side logs, but it's not going to look like
1745450	1750970	this on server side logs. Lastly, is the attribute
1750970	1754670	selection. Basically, it's which attributes properties do you
1754670	1759330	want to be returned in the results. And here also, casing
1759330	1763490	doesn't matter, you can substitute just like previously,
1763490	1767530	you can also use object identifier notation, also
1767530	1772870	supports adding OID prefix and prepended zeros, add white space
1772870	1778110	only after the attributes that are on the OID syntax. Not sure
1778110	1782050	why, but yeah, a lot of trial and error, to be honest. We have
1782050	1786930	the option also to add duplicate attributes, and garbage
1786930	1791930	attributes, literally anything you want. And the person who's
1791930	1797630	going to answer about this is no one else than Clippy. Hey,
1797630	1801750	Daniel, what do you call this character? Asterix, wildcard or
1801750	1802570	splat?
1803710	1807370	I think this is an ages question. But all three are
1807370	1810410	true. But there's a lot of space down there. So let's see what
1810410	1814330	Clippy has to say. F, all the above. So two more important
1814330	1816490	things here is from an input perspective and the attribute
1816490	1819830	selection. If the only value defined is a wildcard, it will
1819830	1823410	return all the properties, even just the same as if you don't
1823410	1826590	define any attribute selection. What's fascinating is that in
1826590	1828950	the server side logs, that wildcard is going to literally
1828950	1832230	be printed as the string square brackets, all A-L-L, all
1832230	1836110	lowercase. Now, if you'll notice, E is that if you have a
1836110	1839410	list of attributes, and any one of those is a wildcard, then it
1839410	1842730	will, the server side logs will translate that wildcard into
1842730	1846490	this other string all with list. If you are, and you should be,
1846490	1849790	if you are parsing these attribute selection values, you
1849790	1852950	need to know that this weird string is prepended to the first
1852950	1855170	attribute. So you have to do a really specific split and
1855170	1858790	translation that we that we do in the logging module. But just
1858790	1862170	know there's some weirdness that goes on there. Thanks, Clippy.
1862590	1865290	All right, now that is actually the end of the obfuscation
1865290	1867910	portion. So we've talked about the search filter, we've talked
1867910	1870230	about the base object, the attribute selection. So for all
1870230	1873710	the defenders in the room, what now? So from a solution
1873710	1877150	perspective, we're going to focus on three steps. One is
1877150	1880090	parsing, two is enriching, and then three is the actual
1880090	1882950	detection itself. So from a parsing perspective, when we
1882950	1885850	started this research, there was no parser for LDAP search
1885850	1889470	filters. And so we naively said, let's just build a parser. How
1889470	1891970	hard could it be? To be honest, that was over half of the
1891970	1895150	research, but it was one of the most interesting and fulfilling
1895150	1898430	parts of this. And so we wrote a C sharp state machine parser
1898430	1901830	to firstly do tokenization. So that means when you have a
1901830	1903930	string come in, that's the entire search filter, let's
1903930	1906650	break it into tokens. So we know which ones are attributes,
1906650	1909670	values, comparison operator, etc. Next, you want to organize
1909670	1912610	those tokens into a representation that allows you to
1912610	1915710	understand the structure of nested Boolean operators and
1915710	1917970	filters and filter lists and all those sorts of things. And
1917970	1920430	then you can move on to actual enrichment, which is step
1920430	1923110	number two. So here's an example of using all the conversion
1923110	1926690	modules within Mount Adaptive to start with a string, break it
1926690	1929730	into tokens, and then every step of the way, we try to decode
1929730	1932570	and enrich however much we can. So as Sabi mentioned, when
1932570	1934910	there are hex values, we'll automatically decode them for
1934910	1938970	you. But we leave the original syntax as well. One distinction
1940030	1942990	between... so in our parsing, we do tokenization, and then we
1942990	1946450	basically create a parse tree or a syntax tree, which is almost
1946450	1949390	an abstract syntax tree, but we drop the abstract part because
1949390	1952070	abstract says, let's drop things that don't need to be there,
1952070	1954730	like insignificant white space. Well, by definition,
1954730	1956930	obfuscation doesn't need to be there. So we actually want to
1956930	1959990	keep all those insignificant things so we can recreate the
1959990	1963510	input from that parse tree. And then after we break this into
1963510	1965690	tokens and do those enrichments, we'll then group them into
1965690	1968850	filters and branches and a tree structure to do certain kinds of
1968850	1971410	obfuscation and detections that require that kind of tree
1972850	1975610	grouping functionality as we go through and parse it. And then
1975610	1979170	the final step is actually detect. So we try to make it as
1979170	1981470	simple as possible. We wrapped all this inside of a single
1981470	1984530	function called find evil. So you can pipe any number of
1984530	1986850	search filters you want into find evil. And for each of those
1986850	1989390	filters, it will parse it, do all the enrichment we just
1989390	1991670	talked about. It will run it through all our complete
1991670	1994250	detection rule set, which we are releasing with maladaptive. So
1994250	1997430	65 rules and counting. And then for each of those detections,
1997430	2000390	the rule carries with it a dynamic score or weight, if you
2000390	2003010	will, as well as an explanation. So it'll give you an example of
2003010	2005070	what kind of thing it's looking for. And then it will actually
2005070	2008350	show you the specific part of your search filter that flagged
2008350	2011870	on that rule, as well as in the name, you can see. It'll
2011870	2014210	actually pull out specific values. So it should be really
2014630	2017390	colorfully obvious, as you'll see in the demo, of exactly why
2017390	2020010	this thing was flagged for this rule. And if you look at the
2020010	2023050	bottom, as I said, we spent over half the time just building
2023050	2026310	this parser. We wrote and rewrote every piece of this
2026310	2029030	parser two to three times to make it as fast as we possibly
2029030	2032090	could. And in this example, we're parsing this search filter
2032090	2036670	100,000 times, doing full parsing, full detections, and
2036670	2040590	it's clocking in at just under 4.4 seconds. And that's on a
2040590	2043730	moderately spec laptop. Because we know that the number, the
2043730	2045990	volume of search filters in production environments is
2045990	2048610	massive. And so we wanted this to be really usable right out of
2048610	2053510	the box. Oh, and shout out to Olaf Hartung at Falconforce. He
2053510	2055530	was really instrumental in taking all these rules for us
2055530	2058350	and running them multiple times across his entire client data
2058350	2061210	set, since we don't have that data set, and then giving us
2061210	2063150	feedback and stats on, hey, which rules need to be tuned a
2063150	2065570	little bit. So, Olaf, if you're watching, thanks so much, buddy.
2065570	2066150	We really appreciate it.
2067070	2069810	So instead of talking more about the solution, let's go into the
2069810	2072910	last section and actually just show a demo. If you haven't
2072910	2075450	picked up on it by now, we really like to have fun. When
2075450	2077470	you spend 2,000 hours on something, you have to trick
2077470	2080270	yourself into being motivated, so we added colors however we
2080270	2083430	can. This is our ASCII art, and it's actually a fully
2083430	2086610	functioning LDAP query that will return any object that has a
2086610	2090170	name property. Clippy seems to like it as well. I can't tell if
2090170	2092630	he's hanging out or trying to eat the terminal or what's going
2092630	2096710	on. So in the first example, this is that Albania, Cucos,
2096710	2099950	Tirana filter example with a little bit of obfuscation. So if
2099950	2102150	we tokenize it, we can see it breaks out which things are
2102150	2106030	attributes, values, et cetera. If we do the enriched tokens, we
2106030	2108450	can now see it says, hey, this is a defined attribute, and it
2108450	2111370	translates to the letter L. And we have these other context
2111370	2114090	objects as well. So if we look at the context object, remember
2114090	2116850	this is things like the Boolean operator. We group all these
2116850	2119790	things into filters so that we can write detection logic
2119790	2122310	against the entire filter. So we can easily access the string
2122310	2124670	values, but then we have a dictionary and list of the full
2124670	2126710	token objects. So all the metadata nested from
2126710	2129570	tokenization we can find in the filter. And then if we look at
2129570	2131850	the context object for the Boolean operator, we'll see this
2131850	2135210	is a logically inclusive filter. This is tracking that full stack
2135210	2138130	of Boolean operators that you still have direct access to. And
2138130	2141110	then every single value goes through the full value parsing.
2141110	2143570	So any hex characters are parsed. At any time, you can
2143570	2146610	look for the raw content or the decoded content. Pipe that into
2146610	2149010	Find Evil, and we can see these are the individual rules that
2149010	2152030	matched for this particular search filter. This is just
2152030	2154530	showing a couple properties. In the next demos, you'll see a
2154530	2158450	little better view of the entirety of the rules. Let's do
2158450	2160730	another parsing example, this time using the bitwise value.
2160730	2163470	So remember all the bitwise breakout where like 515 can be
2163470	2167270	1, 2, 5, 12? Well, here's a rule that flag and says, hey, if user
2167270	2170950	account control attribute has the flag 128 set to true, then
2170950	2173330	flag this alert. I won't go into the details of why that's an
2173330	2176470	interesting detection, but what we want to show you is when we
2176470	2178510	parse this value, we automatically know this is a
2178510	2181270	bitwise attribute, and we parse the value to get those base two
2181270	2185050	add-ins, either in a dictionary format or a list format. So you
2185050	2188090	can immediately write detections for combinations of true and
2188090	2190990	false. Now keep in mind, this is per filter, so that breakout
2190990	2193530	stuff does complicate it a bit, but you can at least extract the
2193530	2197090	flags and aggregate it back together for your final
2197090	2200970	detections across the entirety of the search filter. The last
2200970	2204890	parsing example is looking for some actually kind of crazy
2204890	2207950	stuff. So decoding hex characters in this first example,
2207950	2210910	that's easy sauce. So this is trusted domain, easy detection.
2210910	2213350	But when it's things like wildcards, they're actually
2213350	2216290	missing characters, so we can't precisely say what the person
2216290	2219670	was looking for. But in our detection module, you have the
2219670	2222730	ability to define strings of interest, like curbtgt, domain
2222730	2225370	admins, domain controllers, and the parser and the detection
2225370	2227730	rules will go through and actually expand the wildcards
2227730	2230570	and say, hey, does this wildcarded string match any of
2230570	2233430	your sensitive terms? And that also handles the two ANR
2233430	2235550	scenarios that Sabi mentioned earlier, with the implicit
2235550	2239330	wildcard or the explicit wildcard. So yeah, those are
2239330	2241230	some really fun detections that go beyond just pure
2241230	2244150	deobfuscation, but really kind of logically looking at some
2244150	2246530	suspicious strings of interest.
2247390	2252310	And finally, we've put all this together into a colorful
2252310	2256450	interactive menu to make it fun to explore. We can test our
2256450	2261310	input, the LDAP search filter, and we can explore the
2261310	2265250	obfuscation menus for all the techniques we covered in this
2265250	2271990	presentations. Wildcards are also supported. We can add
2271990	2276490	obfuscation layer by layer, and we can also remove it. And if
2276490	2280330	you're lazy, you can use all wildcards to randomly apply all
2280330	2287870	the options. Let's test again. The search filter still works.
2287870	2292230	Detection module is built in and findevils shows a full
2292230	2298200	summary of detections, scores, explanations, and more colors.
2299090	2302930	Lastly, if you don't like interactive menus, we have full
2302930	2308350	CLI support. So the interactive menu lets you randomly choose
2308350	2312710	ingredients, and you can copy out the receipt for non
2312710	2316930	interactive user. All the pictures for pretty printing and
2316930	2320730	detection summaries are also available via CLI.
2329930	2334030	Thank you. It's always awkward in blue teamer talks. Was that a
2334030	2337730	shell? Do we clap or not? Our apologies for not including a
2337730	2342090	dramatic pause. Hopefully that was fun for everyone. We're
2342090	2344570	almost done here. We just want to reiterate that Sabi and I are
2344570	2346730	both defenders, and from the very beginning of this research,
2346730	2350290	we knew that we had not seen people talking about this, and to
2350290	2352770	be honest, attackers didn't really need this help. So why
2352770	2355710	hand them a fully loaded machine gun when defenders still often
2355710	2358090	don't even have the telemetry in the first place? So from the
2358090	2359690	very beginning, we weren't strong armed. We decided that
2359690	2362570	we wanted to release this in a unique kind of two-stage
2362570	2365250	approach. So today what we've released is everything we've
2365250	2368470	talked about, minus the obfuscation module. We're
2368470	2372730	releasing a corpus of 1,337 benign obfuscated examples, so
2372730	2375450	you only have to run our code to look at examples of obfuscated
2375450	2379050	search filters. For anyone who's really ambitious, you have the
2379050	2381630	full parser, and the deobfuscation modules look
2381630	2384170	suspiciously like the obfuscation ones. So if you want
2384170	2386710	to do a little bit, go for it. But just keep in mind, we spent
2386710	2389110	over 1,000 hours on the obfuscation module, so there is
2389230	2392750	a heck of a lot of craziness that we put in there. Our goal,
2392750	2395790	pending a CFP response, is hopefully by the end of this
2395790	2399110	year, to do a part two of this presentation to focus really
2399110	2402810	deeply on all the differences in client and server-side logging,
2403030	2405390	a lot of the weird scenarios we had to build into the parser to
2405390	2408470	support all of this, and then at that point, releasing the
2408470	2412230	obfuscation module. So yeah, just want to make that really
2412230	2414290	clear. That's clear on the GitHub, which will be on the last
2414290	2417110	slide as well. But again, as defenders, we wanted to try to
2417110	2419750	be as creative as possible and help defenders not be
2419750	2423190	completely throwing tomatoes at us up on the stage. And we made
2423190	2425910	this very clear in the CFP process. Big red text, no
2425910	2429150	surprises. So we're really happy that there was support in us
2429150	2432990	doing that kind of a release. So the final takeaways, LDAP is
2432990	2436870	still widely used by attackers. It's very valuable. And in our
2436870	2440050	opinion, defensively, it's still kind of immature in terms of
2440610	2443070	detection. It seems to be a lot of kind of string-based
2443070	2445650	detections. And even looking at blog posts of people doing LDAP
2445650	2448330	hunting, there just aren't as many of them as I would like to
2448330	2452270	see, that we would like to see. And then lastly, we released
2452270	2455730	maladaptive to help try to bring awareness to what can happen, to
2455730	2458130	show that we shouldn't just be doing string-based detections,
2458130	2460490	and we're providing the parser in all of our detection modules
2460490	2463250	so that hopefully you can, right out of the gate, start using it
2463250	2465490	in your environment if you already have a mechanism to get
2465490	2470310	all of those search filters. Our unofficial takeaway is we wanted
2470310	2472890	to leave you with something a little different. And so we
2472890	2476950	wanted to leave you with our, each of our favorite Albanian
2476950	2479590	proverb. So I'm going to go first. I'm not a native speaker,
2479590	2484690	so forgive my pronunciation. But mine is rofsah malet, which
2484690	2487490	literally means live long like a mountain. It's kind of a
2487490	2490590	blessing of well-being. I like to think of it in this scenario
2490590	2493430	as we just climbed a crazy mountain together. I'm a little
2493430	2496550	out of breath, personally. But in this industry, we have to
2496550	2499330	help each other out. We have to recognize the shoulders that we
2499330	2502030	stand on. And so when you see someone else struggling up the
2502030	2504330	mountain, trying to understand what you're learning, help them
2504330	2506910	up, get them to the top, and then they'll be able to see the
2506910	2508670	next mountain they're going to climb and the person they're
2508670	2510010	going to bring along with them.
2511710	2516870	And my favorite expression, and I think the audience would agree
2516870	2521510	with me here, Debo, is tlutom jomokapsa letras, which it
2521510	2524890	means, please no more paperclips.
2527590	2531750	It was fun while it lasted. All right. And with that, we just
2531750	2534110	want to say thank you so much for your time. Thank you,
2534110	2537150	DEF CON and to all the organizers. We had such a great
2537150	2539630	time putting this research together, and we're really happy
2539630	2542450	to be here. Here's all of our contact information. Here's the
2542450	2545070	link to Mount Adaptive. Please reach out, and we'll be up here
2545070	2547410	for questions. But thank you again for your time.
2557170	2562810	Any brave souls for questions? Questions or criticisms,
2562810	2568030	everything is welcome. One right here, yeah.
2573930	2577050	So the question is, what was our process for finding all the
2577050	2582950	undocumented stuff? Well, sometimes luck, sometimes... I
2582950	2586230	think the best answer that we can give is, people ask us, why
2586230	2588570	do you make obfuscation frameworks? It's kind of a
2588570	2592430	little twisted, but it's really a way of kind of working
2592430	2595570	backwards and defining a grammar. Because it's all a
2595570	2598190	language, right? What's linguistically, syntactically
2598190	2601110	allowed in a language? Whether that's PowerShell or LDAP or
2601110	2605250	anything else. So our understanding is, let's say,
2605250	2608570	actually, when Sabi wrote the hex encoding function, to take
2608570	2611510	values and do hex encoding, we wrote that function, we plugged
2611510	2614530	it into our test harness, and one out of every 500 examples
2614530	2616990	would fail. It wouldn't return the same results we expected.
2616990	2619490	And we eventually realized that's because hex values, or
2619490	2623230	hex characters in the value, is not allowed when the extensible
2623230	2625450	match filter is defined, right? So that is now an
2625890	2628830	incompatibility that no one said anywhere, but our tool helped
2628830	2631030	us find because it found an example that broke what we'd
2631030	2633550	expected to see. So that's how we found a lot of these
2633550	2635570	examples. And then just some tricks you kind of learn along
2635570	2638090	the way, like, hey, pre-pinning zeros, that seems like something
2638090	2640010	that someone might have thought to ignore, because it's
2640010	2642570	insignificant, but it still shows up in logs, therefore,
2642570	2644810	it's meaningful to us. And so some of those tricks, you just
2644810	2647930	kind of pick up along the way and keep carrying forward. But
2647930	2649050	yeah, great question. Thank you.
2649750	2662220	Yeah. Yeah, good question. So the question was, in our
2662220	2665220	research, against the obfuscation techniques we found,
2665220	2668240	how effective is Windows Defender or other tools like
2668240	2671920	that? We don't have access to those tools. So actually don't
2671920	2675960	know. In general, I'd say, you know, I've spent the last decade
2675960	2678440	doing real-time detections, actually spending some time at
2678440	2682280	Microsoft in Defender telemetry, looking at how we detect
2682280	2685520	processes and stuff like that on the endpoint. So what I would
2685520	2687640	say that a lot of red teamers criticize blue teamers for is
2687640	2690540	why do you make static kind of rigid detections? Sometimes
2690540	2693480	it's out of ignorance, sometimes more likely it's out of
2693480	2696240	performance. So I mean, there are millions and millions and
2696240	2698860	millions of search filters flying around doing crazy
2698860	2702200	regexes to try to find it to try to find these bizarre scenarios
2702200	2705100	probably is going to bring down performance overall. So from a
2705100	2707600	product's perspective, that's I think why a lot of decisions are
2707600	2710740	made, but we don't have any direct insight into Defender or
2710740	2714200	anyone else on how they're stacking up against this. If
2714200	2716600	anyone from Microsoft or anyone else wants to reach out, we'd
2716600	2718620	be more than happy to share more of the research in detail
2718620	2721140	and help if there's anything that we can do to protect the
2721140	2726160	community in that regard. Great question. Thank you. Any last
2726160	2736540	questions? Yes. The question was, did we have trouble with
2736540	2740340	all the colors for formatting? Trouble to who? The answer is
2747500	2756560	yes. Yeah. So in terms of we actually did, we split our
2756560	2759040	programming actually partially. We use PowerShell core. So we
2759040	2761180	did a lot of it in Windows, a lot of it on Mac, a little bit
2761180	2763320	in Linux just to test compatibility. But yeah, in
2763320	2765400	terms of color differences, we actually stuck with the original
2765400	2768640	colors, the original 16. We experimented with the dark
2768640	2772600	colors for things like distinguished name values. Those
2772600	2776400	are the darkened version of all the RDNs to represent the
2776400	2779500	overall tokens. But that darkness shows up better on
2779880	2783000	Windows. On Mac, it actually doesn't quite show up as much.
2783000	2786380	But yeah, so that was a factor we had to kind of play around
2786380	2789420	with. But yeah, I like the color question. I've never gotten
2789420	2794380	that before. So thank you. All right. I think with this, we're
2794380	2796380	at time. We'll be around front if anyone else wants to talk or
2796380	2798140	ask questions. But again, thank you everyone for coming to the
2798140	2799240	talk. Have a good one.
2799460	2799780	.
2800220	2800540	.
