Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Kali Linux Wireless Pentesting

You're reading from  Mastering Kali Linux Wireless Pentesting

Product type Book
Published in Feb 2016
Publisher
ISBN-13 9781785285561
Pages 310 pages
Edition 1st Edition
Languages
Authors (2):
Brian Sak Brian Sak
Profile icon Brian Sak
Jilumudi Raghu Ram Jilumudi Raghu Ram
Profile icon Jilumudi Raghu Ram
View More author details

Table of Contents (16) Chapters

Mastering Kali Linux Wireless Pentesting
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
1. Wireless Penetration Testing Fundamentals 2. Wireless Network Scanning 3. Exploiting Wireless Devices 4. Wireless Cracking 5. Man-in-the-Middle Attacks 6. Man-in-the-Middle Attacks Using Evil Twin Access Points 7. Advanced Wireless Sniffing 8. Denial of Service Attacks 9. Wireless Pentesting from Non-Traditional Platforms Index

Using AutoSSH for reverse shell


For a persistent reverse SSH connection, you can use AutoSSH to set up an SSH session via a wired connection on the target network, or if you've taken the time to set up a 3G connection with USB, it can run completely wireless. AutoSSH is a package that enables you to create persistent outbound SSH connections from the Raspberry Pi to a server that you control sitting somewhere on the Internet. When the Raspberry Pi boots and has a network connection, either wired or 3G, it will automatically call home and establish a secure session to the device.

Follow this example to install and configure AutoSSH on your Kali instance. This can be used to access and carry out your attacks from a remote location.

  • To begin, install AutoSSH on your Raspberry Pi. This can, and should, be done before using it for your penetration test. Use the apt-get command to install the latest version of autossh from the repository:

    #apt-get install autossh
    

To set up AutoSSH, we'll need to...

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}