Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Entra.Chat

Entra.Chat artwork

Bypassing MFA with Kuba, the Evilginx guy!

Mar 19, 202554 minAudioEpisode 2
ShareXLinkedInFacebookWhatsAppEmail

Episode Summary In this episode, we dive into the sophisticated world of phishing attacks with Kuba Gretzky, creator of the renowned Evilginx framework. He shares insights on how Evilginx operates as a reverse proxy, capturing authentication tokens in real-time, and discusses the ethical considerations of creating such a powerful tool. Most importantly, Kuba provides valuable guidance on protection strategies that organizations can implement to defend against these advanced phishing techniques. Chapters 00:00 - Introduction to Kuba and Evilginx - Creator of Evilginx, a phishing framework demonstrating MFA vulnerabilities - 15+ years in cybersecurity, started with MMO game hacking - Transitioned through reverse engineering to cybersecurity 02:03 - Understanding Phishing Fundamentals - Phishing presents fake sign-in pages to capture user credentials - Even 7-year-olds now learn about phishing dangers in school 03:39 - How Evilginx Works Technically - Functions as a reverse proxy between user and legitimate server - Creates dual TLS connections to intercept all communications - Captures authentication tokens for complete account takeover 05:55 The Evolution of Phishing Tools - Evolved from experiments with cookie manipulation - Improved upon older tools that required malware installation - Developed from Nginx with Lua scripting to standalone Go application 10:37 Evilginx's Impact and Popularity - Gained traction through demonstrating MFA vulnerabilities - Creates "shock factor" when users see how easily accounts are compromised - Emerged alongside other tools but distinguished by ease of demonstration 12:25 Real-World Phishing Examples - Sophisticated attacks use browser-in-browser techniques - High-profile victims include Linus Tech Tips YouTube channel - Attackers leverage urgency and fear to bypass security awareness 16:23 Protecting Against Evilginx Attacks - Implement domain verification checks through JavaScript - Deploy "shadow tokens" with browser fingerprinting - Utilize conditional access policies and FIDO2/passkeys 22:57 - Detecting Evilginx Attacks - HTTP header inspection can identify attack signatures - TLS fingerprinting (JA4) detects unusual connection patterns - Cloudflare and other services block suspicious proxy connections 27:33 - User Education and Psychological Factors - Focus on recognizing psychological triggers like urgency - Reward reporting rather than punishing victims - Teach users to access websites directly rather than through email links 31:01 - Ethical Considerations and Responsible Development - Implemented vetting process for Evilginx Pro access - Built anti-cracking protections to prevent misuse - Created trusted community for responsible information sharing 36:43 - Future Developments and Evilginx Pro - New client-server architecture with API for automation - Features include bot protection and shadow token bypass capabilities - Established BreakDev as company with plans for security software platform Key Takeaways - Modern phishing attacks like those enabled by Evilginx can bypass MFA by acting as a proxy in real-time. - The strongest protections include device compliance, FIDO2/passkeys, and domain verification checks. - Organizations should implement conditional access policies that verify device identity, not just user identity. - User education should focus on recognizing urgency tactics rather than just checking URLs. - Shadow tokens that include browser fingerprinting and domain information show promise as protection methods. - Ethical security tools require responsible handling - vetting processes to help prevent misuse. - Security awareness demonstrations with tools like Evilginx help stakeholders understand risks and invest in protections. Key Links BREAKDEV Blog → breakdev.org Evilginx Pro → evilginx.com Evilginx Mastery Course → academy.breakdev.org/evilginx-mastery Get full access to Entra. News - Your weekly dose of Microsoft Entra at entra.news/subscribe

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

I think what still works with Evil Jinx is this shock factor when you demonstrate it to users and show them how easy it is to take control of their own accounts.

SPEAKER_00My name is Kuba Grecki. I'm also called as that Evil Jinx guy. So I made Evil Jinx. It's a phishing framework for red teamers and also works as a demonstration tool to showcase the vulnerabilities of multi-factor authentication implementations. So how do admins protect the environment from this sort of like phishing attack and,

SPEAKER_01you know, the MFA bypass?

SPEAKER_00There's this one weak link of every phishing attack and it's the... Intro chat with Merrill's life Digging deep where techs thrive From the latest

SPEAKER_02hacks to cool updates Join the right door

SPEAKER_01Hey folks, welcome to another episode of Entra Chat. I'm very lucky to have Kuba here joining us. Kuba is the creator of a very popular tool called Evil Jinx and it helps so many companies learn about authentication and how to do things right. So let me let Kuba introduce himself.

SPEAKER_00Hello, everyone. My name is Kuba Gretzky. I'm also called as that Evil Jinx guy. So I made Evil Jinx several years ago. It's a phishing framework for red teamers, essentially, and also works as a demonstration tool to showcase the vulnerabilities of modern multi-factor authentication implementations as well. So I've been working in cybersecurity for quite some time. I've started, I think, like, I think in, like,

maybe 15 years ago doing MMO game hacking and then I got more interested into

