The commercial phishing-as-a-service (PhaaS) toolkit named Greatness has reportedly integrated support for device code phishing. This new capability allows the crimeware solution to leverage the OAuth 2.0 Device Authorization Grant flow, a legitimate mechanism, for malicious purposes. The primary goal of this addition is to bypass Multi-Factor Authentication (MFA) and facilitate the theft of user tokens, ultimately leading to account compromise.
Device code phishing exploits the OAuth 2.0 Device Authorization Grant, which is designed for input-constrained devices like smart TVs or IoT devices to authenticate with services. In a legitimate scenario, a user would visit a URL on a separate device (like a computer or smartphone) and enter a short code displayed on the constrained device to complete the authentication. Attackers weaponize this by tricking victims into entering a malicious code on a phishing page, which then grants the attacker access to the victim's account or tokens.
This method is particularly effective against MFA because the authentication process often occurs outside the immediate context of the phishing site. The user is prompted to approve a legitimate-looking request, often on a trusted device, making it difficult to discern the underlying malicious intent. Once the victim approves the device code, the attacker gains access to an OAuth token, which can be used to impersonate the user and access their resources without needing their password or directly bypassing MFA.
Greatness, as a commercial PhaaS offering, provides an accessible platform for a wider range of threat actors to deploy sophisticated phishing campaigns. The integration of device code phishing into such a toolkit lowers the technical barrier for attackers, enabling them to execute attacks that might otherwise require more specialized knowledge or custom tooling. This trend reflects a broader commoditization of advanced attack techniques within the cybercriminal ecosystem.
Mitigation strategies for this class of attack typically involve robust user education to recognize the signs of phishing, even when MFA prompts appear legitimate. Organizations are also advised to implement conditional access policies that restrict access from untrusted devices or locations. Monitoring for unusual login patterns and token usage can help detect compromised accounts. Furthermore, security teams should review and understand the legitimate use cases for OAuth 2.0 Device Authorization Grant within their environment and consider disabling it where it is not strictly necessary.
The emergence of device code phishing in commercial PhaaS toolkits like Greatness underscores the ongoing arms race between defenders and attackers. As security measures like MFA become more prevalent, threat actors continuously adapt their tactics to circumvent them. This evolution highlights the need for organizations to stay informed about emerging attack vectors and to continuously update their security postures and user awareness training to counter these increasingly sophisticated threats.






