https://github.com/wisespace-io/nettfiske
Detect Phishing fetching Certificate Transparency Logs
https://github.com/wisespace-io/nettfiske
certificate-transparency certstream homoglyphs homograph-attack phishing punycode rust
Last synced: over 1 year ago
JSON representation
Detect Phishing fetching Certificate Transparency Logs
- Host: GitHub
- URL: https://github.com/wisespace-io/nettfiske
- Owner: wisespace-io
- Created: 2018-04-15T17:58:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-13T14:31:33.000Z (over 5 years ago)
- Last Synced: 2025-01-19T13:47:23.067Z (over 1 year ago)
- Topics: certificate-transparency, certstream, homoglyphs, homograph-attack, phishing, punycode, rust
- Language: Rust
- Size: 88.9 KB
- Stars: 20
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://crates.io/crates/nettfiske)
[](https://travis-ci.org/wisespace-io/nettfiske)
[](./LICENSE-MIT)
[](./LICENSE-APACHE)
# Nettfiske
Uses [certstream](https://certstream.calidog.io/) SSL certificates live stream to identify possible phishing domain names. It is inspired by [Phishing Catcher](https://github.com/x0rz/phishing_catcher).
## Usage
```rust
cargo run --release sample.json
```
### Example
```Console
[Nettfiske] Fetching Certificates ...
Homoglyph detected youtuḅe.com (Punycode: xn--youtue-tg7b.com)
Homoglyph detected youtuḅe.com (Punycode: xn--youtue-tg7b.com)
Homoglyph detected whatsapp.com (Punycode: xn--hatsapp-h41c.com)
Homoglyph detected whatsapp.com (Punycode: xn--hatsapp-h41c.com)
Homoglyph detected twiṫter.com (Punycode: xn--twiter-507b.com)
Homoglyph detected twiṫter.com (Punycode: xn--twiter-507b.com)
Suspicious paypal.com-secure.warn-allmail.com (score 72)
Suspicious applêid.àpplê.com.iosets.com (score 65) (Punycode: xn--applid-lva.xn--ppl-8ka7c.com.iosets.com)
Suspicious facebook.com-verified-id939819835.com (score 69)
Suspicious appleid.apple.com.invoice-qwery.gq (score 75)
Suspicious instagramaccountverifica.altervista.org (score 69)
```
### Use Cases
Attempt to detect the use of Punycode and Homoglyph Attacks to obfuscate Domains. The homograph protection mechanism in Chrome, Firefox, and Opera may fail when some characters are replaced with a similar character from a foreign language.
Example:
* microsoft.com⁄index.html.irongeek.com
* microsoft.xn--comindex-g03d.html.irongeek.com
The slash symbol in the first url is not really a slash symbol at all. Also adding a SSL certificate can take few minutes and the user can feel safer with the locker next to domain.
Example, try to open the domain https://www.xn--80ak6aa92e.com/ on Firefox.