January 15, 2019 By Douglas Bonderud 2 min read

A new reverse proxy tool called Modlishka can easily automate phishing attacks and bypass two-factor authentication (2FA) — and it’s available for download on GitHub.

Polish security researcher Piotr Duszynski released the tool just weeks into the new year. As noted by ZDNet, Duszynski started the project in 2018 with the goal of writing “an easy-to-use tool that would eliminate the need of preparing static webpage templates for every phishing campaign that I was carrying out.”

He certainly succeeded. Modlishka — the English pronunciation of the Polish word for mantis — is a reverse proxy modified to handle traffic between legitimate login pages and phishing attacks. While victims receive authentic content, all traffic is routed through the Modlishka server, giving threat actors the ability to collect 2FA tokens and create authenticated user sessions. As a result, attackers don’t need to deploy any cloned template sites; if they have a valid Transport Layer Security (TLS) certificate, users are typically none the wiser.

Potential Problems Down the Road

This new 2FA-bypassing tool is problematic for several reasons. First, it’s automated and lightweight — so long as attackers can effectively spoof target domains, there’s very little chance the ruse will be detected. According to Duszynski, while some defenses — such as obfuscated JavaScript code or HTML security tag attributes — require manual adjustments, both are “fully supported by the tool and will also be improved in the future releases.”

Another big concern is that Duszynski released his code as open source on GitHub. According to SCMagazine, Duszynski said he put the tool on GitHub as a way to better prepare penetration testers and improve red team engagements, and he doesn’t support any malicious use of the tool. However, given a recent Amnesty International report that notes an increase in state-sponsored two-factor authentication attacks as well as the rise of “script kiddies” looking for prebuilt malware kits online, Modlishka will likely prove popular among threat actors.

While Duszynski makes his case with a cogent argument, saying that “without a working proof of concept that really proves the point, the risk is treated as theoretical and no real measures are taken to address it properly,” this kind of public distribution is outside the normal scope of vulnerability assessment.

Strengthen Your Two-Factor Authentication Methods

It’s not all bad news: While two-factor authentication methods such as SMS or one-time codes are susceptible to Modlishka, emerging standards such as universal second factor (U2F) remain secure. This is backed up by security experts like IBM X-Force Red’s Dustin Heywood, who recommends using 2FA wherever possible, but suggests skipping SMS codes for authenticator apps or other more secure options.

More from

NIST’s role in the global tech race against AI

4 min read - Last year, the United States Secretary of Commerce announced that the National Institute of Standards and Technology (NIST) has been put in charge of launching a new public working group on artificial intelligence (AI) that will build on the success of the NIST AI Risk Management Framework to address this rapidly advancing technology.However, recent budget cuts at NIST, along with a lack of strategy implementation, have called into question the agency’s ability to lead this critical effort. Ultimately, the success…

Researchers develop malicious AI ‘worm’ targeting generative AI systems

2 min read - Researchers have created a new, never-seen-before kind of malware they call the "Morris II" worm, which uses popular AI services to spread itself, infect new systems and steal data. The name references the original Morris computer worm that wreaked havoc on the internet in 1988.The worm demonstrates the potential dangers of AI security threats and creates a new urgency around securing AI models.New worm utilizes adversarial self-replicating promptThe researchers from Cornell Tech, the Israel Institute of Technology and Intuit, used what’s…

Passwords, passkeys and familiarity bias

5 min read - As passkey (passwordless authentication) adoption proceeds, misconceptions abound. There appears to be a widespread impression that passkeys may be more convenient and less secure than passwords. The reality is that they are both more secure and more convenient — possibly a first in cybersecurity.Most of us could be forgiven for not realizing passwordless authentication is more secure than passwords. Thinking back to the first couple of use cases I was exposed to — a phone operating system (OS) and a…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today