Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali





This practical, tutorial-style book uses the Kali Linux distribution to teach Linux basics with a focus on how hackers would use them. Topics include Linux command line basics, filesystems, networking, BASH basics, package management, logging, and the Linux kernel and drivers.

If you're thinking about getting started along the exciting path of hacking, cybersecurity, and pentesting, Linux Basics for Hackers is an excellent first step. With the help of Kali Linux, an advanced penetration testing distribution of Linux, you'll learn the basics of using the Linux operating system as a hacker and acquire the tools and techniques you'll need in order to take control of a Linux environment.

In the first part of the book, you'll learn how to install Kali on a virtual machine and get an introduction to the basic concepts common to all Linux distributions. You'll then use Kali to explore Linux more broadly as you tackle topics like text manipulation, controlling file and directory permissions, and managing user environment variables. As you move through the book, you'll take a deeper look at foundational hacking concepts like security and anonymity and learn how to use bash and Python scripts to build your own hacking tools like a remote video spy camera and a password cracker. Practical tutorials and exercises throughout are designed to reinforce your learning and test your skills as you learn how to:

- Gather information about a target domain using the Domain Name System (DNS)
- Cover your tracks by changing your network information and manipulating the rsyslog logging utility
- Write a tool to scan for network connections, and connect and listen to wireless networks
- Keep your internet activity stealthy using Tor, proxy servers, VPNs, and encrypted email
- Write a bash script to scan open ports for potential targets
- Use and abuse services like MySQL, Apache web server, and OpenSSH

Hacking is complex and there is no one way in. Why not start at the beginning with Linux Basics for Hackers?

Covers Kali Linux and Python 3


Chapter 1: Getting Started with the Basics
Chapter 2: Text Manipulation
Chapter 3: Analyzing and Managing Networks
Chapter 4: Adding and Removing Software
Chapter 5: Controlling File and Directory Permissions
Chapter 6: Process Management
Chapter 7: Managing User Environment Variables
Chapter 8: Bash Scripting
Chapter 9: Compressing and Archiving
Chapter 10: Filesystem and Storage Device Management
Chapter 11: The Logging System
Chapter 12: Using and Abusing Services
Chapter 13: Security and Anonymity
Chapter 14: Wireless Networking
Chapter 15: Linux Kernel and Drivers
Chapter 16: Startup Scripts
Chapter 17: Python Scripting Basics