SlideShare a Scribd company logo
Server security is something that should never be overlooked. One day or another,
chances are your server will be under attack and the integrity of your data will be at
risk, not mentioning you may lose potential and existing customers in the process.
By :mazaseo.net
Secure your Cpanel in 9 advanced tips
How to secure web hosting cpanel?
1. Updating cPanel
The first thing you want to do is to make sure you have the latest version of cPanel
running. You can update cPanel by going to “WHM > cPanel > Upgrade to Latest
Version”. You can also achieve the same thing using this command line:
# /scripts/upcp --force
In order to have your server updated automatically, I recommend you enable daily
updates by going to “WHM > Server Configuration > Update Preferences”:
2. Disable FTP Use by Unknown User
Unknown users can upload files to your web server if the settings allow them to. To
make sure that only authorized users have this capability, disable “Allow Anonymous
Uploads”, as well as “Allow Anonymous Logins”. To access this option, click WHM,
go to Service Configuration then FTP Server Configuration.
Server security is something that should never be overlooked. One day or another,
chances are your server will be under attack and the integrity of your data will be at
risk, not mentioning you may lose potential and existing customers in the process.
Read Also:
 How to Choose the Best Web Hosting
 14 Tips to Speed Up a Website by 70%
 Liste of BackLinks Org, Edu High Quality
3. Securing SSH
SSH is among the services mostly vulnerable to Brute Force Attacks. The default SSH
configuration allows root access on the default port (22). Here’s how to secure the
SSH daemon:
Establish an SSH connexion to your server and connect as root.
Edit the SSH daemon configuration file:
# nano /etc/ssh/sshd_config
Set a different port for incoming SSH connections by changing this line:
Port 22
to:
Port 22200
You don’t have to use port 22200 as mentioned above. Refer to this list of common
TCP/UDP ports to find a port number that isn’t already in use.
Disable SSH root login by changing this line:
#PermitRootLogin yes
to:
PermitRootLogin no
Save the file and restart the SSH daemon:
# service sshd restart
In order to gain root access through SSH, you will now need to log on as a regular
user and then become root by issuing the command:
# su - root
Note that you will first need to add the desired users to the wheel group (WHM >
Security Center > Manage Wheel Group Users).
4. Remove Accounts That Are Not Needed
Accounts in your web server must have the right privilege to make sure that users
only have access to appropriate files and features. Since these accounts are vulnerable
to hacking, it’s best to remove those that are no longer used or needed.
5.Securing cPanel and WHM Access
When using an unsecured connection to cPanel and WHM, your username and
password are sent as clear text over the Internet. It is advised to use SSL to secure all
accesses to both control panels. From WHM, click on “Server Configuration > Tweak
Settings” and configure the redirection parameters as follow:
6. Increasing Required Password Strength
You can force your users to use more complex passwords by going to “WHM >
Security Center > Password Strength Configuration”.
7. Use a Rootkit Scanner
A rootkit is a malicious program that gains access to your server without being
noticed. It can’t usually be detected by anti-virus applications. This is why a rootkit
scanner must be installed to further protect your system.
In order to detect rootkit on a cPanel server, you will need to install a rootkit scanner
such as the Rootkit Hunter:
 Log on to your server through SSH as a regular user and then become root:
# su - root
 Download the latest version of rkhunter from rkhunter:
#
wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.0
/rkhunter-1.4.0.tar.gz
 Extract the content from the archive:
# tar xvzf rkhunter-1.4.0.tar.gz
 Launch the installer:
# cd rkhunter-1.4.0
# ./installer.sh --install
 Fill the file properties database:
# rkhunter --propupd
 To scan for rootkits as root, run the following command:
# rkhunter --check
8. Enable your Brute-Force Protection
By setting your value of your Brute-Force Protection parameter, you will make sure
you repeatedly unsuccessful close any attempts of an intruder to access your server
using an IP address that may make your IP address to be blocked.
After a specified time, cPanel will again accept a login attempt to be made from the IP
address concerned. To activate this functionality, go to “CPHulk Brute-Force
Protection” in “Security Center” and click on “Enable.”
The “IP Deny Manager” option will also allow you to specify a particular IP address,
domain name, or range of IP addresses to be blocked from accessing a site managed
with cPanel.
9. Installing a Firewall
There’s no point in tempting fate and just hoping hackers or viruses won’t get into
your cPanel installation. CSF (ConfigServer Security and Firewall) is a popular
firewall application for cPanel servers. It also gives recommendations about how to
increase security.
Installing CSF is quite easy:
rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
Once you’ve installed CSF, go to “WHM > Plugins > ConfigServer
Security&Firewall” and click on “Check Server Security” to get a list of tips to secure
your web server.
Don’t forget to open the new SSH port you’ve defined earlier otherwise CSF will
block it. To do this, go to “WHM > Plugins > ConfigServer Security&Firewall >
Firewall Configuration”. Find the parameter named “TCP_IN” and add the SSH port
to the list.

More Related Content

What's hot

Squid
SquidSquid
How to publish your plugin as open source and contribute to WordPress
How to publish your plugin as open source and contribute to WordPressHow to publish your plugin as open source and contribute to WordPress
How to publish your plugin as open source and contribute to WordPress
Otto Kekäläinen
 
Making the secure communication between Server and Client with https protocol
Making the secure communication between Server and Client with https protocolMaking the secure communication between Server and Client with https protocol
Making the secure communication between Server and Client with https protocol
Armenuhi Abramyan
 
Diva23
Diva23Diva23
Diva23diva23
 
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Vlad Lasky
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
Pandora FMS
 
harjotverma_assign3
harjotverma_assign3harjotverma_assign3
harjotverma_assign3Harjot Verma
 
SMPPCli Readme
SMPPCli ReadmeSMPPCli Readme
SMPPCli Readme
Yasin KAPLAN
 
Server hardening
Server hardeningServer hardening
Server hardening
Teja Babu
 
Power Mta 4.0
Power Mta 4.0Power Mta 4.0
Power Mta 4.0
powerMta
 
Integrating LAMP with Mkahawa Cyber Manager & SQLite
Integrating LAMP with Mkahawa Cyber Manager & SQLiteIntegrating LAMP with Mkahawa Cyber Manager & SQLite
Integrating LAMP with Mkahawa Cyber Manager & SQLitejgarifuna
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel
chacheng_dbl
 
How to build a web hosting server
How to build a web hosting serverHow to build a web hosting server
How to build a web hosting serverSarah Zidan
 
Squid Caching for Web Content Accerlation
Squid Caching for Web Content AccerlationSquid Caching for Web Content Accerlation
Squid Caching for Web Content Accerlationrahul8590
 
2014sflm quickstart
2014sflm quickstart2014sflm quickstart
2014sflm quickstart
royal sethi
 
Weblogic installation in linux
Weblogic installation in linuxWeblogic installation in linux
Weblogic installation in linuxRavi Kumar Lanke
 

What's hot (16)

Squid
SquidSquid
Squid
 
How to publish your plugin as open source and contribute to WordPress
How to publish your plugin as open source and contribute to WordPressHow to publish your plugin as open source and contribute to WordPress
How to publish your plugin as open source and contribute to WordPress
 
Making the secure communication between Server and Client with https protocol
Making the secure communication between Server and Client with https protocolMaking the secure communication between Server and Client with https protocol
Making the secure communication between Server and Client with https protocol
 
Diva23
Diva23Diva23
Diva23
 
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
 
harjotverma_assign3
harjotverma_assign3harjotverma_assign3
harjotverma_assign3
 
SMPPCli Readme
SMPPCli ReadmeSMPPCli Readme
SMPPCli Readme
 
Server hardening
Server hardeningServer hardening
Server hardening
 
Power Mta 4.0
Power Mta 4.0Power Mta 4.0
Power Mta 4.0
 
Integrating LAMP with Mkahawa Cyber Manager & SQLite
Integrating LAMP with Mkahawa Cyber Manager & SQLiteIntegrating LAMP with Mkahawa Cyber Manager & SQLite
Integrating LAMP with Mkahawa Cyber Manager & SQLite
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel
 