SPEAKER_00low-level interference in reverse engineering, interfering with processes and things like that. And I somehow slowly transitioned into cybersecurity.

SPEAKER_01Oh, perfect. Okay, so for those who might not be aware of, let's say, what phishing is, right, I just want to make sure we don't make any assumptions for our listeners. There might be folks who are just new to all of this. So let's talk through like, what is phishing in the first place? It's actually great if someone did not know what fishing is because that means they

SPEAKER_00never got fished themselves. So it's like living in a bubble a bit. So I'm envious of such scenarios. So essentially fishing is... It's presenting a user with a fake sign-in page or essentially a fake sign-in page that they put and incentivize entering the credentials into them by the phished user and then capturing these credentials and using them for

the nefarious means of

SPEAKER_00the attacker, meaning taking control of the account of that person and performing malicious actions on that account. Nice.

SPEAKER_01I just recall, like, just last week, my son, he's seven years old, my youngest, he's in primary school, and he was telling, hey, I learned about phishing because he heard something. I was talking to someone and he heard and said... Yeah, I learned about fishing in school today. So then I asked him, okay, what does it mean? And he was able to sort of at least frame it and explain. So it's something that you need to know, right? So even as a seven-year-old, they're learning and his teacher taught him about fishing.

what to do and because they're using Roblox and things like that so of course they're using all this and it's a good way for them to come and learn just to know that there are two types of phishing these days like the one with evolving the fish the one that that fishes for users yeah exactly awesome so let's jump into evil

SPEAKER_01jinx um Can you explain how Evil Jinx works from a technical standpoint?

SPEAKER_00Yeah, sure. Essentially, Evil Jinx is standing between the phished user and the server that you are targeting. Specifically, if you, for example, wanted to phish Microsoft users, let's say. Then you set up a server with Evil Jinx installed on it and that Evil Jinx server will essentially be a reverse proxy between that user and Microsoft website. So every request made to the Evil Jinx server will be exactly

forwarded with a

SPEAKER_00little bit of modifications as to preserve the flow of HTTP traffic. through the proxy, it will be forwarded to the Microsoft website and all the responses retrieved from the Microsoft websites will be transferred back to the user. The trick here is that Evil Jinx manages a dual a dual direction of TLS connection. So essentially there is a TLS connection between the user and the Evil Jinx server, and then there is a TLS connection between Evil Jinx and the

Microsoft server. So that actually allows Evil Jinx server to intercept all the communication that goes through between the users so there's one requirement for this process to work you cannot use the real domain obviously of the website that you are targeting you need to set up your own website so the user actually has to be directed to your to the server that the attacker controls so that the all the traffic is sent to that

SPEAKER_00server and then later it's forwarded back to destination website. But what this allows is essentially during the process of this whole communication while the user is signing into the portal through the proxy website, they get their old credentials intercepted by Evil Jinx server and also the cookies that are later retrieved from the target server with the session tokens that actually keep you authenticated on the website so that you do

not have to repeat this whole process every time you visit the website also get intercepted by Evil Jinx and that's basically that's when it's game over and the account is taken over.

SPEAKER_00Right.

SPEAKER_01So for the user, the user is thinking they are signing into the Microsoft login page, but just the domain, the URL is different. And if they miss that, maybe you might be a seasoned security professional and you might be in a hurry and you might miss that. So the user thinks that the right login page and the identity provider where you sign in, in this case, if it's Entra, Entra thinks it's a valid user that's signing in, but it's actually... Evil Jinx or the attacker in the middle that's running to do

this and get it.

SPEAKER_00So the login IP will be from the Evil Jinx server. This is like the one thing that's important to keep in mind. Right.

SPEAKER_01Absolutely. And so what What's the origin story for Evil Jinx? Fishing used to exist before and Evil Jinx has changed things a lot in the industry. So what's the origin story and how did you come up with the idea? Yeah. I'm always a bit surprised when I hear that Evil Jinx changed everything because

SPEAKER_00the cookie interception was basically something that was used already. It was maybe not that popularized that much. And that's, I think, when Evil Jinx came in at the right moment and just showing that Going back to the beginning, the traditional methods of phishing were just cloning a website and putting out the HTML content hosted on some external server for the sole

purpose of getting the

SPEAKER_00user to enter their login and password. The login and password would be transferred somewhere to the server, stored in the local database, and that's it. And then the user would be probably redirected to some document or whatever. And essentially, the issue with that was that you could never... the attacker could never figure out if the credentials entered were correct because they actually only could gather from the form how they were sent out.

SPEAKER_00And I was back then thinking about... I was playing around with exporting cookies from one browser and importing them to another browser. I forgot what was the reason for this. I wanted to have some sessions preserved between browsers for some applications, something like that. And then I figured out that you can actually export the cookies from one browser, import them to another one, and you

SPEAKER_00You are authenticated on the same account, which is basically how the web has worked since forever, right? And then it was long before, I think, the cookie stealer malware were so prevalent. So I think there was this most popular, the Redline, I think, Steeler or something like that. So this is like a malicious software that installs on your PC and just extracts all the cookies from your web browsers.

