{"id":149,"date":"2015-04-27T12:17:16","date_gmt":"2015-04-27T12:17:16","guid":{"rendered":"http:\/\/betakb.veeble.org\/?p=149"},"modified":"2025-04-23T14:55:36","modified_gmt":"2025-04-23T09:25:36","slug":"install-and-automate-chkrootkit-on-your-linux-server","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/install-and-automate-chkrootkit-on-your-linux-server\/","title":{"rendered":"Install and Automate Chkrootkit on Your Linux Server"},"content":{"rendered":"<p>Chkrootkit or Check Rootkit is a common Linux security tool that will scan your server for any signs of rootkits or worms which could severely impact the security of your server if they are not removed. In this blog post, we are going to cover installing Check Rootkit on a dedicated server and configuring it to run daily and e-mailing the results to a system administrator.<\/p>\n<p>1. Move to \/usr\/local\/src<\/p>\n<pre>cd \/usr\/local\/src\n<\/pre>\n<p>2. Download and install the RPM<\/p>\n<pre>wget <a class=\"external free\" href=\"http:\/\/www6.atomicorp.com\/channels\/atomic\/centos\/5\/i386\/RPMS\/chkrootkit-0.49-1.el5.art.i386.rpm\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/www6.atomicorp.com\/channels\/atomic\/centos\/5\/i386\/RPMS\/chkrootkit-0.49-1.el5.art.i386.rpm<\/a>\nrpm -ivh chkrootkit-0.49-1.el5.art.i386.rpm\n<\/pre>\n<p>3. Create file <b>\/etc\/cron.daily\/chkrootkit.sh<\/b> with the following contents.<\/p>\n<pre>#!\/bin\/sh\n(\n\/usr\/local\/chkrootkit\/chkrootkit\n) | \/bin\/mail -s 'CHROOTKIT Daily Run (ServerNameHere)' name@domain.com\n<\/pre>\n<p>Replace <i><b>ServerNameHere<\/b><\/i> with the actual server name and <i><b>name@domain.com<\/b><\/i> with your mail address.<\/p>\n<p>Now you have installed Chkrootkit on the server and set up the cron that will run every day.<\/p>\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-5232c7a4 wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\">Feature-Rich cPanel Hosting<\/h3><p class=\"uagb-cta__desc\">Unlock powerful tools and features with our cPanel hosting. Enjoy easy website management, email accounts, and database control. Our plans are designed for performance and reliability.<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/cpanel-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">Take Control with cPanel<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path d=\"M504.3 273.6l-112.1 104c-6.992 6.484-17.18 8.218-25.94 4.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9 288H32C14.33 288 .0002 273.7 .0002 255.1S14.33 224 32 224h319.9l0-72c0-9.547 5.66-18.19 14.42-22c8.754-3.809 18.95-2.075 25.94 4.41l112.1 104C514.6 247.9 514.6 264.1 504.3 273.6z\"><\/path><\/svg><\/a><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Chkrootkit or Check Rootkit is a common Linux security tool that will scan your server for any signs of rootkits or worms which could [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":8665,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-installation"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Install-and-Automate-Chkrootkit-on-Your-Linux-Server.jpg",1536,1024,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Install-and-Automate-Chkrootkit-on-Your-Linux-Server-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Install-and-Automate-Chkrootkit-on-Your-Linux-Server-300x200.jpg",300,200,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Install-and-Automate-Chkrootkit-on-Your-Linux-Server-768x512.jpg",768,512,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Install-and-Automate-Chkrootkit-on-Your-Linux-Server-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Install-and-Automate-Chkrootkit-on-Your-Linux-Server.jpg",1536,1024,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2015\/04\/Install-and-Automate-Chkrootkit-on-Your-Linux-Server.jpg",1536,1024,false]},"uagb_author_info":{"display_name":"Digin Dominic","author_link":"https:\/\/www.veeble.com\/kb\/author\/digin-dominic\/"},"uagb_comment_info":0,"uagb_excerpt":"Chkrootkit or Check Rootkit is a common Linux security tool that will scan your server for any signs of rootkits or worms which could [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=149"}],"version-history":[{"count":4,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":8701,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/149\/revisions\/8701"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/8665"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}