How to build a web hosting server
How to build a web hosting serverHow to build a web hosting server
How to build a web hosting server
 
Squid Caching for Web Content Accerlation
Squid Caching for Web Content AccerlationSquid Caching for Web Content Accerlation
Squid Caching for Web Content Accerlation
 
2014sflm quickstart
2014sflm quickstart2014sflm quickstart
2014sflm quickstart
 
Weblogic installation in linux
Weblogic installation in linuxWeblogic installation in linux
Weblogic installation in linux
 

Viewers also liked

Buying A Condo
Buying A CondoBuying A Condo
Buying A Condo
Sonia Figueroa-Realtor
 
チケットガイド情報2015/10月号(2015/9/24現在)
チケットガイド情報2015/10月号(2015/9/24現在)チケットガイド情報2015/10月号(2015/9/24現在)
チケットガイド情報2015/10月号(2015/9/24現在)
Yuki Nagata
 
Pescados y mariscos
Pescados y mariscos Pescados y mariscos
Pescados y mariscos
Gabybaezrico
 
SLBdiensten XP sessie: presentatie Studywise
SLBdiensten XP sessie: presentatie StudywiseSLBdiensten XP sessie: presentatie Studywise
SLBdiensten XP sessie: presentatie Studywise
SLBdiensten
 
Slide 140505012012-phpapp01(1)
Slide 140505012012-phpapp01(1)Slide 140505012012-phpapp01(1)
Slide 140505012012-phpapp01(1)yogi83
 
ERPsim: Transforming ERP Education (English / Chinese)
ERPsim: Transforming ERP Education (English / Chinese)ERPsim: Transforming ERP Education (English / Chinese)
ERPsim: Transforming ERP Education (English / Chinese)
Jean-François Michon
 
Automated Composition & Generative Music
Automated Composition & Generative MusicAutomated Composition & Generative Music
Automated Composition & Generative Music
柏豪 紀
 
Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...
Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...
Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...
Nicola Canestrini
 
Tipstoflippinghouse
TipstoflippinghouseTipstoflippinghouse
Tipstoflippinghouse
Sonia Figueroa-Realtor
 
Sonia_resume (1)
Sonia_resume (1)Sonia_resume (1)
Sonia_resume (1)Sonia Joshi
 
Slide 140505012012-phpapp01(4)
Slide 140505012012-phpapp01(4)Slide 140505012012-phpapp01(4)
Slide 140505012012-phpapp01(4)yogi83
 
Slide 140505012012-phpapp01(7)
Slide 140505012012-phpapp01(7)Slide 140505012012-phpapp01(7)
Slide 140505012012-phpapp01(7)yogi83
 
Procedimiento de fabricacion de las estructuras de acero.
Procedimiento de fabricacion de las estructuras de acero.Procedimiento de fabricacion de las estructuras de acero.
Procedimiento de fabricacion de las estructuras de acero.
Xexar Diaz
 
Training Pelajar Menjadi kader Inspiratif-renungkan kader
Training Pelajar Menjadi kader Inspiratif-renungkan kaderTraining Pelajar Menjadi kader Inspiratif-renungkan kader
Training Pelajar Menjadi kader Inspiratif-renungkan kader
Namin AB Ibnu Solihin
 
Presentacion ejecutiva
Presentacion ejecutivaPresentacion ejecutiva
Presentacion ejecutiva
Abel Marmolejo
 
Membangun muhammadiyah di metropolitan
Membangun muhammadiyah di metropolitanMembangun muhammadiyah di metropolitan
Membangun muhammadiyah di metropolitan
Namin AB Ibnu Solihin
 

Viewers also liked (19)

Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Food_Security
Food_SecurityFood_Security
Food_Security
 
Buying A Condo
Buying A CondoBuying A Condo
Buying A Condo
 
チケットガイド情報2015/10月号(2015/9/24現在)
チケットガイド情報2015/10月号(2015/9/24現在)チケットガイド情報2015/10月号(2015/9/24現在)
チケットガイド情報2015/10月号(2015/9/24現在)
 