SPEAKER_00And back then I thought when I realized how important it is, well, how important, how critical these cookies are really in the browser, I was thinking whether it's possible to to do it remotely, essentially. Not required to install malicious software on your computer, but remotely intercept these cookies. And then I read some blog posts about Nginx with proxy pass feature,

SPEAKER_00which was essentially the first ever known... Well, maybe not the first one, but one of the most popular ones, the reverse proxy methods of... Essentially, Nginx would take your connection and proxy it forward to another resource to gather and act as a middleman. And then there was this OpenResty implementation of Nginx, which was essentially Nginx with Lua scripting. And that Lua scripting allowed me to...

implement some logic into the structure of how the packets are intercepted and just

SPEAKER_00capture the cookies, store them in the file. And then later I had like a Python script that would parse these files and extract cookies from them. Right. And that's essentially how it started. It started playing around with it, and that's how the first Evil Jinx came out, which was really hard to use and lots of different moving parts around it.

SPEAKER_01And so that's the Evil Jinx one that you first launched. And now we're at what version? Now I think it will be for a release in a week with Evil Jinx Pro coming out,

SPEAKER_00but I'll probably mention it a bit later. But yeah, so after that, I made like a standalone tool, which was Evil Jinx 2.0. And it was written in Go and with its own like terminal UI and everything. So no more Nginx, just the name was left behind because I could not change it afterwards. So yeah, it made no sense. Now it's like Evil Jinx without Nginx, essentially. Right.

SPEAKER_01But we'll stick to the name because everyone knows that. So you've been doing this for now and you have a nice community you built as well that where you help the red teamers do this. And what's the thing that you think, like, why is Evil Jinx suddenly popular and why is it used a lot by the red teamers? honestly i do not really know because at the time when evil jinx came out there were also like several other tools in the making like uh i i talked to to to uh to

anti-snatcher to uh to to several other guys who were working and there was muraina that was released uh there was also modliska which was like a side project but when

SPEAKER_00muraina and modliska split apart uh so so like the idea was going around there. And I think what made it popular is like, I think the shocking part of figuring out that when you take the Google cookies, you can just intercept them and inject them into a different browser and it works. It does not check like the IP address. So I think what still works with Evil Jinx is this shock factor when you

SPEAKER_00demonstrate it to users and show them how... Well, easy as it looks, as easy as it is to take control of their own account. So everyone actually is able to identify with this when they see it. It's so easy to prove the value of why we do all the security things that we do.

SPEAKER_01is that it's becoming more and more easier to phish users. And just raising that awareness, I think, is one of the key things where Evil Jinx really helps. There are so many demos on YouTube videos. And I know there was recently even a Microsoft show, a 425 show, where they showed the whole session on Evil Jinx and how you can protect users. Because it's an easy way to show fishing as a live example.

SPEAKER_00Now I remember, I don't know if you remember this project, it was called Fire something, Fire Proxy, something like that. It was released back in the days when HTTPS was not really that common on websites. Even Facebook had HTTP, just plain text. And this tool actually made rounds because it showed how easy it is to intercept the sessions on the local network. It would just intercept the packets with some ARP spoofing, like man in the middle on the local network.

And it would allow you to just hijack every single account that came across on the same network.

SPEAKER_00This was insane. i think after learning how this tool like made like this uh shocking revelation maybe i took a bit uh into into evil jinx and also knew that this is also probably going to be like a big deal to to to show it even though i did not know how how a big deal it was back then yeah yeah

SPEAKER_01Yeah, because I think before we would all just make mock pages and just have a static HTML site, which looked like the Microsoft login page. So people used to customize the login page and put their own logos. Then you would know that it's not your company login page with the logo. Yeah. Now the tools are becoming better where they can sort of get things in the middle. And Evil Jinx helps teams because like now people can just go to Signal and you don't even need to stand up all the infrastructure, right? Like that's what the attackers do. They just go and pay someone.

SPEAKER_01like a few dollars and you can say who you want to phish. Yeah, it's like phishing as a service. As a service, right? So you don't need to be technical to even phish someone. And Evil Jinx helps Red Team sort of make that case and... Set it up themselves and see if their websites are prone to the attacks or how to

SPEAKER_00improve them. because there are also, maybe I'll mention later, simple ways to make this kind of phishing attacks harder, but I still do not see many of such implementations online.

SPEAKER_01Absolutely. And that's one reason why I wanted to get you on the podcast so we can share more of that. What are some of the real-world scenarios where you've seen phishing? I mean, not using evil jinx, but where you have come across some of these happening in the wild. Have you been phished? No, not yet, although I'm still waiting maybe by someone trying to use Evil Jinx to fish me.

SPEAKER_00I don't know. Well, of course, like there's a way to figure out when there are more advanced attacks and less advanced. Like I think the most advanced that I've seen in the last years were... were the ones that actually involved this browser in the browser kind of technique that would create a fake pop-up window within your browser that would show the login page within the browser itself. And it would seem to you that it's like a window of your

