Session Date/Time: 20 Nov 2026 22:00
[00:00:06] Jonathan Hoyland: Okay. I think we're at the, top of the hour. So should we, get going? Okay. Hi, folks, and welcome to UFMRG. Pass light control to the clicker. This is a iRTF group, but the iETF note well still applies. So please be kind to each other. Yes, guess if people haven't figured this out yet, it's too late. But please use headset if you're remote, and don't turn your audio and video on unless you are actually presenting or speaking. Today's agenda has three talks about DNS. And if we have time, we will talk about early attestation and then any other business. So without any oh, does anyone want to bash the agenda? Are we okay with this? Okay. In which case, Felix, you're up. Oh gosh. I'm not sure I know exactly which slides are yours.
[00:01:33] Felix Linker: The the DNS sec one in parenthesis.
[00:01:37] Jonathan Hoyland: Okay. This one? Yep. And one second. Let me give you control of the slides. Okay. That should be going.
[00:01:49] Felix Linker: I just need to figure out the microphone. One second. Okay. Perfect. Hi, everyone. Great seeing you. Today, I'll present you work... Joint work by me, Felix, and my colleagues David at ETH and YE at the Hong Kong University of Technology and Science in Guangzhou. And my work is about the question, areosomes resolvable, and how one can detect DNSSEC misconfigurations with formal reasoning? So DNS configuration and configuration errors are a problem, and they regularly occur. For example, this year in May, DNIC, the operator of the DE top level domain, misconfigured their zone signing keys, which led to a disruption of around two thirds of their zone for three hours, affecting resolvability, of course, to it. Prior work has tried to address this... These problems by following a methodology that looks like this one. So it has been suggested to take zone files, which are the configurations that make up parts of the DNS, apply formal reasoning to them, and then find configuration errors. And these works have been conducted by my colleagues at ETH Zurich, so there are two papers doing that, but also by researchers at UCLA and Microsoft. However, all these works have two problems. First, they only verify the absence of some errors, and second, they don't support DNSSEC. So the first point is limiting because you effectively have to know what you're looking for. In these tools, to define... To find configuration errors, you encode a property that tries to verify the absence of these errors. And to know which errors might be absent, you have to explicitly tell the tool what you're looking for. Second, DNSSEC not being supported is a limitation because issues like the DANIC outage require reasoning about DNSSEC. Today, I will present you a new formal model for reasoning about DNS configurations, which can detect errors without explicitly looking for them and which provides support for DNSSEC. This model has been implemented. You can... In the last slide, you can find references to the GitHub repository if you're curious. We evaluated it by looking at data and how it compares to real DNS software. We have proofs for the correctness of our reasoning and also how to provide some DNS interoperability. More on that later. Today and in this talk, I will go over these four questions. So I will first talk about which property we target in our tool. If we don't reason about the absence of configuration errors, what do we reason about? Second, I will show you how our model works. Third, how well it works, so how we evaluated it. And fourth, sketch how our model could be used in practice. First, let's look at which property we target. And to give you an idea of the property we target, it's helpful to give you an introduction of how the DNS works because I don't think we can assume that everyone knows that. The DNS is a distributed database that is cut into multiple parts that are called zones. For example, there are the cngov, c h bunch... Yeah. Top level domains, these make up different zones. These... All the contents of these zones are distributed by a set of federated name servers, and each of these classes of name servers take a zone configuration which determines what responses they give to which queries. Recursive resolvers then recursively query those zone configurations. And in trying to find an answer to your DNS query, they need to account for delegation between name servers. So one name server may say that one zone is actually handled by a different name server. They must account for aliases of different names, and they need to provide support for DNSSEC, so signed data, the delegation of keys, and similar. The goal of such a recursive resolver, thus, is to find an answer to a query in the zone files that are distributed over multiple name servers. We thus argue that a zone configuration can be meaningfully characterized by the set of all queries that should have an answer, a positive answer. If... We call this property resolvability. If one were given such a characterizations... Characterization, one could compute all queries that have an answer and then compare these two sets when there... As soon as there is any difference, this means that there is a configuration error. Obtaining this set, though, is hard. The semantics of the DNS are complex, and specifying the set of all queries that should have an answer is likely just as error prone as specifying the zone configuration itself. Thus, in our work, we try to approximate this. So how do we approximate it? Let's first forget the set of all queries that should have an answer, and let's instead look at the zone configuration update. If you're given such an update, what you can compute is you can compute two sets of queries that have an answer in the zone configuration, and then you can do a change impact analysis between them. In the change impact analysis, you can look at two questions. First, you can check, is there anything not resolvable anymore after the update that was resolvable before? If so, and if this was not intended, this could mean that there's a configuration error. But also in the other direction, you can check what is now newly resolvable, so what is resolvable now but wasn't resolvable before. Again, checking that this matches your expectations, and if it does not, this likely highlights a configuration error. We call this property the resolvability change impact analysis, and this is exactly what our tool computes. There's one downside to the resolvability change impact analysis. It is very general and thus can capture many configuration errors. Detecting those configuration errors, though, requires interpretation of the output. However, it does not require interpretation whenever you... One considers updates that should preserve the resolvability of the zone, so that shouldn't introduce new... No changes as to which queries are resolvable. This is, for example, the case in the update where just keys were changed, so you would have expected that a change impact analysis is empty. So now to the question how our model works. Our model has the following pipeline. You give it a set of zone files, both new and old ones. You give it what you consider the root zone, so where you wanna start analysis. This need not be the actual DNS root zone. It could also be an intermediate zone, just the topmost zone of of the configuration that you wanna look at. And for this zone, you also give a trust anchor so that you can start DNSSEC reasoning. We then compile these zone files at the root... With... And the root trust anchors into a formal model about which we then reason. The complexity of our approach really lies in the compiler, so this is what I'll focus on next. Our formal model is a constrained logic program. And to give you an idea of what a constrained logic program is, let's first look at what ordinary logic programs are. So in logic programs, you have two syntactic constructs which you can use to to model something or to program with. You can have facts which state that certain things are true. For example, this fact asserts that zero is a positive number, and you can use rules which take previously true things and turn them into new true things. So for example, I say that here, if n is a positive number, then also the next number of n is a positive number. You can query such logic programs. For example, here, you could query it as give me all positive numbers x, and then this logic program would tell you that zero is a positive number. The next number to zero is a positive number, etcetera. In constrained logic programs, you are not only limited to to reasoning about facts and rules. You can also use constraints. So here, I made a new... I gave you a new implementation of this positive number rule. It now just tells you that any positive number n... Any number n is positive if it's greater or equal to zero. And this greater or equal to symbol now is a constraint. Constraints are not handled by the logic program. They are handled by a constraint solver. And this is particularly good if you want to model cryptography. So in particular, we use it for the DNSSEC, and it also helps to represent infinity. Why is that? Well, if we query this logic program for all numbers x that are positive, it would just tell you that any number that is greater or equal to zero is positive. This is not particularly informative but much more efficient than the previous logic program.
[00:11:03] Rachel: Our
[00:11:04] Felix Linker: compiler takes each resource record set that occurs in the old and new zone configuration and compiles them both as facts in the logic program and as rules. We compile routes for all signatures to model the DNS verification. We compile them for zone delegation, so when one server hands over to another, and we compile them for records that constitute aliases. These facts and rules then make up a logic program, which is our formal model. In our compiler, we reason about the resolves predicate, which takes eight arguments and which I wanna go into detail now to give you a feeling of what our model captures. So the first four arguments roughly model the query to a zone configuration, and the last four roughly correspond to the response. This predicate models that if you were to query a set of name servers for a particular resource record type in a particular zone and given a particular query name, then you would get the following response data, and we track whether an alias was followed, whether validation was performed, and whether the response was signed. The scope of our model is thus to capture what a resolver would conclude if it were given the data in the zone configuration. In that, we abstract from details like transports and headers and similar. We also abstract from name servers serving inconsistent data, and we don't have a model of cache. Let's look at a quick example to see how our... What our formal model would conclude, and let's look at an old and a new zone configuration each. In the old configuration, you have two so called so called wildcard owner names. The asterisk here indicates a wildcard owner, and we have text records, which just saw an arbitrary string. Both... For both records, that's the string hello. And this long label is is... Very long and we... Just for the sake of this example, let's assume it's the maximum length that the DNS permits. Now one could change this zone into the following, which is fairly similar. We could replace the wildcard record for short with an alias record d name, which maps an entire subtree. Let's look at an example of what that would mean if we were to query both zone configurations as shown here. So if we would query both zone configurations for a dot b dot C dot short and the text record, in both configurations, we would get the answer hello. In the left configuration, we would get that directly from the wildcard response because the wildcard tells us that anything below short gives us this response. In the right one, we first have to map this a b c from short to a b c dot long through the DName alias and then look up long to get the same response. If we were now to reason about the change impact that this update has, my tool would conclude whether is there anything newly newly resolvable. So is there any query that is now resolvable that wasn't resolvable before? Our our tool would say no. Nothing's resolvable. New. However, in the other direction, it would tell you that now something is not resolvable anymore, namely queries of type text to any subdomain of short are not resolvable anymore whenever the alias name too long is too long to fit in the DNS limit. So that's more by... Modeled by the predicates, not this name. But as long as the shorter name that originated... That originally was prompted for the query is still a valid length, so it is a valid name. Here, I showed you a deliberately small example. We just use wildcard records and dename alias, but this reasoning would generalize to signed zones. The alias could be placed in different zones and much more. To reason about such such models, as I've shown you, we provide two modes. First, we provide an offline reasoning mode, and this does the change impact analysis which I just showed you and can be used to detect configuration errors. For this mode, we provide proofs of correctness. However... And now I come to the interoperability with the DNS. We provide also a second mode in which we can resolve queries. So you can use our tool to query the real DNS name servers and to resolve a query following our reasoning. This shows that our model is executable. It works by inferring follow-up queries to name servers from the rules in our formal model, and thus provides interoperability with the DNS. This mode illustrates our completeness or the completeness of our model. And with that, let us think about... Or let me tell you how well our model works and how we evaluated it. So I just told you that we have these two modes for reasoning. We have an offline reasoning mode that can do a change impact analysis, and we have a querying mode for online. You may wonder why I told you that we have correctness proofs, and now I want to evaluate these parts empirically. The correctness proofs only show that our reasoning is correct with respect to the underlying semantics of constraint logic programs and mathematical theory, but they do not show whether our formal model is also faithful to the DNS specs. That's what we wanted to evaluate empirically. So how did we do that? For the offline reasoning mode, we used the Ferret dataset, which was created by other researchers. It covers DNS corner cases, but no DNS, just a little note. And what we did there is we took each zone configuration in this dataset. We loaded it in a real name server and into our tool each, and then we compared the results to queries that are also provided by the dataset and checked how real DNS software differs from what our tool would compute as an answer. Second, in querying mode, we used the bind 100,000 queries file that the bind team... That bind us a DNS name server and resolver software, and the team uses this file to AB test new releases. From this file, we sampled a subset of queries and ran them both with DICK, which is a recursive resolution tool or stop resolver that is installed on most operating systems, and ran it with our tool and again compared the results. In results... The results of this analysis was that both our compilation and reasoning work and that our model is faithful with a little asterisk, which I'll fill in later, to the DNS. While we ran the evaluation, we found, though, many bugs and inconsistencies that we had at first. So, for example, we were handling referral data to different name servers incorrectly and we didn't account for certain interactions of DNAM alias records and NS delegation records. There are other things, but the details are in the paper if you're curious. We also found some inconsistencies between our model and real DNS software, but we decided to accept those because the DNS standards are not necessarily... Don't mean that either one of us is right or wrong. We'll just say we're handling these things differently. For example, we are more strict in discarding data that comes below a delegation. We raise an error in these cases. Real software just decides to ignore them, and we do not synthesize c name alias records for d name... D name aliases, which real software does. We don't. We encode the semantics directly in our reasoning. And, again, also, here's more for details. Take a look at our paper. We also checked whether we can find configuration errors by introducing them deliberately to a number of zones. And here, you see some classes of example inconsistencies that we can find. Yeah. In particular, we also replicated the DNIC outage in an example. And, yes, the... Our tool would correctly compute the things that are not resolvable if the same misconfigurations were taken as in the DNAMQ outage. Our work, though, comes not without limitations. So for one, performance currently is a limitation. Some nasty combination of dename alias rewrites lead to a blow up of what is resolvable, and we cannot capture... We try to use constraints to handle most of these rewrites very efficiently, but we cannot do that in all cases. So sometimes it gets slow. In the evaluation of our querying mode, some queries timed out, and there is a risk that our evaluation is there subject to a survivorship bias because maybe the more complex queries timed out and that's why we didn't find some inconsistencies. Some examples for the performance. We tried loading the root zone within a couple of hours and not much happened there. Running a query for google.com at the time of evaluation there took one point seven seven seconds. However, our reasoning currently is also quite naive, and I plan to improve this in the future. As for our model, and this is where I fill in the asterisk that I put in earlier on the faithfulness of the model, we have only limited support for the denial of existence of records. So our model does support the denial of existence whenever a zone delegates to an unsigned zone. So it could be that the root DNS zone is signed, but some top level domain is unsigned. We do support denial of existence proofs there, which are required to follow that. However, we do not support it for signing wildcard records, which, yeah, I also plan to address in the future. Moreover, our evaluation managed to find a number of bugs and also unearth inconsistencies. However, our empirical evaluation currently has weak coverage of DNSSEC corner cases. But the work that I'm showing you is not yet finished, and overcoming these limitations will be our next focus. So now to end with, let me sketch briefly how our model could be used in practice. For one, it can be used to regression test zone configuration errors. In particular, that works well for updates that should preserve resolvability, like introducing new zone cuts, deciding to keep all the data as is, but having it be sent by different servers or for key rollovers when you sign your zones. Currently, our reasoning is independent of our formal model, and this comes with some nice benefits. Our reasoning about a change impact analysis does not depend on particularities of our compilation mechanism, which means you need... You can compare more than updates and zones. You could also compare how interpretation of a zone differs if you compile them using different compilation mechanisms reflecting different versions of the DNS standards. For example, you could look at what the change impact would be if you used delegate delegations instead of NS delegations. NS delegations are the current delegations that one uses to delegate to a name server, but the delegate records are being standardized in an ITF working group right now. Moreover, our reasoning being independent means that it's compatible with standard prologue engines. In our repository, for example, we provide an integration for the popular prologue interpreter, SuiteProLog, and this could be useful for evaluating... Use... Useful for validating DNSSEC responses because our model is much smaller than some of the codes you can find in other resolvers. We are currently exploring to prototype such an integration of DNSSEC evaluation with the ISC who are the... Is the organization that mains... Maintains the bind name server and recursive resolution software. So to summarize, I showed you today a formal model that can do resolvability change impact analysis of DNS zone from... Zone configurations. Our model can detect configuration errors without explicitly looking for them, and it provides support for DNSSEC. Model has been implemented. It has been evaluated. There are correctness proofs. And as I've shown you, there are some interoperability with the DNS. As I indicated earlier, this work is highly advanced, but it is still ongoing. So we invite feedback and experiments. If you like, you can reach out. Here's a QR code to my home page and also to the publication. But also here on the last slide, I have... And you will find those online. I have links to our GitHub repository and to our preprint. But just going back to the title side because that looks a bit nicer, I'm happy to answer any questions if there are some. Thank you.
[00:24:07] Jonathan Hoyland: Thank you very much. I have a question. So there was a bit of discussion in chat about what what counts as queries that don't have a response Mhmm. Because an x domain is a response.
[00:24:25] Felix Linker: Yeah. By positive response, we... I mean that there is some non empty data. So NXdomain is a negative response in our model.
[00:24:34] Jonathan Hoyland: Even if it's signed? Yes.
[00:24:39] Felix Linker: Yes. Yeah. Yeah. Even if it's signed. So let... We can discuss two examples quickly. Right? Mhmm. Let's say you have an NX domain in two configurations. Right? Then there's no change. You won't learn about it. If you go from some response with some data, so not an x domain, to either an error or an x domain Mhmm. We will report that as a difference. Yeah.
[00:25:09] Jonathan Hoyland: But if you went from a signed NX domain to a non signed NX domain?
[00:25:16] Felix Linker: Currently... In the in the version that is on main, we would not distinguish signed and unsigned. But I I only distinguish whether the response was validated or nonvalidated, but you can have something... Can validate something as unsigned in the DNS Mhmm. Because some parts are just not signed. Yeah. But I I decided since release it, it would be better to also track whether it was signed or not, not just whether it was validated. So I plan to add that and then... Yeah. But but there are certain interactions with NSEC and proving that something doesn't exist.
[00:25:54] Chairperson: Yeah. And so,
[00:25:57] Felix Linker: yeah, I I would have to think more deeply about it. But, yeah, I'm... I I do plan to track that... The the bit that you get.
[00:26:05] Jonathan Hoyland: Thank you. Rachel?
[00:26:09] Rachel: Hi.
[00:26:12] Rachel: This was more of a curiosity question since you talked about redirection. Have you considered looking into naming authority pointers or NAPTOR?
[00:26:24] Felix Linker: Naming authority pointers? What was the last part you said?
[00:26:26] Rachel: Just the acronym for it, NAPTOR.
[00:26:29] Felix Linker: Oh, modeling them? Yes. No. We don't support them in our model yet. No.
[00:26:38] Rachel: I would recommend looking into them because
[00:26:40] Rachel: it's it's
[00:26:41] Rachel: it's a cool area where... I don't know if there's been much talk about using, like, actual implementation of DNSSEC there, but I've heard murmurings of people talk about it before.
[00:26:55] Felix Linker: Cool. Yeah. I'll take a look at it. Yeah. Yeah. Thank you.
[00:27:05] Chairperson: Hi, Felix. I I didn't quite get how you handle wildcards. Can you kind of explain that to me? Because, I mean, at the beginning, you were saying you're kinda comparing the set of all possible answers in two ways. And if there's wildcards, I don't understand how you can get this... That set.
[00:27:20] Felix Linker: Yeah. We use... We handle... So let me say... Let me think about how I can explain this in most simple terms. So we represent names. Let go back. So I I consciously didn't use prologue notation. So there's some there's some complexity hiding in... Yeah. Here. Here in the dot dot dot dot short. Yeah? And I guess that's what you are getting at in this example. So we represent names as lists of labels in the Java notation. So the first element would be the top level domain, the second element below that. Yeah? So just the name short dot would be represented as a list with one element that is short... That the element is short, literally. No. No. Yeah. And to... Then you can use list unification and variables to represent sets of names. So you could say the list that has the first element short and the second... And and then it has a tail that is a variable. This now captures any subdomain to short and short itself. So we represent wildcard records as such lists where the tail of the list is a variable. Yeah? There are some considerations that you need to do because not every query will be... Will have a synthesis. There are finitely many exceptions, and these exceptions then we encode in constraints. So we then... We say, you would synthesize a response for any list that unifies with this list here except if one of finitely many exceptions apply. Yeah. I hid I hid all those details on this slide.
[00:29:15] Chairperson: Okay. And and I... I'm not totally sure I'm picking them up, but I I I have a read to them.
[00:29:20] Felix Linker: Yeah. I can I can give you an example in chat? I think seeing the syntax spelled out is... Helps a lot.
[00:29:27] Chairperson: Okay. Great. Yeah. Thank you.
[00:29:29] Felix Linker: Sure.
[00:29:30] Jonathan Hoyland: Okay. If there are no more questions, should we move on to our next talk?
[00:29:39] Felix Linker: Yep. Thank Thank
[00:29:41] Jonathan Hoyland: you, Felix. Now I do not want to leave the meeting. Stop slides. Oh gosh. Push my roof. There you go.
[00:29:53] Shifan Qi: The gap. Gotcha.
[00:29:56] Jonathan Hoyland: Hang on. Let me give you this line. Okay. You should be able to click.
[00:30:01] Rachel: Yeah.
[00:30:05] Shifan Qi: Oh, hi. Hi, everyone. I'm chief from all networks. It's a little bit amazing for me. Like, I think the UF and RG is gonna be something, like, crypto guys gonna discuss about the crypto primitives, and I don't know why this this workshop for this ITF is gonna be all the DNS stuff. You know, it'll be amazing. You know? Like, three man presentations. Even I I heard them during the last week's Vancouver's DNS org. I don't know if anyone there. So it's a little bit amazing for me. So without further ado, let's do let's do DNS instead of TLS. Okay. So, today, I'm gonna bring the, DNS, is a paper published... Already published and presented in CCS 2026, which verifies the DNS sec on the resolver side instead of the Felix, on the, what you say, the server side or the, new file side. As I said, I already presented last week during the, during this DNS org, in Vancouver. So let's get started. So before we talk about the DNSSEC, let's talk about DNS. Before we talk about DNS, let's talk about the DNS resolvers. So what is a DNS resolver? So DNS resolver is something that bridges the client with the Felix work, which is on the... Sorry, NAM server. In the middle, it's called the resolver. So for example, if you have example.com to... You you want to know the address of the example.com, you want to go to the root root server. The root server gonna tell you the name server of the .com TLD server. And then recursively, the .com TLD server gonna tells you what is the name server of the example.com TLD server. And finally, you get the IP address, which is finally step seven, the the array... A record of example.com. And finally, the server gets the results and finally gets back to the client. So that's how DNS works, which is a pure DNS without any any additions, any other recipes. But, you know, like, for DNS or we say the conventional DNS over 55... 50... Port 53, we we we call it deal 53. You see, it's kinda be like... You... The... If there is a main in the middle, like, BGP hacking is gonna, you know, manipulate and and, you know, do whatever they want to to to craft the DNS messages. So how could we solve this problem? So there is something called DNSSEC, which is DNS security extension. What DNSSEC does does is actually act... Adds a PKI infrastructure into DNS message, which is kind of like a signature and the keys. So from the conventional DNS, like, you... You're gonna add a signature for every record back towards the recursive resolver. And for each parent of the, of the, the parent of the previous AMP server, there is a hashing of the public key, which kind of, like, form a chain from all the way to the root, and this is called a chain of trust. So this is the two, like, ideas of the DNSSEC, which you, ensures the integrity of the tags via the signature via... From the RSEC. And, also, you need to ensure the whole chain is chained up. So it's gonna be, from all the way from a root to TLD, SLD, all the way down to the very end, which is called the channel of trust. So that's what DNSSEC, adds towards the conventional d o 53. And we all know DNS is a very complicated system. And we... With PKI, you add it to that, it's even more complicated. So we need to handle one thing called RFC interactions. So what is RFC interactions? For example, in the DNS sec... In in the DNS and DNS sec scenario, for example, for the core, I receive four three three to four three five. There is a signature validation. This defines the, the core concepts and the interactions. And, also, you need to handle the, even older for the DNS. It's called the wildcards. And you also need to handle the, denial of service existing, the denials, like, the authentic... Authenticated, denial of existence, stuff in the, four fifty, four four three... 34 and also the the NSX three, which is a hashing version of the denial of service, which is 5155. Beyond that, there are also... There's NGA policy. What is... It's called negative trust anchor policy. What does it mean? You know there's a chain. Right? But for some of... For some reasons or for some preference, there is some part of the chain you want to make it out of the You want to make it out of the consideration of DNSSEC. So you want to want to, like a... Option to make this out. It's called negative trust anchor, and you you can configure it out of the DNSSEC where, the DNSSEC validation. So this is 76, 46 RFC, what's they do. And bind them together, and even there are more. This is just example. Right? Like like, I'm gonna show you the numbers. I have 51 RFCs together. It brings finally with RFC. So as you can see, it's very complicated to to to... For the RFC interactions within the DS, like on the DSAC. And, also, we can... On the other side, negative side, the DNSSEC caused a lot of troubles. For example, in this year, we already got two TLDs getting trouble with with with DNSSEC. In May, the dot DE resolution outage is about the invalid signature. And two two months later, July, the dot l t l d, the key role of failure, which means... Which also leads to all of our outage. And for the for the... But we also see there are some DNSSEC attack academic paper. For example, the... I think the most famous one is Keytrap, and there are some NSEC three enclosure and so on on the on the academic side, but it's not so so many. So we see there's a gap between the, like, the actual the actual... Like, the the negative side, the dark side of the world, and also the bright side, which is kind of, like, academic side of the world, but the other side is under researched. So why it's under researched? So we do a little bit survey about the existing approaches. For example, we we categorize the previous works into four categories. For example, the first one, fuzzing, resolve fast. Oh, I'm honored to be the author of the resolve fast, which is published in... Using next security 09/24. This one, they use the resolver. They they also fuzz the resolver. They use the query response, differential testing. But the backside is, like, the DNSSEC is off. They don't test anything about DNSSEC. And, for the longer states, like, if you have... You need, like, multiple query response or you need a, like, TTL or something else, which is more safe for stuff, it's not it's not in the consideration. On the other side, for the formal verification, what we many get is about the gRoute, the scale, and DS mode. GRoute and scale is on... More on the Phoenix side... Phoenix work side. It's on the server. So it's not really use this stuff. The only recent work about d n... DNS resolver verification is DNS mode. But DNS mode, they also take the DNS out of the scope. Earlier DNS verification, for example, for for the and Michelle and also other parts, the the earlier protocols models is... Well, the first thing is very easy and very naive. And other sides, you know, with the years coming, decades coming and more RCS insight, for example, NTA, they they did... When the work of the and Michelle, when they do this work two two decades ago, Nothing about the NTA. So it's still, like, they cannot model a very comprehensive model. And finally, for the previous attacks papers, for example, downgrade attack, heat trap, r r u c, and also the insect insect free closer. It's just individual tags, so they don't have... They don't, do this comprehensive DNSSEC, analysis. So we realized a very, very sad fact that the DNSSEC security depends on a lot of RFCs and their interactions, but the comprehensive analysis is now... Is not there. And you... It's... I know it's very challenging, but no one did this. So let's take this challenge. What is the challenge? So we we conclude the challenge into three challenges... Three key challenges. Of course, there are so many challenges, but many... Three major challenges. The first one is what RFCs we should target at. Set... For the second question is how they interact. You know the targets. They are just points. You need to, like, flow them up and then make a workable models and then formalize them into a DNSSEC models. And finally, for these workable models, there are some under specifications or even something that there's no specification. So what is the gaps we want to model to get those, like, possible vulnerabilities out of this DNSSEC model? So So that's another question. So how do we solve this question? We solve it. We do a comprehensive RFC RFC study. And the r... The comprehensive study in total includes 41 RFCs, and we studied for six relevant paragraphs and a 40... We... And if... Identify 40... 52 interaction at ages. Pay attention that this work was done during the '24 and '25 with AI is not so smart. I tried to use AI to do this kind of analysis, but, you know, the hallucination is crazy. So I tried to AI assist it, but mostly it's done by myself. So, you know, it's a lot of work. And finally, we found that there are 10 edges covered, and we can model 14 edges from them. And there are some extensions needed from those existing models. We just search 13 edges. And there are some... We also put something out of scope, which is fifth... Fifteenth edge... Edges. You can find the details in our CCS paper and the extended version will archive. Okay. So the second challenge is about the security context within the ROC boundaries. You know, RFC is most likely you... It it tells you you want... You should do something, but... Though there's a a security consideration section, but, actually, the consideration is not so many. So we need to consider about, okay. So we forgot this workable DNSSEC model. So for the... Under the DNS scenario context, what is the security cons... Consideration? For example, the the author... The authority scope, which means, like, the child don't signs an RSET, And the war... The wildcard owner is constructed. So could we use this kind of crafted RSIC signature during the model? Another one is about the validation history, which it means... Which is related to NTA. You know, NTA disables explicitly for part of the DNSSEC chain. So when ETA is active, this is not valid. But when it's expired or it's manually terminated, NTA is returned to normal. So for those already cached stuff, how could we handle them? It's not specified. And third one is about the gaps between the DNSSEC or DNSSEC protocols, obviously, the general network protocols with the with the, like, the formal verification tools. You know, the programming tools, I know you you you are you are all experts for formal applications. So, you know, for the... For verification tools, the the logics is very different from the implementation. Like, you write a c or c plus plus or Go code. It's it's it's different. So at the first glance of the summary or the subject, I was wondering how to define one, two, three, four, five, six, seven, eight. No. There's no such stuff, but it's very important for for DNS. For example, if you want to model the the next secure domain, which is insect records, there's one which is which is alpha bake order, which is you you have the order which a dot example, b dot example, and then q dot example. But when you think about the hashing order, the hash of a and the... Of b and q is different. So there are two different orders. You need to to model this stuff explicitly in the in the... For verification tools. Let alone, like, there is also other dimensions. For example, the domain names, the cache histories, which is which is with... It is, like, positive cache. It is a TDL equals zero cache, the the... On the point cache, or it's negative cache, or the... And and also for the concurrent queries, which is like you... There are too many queries to send to the the resolvers in... At the same time. Also, there are some policy transactions, for example, NTA. If you consider all of this stuff in... Inside, you know, it's a very very large shop, and I think no one in the formal verification community did this so. On the other side, on the on the, you know, DS community, there is no people that know this stuff. So there are a lot of trouble challenge here. So how could we solve this? Because there are all these three main challenges. How could we combine those together? So the workflow is here. To resolve the first challenge, we do the RFC survey, which is presented before. We identify the corpus, and then we do the intact... Interactions between the edges. And after that, we model... We formally model the the DNSSEC with the rules and the security contexts. And to resolve the challenge three, we... Based on the four models we have modeled on the step two, we, like, write those property checks with a subject and then trans... Translate them into proverif and summary and perform the property checkers. And finally, we... Those hints or the the checking results, either it's verification or it's falsifying something. We put them into the resolver implementations with AI maybe to to find if it's really... There is a info... Implementation vulnerability within the... Within the actual resolver. And maybe sometimes it is just a false positive or it's not not so actual, not so realistic. We're gonna do a feedback to adjust our models, maybe also the property checks. And finally, we, like, find something. There are some techniques I want to brief. We got four... Twenty minutes. Like, I think we can go a little bit detailed. So we have... I want to, like, especially mention two techniques we are using. One is about how to handle the cache entry. So for the cache entry, you need to cache it. But, also, if you consider DNSSEC, you have two two by two by two metrics to consider. Actually, maybe it's even more complicated. So one is the freshness, which means if the cache is is valid or it's within the TTL or it's a negative cache. Another side is the DNSSEC validation status, which which means it is, well, secured. It's indeterminate or it's insecure or it's bogus. So you need a... You have this kind of two dimension matrix to handle. And, also, for NGA, of course, you need to define the NGA when it's active, when... How to insert the NGA enabled, not DNS have validated... Validated cache. And, also, for the NGA when it expires, how the later cache is reused or get a purge. The second is to encode the ordering. Not only the ordering, I should say, is... But the ordering is, I think, the most challenge we we met during the formal education, modeling in in suffix plus and the summary. So that's that's how we model. Like, we have the exact model, which is, use a name order or we said alphabetic order. And, also, we order for another thing, which is mapping towards the hash order, which define another one. And, also, there are also other... Like, something you need to define, like, the hierarchy of the DNS, name servers, and also the, names of... We we use to test test them and also how to bound the cache size to avoid the state explosion during the form application and also separate models. And finally, what is the findings of the DNSSEC? Before the findings, like, we we actually model all primitives. Like, here is a four examples. For example, the first one is about the signature verification, and, also, the second one is about how to build a a a chain of trust. And the third one is about how to define... The cache is a hit or a miss. And sec... Fourth one is how to define... It's just a signer in the scope. I know you are a formal formal formal expert, so I go bridge here. So to... So the final results, we do this verification step by step. You know, we all... The formal... You you formal guys must know that there's a, like like, we call it state expulsion. So you cannot put everything inside, and that it's gonna explode your machine. So we first... To verify some basic properties, for example, the cache properties, and it's mostly proved with some non non non issues. And next one, we put something that basic DNS or DNSSEC inside. For example, the channel of origin and NSEC and secret stuff. And, also, we verify them and falsify some of non non... Properties. And, finally, we we verify the three cross cross IVC properties. And the the final leads to the new new findings with... Which is, you know, written in our paper, which is wildcard sign noncontaminant, the denial of service exclusion, which is led by the mixed use of NSAC, NSAC free. And, also, there is a NTA valid... Cache validation problem when the transition between the NTA active... Activated and MTA terminated or expired. So this is our findings with three new findings and three existing or known problems we have known, and we formally verify them. So among those problems we have found, the the headline, the the title... Titled, the best vulnerability we find is about the... Which is called the cross zone cache wildcard contaminant problem, which means, like, if you you... Using the insect three sign parent, if you have a child which is, for example, here is attacker dot test, you can you can you can do the cache cache pollution or cache poisoning for the neighboring, which is... For here is node dot test. You need three steps. Yeah. So... Oh, okay. So this is... This tells you, like, this is caused by the unbonded labels, which is which is the... You see there is a r sig. So if you know the signature, there's a field called the labels, which which the resolver used to identify if those... If the response is related to is is exact match of the response from the Zoom file or it is spanned from a wildcard. So there there there is no diff... Definition of the the underflow of the labels, which which makes the the child's only, you know, crafted wildcard response, which is not... Which actually is not on behalf of the... Their parent zone. The attack workflow is here. So first, like, you have attacker NS, and you query... You create a attacker dot test server. For here, you... The... There is a crafted, like, response with the labels under float. You see, like, attacker dot test, like, you... With the labels dot equals one, which means, like, the the attacker, unless it's telling you, okay. So this response is spent from the wildcard, which is the wildcard dot test. Actually, it is not. It's from the attacker dot test. So it is kind of, like, out of the bad week, but the resolver takes it in and also marks it as DNSSEC value... Validated. And for the next query, we query something that not not existing. If the if the resolver is actually supporting the NSEC value... NSEC, yeah, NSEC proof of nonexisting domain, it's gonna tell you, okay. So for... From this this interval, there is no domain. And next secure domain, c g dot test. For the third one, when the actual node dot test is queried, the resolver is not gonna, query the actual parental parental name server, and they just use the, NSEC... The the the NSEC cache, which is provided by the attacker. And say... Because it's... It claims that it is from the bar card dot test... Dot test, and it's finally get... The the client get the wrong results, which is six point six point six. And, also, the resolver gonna flag is at the DNSSEC validated, which is AD bits enabled. And do... We test all the resolvers, the pop... Six popular DNS resolver... Open source resolvers. And the four of them, they implemented both the wildcard and aggressive caching and also the the the aggressive caching, the why synthesis part. And for all four, those... All four DNS resolvers, which are... Have this feature, they're all vulnerable. So we got three CVEs, and one, they don't report CVEs, but they confirmed this is a problem. And for the rest two, they don't have the wildcard synthesis one. The step one is gonna still is gonna still be enabled, but they are not vulnerable because they don't have step three. They don't have this feature. But I... But in fact, they are still vulnerable. And, also, I'm gonna go brief for the next few findings. The net... The second finding we have is if if you are using the mixture of insect insect three and doing the transition, it's gonna cause a false n x domain. The third one is when you have n t a active and n t a expire. And for the cache that is being cached during the n t a active, it's gonna also return a false n x in non existing domain. And now it's for the mitigations. So the further headline finding we have, we propose the updates to four three five and ninety one eighty eight... '9... '91... 8198, which packs... Which requires resolver to check... To reject all the underflows, r six labels, and also requires the requires when you do... Using the wildcard synthesis, you need to verify the wildcard synthesis in three dimensions. And, also, we also require the updates on NTA. And during... I explicitly mentioned about the mixed... Insect and size three usage, you need to make it like a hard board boundary. Like, you should use insect or insect three, not not with wake, like, which leaves the which leaves the space for in seconds x-ray coexistence. And here is the patch on the resolver side, which is actually match the RFC proposals. And to conclude, we we formally analyze cross c interactions between 10 RFCs with 23 properties. We got three findings, which is the most knowledge is which the most... The... Like, I think the headline finding is the find the vulnerable on all the resolvers with that feature. And we also have we also have some, like, other findings, which is on our submissions. It's it's worthwhile to to mention that we also propose the RFC draft, the Internet draft, and pre... Presented our cross zone wildcard synthesis updates during the DSOP on Monday. And instead of just purely, they... The author of the four three five, he just suggests, like, the tag should be a explicitly a standalone RFC to update those four three five and ninety one eighty... 98. And, also, I want to thank all my co authors,,,,, professor,, and my PhD adviser, professor,, And this is the last piece of my PhD dissertation. And, also, I want to thank thank Torsten and Michael from the Ivy on text after our rejection from SDI and to tell... Tells us what to do next and final leads to these findings. And feel free to check our, paper, the version, and also the drafts. Thank you.
[00:56:25] Jonathan Hoyland: Okay. Mohammed?
[00:56:29] Muhammad Usama Sardar: Yeah. Samat, you've recent very interesting work. Do you hear me?
[00:56:35] Shifan Qi: Yes. I can hear you.
[00:56:37] Muhammad Usama Sardar: Okay. Okay. Yeah. So, you mentioned about some CVs, and you mentioned that you rediscovered, some attacks. I was wondering if, you could clarify whether it was rediscovery, or did you find some CV of your own? And secondly, what was the score of the CV? Thanks.
[00:56:56] Felix Linker: For... Could you could you
[00:56:57] Shifan Qi: tell me the... Could you repeat the first question?
[00:57:01] Muhammad Usama Sardar: Sure. Sure. Yeah. The the first question was about, like, in your slide, if you go on the slide 35, I think it was maybe. No. Go go... 34, I think it was. Then you were kind of finalizing, like, the second last slide, if you go to the 34.
[00:57:20] Jonathan Hoyland: This
[00:57:21] Muhammad Usama Sardar: That's 30. Go ahead.
[00:57:22] Shifan Qi: Go ahead. This one?
[00:57:25] Jonathan Hoyland: No. No. Two more. Go ahead.
[00:57:27] Muhammad Usama Sardar: So it's 31.
[00:57:28] Felix Linker: So And, Shifan
[00:57:29] Muhammad Usama Sardar: keep going keep going keep going to the The
[00:57:33] Felix Linker: question was whether you found new attacks or
[00:57:36] Muhammad Usama Sardar: only new user attacks. One next to this.
[00:57:42] Jonathan Hoyland: One sec. Let me just...
[00:57:43] Muhammad Usama Sardar: This one. This... Where you said three known attacks discover... Rediscovered. This one.
[00:57:48] Shifan Qi: Yeah. Yeah. Three known attacks and three new attacks.
[00:57:54] Muhammad Usama Sardar: So when you say three new attacks, did that... Did they lead to the CVEs or
[00:57:58] Shifan Qi: were they just Yes. Exactly. So you can you
[00:58:02] Muhammad Usama Sardar: can the... What was the score of these CVEs that you had the new findings? Not the one that you rediscovered, the new ones.
[00:58:09] Shifan Qi: The new findings the new findings for...
[00:58:13] Chairperson: Shit. I cannot Sorry. I took it back so
[00:58:15] Jonathan Hoyland: I could put on
[00:58:15] Chairperson: the place.
[00:58:16] Shifan Qi: I I can I can just I can just say for for? I think the score... The CVSS score is high. So I think for bind, unbound, and and also PowerDNS, I think the rating is around seven. Some some ratings is three... 7.3 and some 7.8, something like that. It's high. Yeah.
[00:58:35] Muhammad Usama Sardar: Okay. Thanks. Thanks.
[00:58:36] Shifan Qi: Yes. For this three. Yeah. Uh-huh.
[00:58:41] Felix Linker: Yeah. Thank you for the presentation. I have a question. So you presented your methodology for cross RFC analysis. Yeah? And and that got me thinking out of personal experience. So I also have a paper where I presented a methodology for something. But in all honesty, the... Methodology was developed in hindsight. So I first did the thing, and then I thought, Okay. How can I generalize how I did the thing methodology? And honestly, it was not too unhelpful because now when I supervise students that struggle with the same issues, I actually regularly point at the paper, and I said, yeah. Well, it wasn't too bad. But I was curious. What was your experience for... Especially for these cross RFC interactions? Did you first let yourself guide by intuition, look at the RFCs, think about where there could be a vulnerability, or did you first come up with a methodology and that led to you discovering these cross RFC interactions?
[00:59:38] Shifan Qi: That is a very good question. So I I think I... Like like I said, I'm... If... In this room, I'm more like a DNS DNS guy, an outlier. So my mindset is, like, you know, all my three g stuff is about DNS attacks, fuzzing, something like that. So for me, it's kind of like... Already have a... How the DNS works within this popular, for example, bind and not party as inbound. Those... Though how these kind of things work and how they handle those stuff. And then with those, like, implementation in in mind, I go through the RFCs. And I don't read from the top to the end. I just check the core specs. Like, sometimes sometimes if you read my result of fast work, this call about differential testing. So differential is a very important stuff in DNS. And they encourage... Also, the DNS guys, they encourage this kind of you know, the... It's called diversity. So you need to have this in mind, and then you go to check RFCs. And, also, you need to notice... Then from RFCs, what I learned is, like, they have, you know, from the the core three. For example, DNSSI, you have a core three, and they go all the way up. Like, there's, like, a new features and updates. And you must know, like... You have... You must have a knowledge, like, what is this updates mapped towards the configurations or the news... New stuff? To be honest, it's a little bit... I'm I'm proud that's... For some of RFCs, can even map, like, the RFCs they propose, for example, twenty fifteen. And maybe one or two months is in the code base. I can't... For for this project, what I learned is I kind of know, okay. The... What's a tree on the RFC side? Mhmm. And what is a tree on the implementation side? Mhmm. So that's kind of my methodology. And I and I would say, like, it's very useful. Nowadays, like, the ALMs is is much more usable than one or two years ago. And if your students is now working with this kind of cross cross IT stuff, if no... For example for example, I'm a I'm a fool for TLS. I know nothing about TLS, only about IT... DOT, something kinda DNS over TIS. So what I gonna do is gonna... I gonna ask maybe CloudCode to to get all the IRCs, and it tells me, okay. So what is the core... The the the roles within the TIS and how they interact? Mhmm. And finally, maybe I gonna go, for example, open SSH or Rust TLS or something like that. I'm gonna check the implementations and know what is the real world implementations, how they interact with each other.
[01:02:19] Felix Linker: Cool. Thank you. Yeah.
[01:02:22] Jonathan Hoyland: You should look at, Mark Nottingham's ITFLM. He... He's got a a project that downloads all the RCs, all of the mail archive, all of the... Everything, and you can ask Claude Coe to look at it.
[01:02:36] Shifan Qi: Yeah. Actually, I'm doing this stuff for company business, but I cannot tell you. My lips are sealed.
[01:02:41] Jonathan Hoyland: Yeah. Oh, yeah. There's a... There's an open source one if you want to use that. Thank you so much. Okay. Who is next on the agenda? Very good. Oh, god. Sorry. Struggling with buttons. Right. Stop slides. A model guide analysis.
[01:03:10] Shifan Qi: Yes.
[01:03:13] Jonathan Hoyland: Okay. And let me give you the clicker control. Okay. The clicker should work.
[01:03:20] Rachel: Okay. Cool. Hello, everyone. So as mentioned before, we've effectively turned this into a DNS verification session. So we got authority covered, resolver covered. Now I'm covering the DNS clients end to end. So I I... Oh, so I'm from the University of Virginia. I would like to thank all my coauthors, PhD student, former PhD student, collaborators for this work. I I think we've got a lot of background covered about, like, a DNS infrastructure side, right, resolver, authoritative DNS resolution, all that kind of stuff. So I wanna talk a little bit more about DNS clients. So more specifically, our study focuses on web clients, which is the most popular kind of clients. So browsers, basically. So browsers, historically, they're pretty simple. Right? They're just doing a queries or maybe a quad a queries and get the IPs and go from there. Right? So that's why, I I think the last two talks have talked about a a lot of, like, related work on, like, resolver or authoritative side of verification or testing, but then there's no work focusing really on client because there was no need. They're simple. But, our, motivation is that the web client's browsers, they're actually starting, you know, getting more and more complex logic in how they query DNS and how they process the responses. And and, I mean, beside a and a pod a, it's mostly, like, HTTPS RRs and also Happy Eyeboss, different versions. So how we started off with this study? So I, most of my research actually before this focused on measurement. I I do a whole bunch of measurement. So in our I m c 24... I m c 2024 paper, we did a whole bunch of measurements on scanning servers, collecting configurations related to HTTPS records, which basically provides a lot of parameters in order to help clients get information to establish to establish HTTPS connections to the server. So that's the server side measurement. But as part of that study, we also did client side testing, like, where we manually crafted, a few dozen test cases maybe based on our domain knowledge. We wanna get a sense of, okay, so how browsers are actually using or, supporting these different parameters in DNS HTTPS. So kinda... That's kind of how, we started finding out a whole bunch of stuff. Like, for example, in the screenshot here, with exactly the same server side, DNS server side, configuration, and also, like, together with the corresponding web server, if you use Chrome versus if you use Firefox, you'll get completely different connection outcomes. Okay? So I will... I don't wanna say, like, which one is right, which one is wrong, but the... Regardless of that, it is undesirable. Right? Exactly the same server, same configurations. You use Chrome, you don't get connected. It says fails, but you use Firefox, you actually get connected. So this basically motivated us to be like, hey. Can we do better in testing? Be more comprehensive, right, instead of manually crafting up, like, a dozen test cases? Can we be more comprehensive? Maybe there are a lot of cases that we humans cannot think of. Or, and, actually, maybe there's other behaviors besides the limited HTTPS parameters that we've tested. So this is basically what motivated this study on, like, how about we use formal methods? So what we wanna do is we are not verifying the protocol itself, but we're doing testing for implementation of the protocol. And we do it... We would do the the testing framework's black box because not all the browsers are, like, open source, meaning Safari. So we started off with collecting RFCs, not as many as the previous work did, but we collected the RFCs that introduce complex logic to clients, the ace... The HTTPS ones, ECH ones, and the happy eyeball v three ones. So a couple of things I wanna highlight. What kind of... What's what's different for, like, modeling client side behavior versus resolver or authoritative side? First of all, like, the the specifications are a lot more vague for clients. Given that, I I think that's sort of just the nature of it. There is a lot of stuff that's intentionally left up to the implementation, okay, instead of trying to overspecify, like, oh, you know exactly how you should do it. So that's why we actually do get a lot of, like... Maybe a couple, like, must rules here and there. A lot of them are should. And we get a lot of, like, may, like, optional behaviors saying, yeah. I'd always... Yeah. You can do it these ways. So that's one scenario. The other scenarios, there's... Oftentimes, there's, like, one sentence description, but it... With... Without actually specifying the specific behaviors. So in order to model that, we kind of have to use our domain knowledge and maybe cross checking, you know, among different RFCs to be like, okay. We need to expand it if we wanna model it because it's not even described in any way in the RFC text, right, which is one sentence high level. So these are the kind of different things that we experience while modeling client behavior because of its vagueness. Okay? So we end up using, like, a state transition system. We... And, I mean, this is just like a screenshot, like, showing, like, how we build up the transition. So we have a lot of, like... So so instead of putting everything as, like, required transition, there's, like, a lot of, like, branches and alternatives that we wanna kind of model it as as possible paths, right, due to all those, like, unspecified or optional behaviors. So we also have similar challenges, like, state state, state explosion challenge and etcetera. So we use ways to tackle that. So I won't go into the details here. And we called it up in Moth. So that's the language that we use. So after kind of building this, so we did the path exploration. And based on that, right, we have a whole bunch of paths. And, so this figure is a little busy, but, the left part is the modeling part. And then from that, we need to generate test cases, meaning that the actual zone files, the real zone files that we can put on our servers and actually test it out. So that's basically the second part, test case generation. And so we also did further, like, minimization in the test case generation part because... I mean, we already did did, like, a bounded path exploration in the model, in the path exploration part. So in the caskets generation, we also did further minimization to try to make sure that... Or as best as possible that we capture the important test cases that are gonna expose different behaviors, but then try to reduce the redundancy, let's say. So these are the steps that we do to try to minimize the, the number. And, of course, we have to, build up the actual framework, where, we run our own authoritative. We run our own resolver. We put up whatever, like, test cases, meaning zone files we generated on there. And then we kind of have to build a client side framework to test out the different browsers and across different OSs, different platforms. So, again, that's kind of the overall flow, and I won't go into the details here. So what are the results? So... Well, first of all, like, exactly how many things we tested. So if we just count the number of test cases, we generate... We ended up generating, like, over 5,000 test cases covering... I mean, after all the minimization stuff, covering all the behaviors that we mentioned earlier, like, HAPIIBA, HTTPS, ECH, and etcetera. And there's, like, actually interactions across them, so kind of getting a little bit into, like, the cross RFC interactions. But I guess it's it's probably... I mean, compared to DNSSEC, it's probably a little bit easier here given that we have, like, four or five RFCs to model this kind of cross interactions. So for browsers, we tested... Technically, we tested five, like Chrome, Edge, Brave, Firefox, and Safari. But then, based on findings, yeah, like, other Chrome embraced browsers, at least for DNS part, they behave exactly the same. There's no customization beyond what Chromium provides. So Firefox is Firefox. And then Safari, what we are actually measuring... I mean, turn... It turns out what we are actually testing is basically WebKit behavior, which means Safari across all the platforms, they use WebKit and all the other browsers in iOS. So that is also WebKit. Okay? So the other browsers, they behave the same in all other platforms like Windows, Mac OS, WAN to Android, but in iOS, they are all like WebKit. Okay? So that's something to keep in mind. It's not exactly the browsers, but it's actually the browser engine that they're using. So what do we find? So we we found a whole bunch of, like... We call it divergent behaviors, meaning that they deviate either from each other or from what the RFC says. Okay? So we we try to find a good word to, like, describe it, and we end up with the word like, okay. Diversion. And we try to put it into, like, three different categories. So the first category in red, that's like direct RFC violation. Okay? Meaning not violating some sort of must requirement in their implementation. There's also this interesting category that's actually pretty big. That's, we we we name it, like, implementation choice, meaning that there is no violation against against the must requirement, but the browsers make different implementation choices, which result in different connection outcomes that are likely undesirable. Okay? So going back to the very first, kind of initial, motivating example when exactly with the same server configuration, Chrome fails, Hart fails, Firefox connects. Right? By the way, in that particular case, neither of them has any of RFC violation. Okay? They are not violating anything, but it's different implementation choices leading to different... Very different connection outcomes that are not nice for the users, let's say. So that's the other big category. And there's also unsupportive features. So, sure, they're different, not because they implement differently because... But because they haven't got the chance to implement anything at all. So that's the other category. The distribution is, like, roughly, like, this I'm showing here. So to give you, some brief sense of, like, okay, what what are the examples? So these two examples are actually not the one that I showed up at the beginning where there's different connection outcomes because that one gets... The root cause behind that one gets a little complex, and then, I will probably need more time to actually explain what actually happened. So I'm picking the other, slightly two, two slightly more straightforward examples. So one is... So HTTPS resource records. Because you can put a whole bunch of parameters in that or or multiple values within each parameters, so they can get kinda big. Right? So what happens when things, when DNS responses get big? If you're doing DNS over UDP by default, well, you get the TCP fallback. Right? No big deal. But the thing is, like, during the TCP fallback, for DNS h... HTTPS queries for QAM, like, initially, they do three queries in parallel. Right? A, quad a, and HTTPS. That's by default. It's been that way for years. But then for a and quad a, they get the response. All good. But then for DNS response, there's truncation, so they have to do TCP fallback. But the thing is, Chrome... And this is not a consistent behavior. It's like... It's it's hard to figure out, like, why it happens so randomly. But, anyways, so for... They would actually proceed with the connection using AOL quality. And then even though their DNS over h, DNS over TCP query for the HTTPS is still kind of in the process, they would just, like, stop it, like, terminate it, and even if the response may have kind of been away or may have arrived during that whole process. So what's the implication of this? Basically, from the service perspective, they may be configuring everything right and their HTTPS R just ends up a little too big. It may not even get used at all. So you may ask, like, okay. Why does this matter? If you're thinking about things like ECH, right, encrypted client hello, that actually needs to use that parameter, basically, won't get used because the whole HTTPS, our response is getting ignored ignored. So so... And that's the issue tracker, that we submitted. So that's one example for Chromium. Kind of giving you a sense of, okay, so how DNS actually interacts with TCP fallback and they lead to these kind of cases. This other example is for Firefox. This is actually a direct r s... RFC violation. So without going to the details, like, the RFC says, if you have the no default open flag present... Present, you actually have to specify this... The the output parameter value. You you can't have just no default output without the output specifying exactly what. Okay? So... And and so if this happens, according to RFC, this record becomes self inconsistent. And the rule is that the clients must reject any self inconsistent RRs, and clients may reject the whole RR set. That's optional, but at least you should reject that particular self inconsistent RR. So we, when we found out, like, Firefox, they first seats with using whatever parameters in that particular R anyway, even though they're supposed to reject it, while other browsers actually would do the right thing and reject the R and not use it. This is another pretty straightforward example of, like, this is actually a RFC violation category. And there's a whole bunch of other stuff. So you may ask, like, why there's no no WebKit here. It doesn't mean that WebKit is better or worse than these two guys. It's more because whenever we reach out to Apple folks, their answer is always don't talk to anyone about this. So that's why I didn't put it here. But we have a whole table of stuff that I will not go into the detail here. Okay. So so that's our recent work that... So what are we doing now, like, after this? We do wanna move beyond DNS, actually. And because... Especially in our... One of the findings I just showed, there is interactions affecting the connection outcome beyond DNS. Right? That is TCP fallback. So... But there's a whole bunch of other protocols that the clients... Well, in this case, web clients actually implement that there is gonna be interactions across them. So it's cross RF interactions, actually cross protocol interactions. So that is something that we're kind of getting into. And going to, like, the LLM stuff, yeah, now we're dealing with a lot more RFCs, and we are actually using AI agents to try to automate that kind of work to allow us to scale up. So we we... I... So we have a separate study, like, aside from this where we actually use LLM to analyze RFCs, which is kind of similar to what Mark presented. So our study was done, like, a year ago we were basically using LLM to check RFCs and Internet drafts for errata type of thing. Okay? And we did find a lot, as you can imagine. So so... But, yeah, now we're kind of using AI agents for this kind of purpose, modeling purpose. And this is a work in progress. So, yeah, I'm I'm happy to chat about our experience. So... And so last point is end to end. This is a funny word. We are kind of end to end with the three presentations, but depending on how you interpret this. Yeah. I I do wanna close this off with... I should really put the acknowledgments there. I do... We do thank Ben Schwartz from Meta for answering all our questions about HTTPS and ECH, and also David Adrian before he left Google for answering questions about Chrome. And, yeah, that's all. Thank you.
[01:19:27] Felix Linker: Hi. Thanks for the presentation. So the biggest findings that you had were these inconsistencies. Right? But also with respect to errors. So in the Firefox example, you were quite explicit that it was a Firefox problem. Mhmm. But I wonder with these inconsist... With either inconsistencies to the spec or inconsistencies between between clients, do you have an opinion on who should use the information of these inconsistencies? Are the client implementers who need to be more... Who should be more consistent? Is it more relevant to server operators to understand what their clients will reject, or is this just how the world is? And it's yeah. And maybe no one in particular should do anything about it, and we have to deal... Find other ways to deal with such inconsistencies.
[01:20:23] Rachel: Yeah. I would say from the perspective of our our study, I would say, like, 80% out of it. Like, our stance is, like, clients should, you know, implement better. Right? Consider these cases. But then that's kind of our perspective when starting off with this, and that's why we're, like, contacting all the browsers, submitting bug reports and stuff. But they're taking a step back. I I do think it's important for servers and clients to kind of have a sense of what the other part is doing. For example, like, we actually combined this study. Like, the other set of study I'm I'm not, like, showing here is the clients may feel like, oh, yeah. You're testing all these, like, weird server config that would have never happened. But then with the server scanning data that we've been collecting for, like, three years, we're like, hey. Servers actually configure things this way, and they're not wrong. It's just not common, but they are there. Right? So you should be aware of it and consider it in your implementation and vice versa. Actually, the the very first motivating example of, like, Chrome and, Firefox showing different connection resource or results, It's actually a matter... It's it's the result of both server and client's fault, if you wanna call it a fault. The the root cause of it is actually server misconfiguration. It's just the server doesn't know that clients like Chrome will hard fail on them. Okay? Servers don't know about that consequence.
[01:21:46] Jonathan Hoyland: Mhmm.
[01:21:46] Rachel: And the clients will be like, hey. There's misconfiguration, so we can do whatever we want. We can fall back, or we can hard fail on you. But, you know, for end users, that's not nice. For servers, that's not nice either. That clients cannot connect at all. So that's why I kinda feel like taking a step back, my opinion is that they should be aware of what the other party is doing if they want smooth connectivity in a
[01:22:07] Jonathan Hoyland: way. Yeah.
[01:22:08] Felix Linker: Jonathan, can I ask a second question?
[01:22:11] Jonathan Hoyland: Yeah. Go for it.
[01:22:12] Felix Linker: Okay. Have you considered... You you you found edge cases. Right? Have you considered turning them into some sort of test vector database that clients can use to check against? Because that ought to be useful. No?
[01:22:23] Rachel: Yeah. Yeah. Yeah. So that's basically what we are gonna release, hopefully. I mean, yeah, we're having a repo right now. But, yeah, the other generated test cases that, you know, anyone can use to test their clients. So browsers, we do have to test them once in while because they they do keep releasing new versions with new features. But, luckily, the RFCs, like, they they... They're not that dynamic. So once, you know, we build the model, we generate the test cases, you can keep using the test cases to test implementations. Yeah.
[01:22:53] Felix Linker: Okay. Thank you. Yeah.
[01:22:55] Jonathan Hoyland: So I I just had a, well, hopefully, quick question. I I remember working on the origin frame in HTTP, and one of the requirements is... Sorry. One of the, like, keywords is is you may check DNS for this to decide whether or not to make a particular connection. How would you reason about things where it's you may or may not consult DNS as you like?
[01:23:27] Rachel: Yeah. I... That's a great question. Not exactly the challenge that we're trying to deal with here. In in that particular case, like, we will try to model it in, okay. You can just... I mean, the the not checking is easy. Right? You'll just proceed with whatever... That's the rest. But then if you may check, then the question becomes exactly what are you gonna check. Right? So in those cases, we'll probably have to look at... I mean, that's what we did. We look at multiple RFCs and try to guess. Like, okay. Exactly. Maybe these are the different fields. These are the parameters or responses that you could check-in DNS, and we start modeling that. So this is like... This is a really kind of odd process that we're basically using our subjective kind of sense to do that. I mean, that's why we also, like, have been emailing RFC authors, like, very often and be like, hey. When you say, for example, you may check. Exactly what do you mean by that? Like, may check what? So that's why I would probably email, like, Ben Schwartz with, like, 20 emails because he wrote, like, the the r c ninety four sixty and be like, okay. What do you mean? And, you know, process is actually a rewarding process because there are cases where we see, like, in the Chrome issue tracker, the Chrome developer were like, oh, yeah. We should do it this way because section 5.1, ARPS ninety four six... 60 says this. And then we go and check with Ben Shores. We're like, do you mean that? He's like, oh, no. No. No. So, you know, there's all these, like, human factors in that.
[01:24:51] Jonathan Hoyland: That's Yeah.
[01:24:51] Rachel: I mean, I hope there's a better way to do this, but at least that's what we did in this study.
[01:24:56] Jonathan Hoyland: Sounds good. Thank you. I think we have no more questions. So let's give... Samad, do you have a few slides?
[01:25:08] Muhammad Usama Sardar: Yes. I have quite a few slides.
[01:25:12] Jonathan Hoyland: Okay. Well, you have about two minutes. Sure. Let me pass you slide control. Oh, no. Yeah. Is this what you presented last time, Sam?
[01:25:33] Muhammad Usama Sardar: No. No. No. It's not... It's quite new. It's the most recent one that we have, the CVs. So that's not that part of the... What I represented for. Okay. Can I start?
[01:25:44] Jonathan Hoyland: Yeah. Yeah. Yeah. You should have
[01:25:46] Muhammad Usama Sardar: Okay. Yeah. I see that. I have control. Okay. So, yeah, it was quite a DNS day today in the phone methods, but this is quite different from that. And now this is more about attestation, and early attestation is one of the solutions in the group. That's what among other solutions we analyzed. Early attestation bleed and early attestation choose is what we name it. These are the two different papers already floated on the UFMRG list and joint work with Songbo from Stevens Institute of Technology. And we want to thank all the people we... Who are mentioned here. Specifically, the problem statement is that there are insurance companies,, and others, are potentially putting people at risk. And the underlying technology, basically, is that they use a layer of station protocols underneath. And that's what we started looking at because of the g four g h global alliance for genomics and health data. And what we found is that the system claims that its software is used there. We saw the three different software provided by them. That's Contrast, MarbleDrun, and Constellation. As you see, there are... There is a CVE that we found of critical severity 9.1 for contrast, and there is a security advisory for marble runs. Again, critical security 9.1, and the third one is already archived. The relation to you... This UFMRG is basically the formal analysis, which we did for finding all the all the vulnerabilities that I'm going to describe very, very quickly. Symbolic security analysis, we performed in Proverif, and we did use the implementation for that, not the specs. Their specs were not really clear. We used the real world implementation for that. So the high level idea is basically we have a patient, and he wants to send some data over to the cloud for doing the computation. And it's not only the network adversary, it's also the endpoint adversary that is involved, and that changes the whole TLS protocol threat model. That is to say, now you do not have only to care about the endpoints only, but in... Within that endpoint, there is an adversary which is named as the endpoint adversary. So we have two main ideas. That is the early attestation. As I said, this is the seat early attestation draft and the standard one, which is based on the RFC nine two six one as exported authenticators. And we... I'm one of the authors of that draft, which is based on RFC nine two six one. This, I will skip. The main idea here is that there are a lot of details within the TLS protocol key schedule. The core idea is that the key sketch which is written here, the handshake traffic key, which is derived to do that encryption for the messages versus the application traffic key, which is used for the application traffic. That's the whole debate, which is around. And on the next slide, I will show exactly that. Handshake traffic key, basically, you do not need it for attestation. Basically, it's irrelevant for security. Even if we remove all all encryption of the handshake messages, nothing has changed for the security at all. It's only for the privacy of the handshake messages. Whereas for attestation... Sorry. The the application traffic secret, e... ATSC, which is written here, it's very, very important because that's the whole idea of protection. That is the application traffic which will be passed. We divided it into four security levels, zero one two three. Zero is when there is no shared secret. Diffie Hellman shared secret. So we did not use the fancy new MLKEM and so on. We just used the traditional one. And we have the level one, level two, level three dependent on that. With that, we had these three properties, correlation properties, server authentication, compound authentication, and the reachability properties. So we have a quite a bunch of CVs. The ones which are shown in the red are ours from three papers, intra handshake dot fail, EarlyAttestationBleed, and EarlyAttestationTschüss. So 9.1 onwards, one of them is even 9.6 compared to the ones that are existing at the top. You see they are maximum up to 5.9 in the medium range. And this slide, I will skip, for now. And this is the real top level view of where all these solutions are. That is Prevocis has archived its early attestation solution and migrated to post handshake solution. Both of its Rust ELS and Go libraries, Cocos AI has similarly migrated to post handshake. CCC confidential computing consortium attestation reference implementation of early attestation. They have archived their implementation, and the draft for Sati TLS attestation has been withdrawn. And there are two solutions, agile systems and meta, which are following still the old draft, which is withdrawn, and the new draft has no shared secrets and it remains vulnerable. So these are the proofs for the eProfile for previous trust DLS retired and archived, previous Cisco retired and archived, And then Cocos AI retired and archived. And then CCA attestation sick sick sick special interest group defunct and archived. Then eat profile for this draft. This is now withdrawn. And then all the all the... Basically, the developers and the maintainers of all these solutions that I have mentioned, they have acknowledged and accepted the good of security advisories. They themselves basically requested all the CVs and all the all the different organizations which I mentioned here, GitHub and OneCheck as the CNS, they issued the vulnerabilities and NIST, and ESA, China information technology, and all the other databases. They have all these vulnerabilities acknowledged and all the organizations and the stakeholders which are mentioned below as well.
[01:31:25] Jonathan Hoyland: Osama, unfortunately, we run out of time. So thank you very much.
[01:31:31] Muhammad Usama Sardar: I can...
[01:31:32] Jonathan Hoyland: We'll... I think we'll call it here.
[01:31:35] Muhammad Usama Sardar: Yeah. Okay. Cool. Thanks very much. There are two rep threads already where you can submit your feedback. Thanks.
[01:31:43] Chairperson: So we we don't have time for questions, and the slides are in the data tracker. If you want, then you can find us, Sam, for three of those. Sorry. We don't have question... Time for questions.
[01:31:55] Jonathan Hoyland: K. Yeah. Thank you, everybody.
[01:32:01] Muhammad Usama Sardar: Thank you, all. Bye.