All Projects β†’ mxrch β†’ Ghunt

mxrch / Ghunt

Licence: mpl-2.0
πŸ•΅οΈβ€β™‚οΈ Investigate Google emails and documents.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ghunt

Goohak
Automatically Launch Google Hacking Queries Against A Target Domain
Stars: ✭ 432 (-95.88%)
Mutual labels:  google, osint
Sitedorks
Search Google/Bing/Ecosia/DuckDuckGo/Yandex/Yahoo for a search term with a default set of websites, bug bounty programs or a custom collection.
Stars: ✭ 221 (-97.89%)
Mutual labels:  google, osint
D4n155
OWASP D4N155 - Intelligent and dynamic wordlist using OSINT
Stars: ✭ 105 (-99%)
Mutual labels:  google, osint
Pagodo
pagodo (Passive Google Dork) - Automate Google Hacking Database scraping and searching
Stars: ✭ 603 (-94.25%)
Mutual labels:  google, osint
Image search
Python Library to download images and metadata from popular search engines.
Stars: ✭ 86 (-99.18%)
Mutual labels:  google
Instaloctrack
An Instagram OSINT tool to collect all the geotagged locations available on an Instagram profile in order to plot them on a map, and dump them in a JSON.
Stars: ✭ 85 (-99.19%)
Mutual labels:  osint
Check
Development environment for Meedan Check, a collaborative media annotation platform
Stars: ✭ 84 (-99.2%)
Mutual labels:  osint
Social Login Helper Deprecated
A simple android library to easily implement social login into your android project
Stars: ✭ 81 (-99.23%)
Mutual labels:  google
Ot Rtos
OpenThread RTOS, an integration of OpenThread, LwIP, and FreeRTOS.
Stars: ✭ 90 (-99.14%)
Mutual labels:  google
Androidoauth
A simple way to authenticate with Google and Facebook using OAuth 2.0 in Android
Stars: ✭ 88 (-99.16%)
Mutual labels:  google
Svelte Social Auth
Social Auth for Svelte v3
Stars: ✭ 86 (-99.18%)
Mutual labels:  google
Cesium Map
Cesium εœ°ε›Ύζ’δ»ΆοΌŒη”¨δΊŽζ·»εŠ ε›½ε†…ε„ε€§εœ°ε›ΎεŽ‚ε•†ηš„εœ°ε›ΎπŸŒŽ
Stars: ✭ 80 (-99.24%)
Mutual labels:  google
Runtimes Common
Common tools used by the GCP runtimes.
Stars: ✭ 86 (-99.18%)
Mutual labels:  google
Node Google Dfp
A service for integrating with Google DFP over NodeJS
Stars: ✭ 84 (-99.2%)
Mutual labels:  google
Gargle
Infrastructure for calling Google APIs from R, including auth
Stars: ✭ 88 (-99.16%)
Mutual labels:  google
Geo Recon
An OSINT CLI tool desgined to fast track IP Reputation and Geo-locaton look up for Security Analysts.
Stars: ✭ 82 (-99.22%)
Mutual labels:  osint
Google It Automation With Python
Repository to keep track of Google IT Automation with Python provided by Coursera
Stars: ✭ 86 (-99.18%)
Mutual labels:  google
Pervertgram
A project for stalking people on Instagram.
Stars: ✭ 88 (-99.16%)
Mutual labels:  osint
Google Actions Starter
A Node.js server for Google Assistant (and Google Home).
Stars: ✭ 85 (-99.19%)
Mutual labels:  google
Codejam
Codejam, apac, kickstart, I/O for Women... 2017, 2016, 2015, 2014... All solutions here!
Stars: ✭ 85 (-99.19%)
Mutual labels:  google

screenshot

Python minimum version

Docker Cloud Build Status GitHub Workflow Status

Description

GHunt is a modulable OSINT tool designed to evolve over the years, and incorporates many techniques to investigate Google accounts, or objects.
It currently has email, document, youtube and gaia modules.

What can GHunt find ?

πŸ—ΊοΈ Email module:

  • Owner's name
  • Gaia ID
  • Last time the profile was edited
  • Profile picture (+ detect custom picture)
  • If the account is a Hangouts Bot
  • Activated Google services (YouTube, Photos, Maps, News360, Hangouts, etc.)
  • Possible YouTube channel
  • Possible other usernames
  • Google Maps reviews (M)
  • Possible physical location (M)
  • Events from Google Calendar (C)
  • Organizations (work & education) (A)
  • Contact emails (A)
  • Contact phones (A)
  • Addresses (A)
  • Public photos (P)
  • Phones models (P)
  • Phones firmwares (P)
  • Installed softwares (P)

πŸ—ΊοΈ Document module:

  • Owner's name
  • Owner's Gaia ID
  • Owner's profile picture (+ detect custom picture)
  • Creation date
  • Last time the document was edited
  • Public permissions
  • Your permissions

πŸ—ΊοΈ Youtube module:

  • Owner's Gaia ID (through Wayback Machine)
  • Detect if the email is visible
  • Country
  • Description
  • Total views
  • Joined date
  • Primary links (social networks)
  • All infos accessible by the Gaia module