operating system, but it's not.

SPEAKER_00So you could actually spoof all the URLs in it. Yeah, so this is something that... that I want to like demonstrate a bit more because the while mass, uh, uh, recent, I think last year made a really great demonstration of how this tool works. Like Mr. Dogs before, like, uh, pioneered this, this method with his JavaScript. Uh, and, uh, what I wanted to say, Essentially, what I know about the attacks,

SPEAKER_00well, I do not work in threat intel really, so I do not know of any real case scenarios. I get most of the news about phishing attacks from the media. And I think like the one that I remember the most was when Linus Tech Tips, this YouTube channel that some people may know. Yes, this was like a big case of phishing attacks. MFA phishing, essentially. I think the first time they actually got phished with a cookie-stealing malware.

SPEAKER_00But the second time, I think, which was a more recent one, a few months ago, they got phished with a phishing taking control, like a MFA bypass attack. they got like an email of someone from unknown IP logging into their Twitter account with the link to log down their account. And actually, that link was the phishing link. So all it gets is just to send out this impulse to the person,

SPEAKER_00like kind of like a scare factor, you could say, to make... And a decision by impulse and not think it through properly enough.

SPEAKER_01Yeah, that's true. So how do admins protect the environment from this sort of phishing attacks and the MFA bypass and so on? In your opinion, what are the things that you think they should be looking at doing? so i think like the the one thing that this i think this easiest and the easiest to implement by the website owners developers uh is like there's this one weak link of

SPEAKER_00every phishing attack and it's the domain like you if the user does not The user does not need to check the domain because it's hard enough to sometimes differentiate between the real one and the fake one. But the website can. You can access the document location object through JavaScript on the website and it actually is unspoofable. You cannot replace its values with JavaScript and things like that. There were some vulnerabilities back in the days,

like I think 10 years ago, but All of these were fixed and the script before you log into the website can actually check the phishing website and just the phishing domain in the URL of the browser

SPEAKER_00that the user is using and just compare it. to the one that is supposed to be there and just log the user out. So with Evil Jinx, how you would bypass that, you need to put some extra work to actually intercept the JavaScript being retrieved from the website and then modify it on the fly. But then if you obfuscate this JavaScript and make it dynamic and make it change every time, then Evil Jinx is only able to handle some static signature detection. So then you would have to put some extra effort into...

SPEAKER_00actually to perform this attack against this website. You can also protect it with Cloudflare, of course. There are some ways to bypass data as well but essentially what i've seen being done in recent years is this kind of like what i call like a shadow token so basically a website before you log in gathers a telemetry from the browser like be it video cards including the

SPEAKER_00the domain that's in the url address bar and they encrypt it into a blob of data that is being sent with the sign-in packets with your credentials. And then it is decrypted on the server. The values are analyzed, and then they see, okay, so actually the domain check is done on the server side back then. And if the domain doesn't, that's what, for example, LinkedIn has started doing some time ago.

And I see that Microsoft is still developing this method, which is great. I just did not never get any answer like why it is implemented on LinkedIn and not

SPEAKER_00in Entra, for example, because they could like copy the same method and it would work out really well.

SPEAKER_01So that's basically a fingerprint, right? So you're doing a fingerprint sort of thing of the user's browser.

SPEAKER_00Yeah, it's a fingerprint with the data that essentially can tell the server that the request originated from the phishing server, like from the phishing session. So when it includes like this phishing domain within this encrypted blob of data, then LinkedIn, for example, locks the account and you have to unlock it with extra verification because then they know you actually got phished. Like because you entered your MFA and everything and then

someone actually used it

SPEAKER_00from a different way. from a different place. So, so this is like, uh, and these two things you can do. Uh, and I think the third one is like this conditional access, right? That was implemented in Entra some time ago. And I think it was the direct, uh, response to adversary in the middle attacks that were happening, that keep happening with Antra. And how you configure conditional access, I'm no expert, like in the administrating Antra instances,

SPEAKER_00but from what I know, you can like... implement geolocation then of course like evil jinx would have to be installed in a specific ip range for this attack to work then i think what can be done as well is just uh force all the the employees of the company to use a vpn to log in because if if actually like the vpn will then use like some The local IP to connect to, and the attacker would need to have access to this VPN that's

installed on the EvilJank server so that they can also connect to it to proxy the internal website

SPEAKER_00from the server to the outside.

SPEAKER_01Right, yeah. And yeah, so with conditional access, the simplest one is to do the device compliance because we ask the... device to issue like you know verify itself by sharing a certificate that's been registered before and obviously the man attack in the middle will not be able to give that cert because it's tied to the domain and it can only be the browser only issues it to the domain that it was registered with. So that's the one that's always been there and what a lot of companies,

SPEAKER_01like all enterprise organizations, we recommend, Microsoft recommends that they do the device compliance, which is good for all of the employee devices. And going back to your LinkedIn things, I think, The catch there is you need to have both the app that the user is signing in and the login page to be the same, which is good for LinkedIn, sort of,

