Re:Making Unphishable 2FA Phishable
by jadedtuna on Wednesday November 30, 2022 @10:16PM
(#33811892)
If SSH is already being used, can't one just create an SSH tunnel to forward the login?
[ Parent
| on HN ]
ssh -D ftw
Re:Making Unphishable 2FA Phishable
by chupasaurus on Thursday December 01, 2022 @03:11AM
(#33813639)
AllowTcpForwarding no ftl
eh if you have shell access anyway this is easy to circumvent.
Re:Making Unphishable 2FA Phishable
by chupasaurus on Thursday December 01, 2022 @07:59PM
(#33825387)
"If" is a good word. The setting above is usually being used in environments where network security is a bit paranoid, so shell access won't help against lack of a hole through the firewall somewhere in-between, unless there's a way to use avian carriers.
The thread we are in is talking specifically about using cli tools on a remote machine, so that’s why I mentioned it. If you have that you don’t need a hole in the firewall.
Some login requires Identity and access management (IAM) with a web interface only, if such gateway exists, a CLI tool would have to give user a link to open oneself I guess?
My SSH usage has multiple servers (staging, dev, etc..) and multiple clients (laptop, desktop). Some of those connections are going through jumphosts.
Setting up SSH tunnel would be possible, but a major pain, as every source/dest combination will need to have its own port, and every signin should specify the port number.
Compared to the current system, which prints a URL in terminal which I just need to click, it would be a major usability regression.
Re:Making Unphishable 2FA Phishable
by GreyStache on Thursday December 01, 2022 @01:36AM
(#33813079)
Something akin to ssh agent-forwarding ("oauth-forwarding"?) is really needed.
And it needs to be integrated similarly well like support for jumphosts.
Haven't seen anything like this, I'll try to bring this up with the openssh folks.
Re:Making Unphishable 2FA Phishable
by dgoldstein0 on Thursday December 01, 2022 @03:34AM
(#33813783)
Possibly redirect to localhost:<port> where the port is one forwarded over ssh could do the trick?