News for hackers. Stuff that matters.
Re:My Synology NAS has been hacked by ransomware calling its... by vomitcuddle on Sunday August 03, 2014 @06:23PM (#8129383)
I'm guessing this only affects you if you have their EZ-Internet service enabled that exposes the NAS to the public internet. Or if you exposed it yourself on your firewall.

I've had a Synology NAS for almost a year now. I really like the UI, but the software stack they're using under the hood (Apache, PHP, MySQL, etc.) has a massive attack surface, if not routinely kept up-to-date.

Here's an nmap trace from my Synology DiskStation: amber@leysritt ~ % nmap -A <redacted>

  Starting Nmap 6.46 ( http://nmap.org ) at 2014-08-03 23:06 BST
  Nmap scan report for <redacted>
  Host is up (0.011s latency).
  Not shown: 987 closed ports
  PORT     STATE SERVICE     VERSION
  22/tcp   open  ssh         OpenSSH 5.8p1-hpn13v11 (protocol 2.0)
  | ssh-hostkey:
  |   1024 <redacted> (DSA)
  |   2048 <redacted> (RSA)
  |_  256 <redacted>  (ECDSA)
  80/tcp   open  http        Apache httpd
  |_http-generator: ERROR: Script execution failed (use -d to debug)
  |_http-methods: No Allow or Public header in OPTIONS response (status code 301)
  |_http-title: Did not follow redirect to http://<redacted>:5000/
  111/tcp  open  rpcbind     2-4 (RPC #100000)
  | rpcinfo:
  |   program version   port/proto  service
  |   100000  2,3,4        111/tcp  rpcbind
  |   100000  2,3,4        111/udp  rpcbind
  |   100003  2,3         2049/udp  nfs
  |   100003  2,3,4       2049/tcp  nfs
  |   100005  1,2,3        892/tcp  mountd
  |   100005  1,2,3        892/udp  mountd
  |   100021  1,3,4      33154/tcp  nlockmgr
  |   100021  1,3,4      38187/udp  nlockmgr
  |   100024  1          44039/tcp  status
  |_  100024  1          53309/udp  status
  139/tcp  open  netbios-ssn Samba smbd 3.X (workgroup: REDACTED)
  161/tcp  open  snmp?
  445/tcp  open  netbios-ssn Samba smbd 3.X (workgroup: REDACTED)
  515/tcp  open  printer
  548/tcp  open  afp         Netatalk 2.2.3 (name: redacted; protocol 3.3)
  | afp-serverinfo:
  |   | Server Flags: 0x8f79
  |   |   Super Client: Yes
  |   |   UUIDs: Yes
  |   |   UTF8 Server Name: Yes
  |   |   Open Directory: Yes
  |   |   Reconnect: No
  |   |   Server Notifications: Yes
  |   |   TCP/IP: Yes
  |   |   Server Signature: Yes
  |   |   ServerMessages: Yes
  |   |   Password Saving Prohibited: No
  |   |   Password Changing: No
  |   |_  Copy File: Yes
  |   Server Name: redacted
  |   Machine Type: Netatalk2.2.3
  |   AFP Versions: AFP2.2, AFPX03, AFP3.1, AFP3.2, AFP3.3
  |   UAMs: Cleartxt Passwrd, No User Authent, DHX2, DHCAST128
  |   Server Signature: redacted
  |   Network Address 1: redacted
  |_  UTF8 Server Name: redacted
  631/tcp  open  ipp         CUPS 1.5
  | http-methods: Potentially risky methods: PUT
  |_See http://nmap.org/nsedoc/scripts/http-methods.html
  |_http-title: Not Found - CUPS v1.5.4
  2049/tcp open  nfs         2-4 (RPC #100003)
  3689/tcp open  daap        mt-daapd DAAP 0.2.4.1
  5000/tcp open  http        Apache httpd
  |_http-generator: ERROR: Script execution failed (use -d to debug)
  |_http-methods: No Allow or Public header in OPTIONS response (status code 302)
  | http-robots.txt: 1 disallowed entry
  |_/
  |_http-title: Did not follow redirect to https://redacted:5001
  5001/tcp open  ssl/http    Apache httpd
  |_http-generator: ERROR: Script execution failed (use -d to debug)
  |_http-methods: No Allow or Public header in OPTIONS response (status code 301)


  | http-robots.txt: 1 disallowed entry
  |_/
  |_http-title: Did not follow redirect to https://redacted/webman/index.cgi
  | ssl-cert: Subject: commonName=synology.com/organizationName=Synology
  Inc./stateOrProvinceName=Taiwan/countryName=TW
  | Not valid before: REDACTED
  |_Not valid after:  REDACTED
  |_ssl-date: REDACTED
  | tls-nextprotoneg:
  |   spdy/3
  |   spdy/2
  |   http/1.1
  |_  x-mod-spdy/0.9.4.2-465a04f
  Service Info: OS: Unix

  Host script results:
  |_nbstat: NetBIOS name: redacted, NetBIOS user: <unknown>, NetBIOS MAC: <unknown>
  (unknown)
  | smb-os-discovery:
  |   OS: Unix (Samba 3.6.9)
  |   Computer name: redacted
  |   NetBIOS computer name:
  |   Domain name:
  |   FQDN: redacted
  |_  System time: redacted
  | smb-security-mode:
  |   Account that was used for smb scripts: guest
  |   User-level authentication
  |   SMB Security: Challenge/response passwords supported
  |_  Message signing disabled (dangerous, but default)
  |_smbv2-enabled: Server supports SMBv2 protocol

  Service detection performed. Please report any incorrect results at
  http://nmap.org/submit/ .
  Nmap done: 1 IP address (1 host up) scanned in 40.47 seconds

It's sad that most of the open-source NAS solutions are so bad compared to their commercial counterparts. FreeNAS (and related forks) sacrifice too much flexibility and don't offer anything that you can't easily do yourself with a Linux/BSD server distro.

I'd love to work on an open-source, security-oriented, user-friendly DSM "clone" with the right kind of people. If this sounds like fun or it sounds like something you're currently working on - shoot me an email: [email protected]

I also wish there was such a thing as a nice, inexpensive ARM board (~$100) with plenty of SATA ports and upgradable RAM (so you can run huge ZFS pools on it) that you can install your own OS on...

Re:My Synology NAS has been hacked by ransomware calling its... by me1010 on Sunday August 03, 2014 @06:56PM (#8129467)
Synology DSM is a GNU/Linux distro. It runs the exact same stuff as any other distro, including the kernel and all services and the filesystem. The only differences between building your own NAS with a good server distro like Debian 'stable' and running a "commercial" Synology box are:

1. The client interface to the NAS.

2. The 'cloud' services.

Only #1 is actually a deliverable with the Synology NAS. And #2 presents a terribly broken privacy policy...

For myself, I'd much rather be running something that I know is updating from an authenticated and keyyed repo than something which is attempting to make the user believe that somehow the "commercial" NAS is magically different than running a regular GNU/Linux distro...

Re:My Synology NAS has been hacked by ransomware calling its... by zurn on Monday August 04, 2014 @03:34AM (#8130720)
It would be good if that was the only difference, but unfortunately NAS boxes usually lack the competent security updates and the automated delivery mechanism for them.
Re:My Synology NAS has been hacked by ransomware calling its... by vomitcuddle on Sunday August 03, 2014 @07:34PM (#8129543)
Compared to a good (i don't really consider Debian "good", since the 2006 OpenSSL screwup) Linux distro: you control your own software, you can make sure it's kept up-to-date and the binaries come from a trusted source (and you can build them yourself, if you want to).
Re:My Synology NAS has been hacked by ransomware calling its... by alrs on Sunday August 03, 2014 @11:00PM (#8130096)
If you're upset about the OpenSSL screwup, you're mad at the OpenSSL project for telling the Debian maintainer that commenting out some code would be OK.

Your beef is with [email protected], not the Debian project.

http://marc.info/?l=openssl-dev&m=114652287210110&w=2

Re:My Synology NAS has been hacked by ransomware calling its... by makomk on Monday August 04, 2014 @06:10AM (#8131001)
He didn't say that he was a Debian maintainer or planning to comment out the two lines and ship it in a distro, misdescribed what he was commenting out, and didn't provide enough context to make it clear that he'd misdescribed it. (Even knowing what functions the lines he was commenting out were in would probably have been enough to ring alarm bells.)

There's a limit to how much effort the OpenSSL developers should have to put into stopping people from shooting themselves in the foot, and tracking down lines of code identified only by their line number in an unspecified version of OpenSSL to make sure they do what some random guy on the mailing list thinks they do is way over that limit.

Re:My Synology NAS has been hacked by ransomware calling its... by vomitcuddle on Tuesday August 05, 2014 @06:29PM (#8139896)
I'm upset that in the year 2014 we still think that having the package maintainers patch ancient software instead of providing latest upstream versions is a good idea. I'm a big fan of the *BSD package management model - they give you a stable core, you pick your own (upstream, possibly bleeding-edge) versions of everything else.
Re:My Synology NAS has been hacked by ransomware calling its... by me1010 on Sunday August 03, 2014 @08:09PM (#8129619)
I'm not sure what you mean...

Are you comparing the Synology GNU/Linux distro to Debian or some generic [non-Debian] distro to Debian?

If you are comparing Synology to Debian, then the "trusted" source argument is entirely flawed. The source, meaning both source code and source of software, of software running on Synology hardware is not Synology. Synology only makes the GUI client that runs on your machine that locally interfaces to the NAS box.

As to the Debian 2006 SSL problem... stuff happens... Apple had some silly security problems too, much more recently than 2006. And Android is so full of holes, it's a wonder the platform works at all...

However, when the generalized public buys a NAS product -- the vendor should indicate the potential security problems regarding "cloud" connections in big bold letters on the box and in the manual and have a large red warning that pops up in the user interface. My guess is most users wouldn't care, but it actually is extremely risky to connect these devices to the wild wild west open Internet.

Re:My Synology NAS has been hacked by ransomware calling its... by matthewmacleod on Monday August 04, 2014 @08:40AM (#8131452)
Surely you'd need to write it yourself. Well, no - what if the compiler is compromised!

http://cm.bell-labs.com/who/ken/trust.html

Re:My Synology NAS has been hacked by ransomware calling its... by vomitcuddle on Tuesday August 05, 2014 @06:25PM (#8139881)
I think I trust my compiler to generate clean assembly more than I trust a commercial company like Synology to write secure software
Re:My Synology NAS has been hacked by ransomware calling its... by girvo on Sunday August 03, 2014 @08:23PM (#8129658)
I've hacked my own Synology through it's "cloud services" setup, to the point where I uploaded a privlege escalation exploit (for the really old kernel). It was frighteningly easy, so now it's firewalled off on my local network :(
Re:My Synology NAS has been hacked by ransomware calling its... by meatmanek on Sunday August 03, 2014 @08:38PM (#8129702)
Did you contact Synology to report the vulnerability?
Re:My Synology NAS has been hacked by ransomware calling its... by girvo on Sunday August 03, 2014 @09:23PM (#8129823)
Someone already had, I didn't find the vulnerability on my own. I merely played with it to see how bad it was
Re:My Synology NAS has been hacked by ransomware calling its... by MileyCyrax on Sunday August 03, 2014 @08:51PM (#8129734)
How could they possibly not be aware?
Re:My Synology NAS has been hacked by ransomware calling its... by 15characterlimi on Sunday August 03, 2014 @09:18PM (#8129807)
Probably because nobody has contacted Synology to report the vulnerability
Re:My Synology NAS has been hacked by ransomware calling its... by CamperBob2 on Monday August 04, 2014 @03:49PM (#8133649)
If they read their own customer forums, they're aware.

If they don't, they're almost criminally negligent, so you wouldn't want to buy from them anyway.

Re:My Synology NAS has been hacked by ransomware calling its... by hedwall on Monday August 04, 2014 @05:36AM (#8130946)
I am currently running FreeNAS for my home storage, was is it that you are missing?

I used to run as simple Ubuntu server with NFS, but realised I just want the simplicity of a web interface over doing it over ssh.

Re:My Synology NAS has been hacked by ransomware calling its... by XorNot on Sunday August 03, 2014 @06:57PM (#8129471)
IMO ARM is kind of a wash when it comes to NAS - with modern chipsets most of your power goes to keeping the disks spinning. My C2550D4I file server build I just completed uses about 60W in idle. By my calculations ~40 or so of that is the power used by the 8 disks plus SSD boot drive.

x86 chips are more then suitable for the application since you're no longer in "ultra ultra low power" territory (and for ZFS, are beneficial because you want those checksum calcs to finish fast).

Re:My Synology NAS has been hacked by ransomware calling its... by vomitcuddle on Sunday August 03, 2014 @07:48PM (#8129577)
I agree, but I can buy two entry-level Synology DiskStations for the price of one C2550 CPU+MB bundle. I really like that CPU and I would buy it in a heartbeat to replace my Synology, if the price didn't include the "GenuineIntel tax".
Re:My Synology NAS has been hacked by ransomware calling its... by rjsw on Sunday August 03, 2014 @08:52PM (#8129735)
When I bought it, my HP MicroServer cost less than any equivalent ARM NAS, it has ECC RAM too.
Re:My Synology NAS has been hacked by ransomware calling its... by uxp on Monday August 04, 2014 @09:09AM (#8131556)
I also went with an HP MicroServer, but only just heard about their somewhat recent policy change of requiring a valid warranty or paid service plan to obtain firmware and software updates.

http://www.zdnet.com/hp-to-begin-charging-for-firmware-updat...

Re:My Synology NAS has been hacked by ransomware calling its... by XorNot on Sunday August 03, 2014 @09:24PM (#8129827)
Same. I went that route because a NAS of any appreciable capacity was going to cost more for the box and no disks then my entire setup put together.
Re:My Synology NAS has been hacked by ransomware calling its... by voltagex_ on Sunday August 03, 2014 @07:34PM (#8129542)
Can the disks spin down at all in your set up?

I've been looking at those processors for a while (Intel Avoton C2550). Was there any advantage to going up a few models in that series?

Re:My Synology NAS has been hacked by ransomware calling its... by NoMoreNicksLeft on Monday August 04, 2014 @01:52AM (#8130534)
I have a dumb question: How are they using ZFS on these? I thought ZFS was incompatible with GPL, which was a stumbling block for implementing it in linux. Don't tell me they're using FUSE.

Or do these NAS machines all run some BSD variant?

Re:My Synology NAS has been hacked by ransomware calling its... by yardie on Monday August 04, 2014 @03:58AM (#8130756)
Most of these appliances aren't using ZFS. They are using mdadm with ext4.
Re:My Synology NAS has been hacked by ransomware calling its... by dagw on Monday August 04, 2014 @03:26AM (#8130711)
There's http://zfsonlinux.org/ The ZFS license prohibits it from being distributed as part of the kernel binary, but there is nothing prohibiting source code or a binary for a ZFS kernel module from being distributed separately.

But I have no idea if they use it or not.

Re:My Synology NAS has been hacked by ransomware calling its... by justincormack on Monday August 04, 2014 @11:35AM (#8132193)
You can use it under Linux, but distribution is more involved, at least according to some people.

Use FreeNAS if you want ZFS on a NAS though, it is well supported.

Re:My Synology NAS has been hacked by ransomware calling its... by Alupis on Sunday August 03, 2014 @09:44PM (#8129881)
Uh... why was your reletively cheap "nas-in-a-box" exposed to the public internet? I don't even let my NAS as the office be exposed to the internet!

- Also, for what it is worth, FreeNAS is amazing, and is open source.

Re:My Synology NAS has been hacked by ransomware calling its... by fulafel on Monday August 04, 2014 @06:24AM (#8131025)
It's a worrying meme that you shouldn't even expect your internet-connectible devices to survive the internet, and when they break its your fault.

If a consumer device speaks IP and is not designed to survive in a reasonable internet-connected home network, there should be huge warning labels all over it and it should go to some safe-mode with only diagnostic functionality if it detects internet connectivity.

Re:My Synology NAS has been hacked by ransomware calling its... by roc on Monday August 04, 2014 @10:16AM (#8131811)
> "It's a worrying meme that you shouldn't even expect your internet-connectible devices to survive the internet, and when they break its your fault."

This has been the go-to techie reaction to security problems since the time of dial-up modems. It's a bad attitude [1], but it's not a "meme". It's the only successful strategy an entire generation of technologically-minded people have found and preached in response to a generation's-worth of terrible software security, slow/absent/can't-be-arsed software providers and under-educated users.

Should things be different? Sure. Attitudes should be better and the software should be better. But so long as the latter isn't reflected in reality, there isn't much hope for the former.

[1] It's a bad attitude because blaming the user puts them on the defensive and reduces the chance of any progress being made.

Re:My Synology NAS has been hacked by ransomware calling its... by Alupis on Monday August 04, 2014 @10:43AM (#8131935)
You can't have your cake and eat it too.

If you want to buy an off-the-shelf "home appliance" you will get just that -- a product where you cannot update firmware/software, reconfigure security and firewall settings, etc. Maybe it's secure the day you buy it -- but in 5 years? With no updates? No way.

If you buy something more enterprise grade -- or, the best option, roll your own with some of the very good options like FreeNAS or OwnCloud, then you will be able to keep it secure and up-to-date. But this takes more effort - and is likely the reason the OP did not opt for one of these very fine options.

> "It's a worrying meme that you shouldn't even expect your internet-connectible devices to survive the internet, and when they break its your fault."

That's not true -- you have an ethernet/network capable device; not an internet capable device -- nowhere on the box does it say "Plug this directly into the open public network in front of your firewall or inside a DMZ. You need to be responsible with your devices. Just because it can serve a web page does not mean it should be accessible over the internet! This is true even with enterprise grade gear.

Saying you want to not worry about security at all but still want to put devices on the public internet that need protection is like saying you want to have a car but don't want to ever change it's oil. Sure, you as an individual can avoid changing oil -- hire a technician. Same goes with your home network.

So no, it's not a bad attitude -- it's irresponsible and/or ignorant home users.

Re:My Synology NAS has been hacked by ransomware calling its... by kstrauser on Monday August 04, 2014 @12:42PM (#8132629)
> That's not true -- you have an ethernet/network capable device; not an internet capable device -- nowhere on the box does it say "Plug this directly into the open public network in front of your firewall or inside a DMZ.

It pretty much does exactly that. It's marketed and designed for you to open ports directly to it for its various first-party packages, like PhotoStation, CloudStation, WebDAV, etc. I think it's reasonable to expect that those packages, which are major selling points for this system, should be reasonable capable of working on the public Internet.

Re:My Synology NAS has been hacked by ransomware calling its... by me1010 on Monday August 04, 2014 @03:41PM (#8133613)
> like PhotoStation, CloudStation, WebDAV,

There are secure ways to run things and insecure ways to run things. It's very possible to setup a postfix or exim smtp server as an insecure open relay running on port 25. It's also possible to have either running securely on port 25... And an open port is meaningless by itself. It's the security options applied by the system and application running a service on the port that matter.

The examples you give are just applications that run over http or https... https requires an SSL cert from a trusted CA, and http is a very bad idea for anything that you log into, or that has free access to your home network from the Internet.

I imagine most users skip this step... http://docs.qnap.com/nas/4.0/en/security.htm?zoom_highlights...

Note, the SSL certificate instructions... You can upload a secure certificate issued by a trusted provider. After uploading a secure certificate, users can connect to the administration interface of the NAS by SSL connection and there will not be any alert or error message.

...

The error message referred to here is the web browser message indicating that the SSL certificate doesn't match a trusted CA, and therefore your "secure" NAS connection might be Man-In-The-Middle attacked... And if you don't upload an SSL cert - and connect via http externally - it means that the most amateur of "bad guys" already has your 30 character username and your 45 digit/character/special character password...

Re:My Synology NAS has been hacked by ransomware calling its... by kstrauser on Monday August 04, 2014 @07:19PM (#8134619)
You're right, but I'm not sure that we're saying different things. (FWIW, I actually bought an SSL cert just for my Synology DS412+.)

We don't have enough information to even guess at what the root problem might be, but I contend that this particular piece of hardware is designed for and meant to live on the open Internet. Yes, that's a very scare place. But it's not unreasonable to think that an up-to-date Unix server should be capable of the job, especially when it's vendor explicitly sales it on the basis that it is.

I'm strongly hoping that the vulnerability turns out to be something already patched in a software update and not a 0-day. That would go a long way toward making me feel better about the situation.

Re:My Synology NAS has been hacked by ransomware calling its... by Alupis on Tuesday August 05, 2014 @10:53AM (#8137177)
> But it's not unreasonable to think that an up-to-date Unix server should be capable of the job

You are right, an up-to-date Unix/Linux server is capable of the job (but still requires routine security maintenance to keep secure!) -- however, this home appliance is far from being up-to-date... by design.

My CentOS boxes at the office update almost every few days... how often does this appliance update? Once a year? Maybe twice if you are lucky. Then how many users are actually applying all updates? Probably very few.

I would further contend that a nas-in-a-box like this can never be secure. The vendor isn't going to update it frequently enough -- not enough users will actually update -- they are likely using old out-dated/insecure versions of various open source projects or worse, crudely hacked together proprietary projects to run the webserver, webui, ssl layer, authentication, etc. By now, the manufacturer has probably already back-burnered this device and moved onto newer models, or will be shortly -- completely abandoning all the current users who will get stuck with a swiss-cheese-in-a-box.

I'll go further and content the only safe and secure way to do this is to go with something like FreeNAS or OwnCloud. Both are current projects with massive user-bases. Both are FOSS projects, and both have a corporate backing if you need support or more enterprise features. Both stay very up-to-date with bugfixes, security fixes, and new features rolling out often. Both have upgrade paths from older versions, etc. Basically, they are much more secure and will stay that way for the life of the project.

Re:My Synology NAS has been hacked by ransomware calling its... by kstrauser on Tuesday August 05, 2014 @11:00AM (#8137236)
> how often does this appliance update? Once a year?

About once a month: http://www.synology.com/en-global/releaseNote/model/DS412+

Synology uses the same base distro across all their devices, so everyone gets updates at about the same time. The device emails me when a new software version is available.

I get what you're saying, but in this case it's totally wrong. They're very active about providing updates to add functionality (even to old systems!) and fix stuff.

So back to my original position: this is not an unreasonable thing to expect to be able to run on the Internet. It's a modern Linux box that gets monthly updates, designed with the explicit intention of providing secure services over the public Internet. It would absolutely suck if that proved not to be the case.

Re:My Synology NAS has been hacked by ransomware calling its... by jdong on Tuesday August 05, 2014 @01:37AM (#8135701)
IDK what world you live in, but in my world I'm not getting actively MITMd by "amateur bad guys". If that was the case, my NAS would be the last thing I'd be worrying about.

Also, what security do you expect SSL to provide on a device with copious remote code execution vulns?

Re:My Synology NAS has been hacked by ransomware calling its... by snicker on Monday August 04, 2014 @01:12AM (#8130440)
I've been running FreeNAS since 8.1... not sure what this person is referring to, I have several jails running on the same machine with all sorts of wonderful services making my life nice and wonderful (huginn, sickbeard, rtorrent, owncloud, subsonic)
Re:My Synology NAS has been hacked by ransomware calling its... by jagermo on Monday August 04, 2014 @04:20AM (#8130793)
I run a similar setup, it provides VPN access for me (mostly to secure connections in public wifis) and runs a TOR node.

As you said, it is cheap, power consumption is ok and it is ready to go after you plug it in.

Re:My Synology NAS has been hacked by ransomware calling its... by phatfish on Monday August 04, 2014 @09:14AM (#8131573)
Maybe http://zfsguru.com/ could use some help.
Re:My Synology NAS has been hacked by ransomware calling its... by deevus on Sunday August 03, 2014 @07:43PM (#8129571)
How does one lock down their Synology? I sadly don't have extensive experience with linux.
Re:My Synology NAS has been hacked by ransomware calling its... by vomitcuddle on Sunday August 03, 2014 @08:00PM (#8129600)
No need for extensive Linux experience: Use a secure password for DSM, turn off "EZ-Internet" and other DynDNS-like services, make sure it's connected to your router and not directly to the Internet, don't forward any ports, don't enable DMZ or similar functionality on your router, keep up-to-date with DSM updates, make sure other computers on your network are malware-free (there could be a piece of PC malware exploiting synology devices found on the local network), keep multiple backups in different locations (online and offline) of your most valuable data.

These are just best practices, since we don't know anything about this particular piece of malware yet. They should cover most threats and worst-case scenarios.

If you need access to your Synology device from outside your home network, use a VPN or an SSH tunnel.

Re:My Synology NAS has been hacked by ransomware calling its... by chmars on Monday August 04, 2014 @01:43AM (#8130511)
> , turn off "EZ-Internet" and other DynDNS-like services, make sure > it's connected to your router and not directly to the Internet, > don't forward any ports, don't enable DMZ or similar functionality on > your router,

Best practices only if you do not want to access your data outside of your local network – and that is probably no longer the standard case since data you cannot access from mobile devices etc. is pretty useless. And for compliance and security reasons, many users and companies cannot legally use cloud services and have to therefore to use a 'private cloud', i.e., some local server, for example a NAS accessible from the Internet. A manual configuration is of course recommendable but in the end, a 'private cloud' has to be exposed to the Internet and you have to trust your software vendor. The most you can usually do is to protect your LAN by putting your 'private cloud' in a DMZ (although for consumers, that is usually not an option since consumer routers do not offer a real DMZ).

Re:My Synology NAS has been hacked by ransomware calling its... by hrktb on Monday August 04, 2014 @05:27AM (#8130930)
As a private user, the best solution I found was to go through BTSync set on a limited set of document folders.

It doesn't need to forward ports or expose the login system. The BTSync server is still a vulnerability, but it's under it's own user and should give less exposure than the other services like the DSFile that check the login/password. Potential damages on a simple breach (i.e. the sharing key leaked or was guessed) should be limited to the shared folders. I hope.

Re:My Synology NAS has been hacked by ransomware calling its... by thefreeman on Monday August 04, 2014 @09:18AM (#8131589)
I don't have a device, so I cannot verify. But wouldn't an ssh tunnel achieve the goal of penetrating your NAT externally while still not exposing it to the public internet? Granted that is probably not within reach of most users without a tutorial.
Re:My Synology NAS has been hacked by ransomware calling its... by X-Istence on Monday August 04, 2014 @11:32AM (#8132174)
It's called VPN... and yes it works on mobile devices too.
Re:My Synology NAS has been hacked by ransomware calling its... by chmars on Tuesday August 05, 2014 @02:33PM (#8138520)
How can I make sure that apps accessing a NAS only use VPN connections? By default, such configuration is not available for OS X and iOS.

On iOS, you can use profiles I guess but that is not a standard function.

Re:My Synology NAS has been hacked by ransomware calling its... by me1010 on Sunday August 03, 2014 @08:23PM (#8129655)
Forget the password... Those are broken.

Use keys and only keys instead...

http://www.chainsawonatireswing.com/2012/01/15/ssh-into-your...

Re:My Synology NAS has been hacked by ransomware calling its... by thefreeman on Monday August 04, 2014 @09:19AM (#8131593)
Are all of those services definitely listening outside of your local network?