{"id":3310,"date":"2023-07-11T15:52:17","date_gmt":"2024-12-04T19:59:18","guid":{"rendered":""},"modified":"2025-02-02T00:46:20","modified_gmt":"2025-02-01T23:46:20","slug":"how-to-install-and-use-vuls-vulnerability-scanner-on-debian-12","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-install-and-use-vuls-vulnerability-scanner-on-debian-12\/","title":{"rendered":"Linux VPS &#038; VPS Windows Setup Guide | NetCloud24 and Use Vuls Vulnerability Scanner on Debian 12"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<h1>\u00a0<\/h1>\n<h2>Introduction<\/h2>\n<p>Vuls is an open-source vulnerability scanner for Linux\/Unix systems that helps to identify vulnerabilities from various sources. This guide will show you how to install and use Vuls on Debian 12.<\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>A server running Debian 12<\/li>\n<li>Root access or a user with <code>sudo<\/code> privileges<\/li>\n<li>Go installed on your system (optional: for compiling from source)<\/li>\n<\/ul>\n<h2>Step 1: Update the System<\/h2>\n<p>Start by updating your package list and upgrading your installed packages:<\/p>\n<pre><code>sudo apt update\r\nsudo apt upgrade -y<\/code><\/pre>\n<h2>Step 2: Install Vuls Dependencies<\/h2>\n<p>Vuls requires several dependencies to function properly. Install the following packages:<\/p>\n<pre><code>sudo apt install -y git curl make gcc build-essential<\/code><\/pre>\n<h2>Step 3: Install Go Language (if not already installed)<\/h2>\n<p>Vuls is developed in Go. If Go is not installed, follow these instructions:<\/p>\n<pre><code>sudo apt install -y golang<\/code><\/pre>\n<h2>Step 4: Install Vuls<\/h2>\n<p>You can install Vuls directly from GitHub using the following commands:<\/p>\n<pre><code>git clone https:\/\/github.com\/future-architect\/vuls.git\r\ncd vuls\r\ngo build -o vuls main.go<\/code><\/pre>\n<p>You can move the compiled binary to a directory in your PATH, such as \/usr\/local\/bin:<\/p>\n<pre><code>sudo mv vuls \/usr\/local\/bin\/<\/code><\/pre>\n<h2>Step 5: Configure Vuls<\/h2>\n<p>Create a configuration file for Vuls:<\/p>\n<pre><code>mkdir -p ~\/.vuls\r\nnano ~\/.vuls\/config.toml<\/code><\/pre>\n<p>Paste the following configuration template into the file (modify according to your environment):<\/p>\n<pre><code>[vuls]\r\n    db_type = \"sqlite3\"\r\n    report_dir = \"\/var\/log\/vuls\"\r\n    \r\n    [[targets]]\r\n    name = \"example\"\r\n    hosts = [\"localhost\"]\r\n\r\n    [[dbs]]\r\n    type = \"sqlite3\"\r\n    <\/code><\/pre>\n<p>Save and exit the editor.<\/p>\n<h2>Step 6: Run Vuls Scan<\/h2>\n<p>To run a scan, use the following command:<\/p>\n<pre><code>vuls scan<\/code><\/pre>\n<p>This command will scan the specified targets for vulnerabilities.<\/p>\n<h2>Step 7: View Scan Results<\/h2>\n<p>The scan results will be saved in the directory you specified in the configuration file (default: <code>\/var\/log\/vuls<\/code>). You can view the results with:<\/p>\n<pre><code>cat \/var\/log\/vuls\/vuls_report.md<\/code><\/pre>\n<h2>Step 8: Automate Scans (Optional)<\/h2>\n<p>If you want to automate the scanning process, you can create a cron job. Open the crontab editor:<\/p>\n<pre><code>sudo crontab -e<\/code><\/pre>\n<p>Then add a line to run Vuls daily at midnight:<\/p>\n<pre><code>0 0 * * * \/usr\/local\/bin\/vuls scan<\/code><\/pre>\n<p>Save and exit the editor.<\/p>\n<h2>Conclusion<\/h2>\n<p>You have successfully installed and configured the Vuls vulnerability scanner on Debian 12. Regularly scan your systems to ensure they are secure against known vulnerabilities.<\/p>\n<h2>Resources<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/future-architect\/vuls\" target=\"_blank\" rel=\"follow\">Vuls GitHub Repository<\/a><\/li>\n<li><a href=\"https:\/\/vuls.io\/docs\/en\/\" target=\"_blank\" rel=\"follow\">Vuls Documentation<\/a><\/li>\n<\/ul>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 Introduction Vuls is an open-source vulnerability scanner for Linux\/Unix systems that helps to identify vulnerabilities from various sources. This guide will show you how to install\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-3310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/3310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=3310"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/3310\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=3310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=3310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=3310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}