credit card phishing - piles of credit cards with a fish hook on

Microsoft reports open redirection phishing tactics

Tim Reed

Tim Reed

Last week, the Microsoft Defender Threat Intelligence Team published details of a widespread phishing campaign using some very uncommon tactics. The attack used open redirect links, which redirected users to several pages, including a captcha page, before attempting to compromise the users’ credentials through multiple input forms.

Redirects are commonly seen in legitimate emails and phishing campaigns, which can make them more difficult to detect. Sales and marketing emails often use these links to direct users through a tracking link before redirecting them to the desired location.

Legitimate websites that allow open redirects are commonly used in a phishing campaign to trick users into trusting the link, as it is usually a popular and trusted domain. The following URL shows a common, yet insecure, use of a redirect parameter:

https://www.example.com/login.html?redirect=http%3A%2F%2Fevilsite.com

In this example, the redirect parameter is used to control the end destination of the user’s browser when they automatically follow the redirect.

Users trained to confirm the legitimacy of links by hovering over them may fail to notice parameters that the attacker has manipulated to redirect the user to a malicious website. Even the most astute user would likely fail to identify a malicious redirection if obfuscation tactics were used. Microsoft notes in its report that some traditional email gateway solutions may fail to recognise these links too.

Phishing has always represented a significant threat to businesses and individuals. However, since the emergence of COVID-19, these campaigns have increased. Microsoft reported in March 2020 that 91% of all cyber attacks originate using email.

This phishing campaign was notable for the wide variety of domains that were used. These include:

  • Compromised legitimate domains
  • Free email domains from numerous country-code Top-Level Domains (ccTLDs)
  • Attacker-owned Domain Generated Algorithm (DGA) domains

Microsoft reported that so far it has observed at least 350 unique phishing domains used.

The reported attacks followed a general pattern that displayed a box with a large button for the user to click. The emails impersonated many products with the subject lines varying accordingly. The focus seems to have been on impersonating Office 365 and Zoom. In the case of Office 365, a sample message included text that an email had been blocked and invited the user to review the blocked email.

Redirect links in these emails were used so that by hovering over the link it would appear at first glance to originate from a trusted domain. Microsoft revealed that the final domains that users were redirected to were most often a DGA and tended to use .xyz and .club TLDs.

Microsoft provided an example of the open redirect format used by one of these emails:

Clicking on this link would redirect the user to the attacker-controlled domain i.e., c-hi.xyz. 

When this page was loaded, the user would be presented with a Google reCAPTCHA prompt hosted on the attacker’s domain. Microsoft believes that this was likely used to evade page scanning, which would have prevented some phishing analysis systems from detecting the page as a phishing threat.

Users would then be taken to a page that impersonated a legitimate service such as Office 365 or Zoom and asked to submit credentials. The site used the recipients’ email, supplied as a Base64 encoded value in the URL, to be decoded and used to fill in the email address of the user. This technique is often used to increase trust. Microsoft reported that in some instances, the phishing pages also included the company’s logo and branding.

If a user entered their credentials on this page, some sites would return an error stating that the user’s password was incorrect and ask them to re-enter it. Microsoft believes that the attackers used this technique to ensure that the credentials captured were correct.

Microsoft has provided details on the infrastructure used, which was highly varied and even spanned compromised legitimate domains. Nevertheless, many of the malicious domains which hosted the phishing pages followed a specific regex pattern:

@"^[a-zA-Z]\-[a-zA-Z]{2}\.(xyz|club|shop|online)"

Following the announcement by Microsoft, anti-phishing technologies should implement more effective detections for the phishing emails described by Microsoft, such as the use of open redirection and regex matches for the malicious domain patterns.

These types of advanced phishing attacks are incredibly difficult to spot, so make sure your organisation uses multiple defences against these attacks, such as those described in our blog How to maintain security when employees work remotely.

Sentrium can assist with your security needs, view our penetration testing services for more details or contact us today.

Resources

  1. Automated vs manual penetration testing

    Automated vs manual penetration testing – which is best?

    Today’s online world is a little like a virtual battlefield, rife with threats and vulnerabilities. So, having a strong cybersecurity posture for your business is crucial. Penetration testing – either automated or manual – is an essential tool to protect sensitive data and systems from hackers. These two methods aim to make defences stronger against…

    Read more

  2. Mobile application penetration testing

    Safeguard your business with mobile app penetration testing

    Mobile applications have become an essential tool for businesses of all sizes to engage with customers, streamline operations and drive growth. However, the increasing reliance on mobile technology comes with a unique set of security challenges you can’t afford to overlook. Mobile applications introduce new attack surfaces and vulnerabilities that differ from traditional web-based applications.…

    Read more

  3. White box penetration testing

    Uncovering vulnerabilities with white box penetration testing

    As a business owner or IT professional, you understand the importance of protecting your company’s sensitive data, systems and reputation from cyber threats. One of the most effective ways to uncover vulnerabilities and strengthen your organisation’s security posture is through penetration testing, particularly white box penetration testing. White box penetration testing is a comprehensive approach…

    Read more

  4. API penetration testing

    Securing APIs through penetration testing

    APIs (Application Programming Interfaces) have become the backbone of many modern applications, and indeed the foundation of some businesses services. APIs enable seamless communication between applications, services and systems, allowing organisations to innovate, collaborate and deliver value to their customers. However, as reliance on APIs grows, so does the need for robust security measures to…

    Read more

  5. Password cracking: How to crack a password

    An introduction to password security: How to crack a password

    Online Password Cracking An online attack is performed in real-time, against live services or applications to compromise active user accounts. Such attacks typically occur when a malicious actor lacks direct access to the target system or application and aims to gain an initial foothold. The first step in conducting online password attacks involves establishing as…

    Read more

  6. The importance of a post-penetration test action plan

    The importance of a post-penetration test action plan

    As cyber threats continue to evolve and become more sophisticated, businesses must stay one step ahead in protecting their sensitive data and network infrastructure. Penetration testing is an essential tool in this ongoing battle. Penetration testing – also known as pen testing or ethical hacking – is a controlled approach to identifying vulnerabilities in an…

    Read more

Get in touch with our experts to discuss your needs

Get in touch