SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-12-2014, 11:48 AM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Easiest Way to Rebuild Server?

So, I did something fairly stupid. I kept RDP open to my Sage server to the Internet, and someone over the course of several months managed to brute force the password. I'm not entirely sure when they got in the first time, but I do know they've been sending a fair bit of traffic to a mail server in the Netherlands, suggesting that they were using my Sage box to send spam.

I took some immediate steps to (hopefully) lock the attackers out, but I don't have a lot of confidence that the attackers didn't muck with the system in a way that I can't detect. And since I can't identify the specific moment that the system was originally attacked, I can't just restore a past backup. At least, not without going pretty far back (which might be worth it, actually).

I'm curious about my options here. If I go back to a really system image, then I'd need to update it back up to the current state. This is a bit easier to handle since there's no SageTV updates, although there's been some plugin updates over that time. I imagine I can probably just recover to an early backup, copy over my newer wiz.bin, and perform the plugin updates. I'd probably be ready to go at that point.

If I want to blow away the system and start from scratch, does anyone have pointers for how to make that the least painful process possible?

At this point, I'm tempted to restore to a 6 month old backup image and check the logs carefully to look for any signs of attack. If that doesn't work, I'll probably suck it up and rebuild from scratch.
Reply With Quote
  #2  
Old 12-12-2014, 12:43 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
If your SageTV is fine, what you should be able to do is just copy/backup your entire SageTV directory. Nuke and pave the machine. Reinstall Sage and the drivers you need, and then just copy the backup Sage folder over the fresh install and all should be good.

Usually the reason that's not recommended is because the reinstall is trying to fix something with Sage, but if yours is fine, then that's not an issue.
Reply With Quote
  #3  
Old 12-12-2014, 01:31 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by stanger89 View Post
If your SageTV is fine, what you should be able to do is just copy/backup your entire SageTV directory. Nuke and pave the machine. Reinstall Sage and the drivers you need, and then just copy the backup Sage folder over the fresh install and all should be good.

Usually the reason that's not recommended is because the reinstall is trying to fix something with Sage, but if yours is fine, then that's not an issue.
To add to what Stranger said which is the best way .... Make sure to setup your shares drive letters etc... the same way it was before... before restarting SageTV.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #4  
Old 12-12-2014, 03:08 PM
SWKerr SWKerr is offline
Sage Icon
 
Join Date: Jun 2008
Posts: 1,178
I had a hole in my firewall for a web server that I eventually shut down. At some point one of my HTPCs got assigned the same IP and guess what? It was suddenly someones spam server. This was back in the XP days but it amazes me how many hackers are out there trolling IP addresses.

I would wipe the whole server. Format and reload the OS.
As long as you have a recent wiz.bin you should be fine.

When I rebuild mine I did them as a clean start. Setup up everything the way you and want make sure it works. Then shut down the server and drop in you last wiz.bin. I have found SageTV deals with the movement of the recording directories without any real issues. Your favorites will also return without problems as long as you don't have something tuner specific setup. This seems to work even if you change the share names and disk locations.
__________________

Retired SageTV in favor of Plex\Emby and YouTubeTV.

Last edited by SWKerr; 12-12-2014 at 03:11 PM.
Reply With Quote
  #5  
Old 12-12-2014, 05:37 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
A clean install presents an opportunity to purchase a new boot drive, maybe an SSD if you aren't already using one, and clean install to a new drive, yet still having the old drive available to boot from if you wanted to see how you had something setup previously.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rebuild system - now get annoying stuttering on server playback tvmaster2 Hardware Support 9 07-31-2012 08:17 AM
Give me a reality check - server rebuild Tomahawk51 Hardware Support 3 07-08-2012 10:09 AM
WHS rebuild, looking for a server class mobo Hunter69 Hardware Support 3 09-06-2011 06:27 PM
What OS for server rebuild? nettech_gt General Discussion 31 01-18-2011 07:35 PM
Sage Server Rebuild - What PVR Card ron.smythe SageTV United Kingdom 14 01-07-2005 12:52 PM


All times are GMT -6. The time now is 05:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.