• 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

This Article Has Been Shared 171 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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)

  • Linux Server Security Hardening Commands

    Here is a List of Linux Server Security Hardening Commands For the New SSH Users & New Sysadmins. Guide is For Cloud & Virtual Instances.

  • Deploying a Facebook App With Heroku Cloud

    Deploying a Facebook App With Heroku enables to run your custom Application on Facebook. Its looks tough at first, but really not that difficult to work.

  • Juju on Rackspace Cloud Server : Test Drive with Ubuntu 12.04

    Juju on Rackspace Cloud Server is a test drive in real time. It is some what like driving a F1 car on a busy avenue for the first time in life. Start the Cloud. And the ride is too without wearing helmet – on an Operating System without any smartness – Windows 7 with PuTTY. […]

  • Steaming iTunes Music Server on Cloud Platform

    Steaming iTunes Music Server on Cloud Platform can be setup without paying for the dedicated hardware. Here is the detailed ways of the possible solution.

  • Snapshot in Computer Storage

    Snapshot as a word originated from photography. In computing, snapshot is the copy of a system at a particular point in time which can be restored in some way.

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Wi-Fi for Old House With Thick Walls January 26, 2021
  • What is Inertial Navigation System? January 25, 2021
  • What is Miniaturization? January 24, 2021
  • What is Domain-Driven Design (DDD)? January 23, 2021
  • Top 10 Anti Hacking Software for Microsoft Windows January 22, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How To Perform Security Audits On Ubuntu 16.04 (With Lynis)," in The Customize Windows, June 6, 2017, January 26, 2021, https://thecustomizewindows.com/2017/06/perform-security-audits-ubuntu-16-04-lynis/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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