Friday, July 9, 2010
Stealing login details with a Google Chrome extension
In this post I will demonstrate a proof of concept of how an attacker can steal usernames and passwords via a Google Chrome Extension.
The Google Chrome browser allows the installation of third-party extensions that are used to extend the browser to add new features. The extensions are written in JavaScript and HTML and allow manipulation of the DOM, amongst other features.
By allowing access to the DOM, an attacker can thus read form fields...including username and password fields. This is what sparked my idea of creating this PoC.
The extension I present here is very simple. Whenever a user submits a form, it tries to capture the username and password fields, sends me an email via an Ajax call to a script with these login details along with the url and then proceeds to submit the form normally as to avoid detection.
This simple procedure has been successful against Gmail, Facebook, Twitter and other major websites.
http://blog.dreasgrech.com/2010/07/s...th-google.html


LinkBack URL
About LinkBacks



Reply With Quote
This is why Chrome warns you about what sites the extension wants permission to.
