All Projects → shogunlab → gitformant

shogunlab / gitformant

Licence: GPL-3.0 License
OSINT tool for discovering confidential data leaked on Github.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to gitformant

datasploit-ansible
Ansible Playbook for setting up Datasploit
Stars: ✭ 14 (-58.82%)
Mutual labels:  osint
evine
Interactive CLI Web Crawler
Stars: ✭ 140 (+311.76%)
Mutual labels:  osint
TweetFeed
Collecting IOCs posted on Twitter
Stars: ✭ 181 (+432.35%)
Mutual labels:  osint
osint-cli-tool-skeleton
Template for new OSINT command-line tools
Stars: ✭ 25 (-26.47%)
Mutual labels:  osint
AmpliSpy
Check local or remote list of DNS servers for suitability in DNS Amplification DoS.
Stars: ✭ 39 (+14.71%)
Mutual labels:  osint
OSINT-Brazuca
Repositório criado com intuito de reunir informações, fontes(websites/portais) e tricks de OSINT dentro do contexto Brasil.
Stars: ✭ 508 (+1394.12%)
Mutual labels:  osint
Pentest-Bookmarkz
A collection of useful links for Pentesters
Stars: ✭ 118 (+247.06%)
Mutual labels:  osint
FisherMan
CLI program that collects information from facebook user profiles via Selenium.
Stars: ✭ 117 (+244.12%)
Mutual labels:  osint
nuubi
Nuubi Tools (Information-ghatering|Scanner|Recon.)
Stars: ✭ 76 (+123.53%)
Mutual labels:  osint
querytool
Querytool is an OSINT framework based on Google Spreadsheets. With this tool you can perform complex search of terms, people, email addresses, files and many more.
Stars: ✭ 104 (+205.88%)
Mutual labels:  osint
onedrive user enum
onedrive user enumeration - pentest tool to enumerate valid onedrive users
Stars: ✭ 223 (+555.88%)
Mutual labels:  osint
securitytools
quality community projects 👨‍👩‍👧‍👦📓🔎
Stars: ✭ 26 (-23.53%)
Mutual labels:  osint
Funnel
Funnel is a lightweight yara-based feed scraper
Stars: ✭ 38 (+11.76%)
Mutual labels:  osint
sherlock
🔎 Find usernames across social networks
Stars: ✭ 52 (+52.94%)
Mutual labels:  osint
ayashige
Ayashige provides a list of suspicious newly updated domains as a JSON feed
Stars: ✭ 27 (-20.59%)
Mutual labels:  osint
Reconky-Automated Bash Script
Reconky is an great Content Discovery bash script for bug bounty hunters which automate lot of task and organized in the well mannered form which help them to look forward.
Stars: ✭ 167 (+391.18%)
Mutual labels:  osint
tweetsmapper
Twitter geo intelligence tool. Generates a Leaflet map for a given user or from an existing collection of tweets.
Stars: ✭ 23 (-32.35%)
Mutual labels:  osint
username-generation-guide
A definitive guide to generating usernames for OSINT purposes
Stars: ✭ 38 (+11.76%)
Mutual labels:  osint
bing-ip2hosts
bingip2hosts is a Bing.com web scraper that discovers websites by IP address
Stars: ✭ 99 (+191.18%)
Mutual labels:  osint
pereval-server
The Pereval server: a set of OSINT & misc related web-services
Stars: ✭ 27 (-20.59%)
Mutual labels:  osint

Gitformant | ギトフルマント

logo

Gitformant is an Open Source Intelligence (OSINT) tool developed by Shogun Lab to aid researchers and security professionals in discovering Github repositories that may contain confidential information. It works by searching Github for a keyword (internal URL, project specific acronym or terminology, etc) from code or internal documents. Additional checks can be performed if provided with a second list of keywords for verifying that the repository contents belong to a specific entity (ACME, acme.com/employee_login, Project Roadrunner, etc).

Installation

Gitformant can be installed by downloading the zip file here or by cloning the Git repository:

git clone https://github.com/shogunlab/gitformant.git

Gitformant works with Python 3 on any platform.

The included requirements.txt file can be used to install the pre-requisites with the following:

pip install -r requirements.txt

Features

  • Search Github for keywords belonging to confidential documents and discover leaks.
  • Perform checks on discovered repositories to confirm or deny that they belong to a target organization.
  • Log all results for further investigation and reporting.

Usage

To perform a search on Github for an internal keyword, type:

python gitformant.py "<insert internal keyword here>"

To check the returned results for the existence of additional keywords, type:

python gitformant.py "<insert internal keyword here>" "<insert confirmation keywords list here (comma separated)>"

Example Use Case

  1. Alice is hired by ACME Inc. to perform an Open Source Intelligence assessment and find out if confidential ACME code is being leaked online.
  2. She checks multiple search engines to see if the leaked code is being indexed, but doesn't find anything.
  3. Alice asks the client if there are internal URLs or company keywords that are frequently used in development code.
  4. The client gives Alice "login.acme-portal.com", the URL for their employee login portal and a link that frequently appears in the clients' private Github.
  5. Alice performs a search for the keyword using Gitformant:
  • python gitformant.py "login.acme-portal.com"
  1. Alice finds no results, thinking that the keyword may be too specific, she changes the query to "acme-portal.com":
  • python gitformant.py "acme-portal.com"
  1. Alice is surprised to find several hundred results, however many of the findings are simply junk that makes reference to "acme-portal.com" among many other online portals.
  2. Undeterred, Alice performs additional checks for ACME specific keywords in the repositories discovered using Gitformant:
  • python gitformant.py "acme-portal.com" "ACME,www.acme.com,ACME Inc"
  1. Alice discovers that one repository contains "acme-portal.com" and also has 32 hits for ACME, 15 hits for acme.com and 3 hits for ACME Inc.
  2. Alice investigates the repository and finds that it is source code for an ACME Inc. production website with hardcoded admin login credentials.

Misc. Usage and Performance Notes

  • Don't forget to add your Github API key! Find out more here.
  • There is a rate limit on the Github Search API, to avoid going over this limit a delay is built into the calls to Github's API
    • If the rate limit is hit, the application will sleep and then resume after 10 seconds
  • Each confirmation keyword provided means an additional check is performed on every discovered repo, which means it can get slow FAST!
    • Try to limit confirmation keyword lists to two or three words (or grab a cup of coffee)

Screenshots

Basic usage screen_1

With confirmation keywords list screen_2 screen_3

Legal

Gitformant was inspired by an excellent OSINT tool, called Datasploit.

The Gitformant OSINT tool is licensed under a GNU General Public License v3.0, you can read it here.

The Gitformant logo is licensed under a Creative Commons Creative Attribution 3.0 United States License. Authored by ProSymbols.

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