Book description
Enhance file system security and learn about network attack, security tools and different versions of Linux build.
Key Features
- Hands-on recipes to create and administer a secure Linux system
- Enhance file system security and local and remote user authentication
- Use various security tools and different versions of Linux for different tasks
Book Description
Over the last few years, system security has gained a lot of momentum and software professionals are focusing heavily on it. Linux is often treated as a highly secure operating system. However, the reality is that Linux has its share of security ?aws, and these security ?aws allow attackers to get into your system and modify or even destroy your important data. But there's no need to panic, since there are various mechanisms by which these ?aws can be removed, and this book will help you learn about different types of Linux security to create a more secure Linux system.
With a step-by-step recipe approach, the book starts by introducing you to various threats to Linux systems. Then, this book will walk you through customizing the Linux kernel and securing local files. Next, you will move on to managing user authentication both locally and remotely and mitigating network attacks. Later, you will learn about application security and kernel vulnerabilities. You will also learn about patching Bash vulnerability, packet filtering, handling incidents, and monitoring system logs. Finally, you will learn about auditing using system services and performing vulnerability scanning on Linux.
By the end of this book, you will be able to secure your Linux systems and create a robust environment.
What you will learn
- Learn about vulnerabilities and exploits in relation to Linux systems
- Configure and build a secure kernel and test it
- Learn about file permissions and how to securely modify files
- Authenticate users remotely and securely copy files on remote systems
- Review different network security methods and tools
- Perform vulnerability scanning on Linux machines using tools
- Learn about malware scanning and read through logs
Who this book is for
This book is intended for all those Linux users who already have knowledge of Linux file systems and administration. You should be familiar with basic Linux commands. Understanding information security and its risks to a Linux system is also helpful in understanding the recipes more easily.
Table of contents
- Title Page
- Copyright and Credits
- Contributors
- Packt Upsell
- Preface
-
Linux Security Problem
- Security policy
- Configuring server security
- Security policy – server security
- Defining security controls
- Checking the integrity of installation medium by using checksum
- Using LUKS disk encryption
- Make use of sudoers – configuring sudo access
- Scanning hosts with Nmap
- Gaining root on a vulnerable Linux system
- Missing backup plans
- Configuring a Secure and Optimized Kernel
-
Local Filesystem Security
- Viewing files and directory details using ls
- Using chmod to set permissions on files and directories
- Using chown to change ownership of files and directories
- Using ACLs to access files
- File handling using the mv command (moving and renaming)
- Implementing Mandatory Access Control with SELinux
- Using extended file attributes to protect sensitive files
- Installing and configuring a basic LDAP server on Ubuntu
- Local Authentication in Linux
- Remote Authentication
- Network Security
- Security Tools
- Linux Security Distros
- Bash Vulnerability Patching
-
Security Monitoring and Logging
- Viewing and managing log files using Logcheck
- Monitoring the network using Nmap
- Using Glances for system monitoring
- Monitoring logs using MultiTail
- Using system tools – whowatch
- Using system tools – stat
- Using System tools – lsof
- Using System tools – strace
- Real time IP LAN monitoring using IPTraf
- Network security monitoring using Suricata
- Network monitoring using OpenNMS
- Understanding Linux Service Security
- Scanning and Auditing Linux
- Vulnerability Scanning and Intrusion Detection
- Other Books You May Enjoy
Product information
- Title: Practical Linux Security Cookbook - Second Edition
- Author(s):
- Release date: August 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789138399
You might also like
book
Practical Linux Security Cookbook
Secure your Linux machines and keep them secured with the help of exciting recipes About This …
book
Linux Security Cookbook
Computer security is an ongoing process, a relentless contest between system administrators and intruders. A good …
book
Linux Administration Cookbook
Over 100 recipes to get up and running with the modern Linux administration ecosystem Key Features …
book
Linux Cookbook, 2nd Edition
This handy cookbook teaches new-to-intermediate Linux users the essential skills necessary to manage a Linux system, …