Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python for Offensive PenTest

You're reading from   Python for Offensive PenTest A practical guide to ethical hacking and penetration testing using Python

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788838979
Length 176 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Hussam Khrais Hussam Khrais
Author Profile Icon Hussam Khrais
Hussam Khrais
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

Preface 1. Warming up – Your First Antivirus-Free Persistence Shell 2. Advanced Scriptable Shell FREE CHAPTER 3. Password Hacking 4. Catch Me If You Can! 5. Miscellaneous Fun in Windows 6. Abuse of Cryptography by Malware 7. Other Books You May Enjoy

Dumping saved passwords out of Google Chrome


In this section, we will discuss another password-hacking technique. This technique was originally created to recover your password if you forget it. Here we will take advantage and hack the saved password remotely. For this attack to work successfully, your target should be using Google Chrome, and they should have previously saved the login password. Let's look at how this works. Log into your Facebook account. You will notice a prompt at the top-right corner of the screen, which asks you whether to save the password with a Save password button. If our target has clicked on Save password, then we will be able to grab that password remotely.

We will now see how to do that. To do this, we will Log out from Facebook first.

Acquiring the password remotely

Let's get started by understanding how Google Chrome stores and recovers the saved password in the first place:

So, the first fact is, we should know that Google Chrome uses the Windows login password...

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 $19.99/month. Cancel anytime