{"id":7331,"date":"2018-09-07T14:59:42","date_gmt":"2018-09-07T18:59:42","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=7331"},"modified":"2018-09-13T06:03:00","modified_gmt":"2018-09-13T10:03:00","slug":"german-researchers-circumvent-domain-validation","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/german-researchers-circumvent-domain-validation\/","title":{"rendered":"German researchers find a way to circumvent Domain Validation"},"content":{"rendered":"<h2>The attack uses DNS poisoning to trick CAs into issuing fraudulent certificates<\/h2>\n<p>Researchers in Germany have found a way to trick Certificate Authorities into issuing fraudulent SSL certificates in what could represent a major threat to the SSL\/TLS ecosystem.<\/p>\n<p>Per a <a href=\"https:\/\/www.theregister.co.uk\/2018\/09\/06\/certificate_authority_dns_validation\/\" target=\"_blank\" rel=\"noopener\">report by The Register<\/a>, which spoke to one of the researchers, Dr. Haya Shulman of the Fraunhofer Institute for Secure Information Technology, the attack can essentially trick some CAs into incorrectly issuing SSL certificates. Obviously, the threat here is that spoofers could get an SSL certificate for someone else\u2019s domain and use it to create a frighteningly convincing copy of that website. So convincing, in fact, that even a user\u2019s web browser would be tricked by it. <span id=\"newline\"><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-6835\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/07\/bigstock-181472455-300x300.jpg\" alt=\"London Protocol\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/07\/bigstock-181472455-300x300.jpg 300w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/07\/bigstock-181472455-768x768.jpg 768w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/07\/bigstock-181472455-1024x1024.jpg 1024w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/07\/bigstock-181472455.jpg 1600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>The attacker could then phish people, infect them with malware or just steal their credentials. Shulman and her team have published their findings in a report that will be presented at the ACM Conference on Computer and Communications Security in Toronto next month. They have not divulged the names of the CAs that can be duped by the attack.<\/p>\n<p>I asked around a little bit this morning and while I can now rule a few CAs out, I couldn\u2019t find out who is affected.<\/p>\n<p>The Register, which has seen the researcher paper, published the following excerpt:<\/p>\n<blockquote><p>The attack exploits DNS cache poisoning and tricks the CA into issuing fraudulent certificates for domains the attacker does not legitimately own \u2013 namely certificates binding the attacker&#8217;s public key to a victim domain.<\/p><\/blockquote>\n<p>The attack is initiated by a DNS request. The attacker must then craft a correct DNS response before the actual response from the real name-server gets there. The technique actually ensures that the DNS domain validation checks the CA is attempting are performed, but using the attacker\u2019s DNS server instead of the one associated with the targeted domain.<\/p>\n<blockquote><p>The attack depends on getting said DNS responses broken into fragments, and then injecting malicious fragments to fool the CA into handing over the cert to the attacker. The first fragments of the response contain valid DNS challenge-response fields. The inserted fragments can be whatever the miscreant needs to complete the transaction so that he or she gets the cert.<\/p><\/blockquote>\n<p>It\u2019s worth noting that this technique only works on Domain Validation SSL certificates (not OV or EV) and requires some fairly extensive legwork before it would be viable. It may only take a laptop, but an amateur would struggle to gather the correct information \u2013 namely responses from the target\u2019s name-server that can then be \u201coffset where the fragmentation occurs.\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-7235\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-211041268-1-300x300.jpg\" alt=\"The difference between Encryption, Hashing and Salting\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-211041268-1-300x300.jpg 300w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-211041268-1-768x768.jpg 768w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-211041268-1-1024x1024.jpg 1024w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-211041268-1.jpg 1600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>The researchers suggest something called DV++ as a fix. This is an offshoot of a distributed trust concept that a lot of researchers and infosec experts have begun to examine lately.<\/p>\n<p>In a distributed trust scenario, the functions typically performed by a central \u201cmonolithic\u201d Certificate Authority are instead decentralized, which is a really popular term right now thanks to all the cryptocurrency and blockchain marketing bros that have co-opted it.<\/p>\n<p>Basically it would work like this, rather than a single entity performing domain validation, the domain owner would have to assert ownership to multiple stakeholders.<\/p>\n<blockquote><p>&#8220;To pass a DV++ validation, domain owners must prove their ownership to a majority of the agents in a fully automated manner by responding to queries sent by the agents for the resource records in the domain.&#8221;<\/p><\/blockquote>\n<p>In some versions of the distributed trust model, like Milagro&#8217;s, the authentication check performed when a client arrives at a website would be met by three or more Trust Authorities, all of whom would have pieces of a public key. The user\u2019s browser would then assemble the key pieces into a single key. This would potentially protect against Root Compromise.<\/p>\n<p>What a distributed trust model would represent is a step away from the Public Key Infrastructure model that is currently used by SSL\/TLS and similar cryptosystems. That\u2019s an interesting discussion, and it kind of dovetails with <a href=\"https:\/\/www.thesslstore.com\/blog\/googles-plan-to-kill-the-url-is-a-golden-opportunity-for-certificate-authorities\/\" target=\"_blank\" rel=\"noopener\">Google\u2019s recently announced plans to deprecate the URL<\/a>.<\/p>\n<p>We\u2019ll update you when the research is presented next month.<\/p>\n<p><em>As always, feel free to leave any comments or questions below!<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7276\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-222348568.jpg\" alt=\"Hashed Out by The SSL Store is the voice of record in the SSL\/TLS industry.\" width=\"1559\" height=\"407\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-222348568.jpg 1559w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-222348568-300x78.jpg 300w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-222348568-768x200.jpg 768w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-222348568-1024x267.jpg 1024w\" sizes=\"auto, (max-width: 1559px) 100vw, 1559px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The attack uses DNS poisoning to trick CAs into issuing fraudulent certificates Researchers in Germany have found a way to trick Certificate Authorities into issuing fraudulent SSL certificates in what&#8230;<\/p>\n","protected":false},"author":6,"featured_media":7332,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[130],"tags":[8180],"class_list":["post-7331","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-everything-encryption","tag-domain-validation","post-with-tags"],"views":12026,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/09\/bigstock-223372084.jpg","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/7331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=7331"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/7331\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/7332"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=7331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=7331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=7331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}