1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Business or Entrepreneurial questions? BizWarriors is completely FREE - paid for by advertisers and donations. Click here to join today! You can now use your Facebook or Twitter account to regsiter or login. If you're new to the BizWarriors Forum, we highly recommend that you visit our Guide for New Members.

Alert Chrome and Firefox Phishing Attack Uses Domains Identical to Known Safe Sites

Discussion in 'Forum Tech Support, Feedback, and Suggestions' started by djbaxter, Apr 18, 2017.

Share This Page

  1. djbaxter

    djbaxter Administrator Moderator Member

    862
    332
    63
    Chrome and Firefox Phishing Attack Uses Domains Identical to Known Safe Sites
    by Mark Maunder,Wordfence.com
    April 14, 2017

    This is a Wordfence public service security announcement for all users of Chrome and Firefox web browsers:

    There is a phishing attack that is receiving much attention today in the security community.

    As a reminder: A phishing attack is when an attacker sends you an email that contains a link to a malicious website. You click on the link because it appears to be trusted. Merely visiting the website may infect your computer or you may be tricked into signing into the malicious site with credentials from a site you trust. The attacker then has access to your username, password and any other sensitive information they can trick you into providing.

    This variant of a phishing attack uses unicode to register domains that look identical to real domains. These fake domains can be used in phishing attacks to fool users into signing into a fake website, thereby handing over their login credentials to an attacker.

    This affects the current version of Chrome browser, which is version 57.0.2987 and the current version of Firefox, which is version 52.0.2. This does not affect Internet Explorer or Safari browsers.

    We created our own example to demonstrate how an attacker can register their own domain that looks identical to another company’s domain in the browser. We decided to imitate a healthcare site called ‘epic.com’ by registering our own fake site. You can visit our demo site here in Chrome or Firefox. For comparison you can click here to visit the real epic.com.

    Here is what the real epic.com looks like in Chrome:

    [​IMG]

    Here is our fake epic.com in Chrome:

    [​IMG]

    And the real epic.com in Firefox:

    [​IMG]

    And here is our fake epic.com in Firefox:

    [​IMG]

    As you can see both of these domains appear identical in the browser but they are completely different websites. One of them was registered by us, today. Our epic.com domain is actually the domain https://xn--e1awd7f.com/ but it appears in Chrome and Firefox as epic.com.

    The real epic.com is a healthcare website. Using our unicode domain, we could clone the real epic.com website, then start emailing people and try to get them to sign into our fake healthcare website which would hand over their login credentials to us. We may then have full access to their healthcare records or other sensitive data.

    We even managed to get an SSL certificate for our demonstration attack domain from LetsEncrypt. Getting the SSL certificate took us 5 minutes and it was free. By doing this we received the word ‘Secure’ next to our domain in Chrome and the little green lock symbol in Firefox.

    How is this possible?
    The xn-- prefix is what is known as an ‘ASCII compatible encoding’ prefix. It lets the browser know that the domain uses ‘punycode’ encoding to represent Unicode characters. In non-techie speak, this means that if you have a domain name with Chinese or other international characters, you can register a domain name with normal A-Z characters that can allow a browser to represent that domain as international characters in the location bar.

    What we have done above is used ‘e’ ‘p’ ‘i’ and ‘c’ unicode characters that look identical to the real characters but are different unicode characters. In the current version of Chrome, as long as all characters are unicode, it will show the domain in its internationalized form.

    How to fix this in Firefox:
    In your firefox location bar, type ‘about:config’ without quotes.

    Do a search for ‘punycode’ without quotes.

    You should see a parameter titled: network.IDN_show_punycode

    Change the value from false to true.

    Now if you try to visit our demonstration site you should see:

    [​IMG]

    Can I fix this if I use Chrome?
    Currently we are not aware of a manual fix in Chrome for this. Chrome have already released a fix in their ‘Canary’ release, which is their test release. This should be released to the general public within the next few days.

    Until then, if you are unsure if you are on a real site and are about to enter sensitive information, you can copy the URL in the location bar and paste it into Notepad or TextEdit on Mac. It should appear as the https://xn--….. version if it is a fake domain. Otherwise it will appear as the real domain in its unencoded form if it is the real thing.

    Spread the word
    We would like to encourage you to spread the word. This new twist on phishing is getting a lot of attention today, Friday April 14th and is making the rounds currently in the security community... We think here is a high possibility that this may be exploited in phishing attacks before the Chrome fix is released to the general public, which is why we are posting this public service announcement.
     
    azgold likes this.
  2. azgold

    azgold Moderator MVP Member

    868
    345
    63
    Crap, my FF is version 52.0.2! Updating as we speak.

    I hadn't read about this, thanks for posting it, DJ!

    As far as IE being unaffected, that's because nobody uses it anymore. :D
     
  3. djbaxter

    djbaxter Administrator Moderator Member

    862
    332
    63
    The fix for Firefox is easy but you will still need to apply the fix after the upgrade - the default is still false and it needs to be set to true.

    How to fix this in Firefox:
    1. In your firefox location bar, type ‘about:config’ without quotes.
    2. Do a search for ‘punycode’ without quotes.
    3. You should see a parameter titled: network.IDN_show_punycode
    4. Change the value from false to true (you can just double click on the entry to toggle)
     
  4. djbaxter

    djbaxter Administrator Moderator Member

    862
    332
    63
    Good news for Chrome users.

    I just updated to the latest version of Chrome, Version 58.0.3029.81. It now correctly displays the demonstration link as This is a demonstration website, not Epic, and shows this content:

     

Share This Page