r/synology • • 10h ago

Networking & security Does 2FA open up more vulnerabilities?

I remember reading somewhere that enabling 2FA would also enable QuickConnect (or similar?), thus exposing more of my NAS to the internet. I currently only access it via local network or through an OpenVPN client. No services on the NAS are exposed at all to the WWW.

Really just looking for a sanity check before I enable 2FA, especially these days.

5 Upvotes

18 comments sorted by

30

u/Mathijs5 10h ago

Those things are not related at all. You can activate mfa per user and it is recommended, especially for accounts with admin rights.

6

u/gts250gamer101 10h ago

Thank you for the quick reply!

I will go ahead and enable it. Sorry for the ignorance, I am really just trying to stay on top of security.

4

u/vetinari 8h ago

Make sure that the time on your NAS is synchronzed well. That the synchronization really works, and is against reliable time server.

The clock drift could cause that your 2FA codes are invalid. Then it's PITA to get in.

2

u/gts250gamer101 7h ago

Hadn't even thought of that, but it makes perfect sense. I just have "pool.ntp.org" as my timeserver, haven't had any issues with it. DNS and all are well on the NAS, and everything tested OK when I manually updated the time.

1

u/grayhaze2000 3h ago

I have a separate user-defined scheduled task to update NTP at regular intervals, such as hourly, rather than one chosen silently by DSM, and that resulted in flawless 2FA operation. It's worth doubling down on those time updates, as it's a pain to get back in should things get out of sync.

10

u/junktrunk909 8h ago

You should never feel bad about asking questions about security. Nobody was born knowing all this stuff, ask away!

1

u/yodas-evil-twin 4h ago

Where did your read that?

15

u/overly_sarcastic24 9h ago edited 9h ago

There are multiple things that often get confused. While these terms may often get used interchangeably in tech, Synology has very specific definitions for each of these.

2-Factor Authentication (2FA): This is your standard OTP (one time password) authentication. You still need to input a username and password before you input this 2FA code. The code can come from Synology's Secure SignIn app, or any 3rd party authenticator. This in no way requires that the NAS be accessible over the internet.

Approve Sign-In: This is something you can setup in addition to 2FA. This is the feature that allows you to sign in after putting in your username and password with just a tap of approval in the Synology Secure SignIn mobile app. This feature does require either QuickConnect or a secure HTTPS connection to the NAS.

Adaptive Mult-Factor Authentication (Adaptive MFA): This is not true 2FA, but at times can act like it. If the system detects a strange login, such as a login from a strange place or time, and you don't already have 2FA enabled on the account, then the system will send you a code via email that it will require you to provide in order to login. This does not require any 2FA app, and only applies to uses in the administrator group. This does not require the NAS to be accessible over the internet, but if the NAS is not accessible over the internet, then it's unlikely that this would trigger anyway.

Passwordless SignIn: This is not 2FA, but it's often confused as 2FA. This is because it uses the Synology Mobile app to send you an approval to sign-in, similar to the Approve Sign-In method. The key difference is that this does not require you to input your password. You simply input your account name in DSM, and then a code is sent to your Secure SignIn mobile app, and you have to input your code.

This is worse than 2FA, and it's debatable as to whether it's even better than a regular username/password because it requires a QuickConnect or a secure HTTPS connection so the NAS would have to be exposed to the internet. If the NAS is going to be exposed to the internet anyway, then I suppose Passwordless SignIn would be better than nothing at all, but if it's going to be exposed to the internet then you should at least be doing the extra steps of enforcing 2FA.

5

u/gts250gamer101 9h ago

Yes, that's it! It was the "approve sign-in" that I saw people talking about, and that it required you to enable QC/HTTPS remotely.

I will go with the good ol' 2FA method. I still have my Yubikey, so I will look into getting that set up. Thank you for the excellent breakdown, this should be stickied on the sub!

2

u/realaaa 8h ago

Wow thanks!! Commenting to find later, great summary

4

u/Kv603 DS923+ 9h ago

Choosing to enable 2-Factor Authentication with a 3rd party authenticator app (such as Google Authenticator) does not open any additional communications or vulnerability.

Using the Synology security app with "Approve Sign-in" (Push notification) does open up additional communications, as that feature requires DSM b e accessible via a public IP address, domain name (FQDN/DDNS), or QuickConnect ID.

See also https://eddit.com/r/synology/comments/1xlwgo2/psa_if_you_disable_quickconnect_make_sure_your/

1

u/mythic_device 50m ago

I’ve never encountered a situation where MFA increased risk. I can’t even fathom it.

-3

u/HUGE_FAT_ANIME_TITS 7h ago

Ya'know I really should have done some more research before going with Synology. I just wanted a simple file server. The built in apps are nice, but I feel like I bought some sort of cheap IoT device after everything that has happened these last couple of weeks.

2

u/gts250gamer101 7h ago

In fairness, this is really not unique to Synology. I follow a lot of self-hosted subs and projects, and it's been a widespread issue everywhere. Synology just happens to make one of the most common "consumer-friendly" NAS boxes, so they are in the firestorm.

-4

u/HUGE_FAT_ANIME_TITS 6h ago

Fair response. I have an old Thecus NAS from like 2013 that's barely been used. I'm about to spin that thing up, there's no way someone would think about compromising it.

4

u/CloudyofThought 4h ago

They won't have to think about it, it's probably got so many unpatched zero days, any of the AI models could crack in 60s.

3

u/TJhambone09 4h ago

I have an old Thecus NAS from like 2013 that's barely been used. I'm about to spin that thing up, there's no way someone would think about compromising it.

This is horribly flawed thinking.

1 - No person is "thinking" about compromising ANY of these devices. The attacks are automated.

2 - The automated attack libraries only grow larger. They don't forget about 2013 devices.

0

u/gts250gamer101 5h ago

Eh, I don't think that'd be any safer. I'd imagine your best bet is to just keep it offline (i.e. LAN only, not externally accessible), and disable any port forwarding settings.