SPEAKER_00right? Because they own both of those flows. But if you have tenants that are managed by separate companies, then it's...

SPEAKER_01Yeah,

SPEAKER_00if it's different companies, because that can be SailPoint or Salesforce and the identity provider can be

SPEAKER_01somebody else, then what you need is sort of an industry standard for the apps to exchange that information and then... that's going to take years to come.

SPEAKER_00Yeah, that makes sense.

SPEAKER_01Yeah, exactly. And I think everyone is leaning more towards pass keys and FIDO2, which is one of the other ways to break sort of the phishing.

SPEAKER_00Yeah, basically it's like 100% protection. It just involves some work from the company to make all the adoption process of this method of authentication, like to streamline it and Sometimes there are issues, probably more like logistical issues rather than other.

SPEAKER_01Yeah, with the past keys and FIDO2, you can sort of restrict that unless you're sort of like a whole nation running a proxy in the middle. Then you can control even the DNS, right? Yeah.

SPEAKER_00Yeah, well, that's true. Then you can forge your own certificates for every domain and you're also a certificate authority installed in your users. So yeah, that's basically game over and no FIDO will actually help you, but yeah.

SPEAKER_01Yeah, so that's where you need to be careful when you're traveling into countries where there's a whole country-level attack in the middle.

SPEAKER_00That's true. Essentially, I think what's good is that the mobile applications actually have some sort of certificate pinning implemented. I think Google has, I believe. So even if someone wanted to replace the Google certificates on the DNS spoofing attack, then it would... Correct. Yeah.

SPEAKER_01The key sites, they are all certificate pinned, so you can't do that. Exactly. There's also certificate-based authentication where that cert is then tied to the domain.

SPEAKER_00The private key is owned by the person who actually owns it. So it would not be that easy for the nation state, I think, to fake it as well. yeah that's true so how can an org detect evil jinx i think right now i think the the public version of evil jinx always had like this http header being sent which is like x dash evil jinx with the with the phishing domain as a value so but most people just learned about it and they just remove it and

SPEAKER_00But it was like an Easter egg to maybe prevent too much misuse. Like last year I talked about, I don't know if you're familiar with JA4 or 3, like these are like a TLS connection, like signature TLS connection. So when the client connects to the destination server, they will send this TLS client hello packet with the list of

TLS ciphers it supports.

SPEAKER_00So it can be like ECDHA. It can be like some other Diffie-Hellman. There's like a whole bunch of them. And essentially this list can serve as a fingerprint of the library that is being used, the TLS library that's being used to connect to the destination server. So Chrome, for example, uses boring SSL, I think, at the moment, and they have their own signature. And there's like this whole library created by John Althaus, JA4+.

It's like a suite of different methods of fingerprinting, especially TLS connections.

SPEAKER_00And you can... actually connect on the microsoft server side for example you can detect if it's a tool like coral maybe connecting or it's a it's a go application which is evil jinx for example so they will have like their own specific tls client hello the list of specific ciphers so this is something that's uh That I think is already being done by Cloudflare, for example,

when they actually do the reverse proxy to protect against attacks on the website

SPEAKER_00that they will do. Because I remember when I did some testing with Evil Jinx, I think two years ago, I got like blocked every time and I did not know why. And then I figured out it's like this J4 signature. So now I also implemented like this kind of like a signature spoofing that will randomize the TLS ciphers. But don't worry, like this is not coming out in the public version of evil jinx. So yeah. Okay, so that's neat.

SPEAKER_01So that's based on the, it'll be different, right, from what Chrome uses? Yes. Because Chrome, the language it's written in is different from like what they are writing. Yeah, Chrome is essentially using the boring SSL libraries for initiating TLS connections. So the boring SSL library has its own specific signature, and it will be different from Chrome. curl for example it will be different from go libraries that use its own tls library so you can then pinpoint and block access coming from

from unknown tls

SPEAKER_00libraries essentially that's that's interesting I didn't know about that. I didn't know. It's like every day there's something new coming out and you just keep learning and hearing about this stuff to just keep up to date.

SPEAKER_01Cool. So next we go on to user education, right? Lots of organizations do training and train users. What are your thoughts on that? Can people be trained Not to be phished, there are always like two sides of the arguments. There are those who say you shouldn't do that, make users feel bad. But there are others who say, you know, it helps you understand. It helps users learn that they've been phished and makes them

be more aware when

SPEAKER_01they've been phished.

SPEAKER_00Yeah, so I think like the... The good way to reward the users in companies, for example, to report phishing is... I heard it in some other podcast. I forgot the name of the person who actually said that, so sorry. But what he said was to not put negative opinions on people who actually get phished because this will actually...

SPEAKER_00prevent them from reporting phishing the next time. This is like a psychological aspect of it and I totally agree. If I was getting negative points every time I actually get phished or click a link, then I would just stop doing it. And even if I knew I got phished, I would just think, maybe nobody will notice, right? Because I don't want more negative points, right? So it's better to keep rewarding users positively for reports

and even for