Pescados y mariscos
Pescados y mariscos Pescados y mariscos
Pescados y mariscos
 
SLBdiensten XP sessie: presentatie Studywise
SLBdiensten XP sessie: presentatie StudywiseSLBdiensten XP sessie: presentatie Studywise
SLBdiensten XP sessie: presentatie Studywise
 
1.2 ficha autoevaluación docente
1.2 ficha autoevaluación docente1.2 ficha autoevaluación docente
1.2 ficha autoevaluación docente
 
Slide 140505012012-phpapp01(1)
Slide 140505012012-phpapp01(1)Slide 140505012012-phpapp01(1)
Slide 140505012012-phpapp01(1)
 
ERPsim: Transforming ERP Education (English / Chinese)
ERPsim: Transforming ERP Education (English / Chinese)ERPsim: Transforming ERP Education (English / Chinese)
ERPsim: Transforming ERP Education (English / Chinese)
 
Automated Composition & Generative Music
Automated Composition & Generative MusicAutomated Composition & Generative Music
Automated Composition & Generative Music
 
Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...
Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...
Introduzione sulla Corte europea dei diritti dell'uomo (European Court of Hum...
 
Tipstoflippinghouse
TipstoflippinghouseTipstoflippinghouse
Tipstoflippinghouse
 
Sonia_resume (1)
Sonia_resume (1)Sonia_resume (1)
Sonia_resume (1)
 
Slide 140505012012-phpapp01(4)
Slide 140505012012-phpapp01(4)Slide 140505012012-phpapp01(4)
Slide 140505012012-phpapp01(4)
 
Slide 140505012012-phpapp01(7)
Slide 140505012012-phpapp01(7)Slide 140505012012-phpapp01(7)
Slide 140505012012-phpapp01(7)
 
Procedimiento de fabricacion de las estructuras de acero.
Procedimiento de fabricacion de las estructuras de acero.Procedimiento de fabricacion de las estructuras de acero.
Procedimiento de fabricacion de las estructuras de acero.
 
Training Pelajar Menjadi kader Inspiratif-renungkan kader
Training Pelajar Menjadi kader Inspiratif-renungkan kaderTraining Pelajar Menjadi kader Inspiratif-renungkan kader
Training Pelajar Menjadi kader Inspiratif-renungkan kader
 
Presentacion ejecutiva
Presentacion ejecutivaPresentacion ejecutiva
Presentacion ejecutiva
 
Membangun muhammadiyah di metropolitan
Membangun muhammadiyah di metropolitanMembangun muhammadiyah di metropolitan
Membangun muhammadiyah di metropolitan
 

Similar to Secure your Cpanel in 9 advanced tips

Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...
Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...
Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...
Andy Maxwell
 
Recommended Software and Modifications for Server Security
Recommended Software and Modifications for Server SecurityRecommended Software and Modifications for Server Security
Recommended Software and Modifications for Server Security
HTS Hosting
 
Meeting 14. web server ii
Meeting 14. web server iiMeeting 14. web server ii
Meeting 14. web server ii
Syaiful Ahdan
 
Configuration of Self Signed SSL Certificate For CentOS 8
Configuration of Self Signed SSL Certificate For CentOS 8Configuration of Self Signed SSL Certificate For CentOS 8
Configuration of Self Signed SSL Certificate For CentOS 8
Kaan Aslandağ
 
How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...
How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...
How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...
VEXXHOST Private Cloud
 
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertComplete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Chetan Soni
 
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSDCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
dchq
 
Some useful c panel terms
Some useful c panel termsSome useful c panel terms
Some useful c panel terms
HTS Hosting
 
Tips to improve word press security ppt
Tips to improve word press security pptTips to improve word press security ppt
Tips to improve word press security ppt
Cheap SSL Coupon Code
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
Chetan Soni
 
How to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerHow to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerKaushal Mewar
 
