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
All 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
Arrow up icon
GO TO TOP
Kali Linux Cookbook

You're reading from   Kali Linux Cookbook Effective penetration testing solutions

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher
ISBN-13 9781784390303
Length 438 pages
Edition 2nd Edition
Arrow right icon
Authors (2):
Arrow left icon
 Perciaccante Perciaccante
Author Profile Icon Perciaccante
Perciaccante
Corey Schultz Corey Schultz
Author Profile Icon Corey Schultz
Corey Schultz
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
1. Installing Kali and the Lab Setup FREE CHAPTER 2. Reconnaissance and Scanning 3. Vulnerability Analysis 4. Finding Exploits in the Target 5. Social Engineering 6. Password Cracking 7. Privilege Escalation 8. Wireless Specific Recipes 9. Web and Database Specific Recipes 10. Maintaining Access

Using cymothoa to create a Linux backdoor


In this recipe, we will use cymothoa to maintain Linux system access through the use of a backdoor.

Getting ready

Let's ensure the following prerequisites:

  • Your Kali Linux VM is powered up and you are logged in as root
  • Your Metasploitable VM is powered up on the host-only network

How to do it...

To create a backdoor in Linux, we will use the following recipe:

  1. Validate the IP addresses of your machines before we get started.
  2. In this case, we will be starting from a machine that has already been exploited; we will shortcut this exercise by accessing the Metasploitable machine through SSH.

Note

If you want, you can continue this recipe from Chapter 7, Privilege Escalation.

  1. On your Kali machine start Armitage.
  2. From Armitage, let's add the Metasploitable host if it is not already present. For this recipe, my Metasploitable machine is 192.168.56.101. If required, scan, nmap, and run the attack vectors against the Metasploitable device.

Note

See Chapter 4Finding Exploits...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images