r/HowToHack • u/minanageh • Aug 08 '20
Doesn't Evilginx tool case unknown login location alert , right ? as acording to the blogest the creator wrote he said that the server sends the captured credentials and logs in with them then grab the cookies back to the user .. why i saw no body mentioning it even though it's an obvious problem.
8
u/Gygh Aug 08 '20
I'm not familiar with this attack, but wouldn't the certificates from the Evilginx server show up as not trusted by your browser?
Aside from encrypting packets, encryption is also meant to verify that the endpoint belongs to a verified source. I realize that, if this is the case, the attacker is relying on the ignorance of the target (much like other attacks).
4
u/minanageh Aug 09 '20
Nope it uses a different domain so.
Https is just to make the targets feel less alerted.
8
u/alcg101 Aug 09 '20
not just that.. https encrypts and verifies the entity you are connecting to. Most users do not pay attention to it, but the cert warning should pop, specially in websites using HSTS like facebook
2
u/alcg101 Aug 09 '20
I thought the same
1
u/minanageh Aug 09 '20
nope you are totally wrong read ... https in phishing attacks is for nothing more than making the victim feel less suspicious about the page.
a false feel of security.
1
u/Gygh Aug 09 '20
I'm guessing that if you're somehow able to change the DNS server of the target, you could clone a page and just not used encryption, much like how a rogue AP might do. Then the use may just not notice that the site they're using isn't secure. But modern browsers will warn you if a website is using HTTPS/ TLS but isn't a known source.
I'm not sure how ready it is to spoof a certificate, but it'll be pretty obvious if someone is using a self signed one
3
u/krisfury Aug 09 '20 edited Aug 09 '20
Why should people make a big deal out of it? It's just another phishing tool. The only twist is that the tool also acts as a client to the legitimate server and as a server to the victim at the same time. It will only work if the victim is dumb enough to enter their credentials without looking at the address bar or they are using old browsers that are vulnerable to homographic phishing attack.
1
u/minanageh Aug 09 '20
1
u/krisfury Aug 09 '20
I already said it. It only works if someone does not bother to check what information they are giving to which website. If they bother to check the address bar even for just two seconds, it will render the whole attack useless.
2
u/minanageh Aug 09 '20
If they bother to check the address bar even for just two seconds
in some cases like a captive portal page the url bar doesn't show up.
3
Aug 09 '20
This is known as a man in the middle attack I think. It’s covered heavily in all courses that I have taken. If I am wrong please teach me.
0
u/minanageh Aug 09 '20
This is known as a man in the middle attack
nope it's not totally true
https://breakdev.org/evilginx-2-next-generation-of-phishing-2fa-tokens/
1
Aug 09 '20
TL;DR What am I looking at? Evilginx is an attack framework for setting up phishing pages. Instead of serving templates of sign-in pages lookalikes, Evilginx becomes a relay between the real website and the phished user. Phished user interacts with the real website, while Evilginx captures all the data being transmitted between the two parties.
1
0
u/minanageh Aug 09 '20
TL;DR What am I looking at? Evilginx is an attack framework for setting up phishing pages. Instead of serving templates of sign-in pages lookalikes, Evilginx becomes a relay between the real website and the phished user. Phished user interacts with the real website, while Evilginx captures all the data being transmitted between the two parties.
that's what i though when i first read about it ... but it turned out that all what the tool does is "serving templates of sign-in pages lookalikes" then sending the captured login info to the server which tries to login with them and if they were correct it captures the cookies then uses them to grab a copy of the after sign in page to serve to the target
so it's not a real man in middle attack which capable of redirecting and controlling all the traffic not just a single attacker controlled url.
1
1
Aug 09 '20
Your response is a little unclear but I am going to study up on this. It certainly looks like a form of man in the middle but I am a newly minted hacker.
25
u/MunchesOfOats Aug 09 '20
Its a basic MITM(Man in the Middle attack). Often times the surrogate or the evil twin or the rogue device will act as a router to server. Since in protocols like tls where a pre-shared key is shared before the certificates are exchanged, the fake routing device can capture those details and use them to negotiate to the client as if it were the server and to the server as if it was a normal client. Both devices are none the wiser. This is what makes attacks like these so dangerous. Not sure why this tool would be any different.