Drupal Continuous Integration with Jenkins - Deploy
Drupal Continuous Integration with Jenkins - DeployDrupal Continuous Integration with Jenkins - Deploy
Drupal Continuous Integration with Jenkins - Deploy
John Smith
 
SSH.pdf
SSH.pdfSSH.pdf
SSH.pdf
AnisSalhi3
 
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web ApplicationNull bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Anant Shrivastava
 
FreeBSD and Hardening Web Server
FreeBSD and Hardening Web ServerFreeBSD and Hardening Web Server
FreeBSD and Hardening Web Server
Muhammad Moinur Rahman
 
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Bastian Grimm
 
Nat mikrotik
Nat mikrotikNat mikrotik
Nat mikrotik
louisraj
 
Important Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel UsersImportant Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel Users
HTS Hosting
 
How to Issue and Activate Free SSL using Let's Encrypt
How to Issue and Activate Free SSL using Let's EncryptHow to Issue and Activate Free SSL using Let's Encrypt
How to Issue and Activate Free SSL using Let's Encrypt
Mayeenul Islam
 

Similar to Secure your Cpanel in 9 advanced tips (20)

Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...
Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...
Protect Your Server from Attack with These 15 Tips for VPS hosting security-M...
 
Recommended Software and Modifications for Server Security
Recommended Software and Modifications for Server SecurityRecommended Software and Modifications for Server Security
Recommended Software and Modifications for Server Security
 
Meeting 14. web server ii
Meeting 14. web server iiMeeting 14. web server ii
Meeting 14. web server ii
 
Configuration of Self Signed SSL Certificate For CentOS 8
Configuration of Self Signed SSL Certificate For CentOS 8Configuration of Self Signed SSL Certificate For CentOS 8
Configuration of Self Signed SSL Certificate For CentOS 8
 
How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...
How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...
How To Setup Highly Available Web Servers with Keepalived & Floating IPs on U...
 
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertComplete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSDCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
 
Some useful c panel terms
Some useful c panel termsSome useful c panel terms
Some useful c panel terms
 
Tips to improve word press security ppt
Tips to improve word press security pptTips to improve word press security ppt
Tips to improve word press security ppt
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
 
How to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerHow to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another Server
 
Drupal Continuous Integration with Jenkins - Deploy
Drupal Continuous Integration with Jenkins - DeployDrupal Continuous Integration with Jenkins - Deploy
Drupal Continuous Integration with Jenkins - Deploy
 
SSH.pdf
SSH.pdfSSH.pdf
SSH.pdf
 
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web ApplicationNull bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web Application
 
FreeBSD and Hardening Web Server
FreeBSD and Hardening Web ServerFreeBSD and Hardening Web Server
FreeBSD and Hardening Web Server
 
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
 
Nat mikrotik
Nat mikrotikNat mikrotik
Nat mikrotik
 
Important Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel UsersImportant Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel Users
 
How to Issue and Activate Free SSL using Let's Encrypt
How to Issue and Activate Free SSL using Let's EncryptHow to Issue and Activate Free SSL using Let's Encrypt
How to Issue and Activate Free SSL using Let's Encrypt
 

Recently uploaded

APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
cuobya
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
SEO Article Boost
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 

Recently uploaded (20)

APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 

