Skip to content

Latest commit

 

History

History
309 lines (246 loc) · 6.34 KB

File metadata and controls

309 lines (246 loc) · 6.34 KB

OSINT

  • The page is bare, really need to do a OSINT course ;)

OSINT Frameworks

Other tools

Search engines

Google fu / dorks

Example

site:hackdefense.com filetype:pdf

Specific website

searchterm site:example.com

Search for specific string

"search this string"

Create Sockpuppet / alias

Host Information

Get IP Adresses of a domain name

dig <DOMAIN> +short

Check whois op each IP

  • Check who owns the IP, where is it hosted?
whois <IP>

Mail

Check spf, dkim, dmarc etc

./spoofcheck.py <DOMAIN>

Finding Email adresses

Discovering email adresses or pattern

Verify email-adres

theHarvester

theHarvester -d <DOMAIN> -b google -l 500

Hunting usernames

WhatsMyName

whatsmyname -u <USERNAME>

Sherlock

sherlock <USERNAME>

Hunting passwords

Breachparse

./breach-parse.sh @<DOMAIN> password.txt

H8mail

h8mail -t <EMAIL>

Query without API keys against local breachcompilation

h8mail -t <EMAIL> -bc "/opt/breach-parse/BreachCompilation/" -sk

Check for hashes

Hunting for personal information

Search phone numbers

phoneinfoga

phoneinfoga scan -n <COUNTRYCODE><PHONENUMBER>

Web OSINT

General Info

Shodan.io

Check old versions of the website / files

Hunting subdomains

Amass - Best tool


Dnsdumpster

Sublister

sublister -domain <DOMAIN>

crt.sh

Dnscan

dnscan.py <DOMAIN>

Other tools

Discover Website Technologies

Whatwheb

whatweb <URL>

Image OSINT

Reverse Image Searching

EXIF Data

Online

Exiftool

exiftool <img>

Identifying Geographical Locations

Social media OSINT

Twitter

Twint

twint -u <USER> -s <STRING>

Facebook

Instagram

Snapchat

Reddit

Linkedin

Business OSINT

Wireless OSINT

Automating OSINT Example

#!/bin/bash

domain=$1
RED="\033[1;31m"
RESET="\033[0m"

info_path=$domain/info
subdomain_path=$domain/subdomains
screenshot_path=$domain/screenshots

if [ ! -d "$domain" ];then
    mkdir $domain
fi

if [ ! -d "$info_path" ];then
    mkdir $info_path
fi

if [ ! -d "$subdomain_path" ];then
    mkdir $subdomain_path
fi

if [ ! -d "$screenshot_path" ];then
    mkdir $screenshot_path
fi

echo -e "${RED} [+] Checkin' who it is...${RESET}"
whois $1 > $info_path/whois.txt

echo -e "${RED} [+] Launching subfinder...${RESET}"
subfinder -d $domain > $subdomain_path/found.txt

echo -e "${RED} [+] Running assetfinder...${RESET}"
assetfinder $domain | grep $domain >> $subdomain_path/found.txt

#echo -e "${RED} [+] Running Amass. This could take a while...${RESET}"
#amass enum -d $domain >> $subdomain_path/found.txt

echo -e "${RED} [+] Checking what's alive...${RESET}"
cat $subdomain_path/found.txt | grep $domain | sort -u | httprobe -prefer-https | grep https | sed 's/https\?:\/\///' | tee -a $subdomain_path/alive.txt

echo -e "${RED} [+] Taking dem screenshotz...${RESET}"
gowitness file -f $subdomain_path/alive.txt -P $screenshot_path/ --no-http