πŸ—ΊοΈ Gaia module:

  • Owner's name
  • Profile picture (+ detect custom picture)
  • Possible YouTube channel
  • Possible other usernames
  • Google Maps reviews (M)
  • Possible physical location (M)
  • Organizations (work & education) (A)
  • Contact emails (A)
  • Contact phones (A)
  • Addresses (A)

The features marked with a (P) require the target account to have the default setting of Allow the people you share content with to download your photos and videos on the Google AlbumArchive, or if the target has ever used Picasa linked to their Google account.
More info here.

Those marked with a (M) require the Google Maps reviews of the target to be public (they are by default).

Those marked with a (C) require user to have Google Calendar set on public (default it is closed).

Those marked with a (A) require user to have the additional info set on profile with privacy option "Anyone" enabled.

Screenshots

πŸ“° Latest news

  • 02/10/2020 : Since a few days ago, Google returns a 404 when we try to access someone's Google Photos public albums, we can only access it if we have a link to one of their albums.
    Either this is a bug and this will be fixed, either it's a protection that we need to find how to bypass.
  • 03/10/2020 : Successfully bypassed. πŸ•Ί (commit 01dc016)
    It requires the "Profile photos" album to be public (it is by default)
  • 20/10/2020 : Google WebArchive now returns a 404 even when coming from the "Profile photos" album, so the photos scraping is temporary (or permanently) disabled. (commit e762543)
  • 25/11/2020 : Google now removes the name from the Google Maps profile if the user has 0 reviews (or contributions, even private). I did not find a bypass for the moment, so all the help in the research of a bypass is appreciated.
  • 20/03/2021 : Successfully bypassed. πŸ•Ί (commit b3b01bc)

Installation

Manual installation

  • Make sure you have Python 3.8+ installed. (I developed it with Python 3.8.1)
  • Some Python modules are required which are contained in requirements.txt and will be installed below.

1. Chromedriver & Google Chrome

This project uses Selenium and automatically downloads the correct driver for your Chrome version.
⚠️ So just make sure to have Google Chrome installed.

2. Cloning

Open your terminal, and execute the following commands :

git clone https://github.com/mxrch/ghunt
cd ghunt

3. Requirements

In the GHunt folder, run:

python3 -m pip install -r requirements.txt

Adapt the command to your operating system if needed.

Docker

The Docker image is automatically built and pushed to Dockerhub after each push on this repo.
You can pull the Docker image with:

docker pull ghcr.io/mxrch/ghunt

Then, you can use the docker_check_and_gen.sh and docker_hunt.sh to invoke GHunt through Docker, or you can use these commants :

docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt check_and_gen.py
docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt ghunt.py

Usage

For the first run and sometime after, you'll need to check the validity of your cookies.
To do this, run check_and_gen.py.
If you don't have cookies stored (ex: first launch), you will be asked for the required cookies. If they are valid, it will generate the Authentication token and the Google Docs & Hangouts tokens.

Then, you can run the tool like this:

python3 ghunt.py email [email protected]
python3 ghunt.py doc https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms

⚠️ I suggest you make an empty account just for this or use an account where you never login because depending on your browser/location, re-logging in into the Google Account used for the cookies can deauthorize them.

Where I get these cookies ?

Auto (faster)

You can download the GHunt Companion extension that will automate the cookies extraction in 1-click !

Firefox   Chrome   Edge

You just need to launch the check_and_gen.py file and choose the extraction mode you want to use, between putting GHunt in listening mode, or copy/paste the encoded cookies in base64.

Manual

  1. Be logged-in to myaccount.google.com
  2. After that, open the Dev Tools window and navigate to the Network tab
    If you don't know how to open it, just right-click anywhere and click "Inspect Element".
  3. Go to myaccount.google.com, and in the browser requests, select the GET on "accounts.google.com" that gives a 302 redirect
  4. Then you'll find every cookie you need in the "cookies" section.

cookies

πŸ›‘οΈ Protecting yourself

Regarding the collection of metadata from your Google Photos account:

Given that Google shows "X require access" on your Google Account Dashboard, you might imagine that you had to explicitly authorize another account in order for it to access your pictures; but this is not the case.
Any account can access your AlbumArchive (by default):

account-dashboard

Here's how to check and fix the fact that you're vulnerable (which you most likely are):
Go to https://get.google.com/albumarchive/ while logged in with your Google account. You will be automatically redirected to your correct albumarchive URL (https://get.google.com/albumarchive/YOUR-GOOGLE-ID-HERE). After that, click the three dots on the top left corner, and click on setting

three-dots-setting

Then, uncheck the only option there:

setting

On another note, the target account will also be vulnerable if they have ever used Picasa linked to their Google account in any way, shape or form. For more details on this, read PinkDev1's comment on issue #10.
For now, the only (known) solution to this is to delete the Picasa albums from your AlbumArchive.

Thanks

This tool is based on Sector's research on Google IDs and completed by my own as well.
If I have the motivation to write a blog post about it, I'll add the link here !

  • Palenath (for the name bypass)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].