Secure your Cpanel in 9 advanced tips

  • 1. Server security is something that should never be overlooked. One day or another, chances are your server will be under attack and the integrity of your data will be at risk, not mentioning you may lose potential and existing customers in the process. By :mazaseo.net Secure your Cpanel in 9 advanced tips How to secure web hosting cpanel? 1. Updating cPanel The first thing you want to do is to make sure you have the latest version of cPanel running. You can update cPanel by going to “WHM > cPanel > Upgrade to Latest Version”. You can also achieve the same thing using this command line: # /scripts/upcp --force In order to have your server updated automatically, I recommend you enable daily updates by going to “WHM > Server Configuration > Update Preferences”: 2. Disable FTP Use by Unknown User
  • 2. Unknown users can upload files to your web server if the settings allow them to. To make sure that only authorized users have this capability, disable “Allow Anonymous Uploads”, as well as “Allow Anonymous Logins”. To access this option, click WHM, go to Service Configuration then FTP Server Configuration. Server security is something that should never be overlooked. One day or another, chances are your server will be under attack and the integrity of your data will be at risk, not mentioning you may lose potential and existing customers in the process. Read Also:  How to Choose the Best Web Hosting  14 Tips to Speed Up a Website by 70%  Liste of BackLinks Org, Edu High Quality 3. Securing SSH SSH is among the services mostly vulnerable to Brute Force Attacks. The default SSH configuration allows root access on the default port (22). Here’s how to secure the SSH daemon: Establish an SSH connexion to your server and connect as root. Edit the SSH daemon configuration file: # nano /etc/ssh/sshd_config Set a different port for incoming SSH connections by changing this line: Port 22 to: Port 22200 You don’t have to use port 22200 as mentioned above. Refer to this list of common TCP/UDP ports to find a port number that isn’t already in use. Disable SSH root login by changing this line: #PermitRootLogin yes to: PermitRootLogin no Save the file and restart the SSH daemon: # service sshd restart In order to gain root access through SSH, you will now need to log on as a regular user and then become root by issuing the command: # su - root Note that you will first need to add the desired users to the wheel group (WHM > Security Center > Manage Wheel Group Users).
  • 3. 4. Remove Accounts That Are Not Needed Accounts in your web server must have the right privilege to make sure that users only have access to appropriate files and features. Since these accounts are vulnerable to hacking, it’s best to remove those that are no longer used or needed. 5.Securing cPanel and WHM Access When using an unsecured connection to cPanel and WHM, your username and password are sent as clear text over the Internet. It is advised to use SSL to secure all accesses to both control panels. From WHM, click on “Server Configuration > Tweak Settings” and configure the redirection parameters as follow: 6. Increasing Required Password Strength You can force your users to use more complex passwords by going to “WHM > Security Center > Password Strength Configuration”. 7. Use a Rootkit Scanner A rootkit is a malicious program that gains access to your server without being noticed. It can’t usually be detected by anti-virus applications. This is why a rootkit scanner must be installed to further protect your system. In order to detect rootkit on a cPanel server, you will need to install a rootkit scanner such as the Rootkit Hunter:  Log on to your server through SSH as a regular user and then become root: # su - root  Download the latest version of rkhunter from rkhunter:
  • 4. # wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.0 /rkhunter-1.4.0.tar.gz  Extract the content from the archive: # tar xvzf rkhunter-1.4.0.tar.gz  Launch the installer: # cd rkhunter-1.4.0 # ./installer.sh --install  Fill the file properties database: # rkhunter --propupd  To scan for rootkits as root, run the following command: # rkhunter --check 8. Enable your Brute-Force Protection By setting your value of your Brute-Force Protection parameter, you will make sure you repeatedly unsuccessful close any attempts of an intruder to access your server using an IP address that may make your IP address to be blocked. After a specified time, cPanel will again accept a login attempt to be made from the IP address concerned. To activate this functionality, go to “CPHulk Brute-Force Protection” in “Security Center” and click on “Enable.” The “IP Deny Manager” option will also allow you to specify a particular IP address, domain name, or range of IP addresses to be blocked from accessing a site managed with cPanel.
  • 5. 9. Installing a Firewall There’s no point in tempting fate and just hoping hackers or viruses won’t get into your cPanel installation. CSF (ConfigServer Security and Firewall) is a popular firewall application for cPanel servers. It also gives recommendations about how to increase security. Installing CSF is quite easy: rm -fv csf.tgz wget http://www.configserver.com/free/csf.tgz tar -xzf csf.tgz cd csf sh install.sh Once you’ve installed CSF, go to “WHM > Plugins > ConfigServer Security&Firewall” and click on “Check Server Security” to get a list of tips to secure your web server. Don’t forget to open the new SSH port you’ve defined earlier otherwise CSF will block it. To do this, go to “WHM > Plugins > ConfigServer Security&Firewall > Firewall Configuration”. Find the parameter named “TCP_IN” and add the SSH port to the list.