{"id":8329,"date":"2019-01-23T16:00:04","date_gmt":"2019-01-23T21:00:04","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=8329"},"modified":"2019-01-23T16:01:04","modified_gmt":"2019-01-23T21:01:04","slug":"us-dhs-issues-emergency-directive-warning-about-rogue-certificates","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/us-dhs-issues-emergency-directive-warning-about-rogue-certificates\/","title":{"rendered":"US DHS issues Emergency Directive warning about Rogue Certificates"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u201cBecause the attacker can set DNS record values, they can also obtain valid\nencryption certificates for an organization\u2019s domain names\u2026\u201d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The US Department of Homeland Security (DHS)<a href=\"https:\/\/cyber.dhs.gov\/ed\/19-01\/\"> issued an emergency directive on Tuesday<\/a> ordering all federal agencies to \u201caudit public DNS records on all authoritative and secondary DNS servers to verify they resolve to the intended location.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s because attackers have been launching DNS hijacking attacks that could help them get SSL\/TLS certificates issued for government domains. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Obviously, that would be disastrous.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So today we\u2019re going to talk about Iranian hackers, DNS\nhijacking and rogue certificates.<\/p>\n\n\n\n<p>Let\u2019s hash it out\u2026<\/p><span id=\"newline\"><\/span>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DHS-300x300.png\" alt=\"Department of Homeland Security logo\" class=\"wp-image-8334\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DHS-300x300.png 300w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DHS-768x766.png 768w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DHS-1024x1021.png 1024w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DHS.png 2000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">An Emergency Directive from the DHS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The US Department of Homeland Security is authorized to\nissue emergency directives \u201cin response to a known or reasonably suspected\ninformation security threat, vulnerability, or incident that represents a\nsubstantial threat to the information security of an agency.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It rarely does so, but yesterday it deemed it necessary and issued <a href=\"https:\/\/cyber.dhs.gov\/ed\/19-01\/\">Emergency Directive 19-01.<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>In coordination with government and industry partners, the Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security Agency (CISA) is tracking a series of incidents<sup><a href=\"https:\/\/cyber.dhs.gov\/ed\/19-01\/#fn:1\">1<\/a><\/sup> involving Domain Name System (DNS) infrastructure tampering. CISA is aware of multiple executive branch agency domains that were impacted by the tampering campaign and has notified the agencies that maintain them.<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Attackers are rewriting DNS records to point them towards address under their own control, which gives them the ability to <a href=\"https:\/\/www.thesslstore.com\/blog\/man-in-the-middle-attack-2\/\">MITM<\/a> connections and even get SSL\/TLS certificates issued for compromised domains. When this happens, and an attacker gets their hands on a legitimate certificate, it\u2019s called a<a href=\"https:\/\/www.thesslstore.com\/blog\/what-is-a-rogue-certificate\/\"> rogue certificate<\/a> and it can spell disaster. That gives the attacker the ability to impersonate the site, decrypt its traffic, whatever they want.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add in the fact that these are federal websites and the risk increases exponentially. Researchers at FireEye <a href=\"https:\/\/www.fireeye.com\/blog\/threat-research\/2019\/01\/global-dns-hijacking-campaign-dns-record-manipulation-at-scale.html\">have determined with a moderate degree of certainty<\/a> that the hijacking attacks are emanating from Iran. They\u2019ve been occurring in clusters since 2017.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order to stave off any rogue certificates and protect DNS records, the DHS is mandating four actions be taken over the next ten days:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Audit DNS Records<\/strong> \u2013 \u201cAudit public DNS records on all authoritative and secondary DNS servers to verify they resolve to the intended location.\u201d<\/li><li><strong>Change DNS Account Passwords<\/strong> \u2013 \u201cUpdate the passwords for all accounts on systems that can make changes to your agency\u2019s DNS records.\u201d<\/li><li><strong>Add Multi-Factor Authentication to DNS accounts<\/strong> \u2013 \u201cImplement multi-factor authentication (MFA) for all accounts on systems that can make changes to your agency\u2019s DNS records.\u201d<\/li><li><strong>Monitor Certificate Transparency Logs<\/strong> \u2013 \u201cAgencies shall immediately begin monitoring CT log data for certificates issued that they did not request.\u201d<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If the agencies run into any problems they\u2019re supposed to\ncontact the DHS\u2019s Cybersecurity and Infrastructure Security Agency (CISA). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Per the release, CISA will:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Provide technical assistance to agencies that report anomalous DNS records.<\/li><li>Review submissions from agencies that cannot implement MFA on DNS accounts within the timeline and contact agencies, as needed.<\/li><li>Provide regular delivery of newly added certificates to CT logs for agency domains via the Cyber Hygiene service.<\/li><li>Provide additional guidance to agencies through an Emergency Directive coordination call following the issuance of this directive, as well as through individual engagements upon request (through CyberLiaison).<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"250\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/thumbnail_CISA.jpg\" alt=\"The government shutdown is catastrophic for US cybersecurity\" class=\"wp-image-8255\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Wait, isn\u2019t CISA Furloughed because of the Shutdown?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, <a href=\"https:\/\/www.thesslstore.com\/blog\/the-government-shutdown-is-catastrophic-for-us-cybersecurity\/\">as of last week CISA had about 45% of its workforce furloughed<\/a>, with only \u201cessential\u201d functions covered. Additionally, 45% of the DHS\u2019 operations team, which includes the Office of Intelligence and the Office of Operations Coordination, is furloughed as well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RELATED<\/strong>: <em><a href=\"https:\/\/www.thesslstore.com\/blog\/more-websites-breaking-as-certificates-expire-during-government-shutdown\/\">Apparently certificate management isn&#8217;t an &#8220;essential function.&#8221;<\/a><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s possible that more of CISA\u2019s personnel has been called\nback to work (unpaid), but I haven\u2019t seen anything official. If I do I\u2019ll\nupdate this post. Otherwise, assume that DHS and CISA are both currently a\nlittle understaffed.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"240\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/bigstock-Capitol-Building-Retro-Ad-Ar-17988470-300x240.jpg\" alt=\"The government shutdown is catastrophic for US cybersecurity\" class=\"wp-image-8257\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/bigstock-Capitol-Building-Retro-Ad-Ar-17988470-300x240.jpg 300w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/bigstock-Capitol-Building-Retro-Ad-Ar-17988470-768x614.jpg 768w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/bigstock-Capitol-Building-Retro-Ad-Ar-17988470.jpg 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Do these attackers feel emboldened because of the shutdown?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Maybe a little bit, but these attacks would still be occurring even if the US government was not currently shut down. These kinds of attacks between nation states are <a href=\"https:\/\/www.thesslstore.com\/blog\/public-facing-government-websites-need-ev\/\">beginning to occur with startling frequency<\/a>. <a href=\"https:\/\/www.thesslstore.com\/blog\/bungled-man-in-the-middle-attack-ends-up-getting-7-russians-indicted\/\">Russia<\/a>, <a href=\"https:\/\/www.thesslstore.com\/blog\/chinese-malware-compromised-digital-certificate\/\">China<\/a> and <a href=\"https:\/\/thehill.com\/policy\/cybersecurity\/407670-us-to-launch-offensive-attacks-against-foreign-adversaries-under-new\">the US<\/a> are all engaged in varying degrees of cyber espionage and reconnaissance. And more and more countries are beginning to adopt a more aggressive, offensive-minded approach \u2013 <a href=\"https:\/\/www.theregister.co.uk\/2019\/01\/22\/france_cyber_war\/\">as France announced yesterday<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But, make no mistake about it, if ever there were a time to try to hit the US government with a cyber-attack \u2013 <a href=\"https:\/\/www.thesslstore.com\/blog\/the-government-shutdown-is-catastrophic-for-us-cybersecurity\/\">it\u2019s right now<\/a>. And if FireEye is right, and it is Iran, there is no lack of potential enmity there as a result of the US\u2019 withdrawal from the nuclear treaty and its subsequent economic sanctions. This is not a commentary on the wisdom of either of those decisions, just a simple statement of fact. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is DNS hijacking and why is it dangerous?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DNS hijacking is what occurs when you manipulate a server\u2019s DNS records to resolve to an address of your choosing. In order to execute this attack, you need to have credentials for, or some other means of accessing a user account with permissions to edit DNS records. So there\u2019s likely another component of this campaign that hasn\u2019t been ferreted out yet, and it likely involves <a href=\"https:\/\/www.thesslstore.com\/blog\/https-phishing-green-padlock\/\">some form of phishing<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"421\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DNS-Hijacking.png\" alt=\"\" class=\"wp-image-8332\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DNS-Hijacking.png 572w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/DNS-Hijacking-300x221.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Once the attacker has access to an account that can change DNS records, they begin to alter address records, mail exchanger records or name server records and replace the original addresses with addresses under the attacker\u2019s control.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>This enables [the attacker] to direct user traffic to their own infrastructure for manipulation or inspection before passing it on to the legitimate service, should they choose. This creates a risk that persists beyond the period of traffic redirection.<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Finally \u2013 and this is the part that\u2019s most germane to our\narea of focus \u2013 being able to control DNS records on a given server gives the\nattacker the ability to request, and have issued, legitimate SSL\/TLS\ncertificates for any website residing on said server. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>This allows the redirected traffic to be decrypted, exposing any user-submitted data. Since the certificate is valid for the domain, end users receive no error warnings.<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">This is the same thing we saw last year when a <a href=\"https:\/\/www.thesslstore.com\/blog\/german-researchers-circumvent-domain-validation\/\">DNS\ncache poisoning technique<\/a> was discovered that allowed attackers to obtain\nlegitimate certificates for sites they didn\u2019t control. When this happens it\u2019s\ncalled a rogue certificate<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How dangerous are rogue certificates?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If there is a nuclear-level emergency in the SSL\/TLS world, it would be rogue certificates. We\u2019ve actually gone <a href=\"https:\/\/www.thesslstore.com\/blog\/what-is-a-rogue-certificate\/\">in-depth on Rogue Certificates<\/a> in the past, but here\u2019s the gyst of it:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Rogue certificates allow attackers to create illegitimate sites that are indistinguishable from real sites like eBay, Google or PNC because their certificate hierarchy can be validated. Users then will be redirected to such sites through phishing or \u201dman in the middle\u201d attacks where a compromised host in-between the user and a legitimate site sends traffic to an illegitimate site instead.<\/p><cite><a href=\"https:\/\/www.thesslstore.com\/blog\/what-is-a-rogue-certificate\/\">Eric Vandenburg, VP of TCDI (Technology Concepts &amp; Design, Inc.)<\/a><\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rogue certificates are rare, but still more common than they should be. In the past, rogue certificates have gotten CAs shut down, perhaps unironically it was actually Iran that helped to put an end to the Dutch CA DigiNotar in 2011 after it managed to compromise DigiNotar\u2019s private key with an SQL injection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The best ways to defend against rogue certificates are:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Monitoring CT logs, which is exactly what the DHS is instructing other federal agencies to do.<\/li><li>Add a CAA Record. That prevents unauthorized CAs from issuing for your domain.<\/li><li>Run regular scans on certificate revocation lists and OCSP logs.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Hopefully this shutdown ends soon and the US National Cyber Security apparatus can return to full strength. In the meantime other countries are going to keep probing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>As always, leave any comments or questions below\u2026<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"267\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-222348568-1024x267.jpg\" alt=\"Hashed Out by The SSL Store is the voice of record in the SSL\/TLS industry.\" class=\"wp-image-7276\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-222348568-1024x267.jpg 1024w, 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.jpg 1559w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u201cBecause the attacker can set DNS record values, they can also obtain valid encryption certificates for an organization\u2019s domain names\u2026\u201d The US Department of Homeland Security (DHS) issued an emergency&#8230;<\/p>\n","protected":false},"author":6,"featured_media":8331,"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":[16],"tags":[8586,9766,3367],"class_list":["post-8329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hashing-out-cyber-security","tag-rogue-certificates","tag-shutdown","tag-us-government","post-with-tags"],"views":12697,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2019\/01\/bigstock-Security-Network-Concept-274313497.jpg","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/8329","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=8329"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/8329\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/8331"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=8329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=8329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=8329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}