SPEAKER_00reporting the phishing attempt that they actually fell for, Then rather, and also I will not be like telling users to just check the domain in the URL because like everyone has kept saying it for so many years and it's just, it's not possible. Like the advanced attackers will make it like smart attackers will make it hard enough to, to, to realize for casual users to, to, to,

SPEAKER_00to figure out that it's a phishing domain that they are on. So I think more important, I think, how I prevent myself from falling into scams and other things like that is to be aware of like random people that i do not know and then telling me uh to to do something like right now because time is running out or or something like and then that's that should be always like a red flag that something is not

right and you should probably take things slow maybe ask them for the number maybe call back the place that they are telling that they're calling from then also if you if you get the

SPEAKER_00link uh telling you that someone else logged into your account do not go to the website through this link that was provided for convenience just you know the url of the website just type it in yourself and then log in and check it out and i think most are like i think most of the suggestions i would say are like this Right.

SPEAKER_01Nice. Yeah, that's one thing I tell my kids. If someone is calling you and telling you to do something in a hurry, always just take a step back and reassess and not get caught up in that moment, right? And that's when... you make mistakes. But I mean, it's not foolproof because we're all human and it can happen at, you know, the weakest point.

SPEAKER_00Of course, that's why fishing is still like the most common, like, way of getting into, like, getting a foot cold in companies and things like that, because it's social engineering.

SPEAKER_01Correct. Yeah. Almost every attack you see, it always starts with some sort of like phishing is a very common one. And then, you know, some sort of social engineering is one. Cool. So... When you built this and you provided this tool, as a creator of this tool, it can be used for both good and bad. And I've heard from some of the folks, even at Microsoft who work,

SPEAKER_01that when they were helping a customer, that Evil Jinx was used by the attackers. Yeah. How do you navigate, you know, these ethical challenges?

SPEAKER_00Yeah, so essentially, like you said, it's a like double edged sword. So releasing something that actually makes the point of showing how things can be vulnerable and how they are vulnerable. It also allows the users who do not possess that extra capabilities to develop such tools themselves that provides them easy access to just ready-to-use tool that they

SPEAKER_00can use to phish other users. So my first priority was not to make it, well, it is a bit easy to use, but I did not want to later implement more features for convenience, for bad guys, essentially, because I know that essentially that will be the most common, you could say, demographic that I would be supporting that way,

SPEAKER_00right? So that's why I made like this decision to divide this kind of like a whole space of this phishing framework and make a pro version only for red teamers, like people who work in offensive security, working in legitimate cybersecurity companies. There's like a whole vetting process of checking if this person really works there, if They have like a valid LinkedIn profile if they have an email

on the company domain

SPEAKER_00that later is used for verification. And I want to support these kind of people, right? Because they actually need some help because they try to show their clients where the vulnerabilities are. And they also do not want to fight with... with the detections that are implemented against the bad guys who actually should get blocked. So for me, I'm really happy that Evil Jinx,

SPEAKER_00the public version, is getting blocked because it should. I also do not want it to be super stealth. I think Luke Jennings from Push Security develops this browser extension that you can install in your browser and it actually specifically targets Evil Jinx as well in the user session in the client which is super interesting to look at even like

what kind of signatures like this kind of extension can look for because other than

SPEAKER_00that you... usually you would just see online scanners scanning for phishing URLs and then looking for signatures on the phishing page itself. And now you can see there's also an extension that actually is able to analyze the yeah like uh inject its own javascript into the website and do some additional testing even if the text like a evil jinx cookie in the browser itself that was being set by the evil jinx server then it's like an

indicator that the the website is using evil jinx so so it's really cool to see that this whole like space

SPEAKER_00is evolving and uh I also made sure that the pro version has a lot of anti-cracking protections. I think some people would say challenge accepted, right? But I assume it's going to get leaked eventually, like the binaries will get leaked because it's something that just is a matter of time, right? And I wanted to prepare for it beforehand and make it hard enough to bypass all the protections that I implemented,

SPEAKER_00even if someone has access to the valid account to use it, to prevent it from making it spread the use of it across the bad actors.

SPEAKER_01Right. So most people would be like, I'll sell to anyone and make money, but you're actually putting in a lot of effort. And I know you have that closed community. I'm in there as well on Discord. And I know you do the betting process. I'm sure it takes a lot of time time and effort when you could be you know people who want to make money would just be like you know trying to sell what they made and just make money out of that i'm like forcefully like uh you're like no i don't want your

money right from the bad guys and and you you put in so much time and effort uh to i think it's make

SPEAKER_00sure that only the right people for the future like to to to keep it like intact and everything and i i think it's like it's the value in itself and also like this whole community like that the side effect of it was to like help people socialize from because the people are also more willing to share their findings among people who they know they are also vetted and trust and they are not bad guys and i think this is like this whole thing like is a value in itself that i'm i really really like how it turned out

absolutely yeah and yeah it's like when you first started i was like i wasn't it wasn't really clear

