Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Kali Linux Cookbook
Kali Linux Cookbook

Kali Linux Cookbook: Boost your pentesting career with essential tools such as Nmap, Metasploit, and Wireshark , Third Edition

Arrow left icon
Profile Icon Corey P. Schultz
Arrow right icon
€8.98 €26.99
eBook Nov 2025 568 pages 3rd Edition
eBook
€8.98 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Corey P. Schultz
Arrow right icon
€8.98 €26.99
eBook Nov 2025 568 pages 3rd Edition
eBook
€8.98 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.98 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Kali Linux Cookbook

Cloak and Dagger: Stealth and Anonymity

In this chapter, we will learn how to maintain stealth and anonymity while we conduct our pen-testing activities. Staying under the radar is often vital for success, as you don’t want to raise any flags that would put people on alert, whether you’re simulating a cyberattack, gathering intelligence, or safeguarding your actions. This chapter explores the tools and strategies needed to obscure your digital presence, guiding you on how to navigate an increasingly monitored internet without detection.

We start with the principles of anonymity, focusing on key practices to hide your identity and reduce traceability. You’ll discover methods to protect your identity across various platforms, including cryptocurrencies such as Bitcoin, secure email services, disposable accounts, and creating alternative personas. Additionally, the chapter examines practical tools such as VPNs, proxies, and the Tor network, explaining their functions...

Technical requirements

All our work in this chapter will be conducted within Kali Linux. Some of this information can be extended to other operating systems and devices, so you can perform many of the actions with nothing more than a web browser.

Essentials to anonymity

Anonymity is a protective barrier for your online identity and actions. Maintaining anonymity is a two-fold obligation: you must replicate the tactics used by malicious hackers to thoroughly assess defenses while also safeguarding yourself as the tester to prevent unintentional exposure of sensitive data or legal issues.

Hackers often employ tools such as VPNs, Tor, and proxies to mask digital traces, as well as create fictitious identities or disposable accounts to obscure attribution. As a pentester, adopting a hacker’s mindset and understanding these techniques is vital to replicate them accurately. Lacking this perspective might result in assessments that do not effectively mirror realistic attack scenarios, such as not evaluating how well a system can spot an attacker using anonymization methods. This can potentially leave an organization vulnerable to the very threats that exploit these tactics. Anonymity empowers you to conduct more realistic...

Employing Bitcoin and cryptocurrency

In this recipe, we will learn the fundamentals of Bitcoin, including setting up a wallet and sending and receiving Bitcoin. The rapid adoption of cryptocurrencies such as Bitcoin has introduced new attack vectors for hackers. Understanding blockchain technology and its applications is crucial for penetration testers to identify vulnerabilities in wallets, exchanges, smart contracts, and other crypto-related systems.

Cryptocurrencies are also tools for cybercriminals, often used to facilitate ransomware and other illicit activities. By understanding these technologies, penetration testers can better simulate real-world threats and strengthen defenses against emerging attacks.

Getting ready

You need the following to complete this recipe:

  • Kali Linux VM turned on and logged in
  • Stable internet connection

How to do it…

  1. Launch the terminal window from Kali.
Figure 2.1 – Terminal window

Figure 2.1 – Terminal window

Tip

Please remember...

Using Tor

In this recipe, you will learn how to use The Onion Router (Tor) to hide your online activities and to access the dark web. The Tor network is a powerful tool for penetration testers. It provides anonymity and access to parts of the internet that are often inaccessible through conventional means. By routing traffic through a series of encrypted nodes, Tor allows testers to hide their identities, explore hidden services, and simulate threat actor behavior.

For penetration testers, learning how to use Tor is essential for several reasons. It enables anonymous reconnaissance, making tracing testing activities harder for a target. Tor also provides access to the dark web, where testers can investigate potential data breaches, threat actor activity, or leaked client information. Additionally, it is a practical way to simulate attacks from adversaries who rely on anonymity to exploit systems.

Getting ready

You need the following to complete this recipe:

  • Kali Linux VM...

Using private and secure email

In this recipe, you will set up an email address that will allow you to maintain your online anonymity while also providing a means for secure communications. Communication security is paramount in penetration testing, and email is often a critical touchpoint. Whether coordinating with clients, sharing reports, or conducting surveillance, penetration testers must ensure that their email usage is private and secure for maintaining confidentiality, integrity, and operational security. Missteps in this area can expose sensitive information, compromise operations, or even lead to legal and reputational consequences.

Using private and secure email systems helps penetration testers protect their communications from unauthorized access, phishing attacks, and data leaks. Furthermore, email anonymity can be vital when simulating phishing attacks or social engineering campaigns, enabling realistic threat scenarios without exposing the tester’s identity...

Using a VPN

In this recipe, you will learn how to use a virtual private network (VPN) to hide your online activities and keep your location hidden. VPN technology is a cornerstone of penetration testing, as mastering VPN technology is essential for penetration testers to maintain operational security, bypass network restrictions, and simulate real-world attack scenarios.

VPNs create encrypted connections between networks, masking the tester’s identity and protecting sensitive data during engagements.

A VPN allows penetration testers to obfuscate their traffic and appear to be operating from different geographical locations. This is vital for assessing how organizations defend against external threats. Understanding and effectively using VPNs is essential for any professional in the field. However, using a privacy-conscious VPN is important, as you can be identified through the provider’s logs if they maintain them. Many privacy-focused providers will not maintain logs...

Using a proxy

