# Server hack assistance

**URL:** https://forums.plex.tv/t/server-hack-assistance/146373
**Category:** General Discussions
**Created:** [May 29, 2016, 11:17am UTC](https://forums.plex.tv/t/server-hack-assistance/146373 "2016-05-29T11:17:26Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [May 29, 2016, 11:17am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/1 "2016-05-29T11:17:26Z")

</div>

Woke up this morning to find that my Plex server had been changed to “I’ve got into your server - please secure it” apart from changing the password what things should I consider doing?

---

<div class="post-metadata">

### Author: ![JGNTSteve](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@JGNTSteve](https://forums.plex.tv/u/JGNTSteve)
#### Post date: [May 29, 2016, 11:59am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/2 "2016-05-29T11:59:22Z")

</div>

I had the same experience this week - the name of my server also changed to the same as the OP. I’m using Plex on FreeBSD.

---

<div class="post-metadata">

### Author: ![Peter\_W](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/peter_w/32/6556_2.png) [@Peter\_W](https://forums.plex.tv/u/Peter_W)
#### Post date: [May 29, 2016, 4:33pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/3 "2016-05-29T16:33:25Z")

</div>

Some things that comes to my mind;  
When changing password, remember to check the little box below that signs out all connected devices. See [https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Token](https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Token) and “getting a new token”  
If using Plex Home, remember to only have trusted family members in your home (since it’s only a PIN guess away from full access).  
If not using Plex Home, secure the local LAN [https://support.plex.tv/hc/en-us/articles/200890058-Require-authentication-for-local-network-access](https://support.plex.tv/hc/en-us/articles/200890058-Require-authentication-for-local-network-access)  
Set the crypto setting to forced if possible (instead of preferred)  
Turn off DLNA (if not in a Home)  
Do not use UPNP

I’m sure you’ll get more helpful feedback from others.

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [May 29, 2016, 7:35pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/4 "2016-05-29T19:35:42Z")

</div>

There was a preconfigured Plex server distributed by a 3rd party in the past for FreeBSD/FreeNAS which had a crucial setting wrong:  
`disableRemoteSecurity=1`  
which disables all user authentication. Everyone has full admin rights!  
This preference needs to be set back to `0`

[https://support.plex.tv/hc/en-us/articles/201105343](https://support.plex.tv/hc/en-us/articles/201105343)

I am no expert for FreeNAS, but if you run Plex in a kind of ‘virtualised container’, before you reset the pref to 0, verify that you are running the Plex container not NAT’ed but ‘bridged’. So it gets an IP address of your normal private network and not some intermediate subnet which would put it into a double-NAT situation.

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [May 29, 2016, 8:32pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/5 "2016-05-29T20:32:13Z")

</div>

My server is up to date… I use plexpy which I’ve just updated to the latest update… I’ve two servers but they only changed one so I suspect they’ve logged in online somewhere?

Does Plex have any logs for me to try and check how someone had logged in and changed my Plex server name?

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [May 29, 2016, 9:05pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/6 "2016-05-29T21:05:42Z")

</div>

This has nothing to do with up-to-date or not.  
You must find the advanced server preferences on your installation and change the preference in there. Follow the link I set.

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [May 29, 2016, 9:34pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/7 "2016-05-29T21:34:33Z")

</div>

? I don’t have that option, I’m using the officially released Plex for Synology server not the FreeBSD/FreeNAS you mention above

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [May 30, 2016, 9:07am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/8 "2016-05-30T09:07:29Z")

</div>

These are advanced preferences. They don’t have a GUI representation. Instead, they are hidden in a file `Preferences.xml` (at least in Linux, you should be able to find where they live in FreeBSD by looking through the [FreeBSD subforum](https://forums.plex.tv/categories/freebsd "FreeBSD subforum")) somewhere in the plex data folder.

[edit]: take a look at [https://forums.plex.tv/discussion/comment/1184970/#Comment\_1184970](https://forums.plex.tv/discussion/comment/1184970/#Comment_1184970)

[edit2]: I totally missed that you didn’t tell me which platform your server runs on. My answers were informed by @JGNTSteve mentioning of FreeNAS.  
The [synology subforum](https://forums.plex.tv/categories/synology "synology subforum") should be able to tell you where to look for the file. It is definitely named `Preferences.xml` on the Syno platform.

---

<div class="post-metadata">

### Author: ![Night](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@Night](https://forums.plex.tv/u/Night)
#### Post date: [May 30, 2016, 10:57am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/9 "2016-05-30T10:57:00Z")

</div>

Your plexlogs should say the IP of the user to accessed your server. but this seams like a white hat “hacker”.

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [June 1, 2016, 8:43am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/10 "2016-06-01T08:43:23Z")

</div>

Thanks Night… doesn’t appear I can go back far enough to check my Plex logs on the server… I suspect they’ve got in to my online account and they only changed one of my server names, the other is only available internally so wouldn’t have been available… Which makes me wonder how they’ve hacked my password? Is there anything else I can check to see whats happened?

Thanks for your assistance.

---

<div class="post-metadata">

### Author: ![atrus](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atrus/32/31_2.png) [@atrus](https://forums.plex.tv/u/atrus)
#### Post date: [June 1, 2016, 9:57am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/11 "2016-06-01T09:57:23Z")

</div>

> @x2srj said:  
> Thanks Night… doesn’t appear I can go back far enough to check my Plex logs on the server… I suspect they’ve got in to my online account and they only changed one of my server names, the other is only available internally so wouldn’t have been available… Which makes me wonder how they’ve hacked my password? Is there anything else I can check to see whats happened?
> 
> Thanks for your assistance.

Two things comes to mind:

1. You did not have a password which was hard to brute force. Brute-forcing a password takes mere milliseconds for average peoples password, and mere seconds for a bit stronger ones. Only truly strong passwords are safe. For now.
2. Maybe you used PlexWatchWeb before you installed PlexPy? PWW was great, but it was a 3rd-party tool in which you could save your Plex password. That password was (still is maybe?) visible if you just visited the web interface and right clicked and chose “show source”.

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [June 1, 2016, 11:19am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/12 "2016-06-01T11:19:21Z")

</div>

> @atrus said:
> 
> > @x2srj said:  
> > Thanks Night… doesn’t appear I can go back far enough to check my Plex logs on the server… I suspect they’ve got in to my online account and they only changed one of my server names, the other is only available internally so wouldn’t have been available… Which makes me wonder how they’ve hacked my password? Is there anything else I can check to see whats happened?
> > 
> > Thanks for your assistance.
> 
> Two things comes to mind:
> 
> 1. You did not have a password which was hard to brute force. Brute-forcing a password takes mere milliseconds for average peoples password, and mere seconds for a bit stronger ones. Only truly strong passwords are safe. For now.
> 2. Maybe you used PlexWatchWeb before you installed PlexPy? PWW was great, but it was a 3rd-party tool in which you could save your Plex password. That password was (still is maybe?) visible if you just visited the web interface and right clicked and chose “show source”.

thank you… I’ve changed my password… I’m not sure what I did with PlexWatchWeb but it’s a possibility.

I’ll look at increasing the password on my all my accounts across the board going forward. Thank you for your advice and assistance.

---

<div class="post-metadata">

### Author: ![Peter\_W](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/peter_w/32/6556_2.png) [@Peter\_W](https://forums.plex.tv/u/Peter_W)
#### Post date: [June 1, 2016, 11:42am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/13 "2016-06-01T11:42:09Z")

</div>

When you changed the password, did you remember the “sign out all connected devices”? You’ll have to sign in again on your server but this is necessary to purge all cached tokens (afaik).

Also, I can recommend to start using a password manager and where possible two-time authentication (ex your phone). I personally use lastpass as my manager, but there are others.

---

<div class="post-metadata">

### Author: ![Night](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@Night](https://forums.plex.tv/u/Night)
#### Post date: [June 1, 2016, 1:46pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/14 "2016-06-01T13:46:54Z")

</div>

> @x2srj said:  
> Thanks Night… doesn’t appear I can go back far enough to check my Plex logs on the server… I suspect they’ve got in to my online account and they only changed one of my server names, the other is only available internally so wouldn’t have been available… Which makes me wonder how they’ve hacked my password? Is there anything else I can check to see whats happened?
> 
> Thanks for your assistance.

There should be lots of logs which have rolled over, check out  
Plex Media Server.1.log  
Plex Media Server.2.log  
Plex Media Server.3.log  
Plex Media Server.4.log  
Plex Media Server.5.log  
and so on,  
an IP wont how ever do you much since you will not be able to get name behind that IP but you can block it in your firewall.

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [June 1, 2016, 3:41pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/15 "2016-06-01T15:41:53Z")

</div>

Thanks Peter… I’ve completed the “Sign out of all devices now” and increased the password for the near future whilst I look in to a password manager.

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [June 1, 2016, 5:21pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/16 "2016-06-01T17:21:25Z")

</div>

> @Night said:
> 
> > @x2srj said:  
> > Thanks Night… doesn’t appear I can go back far enough to check my Plex logs on the server… I suspect they’ve got in to my online account and they only changed one of my server names, the other is only available internally so wouldn’t have been available… Which makes me wonder how they’ve hacked my password? Is there anything else I can check to see whats happened?
> > 
> > Thanks for your assistance.
> 
> There should be lots of logs which have rolled over, check out  
> Plex Media Server.1.log  
> Plex Media Server.2.log  
> Plex Media Server.3.log  
> Plex Media Server.4.log  
> Plex Media Server.5.log  
> and so on,  
> an IP wont how ever do you much since you will not be able to get name behind that IP but you can block it in your firewall.

I checked these however they only appeared to go back a couple of days and didn’t cover the 29th or early on the 30th when I believe the intrusion occurred. Should I increase the logging time? Is there a way to do that? Thanks

---

<div class="post-metadata">

### Author: ![Night](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@Night](https://forums.plex.tv/u/Night)
#### Post date: [June 1, 2016, 6:22pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/17 "2016-06-01T18:22:46Z")

</div>

i have logs on different parts, like firewalls i log every connection to given ports, and i keep for for all time. Normal people do not need such logs, which OS are you on? might be able to get some extraction

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [June 2, 2016, 6:18am UTC](https://forums.plex.tv/t/server-hack-assistance/146373/18 "2016-06-02T06:18:43Z")

</div>

> @Night_2 said:  
> i have logs on different parts, like firewalls i log every connection to given ports, and i keep for for all time. Normal people do not need such logs, which OS are you on? might be able to get some extraction

I’m on Synology… Here is a screen shot of what I see (you’ll see the Plex Media [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) appear to be only today/yesterday):

 ![](https://sea1.discourse-cdn.com/plex/uploads/default/original/3X/b/8/b8480bc74abdfafd2a3bdca695936b73a0d2178c.png)

---

<div class="post-metadata">

### Author: ![x2srj](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@x2srj](https://forums.plex.tv/u/x2srj)
#### Post date: [June 12, 2016, 8:25pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/19 "2016-06-12T20:25:31Z")

</div>

Right so this was my fault. Not having my server secure whilst on a vpn and no auth on my pms. I’ve sorted that and no more issues. Thanks for your support

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [January 7, 2020, 9:25pm UTC](https://forums.plex.tv/t/server-hack-assistance/146373/20 "2020-01-07T21:25:43Z")

</div>