SPEAKER_01how it would look but yeah community grow like iterating on the idea yeah Yes, yeah, it's amazing. So yeah, I really admire all of that you do and making sure it doesn't fall into the wrong hands and putting in that time. I'm 100% sure you don't want to do that. You won't be hacking away and writing code. But then you want to make sure that it's not used in the wrong way. So hats off to you for that.

SPEAKER_01So to close things off, what are insights you can give Red Teams and pen testers to learn from Evil Jinx to help strengthen M365? How can they use Evil Jinx properly? And like in general, what can they learn as they use Evil Jinx?

SPEAKER_00Well, what they can learn, like my main goal is to actually make the life of the red teamer who needs to use phishing to get into like a company somehow to make it easier and with less work overhead they have to do in terms of evading detections and things like that. So this is my main priority with Evil Jinx Pro, to just save time for people who work in cybersecurity.

SPEAKER_00And then when they work with the blue team, they can also say that, you see, I used this and this, and this is how I... bypassed your phishing protections, for example. And then everyone can learn in the process, nobody gets hurt. And essentially, that's how I would want this utopian vision of people using Evil Jinx Pro. And also, I wanted to just also mention, the most amazing thing that has been happening recently is I'm

learning from other

SPEAKER_00users how to use Evil Jinx. like there's like these fish lists that you can write to target another browser and people like i made it in like a framework so you can develop your own like javascript and thing for for the fish list and sometimes i see really really smart ways of like creating like bypassing recaptcha for example and things like that and these are the things that i did not think about myself so like this whole like community thing really works out because it allows everyone to uh

SPEAKER_00to just get better in what they're doing, essentially, including me.

SPEAKER_01And me, yeah, absolutely. And I've seen this when I work with customers. Microsoft has been from forever telling people to use MFA. Any form of MFA is good as the first thing because we had the struggle to enforce MFA. And even now, There are lots of exclusions, like they exclude MFA if it's coming from inside. So just doing MFA has been a struggle. And then now we are trying to get people to use phishing-resistant MFA.

SPEAKER_01And things like Evil Jinx really helped that case to show... The stakeholders, look, it's so easy to get in if you don't do MFA. And if you just use a username and password, this is how easy it is to phish someone, right? You don't even need a working version. It's important to show them that they will lose more money when they do not do this

SPEAKER_00rather than use money to implement this, which is not that hard most often. Even the simple MFA just works and is better than no MFA.

SPEAKER_01Absolutely. And Evil Jinx helps people, stakeholders and companies understand this and even lay people understand this before they get compromised. Because eventually they are going to get compromised by someone doing a spray and phishing users in bulk. And Evil Jinx helps everyone, the good guys, highlight the risk and get people to move.

SPEAKER_00Exactly. Before, you know, you pay the price of someone getting in and going all the way.

SPEAKER_01Before we need to pay the ransom for encrypted. Absolutely. Yeah. My day job used to be trying to convince people to do MFA and do MFA everywhere. Even now, if you see the digital defense report that Microsoft publishes, it's a lot like no MFA. And Microsoft is now enforcing MFA for Azure Portal and M365. And there's still so much resistance there. And there's still so much resistance to people who are not ready to do that,

SPEAKER_01like not having any exclusions for MFA. And so Evil Jinx really helps in those sorts of scenarios and just all the videos and the... things that people create and being able to demo the thing and then go, oh, yeah,

SPEAKER_00like it's so easy to... And I'm super happy to hear it every time that it's not only used by the bad guys, so I can feel a bit better about myself. All the blue teamers hate me maybe, so I try to whitewash myself.

SPEAKER_01Yeah. Not necessarily. So even I made a demo to show because we have, for example, on Windows, Hello for Business is phishing resistant, right? So almost all modern laptops come with that built-in. And it's so easy to turn that on now. But it's not, right? Like people don't turn that on and it's a really easy way to do. I think there's like one thing that is like also a psychological factor preventing

SPEAKER_00people from actually implementing it. I think it started with these hardware keys. So you get this hardware key, which is a really small, tiny thing that you can lose it in a minute. And I think most people do not get the answer. I think every company that actually tries to get people to use hardware keys or other FIDO-compliant solution... should first inform them what happens if they lose it. How can they still regain access to their account?

SPEAKER_00Because I have this thought in my head and I know how it works. And this is always a big concern for me. What happens if I lose my phone? I have all my pass keys there, right? So what is the recovery method that I can use to regain access to? I think this is the first step that most companies have to take, and then it's going to be much more smooth in having people adapt to the new techniques.

SPEAKER_00Cool. Absolutely. awesome um all right thank you so much kuba and uh what let us know like you have some new things coming out so you have evil jinx you were mentioning version four yeah so evil jinx pro is uh is releasing finally after like more than a year of development uh uh it was supposed to release like last year in quarter the first quarter and then it became a meme that like every three months i kept saying okay next quarter next quarter

SPEAKER_00It just turned out to be a lot of work. It's the same when people ask me at Microsoft, when is this feature coming?

SPEAKER_01What's the ETA? Is it on the roadmap?

