Anybody can share with me on how to 1. know if your server is being hacked 2. prevent it from happening 3. restore it
I think the most important is to monitor the logs regularly. Also 1. Patch regularly 2. Have an IDS to monitor and prevent intrusions. 3. Check your firewalls' logs 4. Backup regularly both online and off site. Last but not least schedule a PIN test once a year.
The most important aspect is to keep current (daily!) backups of ALL your files and databases, and keep them off your server. There are several strategies for doing this. Additionally, before you expose your server to the net you need to make a sha1 hash of all the important files and keep it off site. This way you will know whether files have been tampered with - this is essentially what a host-based IDS does. Also, you should run a cron job to check for changes in your OSes cvs tree and also join their security mailing lists. This way you stay current on important updates. It amazes me how many people say they chose Linux because it is "more secure" and then run a version that is several patch levels out of date :-S You also need to keep current on all your apps (eg. sendmail, postfix, apache etc.), and web apps (eg: joomla, phpbb etc.)
Hi, You have all the steps required to do the server hardening at the link maestriatech.com/instruction.php
Can you tell us which OS are you referring to? BSD and Linux OS'es have different options to Secure/Harden them. Although PHP can be hardened by using h t t p : / / w w w . h a r d e n e d - p h p . n e t The most basic tool for checking if your system is compromised is RKHUNTER or CHKROOTKIT. For installing IDS try reading stuff from h t t p : / / w w w . c o n f i g s e r v e r . c o m <-- Sadly they dont deal with DirectAdmin Control Panel but it can be customized! Remove Spaces And most important of all! Daily Updates and Patches are necessary (if available) Hope this answers your question.
I don't mean to be rude bab, but why did you put spaces in between every character in the links your posted? That's just really annoying to have to delete all the spaces or look and type it in manually if you want to visit the site. Keep the letters together and make it clickable!
You can still post the URLs without spaces... you just can't put BBCode URL tags around them. Hit the "Go Advanced" button and untick the "Automatically parse links in text" option underneath the text box.