Well, can you be particularly surprised? If you had followed the FreeNAS updates, you would have known that 8.0.4-p1 has known security vulnerabilities as of more than a year ago!
Other than that, none of the information you have gives any clue as to how they gained access to the server. They could have used a vulnerability to gain access to another machine in the network and brute forced your password, guessed your password was something simple like "password", etc.
In essence you really provide no information as to how they got in only that they did. It really doesn't validate that there is any attack vector within FreeBSD or FreeNAS that should be investigated further.
Not to sound rude but your post is nothing more than "I got hacked". Well, that's obvious. But what's important is how they did. If they guess an easy password, poor permission setup on your part, etc then there isn't a problem with FreeBSD or FreeNAS but an administration issue/error. But if you had specific information on how in particular they gained access that may include an unknown vulnerability, that would be worth looking into.
Other people have been hacked too. Many of them stupidly opened one or more ports on their firewall to FreeNAS so they could remotely connect to their server. In those cases, those individuals got exact what they deserved. Everyone that has an inkling of security knows not to forward ports like that. That's just stupid.