SPEAKER_00Exactly. It's really hard to sometimes assess how much things will take time and then you keep adding stuff to it because you think, okay, it also needs that and that and that. So finally, it's releasing on the 25th of February. So... Probably when this video is out and it's already released. So you can go to eviljinx.com and you can learn more about it. And so is it an update to both the community edition and the

pro edition?

SPEAKER_00It's just the pro. I think the community edition will receive several like quality of life updates, but in the coming weeks, because right now I just have to focus. Mostly I focus also on this whole breakdiff website with the registrations and vetting process and everything. It's like it became a totally separate product on its own. That's only... just yeah so it's also funny that i made like this whole shop engine from scratch

because i wanted to work exactly how it how it works and then i'm like letting all the offensive security people to pen test it for me when they so it's gonna be like pretty secure or it's gonna be like uh it will blow up like in a few days so right

SPEAKER_01So BreakDev is the company.

SPEAKER_00Yes, it's essentially like it started with BreakDev.org, like the blog, and then there's BreakDev Red, where this whole panel is where people can log in. There will be Evil Jinx options to buy it, to manage the licenses for employees and everything. This whole vetting process is inside. So it's like an all-in-one solution. It's like I want to make it like a Steam for security software. Like at some point, maybe. We'll see.

SPEAKER_01Yeah. And you have a course as well?

SPEAKER_00Oh, yes. There's also like Evil Jinx Mastery course that I released two years ago that also like it learns, it teaches all the ropes how to create your own fishlets, how to target websites. Also, there's a training lab involved with where I implemented all of the most modern protections against fishing that shows... the user how hard it is to bypass some of them. So they also know how to implement them themselves.

SPEAKER_01Beautiful, beautiful. So Evil Jinx 4, and what are the highlights in the...

SPEAKER_00In the pro version, what are the highlights? So essentially, I redid the whole architecture, so now it's like a client server. So it's like a client is running on your local PC and you can deploy servers straight from the terminal application. Oh, okay. So yeah. Every server is working as a daemon and you can connect to it. There's an API exposed on every server so you can also automate it with the other tools that you may be developing like Python scripts and things like that. There's also a bot guard that prevents from accessing your phishing page

SPEAKER_00through like online scanners. There is this evil puppet module that allows you to run a browser in the background to capture these shadow tokens to later inject. So this is like to bypass the most modern, the ones that I talked on the example of LinkedIn with the telemetry data being put into this encrypted blob of data. And there are also many more. I've outlined them on the website. There's also a full list of them,

but it's also after release, I plan to also keep adding more. Now I can focus on implementing the more hacking stuff because I had to manage too much of

SPEAKER_00the outer boundaries of releasing the product for now. But yeah, everything is basically working done. There's a closed beta that's going for a month now and it's going well.

SPEAKER_01Nice. Yeah. And I'm glad you're keeping it in the pro version. Yes. Making sure, doing your best to make sure that only the good guys get it. So thank you so much. Well, it's been a pleasure. Pleasure for me as well. Thank you for having me. Don't get fished, maybe. Awesome. Yes, we should put that on the t-shirt. Don't get fished. Thank you so much, Kuba. Thank you. And we'll catch you all in the next episode. Okay. Take care. Bye-bye.

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Which Passkey Should Your Users Get? The FIDO Alliance CTO on Passkeys and Post-Quantum Cryptography

    Nov 14, 202645 minAudio

    Microsoft is moving millions of users off SMS and onto passkeys, and most admins now have to decide which kind of passkey each group of users should get. Nishant Kaushik, CTO of the FIDO Alliance, the industry body...

    Credit the people on this episode

  2. Free AI Agents, the E7 Bill and AD vs Entra: The Workplace Ninjas US Special

    Nov 7, 202625 minAudio

    AI agents are arriving in every Microsoft 365 tenant, and the questions admins ask first are what they cost to run and what it costs to secure them. In this Workplace Ninjas US special, four of the event’s speakers...

    Credit the people on this episode

  3. Entra Multi-Tenant App Mistakes Every SaaS Builder and Admin Should Know, with Kelvin Tegelaar

    Oct 31, 202643 minAudio

    Most SaaS vendors connect to your tenant with one multitenant app and one credential, shared by every customer. Kelvin Tegelaar, founder of CyberDrain and creator of CIPP (used by well over 10,000 MSPs), sees it from...

    Credit the people on this episode

  4. Conditional Access Gaps and the App Back Door, with Brandon Colley

    Oct 24, 202639 minAudio

    Most Conditional Access gaps aren’t exotic. They come from reading policies the wrong way: as firewall rules with an “allow”, as a list of platforms that seems complete, as an MFA exception for the office that made...

    Credit the people on this episode

  5. Stop the Bleeding: Cleaning Up Apps, Secrets and Consent in Microsoft Entra

    Oct 17, 202651 minAudio

    Most tenants have the same problem: hundreds of app registrations and service principals, client secrets that were set to expire in a hundred years, permission grants nobody remembers approving, and test tenants that...

    Credit the people on this episode