Giter VIP home page Giter VIP logo

secretmanagement.chromium's Introduction

Banner PowerShell Gallery

Overview

This is a Vault Extension for the Microsoft.PowerShell.SecretManagement module. It allows you to quickly detect and access passwords saved in Chromium-based browsers such as Google Chrome and Microsoft Edge. You can use credentials saved in the browser to access other resources via PowerShell.

Demo

Requirements

  • PowerShell 7 (Windows PowerShell 5.1 support on the roadmap)
  • Microsoft Windows (Linux/OSX support on the roadmap)

Quickstart

Install-Module SecretManagement.Chromium
#Autodetect Chrome and Edge
Register-ChromiumSecretVault -Verbose
#View the vaults
Get-SecretVault
#Get a list of all secrets in the vaults
Get-SecretInfo

Features

  1. Automatic discovery of Chrome and Edge (all versions) demodiscovery

  2. Fetching secrets, including secrets synced from Android

  3. Powerful filter and search syntax

Get-SecretInfo Filter Usage

Secrets are presented in username|domain format, because usernames can contain @,, and whitespace symbols, hence the somewhat unusual naming format. If there is a conflict and two secrets have the same username and URL combination, the database ID of that entry may be appended to the entry with a colon You can still use this entry to get this specific entry

You can search for secrets in the following ways:

  1. User + Domain Explicit Search (myuser|https://www.twitter.com/)
  2. Explicit URL (https://www.twitter.com/). All components, including trailing backspaces, are required!
  3. Wildcard URL Search (*twitter*)
  4. Explicit User Search (myuser|)
  5. Wildcard User Search (my*|) - Note the trailing | to indicate you want to search user and not URL
  6. User + Domain Wildcard Search (*m*|*tw*)

FAQ

  1. Why are the secret names so "ugly"?

    Because of a limitation in the SecretManagement API. If this annoys you, upvote this issue!

  2. This was too easy, I didn't know Chromium was so insecure!

    It's not insecure per se, your passwords are encrypted at rest by Windows DPAPI and the key is "bound" to your user profile and windows login, so you have to be logged into your profile in order for this to work. Go ahead, try copying the files to another machine or a different user profile on the same machine and try it, it will fail. This is more of a Single Sign-On approach.

    That said, this is also a lesson that any program you run in your userspace can potentially harvest these passwords since it runs in the context of your username, so don't click that email link!

secretmanagement.chromium's People

Contributors

alexandair avatar justingrote avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.