start	end	text
820	7600	Hello everyone. Hello! Hi, so thanks for coming along today. We are here to talk about everyone's
7600	13880	favourite subject from 25 years ago. So a friend of mine said this to me when I told
13880	20060	him what our research was about. And yeah, it holds true. I mean, Windows has got some
20060	27160	stuff going on. So let's find out exactly how broken it is. So real quickly, we're from
27600	33640	there. That's a very accurate map. We're from the middle of Middle Earth, a little
33640	39720	place called Wellington in New Zealand. And yeah, it was a long flight. It was too long.
39720	44800	It was too long in economy. Anyway, a little bit about me. I've worked at a bunch of logos,
44800	49860	which is very exciting. I actually had a life before hacking where I used to tour a lot
49860	54360	of bands to New Zealand. So please don't ask me about the early 2000s, because I had PTSD
54860	60680	and a lot of debt. I'm also a former software developer. I'm a relatively active security
60680	65860	researcher. A few CBEs in various things. I'm a frequent flyer with Search New Zealand,
65860	70540	which is the cybersecurity emergency response team. They love me. Please don't ask me about
70540	77780	council software. And I'm Thomas. I have also worked at fewer logos than Jim. I'm a little
77780	85300	bit younger than Jim. I also do some CTF stuff. And I'm also a senior security consultant. I
85300	92200	also do research. I found a fun thing a few years ago in Kiteworks. Also did the Kramer
92200	97000	thing with Jim a couple of slides ago. Don't know if you remember. And then also the Microsoft
97000	107760	stuff in this talk. So this talk is about NTLM. NTLM is supposedly going away. Every NTLM
107780	113520	bug we've seen has usually been a gateway bug to something better. Like usually it leads into
113520	119820	something that's quite nice. Sometimes a bounty. It has been an absolute ride with the MSRC. They
119820	124100	have a very hard job. We met with them the other day. And we did have to change some of our talk
124100	127960	because it turns out they're actually quite nice. Yeah, when you like meet them and they've got
127960	135180	faces and names, you kind of feel a little bad. Oops. Windows has an overwhelming desire to
135180	140860	authenticate to everything that it can. It just likes sending hashes out like there's no
140860	150800	tomorrow. And the Windows ecosystem is very vast and very fun. So, NTLM. We are not going to
150800	161780	give it a stupid name. Someone called SQLI squealy and it still haunts you. It stands for New
161780	167300	Technology Land Manager. There's something about calling things new in technology. That means
167300	175280	it's going to be around forever. And it's up there with the simple in SNMP and lightweight in
175280	185820	LDAP. So, NTLM was developed in the 90s, like a few of you here. It's preceded by LM. And this is
185820	192420	finally completely removed in server 2025. So, it hasn't been removed yet. It was intended to
192420	196580	provide authentication, integrity, and confidentiality. So far, so good. This is, you know,
196580	202620	what you expect out of NTLM. They've recommended not to use it since 2010. Does anyone know what
202620	209120	year we're in now? There was a 2011 DEF CON talk that I watched called, Nail the Coffin Shut,
209120	219580	and NTLM is dead. It failed to die. So, are there a crap load of CDEs associated with this
219580	226560	protocol? So, essentially at its core, it is a hash of a password, also called an NT hash. It's a
226560	231300	challenge response mechanism. So, the client establishes a network path and negotiates. The
231300	235620	server responds with a challenge message. The client responds with an authenticate message. And
235620	238540	it does this using the NT hash. And there's a couple of different flavors that we're going to be
238540	244100	talking about, which is mostly net NTLM v1 and net NTLM v2. So, on a network, essentially this
244100	250880	lets you browse file shares and websites. So, some quick definitions before we get stuck into
250880	255900	the bugs. A hash is data produced from one-way functions, so you don't have to pass your
255900	260500	plaintext password around. I've been asked to localize my talk, so this is essentially the
260500	265880	equivalent of turning a cow into a hot dog. It's expensive to get the hot dog back into the
265880	272860	cow. So, UNC is the Universal Naming Convention, you know, slash slash thing. HTTP,
272860	280400	Hypertext Transfer Protocol, and URI, the Uniform Resource Handler. So, what happens if you
280400	285540	steal one? There's kind of three things. You can brute force it, turn it back into a
285540	289940	plaintext password, talk to the password-cracking village about how quickly they can do it
289940	295460	these days. You can also relay it and pretend to be that person. That's mainly with
295860	303100	NTLM and NTLM v1. NTLM v2 does it sometimes, just for fun. And you can also just take a
303100	312660	screenshot of it, report it to the MSRC, have a fun conversation with them. So, we did a
312660	317280	few minutes of Googling, and these are all the bugs that we found in like three minutes
317280	322680	about NTLM. There's also the MorpheSec talk that was yesterday. They went into some more
322680	328720	NTLM stuff there, but it's a doozy. There was the MonikaLink one this year, the Windows
328720	333860	themes file as well. You could just load a theme and it would send off your hash for fun.
334040	338080	Outlook sound files, which was like a zero-click RCE, there was a bypass for that and then a
338080	344780	bypass for that again, I think. And, yeah, some other ones. Everyone's favorite, Petit
344780	352660	Patin. So, NTLM is just a host of vulnerabilities. A lot of it is just by design,
352680	360420	we won't fix it. I mean, it's old. So, what they're doing is they're going to deprecate it and
360420	370200	then eventually disable it, which is kind of fixing it, I guess. Given that like half of the
370200	376100	environments in little old New Zealand still use NTLM v1, it's going to take a long time.
377660	382700	So, we have a good authority, an anonymous source at Microsoft, who actually confirmed this
382700	388360	for us. And he said to us when we met them, the runway for this is between 50 and 100 years.
389800	397370	So, yeah. So, it's going to be disabled on a future version of Windows 11. This is great.
397750	401510	And they have told us that they're stopping working on it. So, it's feature complete,
401510	406450	apparently. So, now Windows will attempt to authenticate with Kerberos first, which is
406450	412210	really secure and great. But it still falls back to NTLM if a Kerberos negotiation doesn't
412210	416870	happen. And so, it's going to be disabled in a future release. And it can always be
416870	424430	re-enabled, just like NTLM v1. So, one of the tools we've been using is a very, very well
424430	428470	known tool. We're not going to go too much into it. This is Responder, the rogue authentication
428470	434650	server developed by Elgandex. Please go and flick them some money for this great tool. The
434650	440830	two ports that we are concerned with, port 80 and port 445, and it provides authentication
440830	445150	challenges on these ports and a lot of others. It does some other cool stuff. It's a very
445150	448730	valuable pen testing tool. If you've never heard of it, go run it in an internal network and
448730	455090	frighten your SOC team. For our purposes, we're just going to use it to collect hashes. So,
455090	461070	this current obsession with NTLM hashes started a couple of years ago. I was testing an
461070	467470	ArcGIS application. For those of you not familiar with ArcGIS, it's mapping software beloved by
467470	474190	local government. I asked my workmate, Amad, if he had any tricks. He was a very high ranked
474190	479370	bug crowd guy, so of course he did. He suggested I run Responder on one of our servers for a
479370	488010	blind SSRF that we had found. And we got a hash on port 80. But ArcGIS is running Java on IIS.
488950	494570	So, now we wanted to speed run. In case you're wondering what RSS and ArcGIS looks like, you can
494570	504430	specify an RSS URL for some obscure reason. So, yeah. Sorry about the NTLM bugs, everyone.
506190	511850	So, Windows does want you to be safe. They do have some built in protections. One of them is
511850	516270	Mark of the Web, which you might have seen before. If you were to download a file from the
516270	520870	internet, it sets a little flag on the document, like a Word document or some other things as
520870	526950	well. And basically it just says, nah, I'm not going to use all of the features. I'm just going
526950	531810	to let you briefly look at it. You can click the little warning to make it go away, but it's
531810	538950	safe. The WordPad issue that I mentioned earlier, that just bypassed it. I don't think they
538950	545430	even had Mark of the Web on WordPad files. Oh, no. No. And also, if you get cloned something
545430	551830	and there's a document in it, it also just doesn't set the flag. It's great. They also have
552990	560350	this from, what, Windows NT days? They're called Safe Zones. This is a recent screenshot,
560350	564630	Thomas. Yeah, this is from Windows 11, as you can see, with the little Xs in the top right
564630	571870	hand corner. Yeah, you can see that because it says scripting of Java outlets, it's very
571870	577150	up to date and protects you against many things. The little thing down the bottom with the
577150	584270	user authentication, it stops some hashes over port 445, but that's about it. So, it's time
584270	589950	to query some hashes from some software before MTLM goes away. So, we're going to talk about a
589950	597550	few things. ImageMagick and GraphicsMagick, VLC media player, Aspos.net, HiQ PDF, the Q
597550	603490	stands for quality, as we find out, Java on IIS and Windows, Calendars, NuGet and
603490	610590	iCredential, RSS feeds and Outlook, MS Office, URI handlers and Outlook, and Git for Windows.
611150	617030	So, GraphicsMagick is generally regarded as the safer one because it's a relatively fuzzed
617030	624310	fork of ImageMagick. So, it's a massive attack surface. ImageMagick is generally associated
624310	629770	with ImageTragic, which everyone will remember from a few years ago. But ImageMagick didn't
629770	636510	leak a hash over port 445. So, it will leak a hash by SVG converting to anything via a
636510	642910	UNC path href. And it's noted in the documentation as SSRF, but there is nothing about hashes
642910	651890	or UNC paths. VLC player. So, you can just load a playlist file and it's got a UNC path in it
651890	657150	and it will go away and fetch the hash. Our old workmate, Amit, he disclosed that and
657150	663250	then VLC were like, it's a Windows problem. No, it's a VLC problem. I mean, it's also
663410	669310	a Windows problem, but come on guys. You could also do it in iTunes and Windows Media Player.
669310	674070	I'm sorry if you still use those programs. There's probably maybe six of you in the audience
674070	679090	that still use Windows Media Player and iTunes for Windows. I'm sorry. There's also lots
679090	683930	of other formats and protocols that may or may not support NTLM. I mean, I'd tell you to go
683930	692870	and look at them, but VLC don't care. So, Aspose.net is a lovely piece of document processing
692870	696670	software. Anyone who's ever spent any time on the red team or doing any kind of pen testing
696670	701470	will know just how rich and intact surface document processing is. It has a few known
701470	707810	documented security issues. SSRF, server side request forgery, NTLM hash leakage, file
707810	712330	inclusion, and it's right there on their web application security when loading resources
712330	719050	page. So, they know about them and they have front footed it. So, leaking hashes at port
719050	725710	4.5 is relatively abundant and low value within an ecosystem. So, port 4.5, any good system
725710	729190	administrator will block this port on a firewall because there's no reason that it needs to
729190	734850	talk to the internet. Port 80, however, is not as blocked. So, when Windows sees a UNC
734850	739370	path, those little slashes we saw before, it only knows how to do one thing. And it
739370	745930	takes a little bit of work to get it out by HTTP. So, let's try. So, I just wanted to
745930	751350	look at the district plan for our city and not go to the cyber security emergency response
751350	756950	team. So, there's a piece of software in Aotearoa, New Zealand called ISO plan developed by a
756950	761370	company called ISOVIST. So, again, I alluded to not talking to you about council software.
761370	767110	It's so niche and weird and the people who develop it know councils and local government,
767110	771630	but they might not necessarily know security. And anyone who's ever spent time as a pen
771630	775610	tester, so much of it is vibes based, you could tell that this thing had been pen tested
775610	784650	before. Yeah, you could just tell. So, headless PDF generation is so dumb. This is not a talk
784650	789850	about headless PDF generation. It's a well known and well documented tech surface within
789850	795830	web applications, but sometimes you need to turn HTML into PDFs, which is, you know,
795830	800310	there's a few well known places you can look for bugs, because basically HTML gives you a lot
800310	805170	of primitives to do some fun and dangerous things, such as iframes, portals, embeds. So,
805170	810570	these have all been blocked. There had been some hardening done, which is great. However,
810570	818430	cat pictures were not blocked. So, I managed to get an image tag to give up an NTLM hash on
818430	829750	port 80. So, my first question was, what even is this? So, we talked about HiQ PDF. Over a
829750	835590	million downloads in NuGet for this package. NuGet is the package repo for .NET. It has a
835590	843710	settings.xml file, and the default property for NTLM authentication is true. So, I guess I
843710	849570	really just wanted to know how this happened. And then I looked into it a bit, and I figured
849570	855830	out how it happened. You can tell it's really high quality by the 3D rendered box art. This is
855830	863210	the very height of technology. So, the other thing we found is, because of all the ArcGIS stuff,
863210	869830	Java on IIS is a lovely place to look. The HTTP URL connection function used to pass hashes by
870050	874850	default. We're not entirely sure it does now. I tried a couple of test projects to see. It
874850	881190	seems to be safe, but it is still out there causing issues. See GeoServer and ArcGIS. So,
881190	887990	Java calls the underlying Win32 API, which is a WinHTTP request. And Blazor have a very good
887990	892930	write up about coaxing things out on port 80, and they even made a stack overflow post
892930	902070	proving it. We have to do a little Lord of the Rings meme. We're from New Zealand, we have to.
903670	911570	So, they also have one other little security thing on Windows, and that's this prompt that comes up
911570	916710	now and then. And it's like, please don't quit me, it's unsafe, do you really want to continue?
916710	921290	Are you sure you want to get hacked? And I'm sure no one clicks yes ever, right?
921290	922850	Yeah, it's a security control.
923190	927270	I mean, it's fair. It's probably what their lawyers want. They want the functionality,
927270	931590	but their lawyers are like, if you don't have this prompt, people will get angry and we could get
931590	939250	sued. So, if you want to have a bug in a Microsoft product, you need to get past this. You need to
939250	944150	have basically no warning that it's going to be fun and dangerous and you're going to get people's
944150	950130	hashes or run some code. So, with that in mind, let's see what we can find in the Microsoft
950130	963450	ecosystem. Enter iCredentials. So, it's just an interface, but it does some stuff. When we first
963450	971010	got some hashes out on port 80, we started looking at the code and going, what is this? Why is this?
971010	978910	Turns out it's not banana water. It's not gross and made up. It's just developers making logic
978910	984010	errors, doing dumb things. It provides the base authentication interface for retrieving credentials
984010	992550	for web client authentication. And it's used in .NET a lot. And some of the anti-patterns that
992550	1000670	it has are weird and they fall back to some dumb things. Like in NuGet. So, you've probably seen
1000670	1007290	NuGet before if you've ever touched C Sharp. It's reasonably integral to the .NET ecosystem.
1008590	1014690	And they have some very good advice for storing credentials. Just put them in the NuGet config
1014690	1020830	file, it will encrypt it, it will be fine. But it also just falls back to NTLM sometimes.
1020830	1024430	I would like 500 of my coworkers' hashes, please.
1025550	1032350	It does it on NuGet restore, by the way. Which it does it when you get cloned something in like
1032350	1038930	Visual Studio. And that bypasses all safety checks. There's no little don't click me button.
1039610	1043690	So, Jim got a nice new e-bike from Microsoft. It's very zippy.
1046490	1049710	Jim had to be very specific with Microsoft.
1050990	1054970	Yeah, I had to make him a video with the breakpoint set. And I had to be like,
1054970	1059230	it happens here. This is where it happens. It happens right here, Microsoft. Please believe me.
1061250	1067830	So, just we had a random thought. Like, what if we reframe it as an SSRF problem? Like,
1067830	1071490	what if instead of trying to get NTLM hashes out, we pretended it was a server
1071490	1076590	and not a client anymore and we just thought it was just HTTP something?
1076590	1082110	There's a lot of harmless HTTP interactions in Microsoft products like RSS, don't know why I'm
1082110	1088710	mentioning that. URI schemes, don't know why I'm mentioning that either. And web service in Excel,
1088710	1094030	I'm just mentioning that one. If you think of these interactions like a flavor of SSRF, you can
1094030	1102750	just find some new cool things. Like, what if you just suddenly redirect a resource? So, we did that.
1102750	1111730	We redirected things to a nice little UNC path and it just does things. It just happily switches
1111730	1118310	protocols and tries to auth. Browsers don't do that. Browsers go like, where are you trying to
1118310	1126650	go? This is a dangerous redirect. Yeah. But we wrote some quick little code and then started
1126650	1134010	pointing things at it. So, this is Microsoft bug number two. So, we might have rabbit holed a
1134010	1138830	little bit with the URI handlers. Quick recap, every time you install a program on Windows,
1138830	1143250	it installs a URI handler which is a little scheme that you can embed in a website or something to
1143250	1149450	allow that program to be opened automatically. So, I dumped every single URI scheme from my
1149450	1154830	Windows machine and I wanted to see which one Outlook would warn on. And it was nearly all of
1154830	1160670	them, except for the Microsoft URI schemes, which was very weird. And it just straight up opens
1160670	1167230	words, Microsoft Word or Excel or PowerPoint or Access, if anyone still uses that, and fetches
1167230	1172010	the remote resource. So, now we have a little bit of an idea what to do when we fetch remote
1172010	1179450	resources. So, no warnings, one click, embedded in an email should be a relatively safe thing to do.
1180530	1184950	So, they've asked us to not spill the beans. So, could everyone just, like, block their eyes
1184950	1192650	and ears? Yeah. There are some security controls in place. All files will open in a preview mode,
1192650	1197670	which is good. Mark of the web is on it. And you can't put UNC paths in the URI scheme,
1197670	1202530	so you can't straight up convince someone to load a file, which is good. So, the URI handlers
1202530	1208010	essentially look like this. MS Word, title of the thing you want to open, OFE, open for editing,
1208010	1213310	short for URL, and then you just give it an HTTP link, and it'll rush off and fetch that.
1213650	1218210	And you can also force a file extension change, which is quite fun.
1219790	1225970	And here's a little video of this happening. So, essentially, we are spinning up our little
1225970	1230390	redirector in the top right, and then we spin up everyone's favorite hacking tool, Responder,
1231290	1237110	and then we just go into our email and click a link. I would click that link.
1237110	1240830	I'll totally click that link. And then we link someone's hash.
1246150	1252910	Thank you, everyone. So, there are some much better NTLM-related bugs than the ones we've
1252910	1258730	been showing. Hafei Lee from Checkpoint Research discovered a bug called moniker link.
1259210	1263850	And so, this technique allows for a different and usually blocked file extension to be loaded.
1263850	1271110	So, a whole new class of bug comes into play. In 2024, moniker link came up. So, we have
1271770	1276690	two things. We have test.rtf and an exclamation mark and something. So, we have the file moniker
1276690	1281590	and the composite moniker. The Outlook talk yesterday covered this sort of stuff a little
1281590	1287930	bit as well. So, the component object model will look up whatever is after the exclamation mark,
1287930	1291330	which we now potentially control through a redirect.
1291950	1296250	We have three days left until Patch Tuesday. So, have fun, everyone.
1298550	1307370	So, we found some more stuff. We're still bored. You can also bypass existing CVEs with that same
1307370	1315810	one weird trick. So, back in 2023, some researchers at Varonis discovered a nice little CVE. There's
1315810	1322410	two email headers that were sort of affected. There's the content class sharing thing, like
1322410	1329830	you're sharing a document or a calendar or an RSS feed, maybe. And then a X sharing content URL,
1329830	1337870	which in their case, they used a UNC path. We gave it a little HTTP path. Microsoft's fix was
1337870	1342670	to add a nice little warning. They love their warnings. The please don't click me little
1342670	1351790	warning. Guess what happens if you just redirect it to a UNC path? Microsoft triages it. That's
1351790	1356870	what happens. And this is essentially what it looks like. It's a Microsoft instruction telling
1356870	1362690	you to click a link with no warnings. Seems kind of bad, right? I would add your calendar, though.
1363170	1371770	I don't know. And then we dropped it to the MSRC, and we had a fun little journey.
1373030	1376950	Hi, this is Clusters Important, and you've accepted it for immediate servicing.
1376950	1379570	Can you please let me know if this is eligible for a bounty?
1380590	1388270	No. It says here in the link you just said that it is in scope.
1389010	1395750	Uh, it's a moderate, I guess? You just told me that it was important in the same email.
1396350	1402830	No, we've reclassified it, sorry. Yeah, so it was fixed last patch Tuesday,
1402830	1411930	and it was the only moderate. So this is my dog, Lupe. She recently had cruciate ligament surgery,
1411930	1417090	and the amount of the surgery was the same amount that a bug bounty from Microsoft would have been.
1417610	1423530	So, you know, thanks, Microsoft. Sorry again, MSRC team. You're very lovely people.
1423530	1427790	It's so nice. Oh, they also said something about the bug before, that it's been feature flagged,
1427790	1434210	so it's mostly fixed, but sort of not. Yeah, I had to say that, because I quite like them now.
1437310	1443010	So RSS, for all six of you still using it in Outlook, we discovered something called an
1443390	1448770	OPML file, which allows you to import an RSS feed, which is obviously critical functionality
1448770	1455010	within Outlook and Microsoft. So interestingly, the web request had been made while the warning
1455010	1461970	box was showing, so full marks to Microsoft for almost getting there. Outlook would also
1461970	1467110	follow a redirect path to a UNC and link a hash, and we triaged it with Microsoft,
1467110	1471230	and they initially said, yeah, it's moderate. I said, cool, yeah, that makes sense.
1471230	1478130	But now we know about these cool Outlook headers. So what happens if we combine URI schemes with
1478130	1482950	these cool new headers that we have? Outlook has a feed handler, which will open RSS feed
1482950	1488750	directly in Outlook. Obviously, four slides back is how we know about the URI handlers.
1489230	1493190	Under normal circumstances, it will prompt open Outlook and give a warning.
1493830	1499650	However, if you embed it in a sharing header, it won't warn. It was initially deprioritized
1499650	1506070	by Microsoft as several clicks were involved. One click. It's a bug, but moderate.
1507010	1510090	And this is what it looks like. Again, Microsoft wording saying,
1510090	1514450	please click this thing. Would you click that? I would so click to add your RSS feed.
1514450	1523300	I love RSS. Enter Visual Studio. We went back to it again.
1524100	1529800	It can git clone things. I don't know if you're familiar with git, but it's kind of like
1529800	1537900	subversion or Maven. No, everyone knows git. You can git clone from a bunch of things,
1537900	1543520	like SSH, which is one of the normal things. Same with unauth HTTP, which is a public GitHub
1543520	1549200	repo and you've just copy pasted the link. Auth HTTP, like a private GitHub repo and you've
1549200	1555680	copy pasted the link. You can also git clone from a file path or on Windows you can git clone from
1555680	1563000	an SMB share, which is weird, but it's fine. I'm sure people do that. But we're just going to focus
1563000	1570680	on the auth HTTP. So the command line, it's secure by default. It asks for auth, kind of.
1571720	1574820	But what if we just, you know, don't put in a username or password?
1574820	1576040	Yeah, what if, Thomas? Let's find out.
1576040	1578160	Surely it just doesn't send a username.
1578160	1584380	It won't send anything. So by default, it just sends a hash of your current account.
1587160	1592640	But, like, it's fine. I can see the use cases for it. Like, say you're in an internal environment
1592640	1598380	and you've got, like, some weird web server you git clone from. You probably want it most.
1599120	1605160	But what it is, is it's promising. Like, maybe some other things, you know,
1605160	1611400	they want to get your username and password and do stuff. Like, GUIs, how do they get credentials?
1611440	1612840	They prompt you for them.
1612840	1618920	Uh, yeah. Yep. No. So, Git Credential Manager, it will do things for you.
1619000	1622780	It will, by default, pass a blank username and password.
1624260	1626700	Visual Studio uses Git Credential Manager.
1628000	1632140	So, on the right, our good old friend, Responder.
1632720	1637960	That's just gonna nicely listen there and then we'll open some Visual Studio.
1640040	1645100	And then, oh, my coworker sent me this cool link. I'm just gonna go git clone this.
1645100	1646320	It's on the internet.
1646320	1650940	I blindly clone things all the time. I'm a security professional, Thomas.
1650940	1652780	I do too, but, like, seriously.
1653500	1659000	And, whoa, what's that? That's an NTLM hash that it just sent. Yay.
1661640	1665800	So, some fun side notes. It also works in Git submodules.
1665800	1670440	So, you can't just trust GitHub because you could have a nice little link to
1670440	1675240	some attacker's thing as a Git submodule, like, 10 folders deep.
1675240	1679700	So, do you know what blindly clones submodules by default, Thomas? Do you have any idea?
1680160	1681440	Visual Studio?
1681700	1682640	You are correct, Thomas.
1682640	1686440	Oh, wow. It also works in things like VC Package.
1686440	1690840	You can point to a Git URL and it will just also download it.
1690840	1693040	NPM, also, for funsies.
1693780	1699480	And other IDEs, like JetBrains and then, like, GitHub Desktop, they don't do this.
1699820	1703340	So, we told Microsoft and then they came back with this fun response.
1703340	1705640	We'll just give you a minute to digest this.
1706020	1709820	Actually, I'll cut out the, like, extra words.
1710620	1715600	Git cloning from an untrusted source is the same as browsing an untrusted SMB share.
1716060	1717500	Oh, is it Microsoft?
1717640	1719620	Yeah, I do that all the time, browsing un...
1719620	1720100	Same.
1720100	1720680	Yeah.
1721580	1728500	So, we tried to find where the security boundary was after they came back.
1728520	1731100	And we were like, okay.
1731100	1734260	So, it's not a Visual Studio problem because they said no.
1734260	1736900	So, maybe it's a Git Credential Manager problem.
1737340	1740940	But then, a Credential Manager uses Git.
1740940	1746120	But Git uses libcurl, which is compiled with the use-ntln flags.
1746260	1748020	But it's actually a Visual Studio problem.
1748020	1751840	Oh, we don't know where the problem is.
1751840	1753500	It's sort of everywhere but nowhere.
1753500	1756680	And no one wants to take blame for it, really.
1757640	1761640	Microsoft will patch anything that you can prove that it's in their products.
1762660	1763920	Anything else?
1764560	1765900	That's a Windows problem.
1765900	1767520	I just like the VLC team.
1769940	1775220	You can use that on your next red team, I guess, if you want to hack some developers.
1778020	1785340	So, where we ended up was we have four bugs reported to MS.
1785860	1787800	Two bounties and one swag.
1787800	1790200	I'm so sorry to my dog from the previous slides.
1790200	1793240	Your surgery came later than expected for some weird reason.
1793760	1795800	One, not a bug, which is Git.
1797120	1799980	One, yes, it's a bug, but it's not a priority.
1800260	1801080	I mean, that's fair.
1801080	1801920	It's RSS.
1802800	1807740	And, you know, to get to this point, we have a very, very rigorous methodology, obviously.
1808020	1810180	I mean, I have a spreadsheet.
1810800	1813280	It's actually a text file on my desktop.
1816850	1819870	So, yeah, this is basically how we found all these bugs.
1819870	1824730	Anywhere you see an HTTP, just put a responder URL and see what Windows does,
1824730	1827090	and you will be delighted with the results.
1827090	1828730	Image tag, do it.
1828730	1830610	Sharing tag, do it.
1830610	1831490	RSS.
1831950	1833190	Who uses RSS?
1833190	1834310	No one uses RSS.
1836010	1838210	So, where to next?
1838650	1841410	There are a lot of places this could be a thing.
1841410	1843390	And, I mean, it's just HTTP.
1843510	1847950	So, like, build servers, they can have links.
1848270	1848890	Yeah.
1850710	1852550	Pipelines, they could have links.
1852550	1856010	Document processing things, like, I don't know, PDF generators.
1856150	1858030	Yeah, they could do it, too.
1858650	1860190	Maybe Word has it.
1860190	1861530	Maybe Teams has it.
1861730	1862870	No one uses Teams, though, so...
1862870	1863850	No one uses Teams.
1863850	1864370	No.
1864890	1866090	Maybe video games.
1866090	1866490	I don't know.
1866490	1867690	Maybe drop a link in chat.
1868210	1870770	Yeah, I reckon video games is something I want to look at,
1870770	1873090	because I like playing video games for research.
1873090	1874830	Yeah, I should do that in work time.
1875550	1876610	Our boss is here.
1878650	1882490	Basically, anywhere you could put a URL in is probably a good place to start.
1882510	1884710	But also, we want to talk to you folks as well,
1884710	1887590	because there's probably a lot of people out there who have some great ideas
1887590	1890190	of where to look, so we would like to hear from them.
1891170	1894210	Yeah, and just go turn NTLM off if you can.
1894210	1896530	It probably will break everything, but turn it off.
1896530	1899230	Turn it off and then turn it back on immediately when someone screams.
1899570	1902210	Yeah, use Kerberos, because that's more secure.
1903650	1905510	Anyway, this is the end of our talk.
1905510	1908250	We had speedrun it, much like our NTLM bugs.
1908730	1910650	But finding bugs doesn't happen in isolation,
1910650	1913050	so a big thank you to everyone named.
1914090	1917170	Yeah, and thank you for the MSRC for listening and meeting with us.
1917170	1919170	They are genuinely good folks who...
1919170	1921750	They need more of them, because there's only 30 of them,
1921750	1923110	apparently, which is not nearly enough.
1923110	1925350	And thanks for inviting us to your party as well.
1925350	1926030	That was fun.
1926030	1927150	Yeah, that was good.
1927210	1929190	And thank you for everyone who has published their research.
1929190	1930930	This is something I don't say lightly.
1931550	1934270	Every piece of research published leads to more research,
1934270	1936870	so please keep disclosing, please keep blogging.
1936870	1939370	It's so good reading it.
1940610	1942970	And also thank you for the DEF CON organizers.
1943130	1944170	You guys are awesome.
1944170	1945330	And hacking is a team sport.
1945330	1947590	And please come up to us afterwards if you have any ideas
1947590	1949390	where to get hashes out of.
1949490	1950650	We want to know.
1950790	1953170	We want more moderates that we don't get bounties for.
1953170	1953930	Perfect.
1961380	1965440	There is a microphone there for tall people who can ask questions.
1977500	1978200	All right.
1978200	1979240	Thanks, everyone.
1980040	1981140	Thank you.
