Giter Club home page Giter Club logo

grabsy's Introduction

Grabsy

Grabsy is a Chromium password grabber I might add more options later but it's a learning project so far

How it works

The main chromium browsers, seem to all store passwords the same way

The only difference being the path to the location. They are also all stored in a local sqlite database

1st, Get the master key

1st we set the base path for the requested browser then we get an "Encrypted Key" from the "Local State" file; We will also have to decrypt the key on windows using the -> CryptUnprotectData() function the key is inside a large json file, nested under

"os_crypt": {
        "encrypted_key": "...master key is here..."

Open up the local database

Here we try to make a database connection to the local database file. After that connection is established we send a query for all the following values:

"SELECT action_url, username_value, password_value FROM logins"

Decrypt the passwords

At this point all thats left is decrypting the password Thes are encrypted with AES256-GCM - to decrypt we need a

  • master key (this is the key we decrypted)
  • An Initialization Vector - in this case 12
  • Ignore the "v10" prefix
  • The rest is the password

example; "v10[..iv..][encrypted password]"

grabsy's People

Contributors

sara0x62 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.