In this recipe, you will learn the fundamentals behind using a proxy to hide your online activities and protect your location from being discovered. Proxies are invaluable tools in a penetration tester’s arsenal. They act as intermediaries between the tester’s system and the target, enabling enhanced anonymity, control, and flexibility during engagements. Proxies also allow testers to mask their IP addresses, manipulate traffic, and simulate various network conditions.

Proxy usage is crucial for penetration testers for several reasons. Proxies can help bypass network restrictions, geo-blocking, or web application defenses, allowing testers to evaluate a target’s resilience to real-world attacks. They also enable traffic interception and modification, essential for analyzing web application vulnerabilities and understanding how data flows between a client and a server. Please ensure the proxies’ logging and legal obligations when selecting...

Building alternate online personas

In this recipe, you will learn how to create online personas. These can be used as a proxy when communicating with others or as an information-gathering tool. Creating and maintaining multiple online personas in penetration testing is a strategic necessity. With distinct names, profiles, and activity histories, these personas enable penetration testers to conduct engagements with enhanced realism, stealth, and flexibility. By simulating diverse identities, testers can mimic the behaviors of different threat actors, improving their ability to assess and exploit an organization’s security vulnerabilities.

Having multiple online personas is particularly valuable in social engineering and reconnaissance efforts. One persona might connect with target employees on professional networks, while another could interact with public forums or social media groups to gather sensitive information. Multiple personas also allow testers to test an organization...

Building complete online personas with AI

In this recipe, we will use artificial intelligence (AI) to construct an entire online persona with significant background information. We have already gone through the essentials. Now, we can use AI to expand more complete profiles and create characters of various demographics. Consider this like character development for a book. You are creating online personas. As such, these personas must have a history, so the ones you’re making today may be used in the future. You need to start building their credibility by posting regularly, following others, and interacting to develop a realistic profile.

Each character profile will need a unique email, LinkedIn, Facebook, and X/Twitter account. Add and adjust services as you feel necessary for your target demographic. While having a clear profile is essential, it is important to remember to make them generic enough for many uses, but not so generic that they are easy to discover as fake.

...
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Install and configure Kali Linux on multiple platforms, choosing the best desktop and use case
  • Perform expert network scanning and vulnerability analysis with Nmap, OpenVAS, and Nessus
  • Augment social engineering campaigns with AI chatbots for real-time, personalized engagement
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

This hands-on guide will help you become a penetration testing expert by gaining command of the powerful tools of Kali Linux, from versions 2024.3 through 2025.1, aligned with the latest features introduced and applying them in real-world security assessments. This cookbook’s third edition is updated to include the latest advancements in cybersecurity. The author leverages their 20 years of industry experience to guide you through installing Kali on multiple platforms, setting up lab environments, and using modern tools, such as Nmap, Metasploit, Wireshark, OpenVAS, and AI-driven reconnaissance. You’ll also explore automated social engineering, wireless hacking, web and database exploitation, and advanced persistence techniques, delivering a comprehensive and up-to-date penetration testing resource. Recognizing the critical role of human factors in security, this edition expands on social engineering tactics, including psychological principles and AI-driven automation, to craft highly effective attack campaigns. By the end of this book, you’ll have strengthened your grasp of the entire penetration testing process, from environment setup and reconnaissance to vulnerability analysis, exploitation, and maintaining access, and be equipped with industry-standard tools to enhance your effectiveness as a security professional.

Who is this book for?

This book is ideal for cybersecurity professionals, ethical hackers, penetration testers, red teamers, security analysts, and IT administrators looking to strengthen their offensive security skills using Kali Linux. It is also for students, career-switchers, and aspiring ethical hackers preparing for roles in cybersecurity operations and threat analysis. A basic understanding of networking, operating systems, and security fundamentals is recommended.

What you will learn

  • Find out how to scan the network to find vulnerable computers and servers
  • Use AI-enhanced tools for thorough reconnaissance and intelligence
  • Identify and exploit vulnerabilities with advanced penetration tools
  • Apply social engineering tactics and advanced password cracking
  • Perform wireless, web, and database penetration testing techniques
  • Maintain persistent access while avoiding detection and defenses

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 28, 2025
Length: 568 pages
Edition : 3rd
Language : English
ISBN-13 : 9781835889817
Category :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Nov 28, 2025
Length: 568 pages
Edition : 3rd
Language : English
ISBN-13 : 9781835889817
Category :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Table of Contents

16 Chapters
Bootstrapping Your Cyber Arsenal Chevron down icon Chevron up icon
Cloak and Dagger: Stealth and Anonymity Chevron down icon Chevron up icon
Deep Recon: Unveiling the Digital Landscape Chevron down icon Chevron up icon
Nmap Mastery – Scanning with Precision Chevron down icon Chevron up icon
Wireshark Wizard: Network Traffic Demystified Chevron down icon Chevron up icon
Weaknesses Exposed: Advanced Vulnerability Analysis Chevron down icon Chevron up icon
Exploitation Unleashed: Finding the Hidden Flaws Chevron down icon Chevron up icon
Human Hacking: The Art of Social Engineering Chevron down icon Chevron up icon
Breaking Barriers: the Secrets of Password Cracking Chevron down icon Chevron up icon
Climbing the Ladder: Mastering Privilege Escalation Chevron down icon Chevron up icon
Wireless Warfare: Dominating the Airwaves Chevron down icon Chevron up icon
Web Warriors: Exploiting Online and Database Vulnerabilities Chevron down icon Chevron up icon
Persistence Pays: Securing Long-Term Access Chevron down icon Chevron up icon
Unlock Your Exclusive Benefits Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.

Modal Close icon
Modal Close icon