• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How To Perform Security Audits On Ubuntu 16.04 (With Lynis)

By Abhishek Ghosh June 6, 2017 12:38 am Updated on June 6, 2017

How To Perform Security Audits On Ubuntu 16.04 (With Lynis)

Advertisement

Security audit in our case is am automatic technical assessment of our server and web applications in the context of security by performing security vulnerability scans, reviewing application and operating system access controls some softwares or scripts. At the ens, we will gather a software generated audit report. Here is how to perform security audits on Ubuntu 16.04 with Lynis and other tools which are appropriate on cloud server’s shared environment. Security audits are often included in regulatory compliance, like with legislation of HIPAA, such acts specifies how an organisation must secure system. MacOS X and FreeBSD supports audit event logging with use of OpenBSM library.

How To Perform Security Audits On Ubuntu 16.04 With Lynis

 

How To Perform Security Audits On Ubuntu 16.04 On Cloud Server

 

Definitely there are paid third party costly services. However, they are not practical for day to day checking as we do not need certification. We have some free tools like Lynis, auditd. Lynis is a host-based free security auditing application to evaluate security profile of GNU/Linux systems. Cloud servers itself not 100% secure as guest OS. How host is secure, that also determines the security. In our case, the reason to use these tools to have an overall idea of vulnerability to protect from common attacks like bruteforce, attacks by script kiddies.

Running security audit tools usually consume a good time and patience. We suggest to read through the whole article before running the commands to install Lynis on server.

Advertisement

---

 

How To Perform Security Audits On Ubuntu 16.04 With Lynis

 

Lynis is developed by https://cisofy.com, and we are using the community edition. Of course, latest version is available on GitHub :

Vim
1
https://github.com/CISOfy/lynis

Lynis uses HTTPS repo only and we need apt-transport-https installed for it. I must inform you that this package may give Fix E: Sub-process /usr/bin/dpkg returned an error code (1) error upon update, upgrade later, which we have an odd fix – Fix E: Sub-process returned an error code. Reverse situation is also true.

You van install apt-transport-https and Lynis from apt repo :

Vim
1
2
sudo apt-get install apt-transport-https
sudo apt-get install lynis

But it is more practical to clone the repo from Github and run it :

Vim
1
2
3
cd /usr/local
git clone https://github.com/CISOfy/lynis
Cloning into 'lynis'...

Now change directory to lynis and run command :

Vim
1
2
cd lynis
./lynis audit system --quick

Lynis will check everything like system tools, startup services, run level, loaded modules, kernel configuration, zombie processes, group IDs, sudoers, PAM configuration, vulnerable/upgradable packages, security repository, iptables, Apache, SSH configuration, MySQL root password, php options, cronjob, SSL certificate expiration, malware scanners, shell history files and so on.

You will get the manuals online on Lynis website and on Ubuntu repo :

Vim
1
2
https://cisofy.com/documentation/lynis/get-started/#first-run
http://manpages.ubuntu.com/manpages/precise/man8/lynis.8.html

Tagged With lynis on ubuntu 16 04 , audit in ubuntu 16 , audit report bar ubuntu , audit ubuntu 16 04 , auditd ubuntu 16 04 , how to do audits ubuntu , how to get to the security audit on ubuntu
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Perform Security Audits On Ubuntu 16.04 (With Lynis)

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

    Here Are the Steps To Install Nginx Plus on Ubuntu Server Running on HP Cloud. Nginx Plus is the Paid Version of Nginx with Extra Features.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy