{"id":295,"date":"2019-07-18T17:28:24","date_gmt":"2019-07-18T17:28:24","guid":{"rendered":"https:\/\/www.rapidsslonline.com\/ssl\/?p=295"},"modified":"2019-08-09T14:14:16","modified_gmt":"2019-08-09T14:14:16","slug":"what-is-ssl-stripping-attack","status":"publish","type":"post","link":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/","title":{"rendered":"What is an SSL Stripping Attack \u2014 Explained by SSL Experts"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">How cybercriminals strip use this form of Man-in-the-Middle attack and what you can do to stop them<\/h3>\n\n\n\n<p>SSL stripping attacks make sense on an intuitive level as\nsoon as you hear the name. But, on a technical level, most people have no idea\nwhat\u2019s actually happening or how it works.<\/p>\n\n\n\n<p>Granted, some people are completely happy to live their entire lives without finding an answer to that question. We call those people normal and well-adjusted. But, if you\u2019re reading this, that clearly isn\u2019t you. You&#8217;re like us  \u2014  your mind yearns to rent space to obscure facts and explanations. We appreciate that mentality.<\/p>\n\n\n\n<p>SSL stripping, as the name implies, is an attack that uses the SSLStrip tool or related techniques to strip away the protection provided by the SSL\/TLS protocol and HTTPS. It\u2019s a form of <a href=\"https:\/\/www.thesslstore.com\/blog\/man-in-the-middle-attack\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Man-in-the-Middle attack<\/a> (MitM) that takes advantage of the TLS protocol and the way it begins connections. To understand everything, we\u2019re going to need to start with HTTPS and MitM.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">HTTPS and the Man in the Middle<\/h2>\n\n\n\n<p>When the worldwide web was first conceived, it wasn\u2019t intended for commerce or vital services. It was a way for the government and academia to share information. This didn\u2019t require much security. <\/p>\n\n\n\n<p>When the internet was commercialized, security and privacy\nbecame key considerations in an \u201coh $#!%, we need to do something about this\u201d\nkind of way. The creation of the <a href=\"https:\/\/www.rapidsslonline.com\/ssl-questions\/what-is-ssl.aspx\">secure\nsockets layer<\/a> (SSL) protocol was the first attempt at an answer. It made\nconnections via a secure channel, port 443, and layered encryption over\nconnections at the application level. This was known as HTTP over SSL or HTTPS.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Move from SSL to TLS<\/h3>\n\n\n\n<p>But SSL was flawed and was quickly found to be vulnerable.\nSSL 3.0 was replaced with transport layer security (TLS) 1.0 in 1999. The key\ndifference was that TLS began connections with a hello via an insecure channel\nbefore being redirected to a secure one. Both use port 443 and encrypt HTTP\nconnections. But the genesis of those connections differed.<\/p>\n\n\n\n<p>And that\u2019s where SSL stripping comes in. But before we can\nget there, let\u2019s discuss the man in the middle.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Where Man in the Middle and SSL Stripping Intersect<\/h3>\n\n\n\n<p>When you connect to a website \u2014 or, really, any network on\nthe internet \u2014 your connection has to be routed through dozens of other points\non its way to its destination. It\u2019s not a 1:1 type of thing. If you\u2019re not\nusing encryption\/HTTPS, all the data you\u2019re transmitting over that connection\npasses through each one of those points in plaintext.<\/p>\n\n\n\n<p>That means anyone that is eavesdropping at one of those\npoints \u2014 which aren\u2019t all secure \u2014 can effectively intercept, read, and even\nmanipulate everything being communicated. The answer to this has historically\nbeen to encrypt the connection so even if someone is eavesdropping the data is\nin ciphertext and unreadable to the attacker.<\/p>\n\n\n\n<p>What does all of this have to do with SSL stripping, you may\nwonder? SSL stripping is a workaround for that encryption.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is SSL Stripping?<\/h2>\n\n\n\n<p>Ok, remember we just discussed how TLS begins with an\ninsecure hello (just like my dating life) before it\u2019s redirected to a secure\nchannel. If a Man-in-the-Middle attacker can redirect the client to an HTTP\nversion of the website, it can steal information and manipulate the connection.\n<\/p>\n\n\n\n<p>There are several ways this can be done. The easiest is probably to set up a spoof Wi-Fi network in a public setting and attack the people who long onto it. You can also compromise a point somewhere in the middle of the connection. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"733\" height=\"427\" data-src=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png\" alt=\"Graphic: Breaking down an SSL stripping attack\" class=\"wp-image-297 lazyload\" data-srcset=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png 733w, https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack-300x175.png 300w\" data-sizes=\"(max-width: 733px) 100vw, 733px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 733px; --smush-placeholder-aspect-ratio: 733\/427;\" \/><\/figure>\n\n\n\n<p>Because that initial hello and HTTP redirection request is\nunencrypted, a MITM can alter it and send the user to an insecure version of\nthe page. Keep in mind, however, that when you install SSL, you\u2019re essentially\ncreating a duplicate of your website with HTTPS URLs. Those original HTTP URLs\nstill exist, though. Usually, you use 301 or 302 redirects to ensure users\ncan\u2019t reach the HTTP site, but if an attacker can manipulate the redirect, they\ncan still send the user to that page.<\/p>\n\n\n\n<p>Now the user is still on your site, interacting as they\nnormally would, but every bit of data they transmit is in plaintext.<\/p>\n\n\n\n<p>In an SSL stripping attack, the attacker acts as a bridge.\nIt\u2019s making an HTTPS connection with the server and an HTTP connection with the\nclient. That makes the connection appear secure \u2014 almost as if you were using a\nVPN, but the attacker is stealing data. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Can You Prevent SSL Stripping?<\/h2>\n\n\n\n<p>There are two main tactics that can be used to avoid SSL\nstripping attacks. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Only use the latest TLS protocol versions; and\/or<\/li><li>Add your website to the HSTS Preload List.<\/li><\/ul>\n\n\n\n<p>The Internet Engineering Task Force (IETF) and the creators\nof TLS have worked hard to shore up this problem. TLS 1.2 and, even more, <a href=\"https:\/\/www.rapidsslonline.com\/blog\/introducing-tls-1-3-future-encryption\/\">TLS\n1.3<\/a> have been designed to be resistant to these kinds of attacks. They\nencrypt more of the handshake \u2014 the portion where the connection is redirected.\n<\/p>\n\n\n\n<p>Already, SSL 2.0 and 3.0 have been fully deprecated, and the\nmajor tech companies have announced plans to full deprecate TLS 1.0 and TLS 1.1\nby January 2020. This is for good reason \u2014 TLS 1.2, and even more so TLS 1.3,\nis superior.<\/p>\n\n\n\n<p>The other thing you can do is add your website to the HTTP\nStrict Transport Security <a href=\"https:\/\/www.rapidsslonline.com\/blog\/what-is-hsts-why-should-i-use-it\/\">(HSTS)\npreload list<\/a>. You should already be using HSTS, which is an HTTP header\nthat forces a client to make a secure connection to the website. If the client\ncan\u2019t reach an HTTPS version of the site, it just doesn\u2019t connect.<\/p>\n\n\n\n<p>But, the HSTS header needs to be downloaded first, so the\nvery first time a client arrives at your website there\u2019s a small attack vector\nfor an attacker to SSL strip. The HSTS preload list closes this window. Once\nyour site is included, any client will know to only make secure connections \u2014\neven if they\u2019ve never visited the site.<\/p>\n\n\n\n<p>Updated versions of the list are pushed out alongside browser updates. All major browsers recognize the HSTS preload list.<\/p>\n\n\n\n<div class=\"graysection\"><h2>Save Up to 82% on DV SSL Certificates<\/h2>\n<p>Protect a website in a few minutes with DV SSL or Domain Validated SSL Certificate.<\/p>\n<p><a class=\"more-link floatnone\" style=\"text-decoration: none;\" href=\"https:\/\/www.rapidsslonline.com\/ssl-types\/domain-validation-ssl-certificates.aspx\">Get a DV SSL certificate, starting at $12.42\/year<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How cybercriminals strip use this form of Man-in-the-Middle attack and what you can do to stop them SSL stripping attacks make sense on an intuitive level as soon as you<\/p>\n<div class=\"article-wpr-button\"><a href=\"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/\" class=\"btn btn-green\">Read More<\/a><\/p>\n<div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[16,15,14],"class_list":{"0":"post-295","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-ssl-advanced","7":"tag-cyberattacks","8":"tag-mitm","9":"tag-ssl-stripping"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is an SSL Stripping Attack \u2014 Explained by SSL Experts<\/title>\n<meta name=\"description\" content=\"How cybercriminals strip use SSL stripping (a form of Man-in-the-Middle attack) to redirects clients to insecure sites, and what you can do to stop them.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is an SSL Stripping Attack \u2014 Explained by SSL Experts\" \/>\n<meta property=\"og:description\" content=\"How cybercriminals strip use SSL stripping (a form of Man-in-the-Middle attack) to redirects clients to insecure sites, and what you can do to stop them.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/\" \/>\n<meta property=\"og:site_name\" content=\"SSL\/TLS Certificates\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rsosslcertificates\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-18T17:28:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-09T14:14:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png\" \/>\n<meta name=\"author\" content=\"Casey Crane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@RSOSSL\" \/>\n<meta name=\"twitter:site\" content=\"@RSOSSL\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Casey Crane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is an SSL Stripping Attack \u2014 Explained by SSL Experts","description":"How cybercriminals strip use SSL stripping (a form of Man-in-the-Middle attack) to redirects clients to insecure sites, and what you can do to stop them.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/","og_locale":"en_US","og_type":"article","og_title":"What is an SSL Stripping Attack \u2014 Explained by SSL Experts","og_description":"How cybercriminals strip use SSL stripping (a form of Man-in-the-Middle attack) to redirects clients to insecure sites, and what you can do to stop them.","og_url":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/","og_site_name":"SSL\/TLS Certificates","article_publisher":"https:\/\/www.facebook.com\/rsosslcertificates\/","article_published_time":"2019-07-18T17:28:24+00:00","article_modified_time":"2019-08-09T14:14:16+00:00","og_image":[{"url":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png","type":"","width":"","height":""}],"author":"Casey Crane","twitter_card":"summary_large_image","twitter_creator":"@RSOSSL","twitter_site":"@RSOSSL","twitter_misc":{"Written by":"Casey Crane","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/#article","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/"},"author":{"name":"Casey Crane","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/person\/24349032d0b90283d4682ad113e46d4d"},"headline":"What is an SSL Stripping Attack \u2014 Explained by SSL Experts","datePublished":"2019-07-18T17:28:24+00:00","dateModified":"2019-08-09T14:14:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/"},"wordCount":1059,"commentCount":0,"publisher":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png","keywords":["Cyberattacks","MITM","SSL Stripping"],"articleSection":["SSL Advanced"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/","url":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/","name":"What is an SSL Stripping Attack \u2014 Explained by SSL Experts","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/#primaryimage"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png","datePublished":"2019-07-18T17:28:24+00:00","dateModified":"2019-08-09T14:14:16+00:00","description":"How cybercriminals strip use SSL stripping (a form of Man-in-the-Middle attack) to redirects clients to insecure sites, and what you can do to stop them.","breadcrumb":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/#primaryimage","url":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png","contentUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/07\/ssl-stripping-attack.png","width":733,"height":427},{"@type":"BreadcrumbList","@id":"https:\/\/www.rapidsslonline.com\/ssl\/what-is-ssl-stripping-attack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"SSL Resources","item":"https:\/\/www.rapidsslonline.com\/ssl\/"},{"@type":"ListItem","position":2,"name":"SSL Advanced","item":"https:\/\/www.rapidsslonline.com\/ssl\/ssl-advanced\/"},{"@type":"ListItem","position":3,"name":"What is an SSL Stripping Attack \u2014 Explained by SSL Experts"}]},{"@type":"WebSite","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#website","url":"https:\/\/www.rapidsslonline.com\/ssl\/","name":"SSL\/TLS Certificates","description":"Secure a website in few minutes with Trusted SSL Certificate","publisher":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rapidsslonline.com\/ssl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization","name":"RapidSSLOnline","url":"https:\/\/www.rapidsslonline.com\/ssl\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/logo\/image\/","url":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/10\/rapidsslonline-logo.png","contentUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/10\/rapidsslonline-logo.png","width":266,"height":39,"caption":"RapidSSLOnline"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/rsosslcertificates\/","https:\/\/x.com\/RSOSSL","https:\/\/in.linkedin.com\/company\/rapidsslonline-com"]},{"@type":"Person","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/person\/24349032d0b90283d4682ad113e46d4d","name":"Casey Crane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","caption":"Casey Crane"}}]}},"_links":{"self":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts\/295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":0,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts\/295\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/media?parent=295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/categories?post=295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/tags?post=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}