MurMurHash – Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 1 MurMurHash 1](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_1.png)
This little tool is to calculate a MurmurHash value of a favicon to hunt phishing websites on the Shodan platform.
What is MurMurHash?
MurmurHash is a non-cryptographic hash function suitable for general hash-based lookup. The name comes from two basic operations, multiply (MU) and rotate (R), used in its inner loop. The current version is MurmurHash3 which yields a 32-bit or 128-bit hash value. When using 128-bits, the x86 and x64 versions do not produce the same values, as the algorithms are optimized for their respective platforms. MurmurHash3 was released alongside SMHasher—a hash function test suite.
Further reading on: https://en.wikipedia.org/wiki/MurmurHash
How to install?
git clone https://github.com/Viralmaniar/MurMurHash.git
cd MurMurHash
pip install -r requirements.txt
python MurMurHash.py
Detailed Blog:
https://isc.sans.edu/diary/Hunting+phishing+websites+with+favicon+hashes/27326
Hunting Phish Events for Paypal & Tesla:
After reading about hunting of phishing websites using favicon hashes I thought to generalise it to accept Favicon URLs for quick analysis on the Shodan.
Looking for a favicon icon file on the orginal website of Paypal:
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 2 MurMurHash 2](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_2.png)
Using MurMurHash.py
file generating hash of the icon:
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 3 MurMurHash 3](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_3.png)
Searching on Shodan for Paypal phishing domains/IPs:
- https://www.shodan.io/search?query=http.favicon.hash%3A309020573
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 4 MurMurHash 4](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_4.png)
Validating Shodan results:
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 5 MurMurHash 6](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_6.png)
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 6 MurMurHash 5](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_5.png)
Now, let’s search for Tesla icon on the original site:
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 7 MurMurHash 7](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_7.png)
Searching on Shodan for Tesla phishing domains/IPs:
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 8 MurMurHash 8](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_8.png)
- https://www.shodan.io/search?query=http.favicon.hash%3A476528568
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 9 MurMurHash 9](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_9.png)
Validating Shodan results:
![MurMurHash - Tool To Calculate A MurmurHash Value Of A Favicon To Hunt Phishing Websites On The Shodan Platform 10 MurMurHash 10](https://www.redpacketsecurity.com/wp-content/uploads/2021/05/MurMurHash_10.png)
Questions?
Twitter: @ManiarViral
LinkedIn: https://au.linkedin.com/in/viralmaniar
If you like the site, please consider joining the telegram channel or supporting us on Patreon using the button below.