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

New Attack Targets Online Customer Service Channels

An unknown attacker group is targeting customer service agents at gambling and gaming companies with a new malware effort. Known as IceBreaker, the code is capable of stealing passwords and cookies, exfiltrating files, taking screenshots and running custom VBS scripts. While these are fairly standard functions, what sets IceBreaker apart is its infection vector. Malicious actors are leveraging the helpful nature of customer service agents to deliver their payload and drive the infection process. Here’s a look at how IceBreaker…

Operational Technology: The evolving threats that might shift regulatory policy

Listen to this podcast on Apple Podcasts, Spotify or wherever you find your favorite audio content. Attacks on Operational Technology (OT) and Industrial Control Systems (ICS) grabbed the headlines more often in 2022 — a direct result of Russia’s invasion of Ukraine sparking a growing willingness on behalf of criminals to target the ICS of critical infrastructure. Conversations about what could happen if these kinds of systems were compromised were once relegated to “what ifs” and disaster movie scripts. But those days are…

Cybersecurity 101: What is Attack Surface Management?

There were over 4,100 publicly disclosed data breaches in 2022, exposing about 22 billion records. Criminals can use stolen data for identity theft, financial fraud or to launch ransomware attacks. While these threats loom large on the horizon, attack surface management (ASM) seeks to combat them. ASM is a cybersecurity approach that continuously monitors an organization’s IT infrastructure to identify and remediate potential points of attack. Here’s how it can give your organization an edge. Understanding Attack Surface Management Here…

Six Ways to Secure Your Organization on a Smaller Budget

My LinkedIn feed has been filled with connections announcing they have been laid off and are looking for work. While it seems that no industry has been spared from uncertainty, my feed suggests tech has been hit the hardest. Headlines confirm my anecdotal experience. Many companies must now protect their systems from more sophisticated threats with fewer resources — both human and technical. Cobalt’s 2022 The State of Pentesting Report found that 90% of short-staffed teams are struggling to monitor…