Notes
  • 👀About me
  • â„šī¸Good Reads
  • 🌐Web
    • Web Pentesting Checklist
    • Insecure Deserialization
    • Blind XPath Injection
    • GraphQL
    • Reverse Shells
      • IIS
    • Content-Security-Policy
      • XSS (Static Nonce in CSP)
    • LLM (Large Language Models)
  • 📘Windows API
    • C# - P/Invoke
  • ☕Miscellaneous Topics
    • Phishing with Gophish
    • Pentest Diaries
      • SQL Queries via Grafana
      • LDAP Pass Back Attack
      • Misconfigured File Upload to RCE
  • 🧃Hack The Box
    • Intelligence
    • Seal
    • Under Construction
    • Previse
    • Return
    • Sauna
    • Nest
  • 📕TryHackMe
    • Wordpress CVE-2021-29447
    • Attacktiv
    • Fortress
    • internal
  • đŸ› ī¸Cheatsheet
    • Anti-Forensic Techniques
    • JSON - jq
    • Docker
    • Hidden Secrets
    • Database Exploitation
      • PostgreSQL
        • Blind SQLi script
      • SQL Server
    • C Sharp
    • Reversing
      • Windows
    • SSH
    • Python
      • Miscellaneous Scripts
        • Credential Bruteforcing a CLI service
    • Privilege Escalation
      • Windows
    • socat
    • OSINT
      • Shodan
    • Installation
Powered by GitBook
On this page

Was this helpful?

  1. Cheatsheet
  2. OSINT

Shodan

PreviousOSINTNextInstallation

Last updated 1 year ago

Was this helpful?

#1. Finding websites that use similar favicon.ico

This is useful for identifying phishing websites as they generally clone your custom favicon.ico file. Shodan provides a search filter (signed-in users only) for searching specific favicon.ico files. This is done by first converting the favicon.ico file into a hash value and this hash value is queried in the Shodan database. The following is the search filter:

http.favicon.hash:<hash-of-favicon.ico>
  1. favscan

The favscan tool provided in the above blog does not work correctly at the time of writing this article [18/01/2024].

Download links provided in Blog

  1. get_favicon_hash.py

  1. favscan

favscan -v <domain for e.g. shodan.>
  1. get_favicon_hash.py

python3 get_favicon_hash.py
# Prompts for input. Provide te favicon.ico URL.
  1. favscan

└─# favscan -v cloudflare.com
Requesting URL: cloudflare.com
Adding 'https' scheme to URL: cloudflare.com
1900658278
  1. get_favicon_hash.py

└─# python3 get_favicon_hash.py 
Enter Favicon URL to get the mmh3-HASH: https://facebook.com/favicon.ico
-560962771
Now Use this on Shodan For Searching,http.favicon.hash:-560962771

<Screenshots>

đŸ› ī¸
Deep Dive: http.faviconShodan Blog
Source
Logo
GitHub - Mr-P-D/Favicon-Hash-For-Shodan.io: this script will help you find favicon hashes which you can use to shodan to get more details about an assetGitHub
Logo