{"id":536,"date":"2011-09-24T18:21:26","date_gmt":"2011-09-24T23:21:26","guid":{"rendered":"http:\/\/zitstif.no-ip.org\/?p=536"},"modified":"2011-09-25T12:17:38","modified_gmt":"2011-09-25T17:17:38","slug":"firefox-add-on-cocoon-its-strengths-and-weaknesses","status":"publish","type":"post","link":"http:\/\/zitstif.no-ip.org\/?p=536","title":{"rendered":"Firefox Add-On Cocoon &#8211; Its strengths and weaknesses"},"content":{"rendered":"<p>What is Cocoon? According to <a title=\"https:\/\/getcocoon.com\/support\/faq\" href=\"https:\/\/getcocoon.com\/support\/faq\" target=\"_blank\">https:\/\/getcocoon.com\/support\/faq<\/a>, it is:<\/p>\n<p>&#8220;<em>Cocoon is a service that protects your computer and your privacy when you are on the Internet. It&#8217;s a virus-free, secure, and private web experience. We shield your computer from the bad guys, and we protect your identity from prying eyes. It&#8217;s that simple.<\/em>&#8221;<\/p>\n<p>I would like to argue how &#8216;secure&#8217; Cocoon is, but year after year, I think most information security specialists would agree that most things aren&#8217;t necessarily 100% secure. Semantics aside, I am still relatively impressed with this Firefox add-on, which can be obtained <a title=\"https:\/\/getcocoon.com\/support\/download\" href=\"https:\/\/getcocoon.com\/support\/download\" target=\"_blank\">here<\/a>.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Strengths of Cocoon<\/span><\/strong>:<\/p>\n<p>Using tools like ettercap, sslstrip, webmitm, dnsspoof, and wireshark, I was not able to retrieve the login credentials that were used to sign on to Cocoon&#8217;s privacy service. The way they have implemented SSL with this plugin is probably one of the best SSL implementations I&#8217;ve seen in my humble opinion. (Although, it does use TLS version 1, which I think you should read about <a title=\"http:\/\/www.eweek.com\/c\/a\/Security\/Researchers-Claim-Attack-Tool-Can-Crack-Encrypted-Web-Traffic-222593\/\" href=\"http:\/\/www.eweek.com\/c\/a\/Security\/Researchers-Claim-Attack-Tool-Can-Crack-Encrypted-Web-Traffic-222593\/\" target=\"_blank\">here<\/a>.)<\/p>\n<p>Even using webmitm and creating a self signed certificate pretty identical to the one that *.vworldc.com used, I was not able to log in to the service and I received this error message:<\/p>\n<p><a href=\"http:\/\/zitstif.no-ip.org\/cocoon\/cocoon.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"http:\/\/zitstif.no-ip.org\/cocoon\/cocoon.jpeg\" src=\"http:\/\/zitstif.no-ip.org\/cocoon\/cocoon.jpeg\" alt=\"Cocoon Cert Error\" width=\"463\" height=\"193\" \/><\/a><\/p>\n<p>The implementation of SSL that the Cocoon developers have used is simply wonderful. For people who are on the road and have to bear using public wifi on a regular basis and don&#8217;t have access to a VPN server or using a socks5 proxy server via SSH, <strong>I believe that using <a title=\"https:\/\/www.eff.org\/https-everywhere\" href=\"https:\/\/www.eff.org\/https-everywhere\" target=\"_blank\">HTTPS Everywhere <\/a>and Cocoon in tandem would be a great defense against attackers who are on the same network.<\/strong><\/p>\n<p><strong><span style=\"text-decoration: underline;\">Weaknesses of Cocoon<\/span><\/strong>:<\/p>\n<p>Cocoon&#8217;s proxy service has an AV solution implemented. For instance, when you go to download an executable file when you&#8217;re using Cocoon, you will be prompted that the file has either passed the virus scan or hasn&#8217;t. In the case of if it has passed the scan, you are still given a warning about what kind of file it is. If the file has failed the AV scan, you won&#8217;t be able to download the file while using Cocoon.<\/p>\n<p>With that being said, I thought I would put Cocoon&#8217;s AV solution to the test. Firstly, I tried accessing a benign but universally known &#8216;virus&#8217; file that triggers all AV solutions:<\/p>\n<p>http:\/\/www.eicar.org\/download\/eicar.com<\/p>\n<p>Not so surprisingly, this file was flagged and I was warned. My next test was to try a meterpreter PE hosted on my own website, which I created using:<\/p>\n<p>msfpayload windows\/meterpreter\/reverse_tcp LHOST=127.0.0.1 LPORT=443 R | msfencode -t exe -e x86\/shikata_ga_nai -c 5 -o test.exe<\/p>\n<p>(prior to running this string, I ran msfupdate of course). To my surprise, this file passed the AV scan done by Cocoon&#8217;s AV services. My next test was done using <strong>no encoders and yet again this passed the AV scan provided by Cocoon! <\/strong><\/p>\n<p>I even tried sbd.exe which is in the \/pentest\/windows-binaries\/tools directory of BackTrack without modifying the file, yet it still passed Cocoon&#8217;s AV solution.<\/p>\n<p>With Linux and OSX payloads from the Metasploit project, they passed the AV solution as well, but I was still warned that they were executable. Other file types that can trigger Cocoon&#8217;s AV solution are zip and tar.gz files. Yet .rar files triggered no alerts or prompts.<\/p>\n<p>&#8220;<em>We shield your computer from the bad guys&#8221;, <\/em>pertaining to AV solutions, this is where Cocoon falls extremely short.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Network attacks against Cocoon<\/span><\/strong>:<\/p>\n<p>As of the moment, the only attack I could do against Cocoon was a DOS attack. I simply used dnsspoof or ettercap (and the dns_spoof plugin)\u00a0 and setup a hosts file with *.vworldc.com pointing to my IP address or a non-existing one.<\/p>\n<p>What this means is that someone who&#8217;s in the same network as me and if I know they use Cocoon, I could do a DOS attack against them so they cannot access Cocoon&#8217;s services and then they would be forced to access the web &#8216;naked&#8217;.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Offensive uses of Cocoon<\/span><\/strong>:<\/p>\n<p>One could use Cocoon for ex-filtrating data out of an organization to a foreign entity. For instance, if I&#8217;m agitated employee X at employer Y, I could install and use Cocoon to e-mail an attachment containing company private information to an out of jurisdiction web server.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Closing Words<\/span><\/strong>:<\/p>\n<p>For those of you who people come to for information security related solutions, I would highly recommend that you check this Firefox add-on. As of the moment, it is free and free to use their service. Weaknesses aside, I still believe that this is a great defensive tool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Cocoon? According to https:\/\/getcocoon.com\/support\/faq, it is: &#8220;Cocoon is a service that protects your computer and your privacy when you are on the Internet. It&#8217;s a virus-free, secure, and private web experience. We shield your computer from the bad guys, and we protect your identity from prying eyes. It&#8217;s that simple.&#8221; I would like &hellip; <a href=\"http:\/\/zitstif.no-ip.org\/?p=536\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Firefox Add-On Cocoon &#8211; Its strengths and weaknesses<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[377,465,484,485,483,482,471,469,470,468,301,467,466,474,479,472,473,475,342,476,478,477,481,480,286],"class_list":["post-536","post","type-post","status-publish","format-standard","hentry","category-posts","tag-backtrack-5","tag-cocoon","tag-denial-of-service","tag-dns_spoof","tag-dos","tag-dos-attack","tag-e-mail","tag-employee","tag-employer","tag-entity","tag-ettercap","tag-ex-filtration","tag-firefox","tag-insecure","tag-naked","tag-people","tag-public","tag-secure","tag-spoof","tag-ssl","tag-tls","tag-tlsv1","tag-vworldc","tag-vworldc-com","tag-wifi"],"_links":{"self":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=536"}],"version-history":[{"count":15,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/536\/revisions"}],"predecessor-version":[{"id":551,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/536\/revisions\/551"}],"wp:attachment":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}