{"id":8218,"date":"2012-12-07T18:11:55","date_gmt":"2012-12-07T18:11:55","guid":{"rendered":"http:\/\/tajdini.net\/blog\/2012\/12\/07\/server-hardening\/"},"modified":"2012-12-07T18:11:55","modified_gmt":"2012-12-07T18:11:55","slug":"server-hardening","status":"publish","type":"post","link":"https:\/\/tajdini.net\/blog\/application-and-software-security\/server-hardening\/","title":{"rendered":"Server Hardening"},"content":{"rendered":"<div dir=\"ltr\">\n<p> \t\tInformation has been one of the most crucial assets of all the corporations. As more and more information starts getting stored in digital format, the onus has come to servers to deliver data in a secure, reliable fashion. There must be assurance that data integrity, confidentiality and availability are maintained. One of the required steps to attain this assurance is to ensure that the servers are installed and maintained in a manner that prevents unauthorized access, unauthorized use, and disruptions in service. This makes it mandatory for organizations to exercise proper server security and utility assessment to make sure that it is used only for the right service and right purpose.<br \/> \t\tServer Hardening from a trusted provider offers an excellent means by which an organization can baseline its current security posture, identify threats and weaknesses. It provides not only the basis for a security action plan, but also compelling events, due diligence and partner interface protocols necessary to establish security as a key corporate initiative.<br \/> \t\t<span style=\"color:#b22222;\"><strong>Objectives of the entire exercise<\/strong><\/span><br \/> \t\t<span style=\"color:#4b0082;\"> Implementing the Information Security, Centre of Excellence (IS-COE) standard server hardening templates enables the following objectives to be achieved:<\/span><br \/> \t\t1.&nbsp;&nbsp; &nbsp;Enhancing the hosts to achieve the three basic objectives of security (CIA): Confidentiality, Integrity and Availability.<br \/> \t\t2.&nbsp;&nbsp; &nbsp;Application of fully defined, repeatable and highly secure build process for various operating systems and applications to achieve the above objectives and provide increased levels of security.<br \/> \t\t3.&nbsp;&nbsp; &nbsp;Managing the security controls by \u2013 fixing vulnerabilities, applying least privilege needed to complete the task, separating privileges, applying least common mechanism and making the system highly defensive and fail safely.<br \/> \t\t<span id=\"cke_bm_181S\" style=\"display: none;\">&nbsp;<\/span><span style=\"color:#4b0082;\">Approach &amp; Methodology<\/span><span id=\"cke_bm_181E\" style=\"display: none;\">&nbsp;<\/span><br \/> \t\tThe implementation of each standard server hardening template requires following tasks to be completed:<br \/> \t\t1.&nbsp;&nbsp; &nbsp;Customization of the server hardening activity template to meet the client\u2019s operating system and also to reflect the client\u2019s current security policies and procedures.<br \/> \t\t2.&nbsp;&nbsp; &nbsp;Implementation and testing of the template.<br \/> \t\t3.&nbsp;&nbsp; &nbsp;Handover of templates and comprehensive setting guide.<br \/> \t\t<span style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_182E\" style=\"display: none;\">&nbsp;<\/span> <span style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_182S\" style=\"display: none;\">&nbsp;<\/span>Basic server security steps include:<br \/> \t\t1.&nbsp;&nbsp; &nbsp;Planning the installation<br \/> \t\t2.&nbsp;&nbsp; &nbsp;Install, configure, and secure the OS<br \/> \t\t3.&nbsp;&nbsp; &nbsp;Install, configure, and secure the server software<br \/> \t\t4.&nbsp;&nbsp; &nbsp;Test the security<span id=\"cke_bm_196E\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_183E\" style=\"display: none;\">&nbsp;<\/span><br \/> \t\t<span id=\"cke_bm_196S\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_183S\" style=\"display: none;\">&nbsp;<\/span><span style=\"color:#4b0082;\">Installation and Deployment Planning<br \/> \t\t<span id=\"cke_bm_195E\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_184E\" style=\"display: none;\">&nbsp;<\/span> <span id=\"cke_bm_195S\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_184S\" style=\"display: none;\">&nbsp;<\/span>In the installation and deployment planning we will<\/span><br \/> \t\tIdentify:<br \/> \t\t1.&nbsp;&nbsp; &nbsp;The purpose of the server<br \/> \t\t2.&nbsp;&nbsp; &nbsp;The services provided by the server<br \/> \t\t3.&nbsp;&nbsp; &nbsp;Network service software client and server<span id=\"cke_bm_194E\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_185E\" style=\"display: none;\">&nbsp;<\/span><br \/> \t\t4.&nbsp;&nbsp; &nbsp;Types of different roles of the server<br \/> \t\t<span id=\"cke_bm_194S\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_185S\" style=\"display: none;\">&nbsp;<\/span>Determine:<br \/> \t\t1.&nbsp;&nbsp; &nbsp;Privileges and categories for user<br \/> \t\t2.&nbsp;&nbsp; &nbsp;Server Management Strategy<br \/> \t\t3.&nbsp;&nbsp; &nbsp;Users and their authentication methodology<br \/> \t\t<span id=\"cke_bm_193E\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_186E\" style=\"display: none;\">&nbsp;<\/span> 4.&nbsp;&nbsp; &nbsp;Access enforcement strategy<br \/> \t\t<span id=\"cke_bm_193S\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_186S\" style=\"display: none;\">&nbsp;<\/span><span style=\"color:#4b0082;\">Securing the Operating System<br \/> \t\tSteps to follow after planning installation and deployment of the OS are as follows:<\/span><br \/> \t\t1.&nbsp;&nbsp;&nbsp; Patch and update the OS<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Identify vulnerabilities<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Mitigate if necessary<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Patch servers in isolation<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Test patches before applying (depends upon availability of test environment)<br \/> \t\t2.&nbsp;&nbsp;&nbsp; Harden and configure the OS<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Disable and remove unnecessary services or applications<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Configure user authentication<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Configure resource controls<br \/> \t\t3.&nbsp;&nbsp;&nbsp; Install and configure additional security controls<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Anti-malware<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Host based firewalls to block unwanted open ports<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Host based intrusion detection (HIDS) system<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Patch management software<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;File Integrity Check<span id=\"cke_bm_192E\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_187E\" style=\"display: none;\">&nbsp;<\/span><br \/> \t\t4.&nbsp;&nbsp;&nbsp; Test the security of OS<br \/> \t\t<span id=\"cke_bm_192S\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_187S\" style=\"display: none;\">&nbsp;<\/span><span style=\"color:#4b0082;\">Securing the Server Software<br \/> \t\tBasic steps to follow after planning installation and deployment of the Server Software are as follows:<\/span><br \/> \t\t1.&nbsp;&nbsp;&nbsp; Secure Installation<br \/> \t\ta.&nbsp;&nbsp;&nbsp; Install and patch the server software in a secure location b.&nbsp;&nbsp;&nbsp; Clean the installation(remove anything you don\u2019t need) c.&nbsp;&nbsp;&nbsp; Harden and Configure d.&nbsp;&nbsp;&nbsp; Apply templates e.&nbsp;&nbsp;&nbsp; Change ports or locations<br \/> \t\t2.&nbsp;&nbsp;&nbsp; Configuring Access Controls<br \/> \t\ta.&nbsp;&nbsp;&nbsp; Control access to:<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Application software and configuration files<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Security files<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Server logs<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;System software and configuration files<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Application content and uploads<br \/> \t\tb.&nbsp;&nbsp;&nbsp; Run the server with limited privileges<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Not root or administrator<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Limit write permission<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;No access to server temp files<br \/> \t\t3.&nbsp;&nbsp;&nbsp; Server Resource Constraints<br \/> \t\ta.&nbsp;&nbsp;&nbsp; Prevent DOS attacks. Limit resources<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Install content on a different drive<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Limit upload space and file size<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Store log files separately<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Limit processes<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Limit memory<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Limit connection time<br \/> \t\t<span id=\"cke_bm_188S\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_191S\" style=\"display: none;\">&nbsp;<\/span> b.&nbsp;&nbsp;&nbsp; User Access Restrictions<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;Grant individual accounts and access<br \/> \t\t<span id=\"cke_bm_191E\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_188E\" style=\"display: none;\">&nbsp;<\/span> \u2022&nbsp;&nbsp; &nbsp;Encrypt authentication<br \/> \t\t\u2022&nbsp;&nbsp; &nbsp;IP restrict<br \/> \t\t<span style=\"color:#4b0082;\">Test the Security<br \/> \t\tAfter the successful installation and deployment, security of the servers is tested by performing a further analysis of the servers.<\/span><br \/> \t\tBenefits<br \/> \t\t1.&nbsp;&nbsp; &nbsp;Identify the threats facing your organization\u2019s information assets so that you can quantify your information risk and provide adequate information security expenditure.<br \/> \t\t<span id=\"cke_bm_190E\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_189E\" style=\"display: none;\">&nbsp;<\/span> 2.&nbsp;&nbsp; &nbsp;Reduce your organization\u2019s IT security costs and provide a better return on IT security investment (ROSI) by identifying and resolving vulnerabilities and weak configurations. These may be known vulnerabilities in the underlying technologies or weakness in the design or implementation.<br \/> \t\t3.&nbsp;&nbsp; &nbsp;Server Hardening is a complex process that involves many actions to mitigate the risk of being hacked.<br \/> \t\t<span id=\"cke_bm_190S\" style=\"display: none;\">&nbsp;<\/span><span id=\"cke_bm_189S\" style=\"display: none;\"> <\/span><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Information has been one of the most crucial assets of all the corporations. As more and more information starts getting stored in digital format, the onus [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,226],"tags":[125,271],"class_list":["post-8218","post","type-post","status-publish","format-standard","hentry","category-application-and-software-security","category-identity-and-active-directory","tag-active-directory","tag-server-hardening"],"_links":{"self":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts\/8218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/comments?post=8218"}],"version-history":[{"count":0,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts\/8218\/revisions"}],"wp:attachment":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/media?parent=8218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/categories?post=8218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/tags?post=8218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}