# mihari
[](https://badge.fury.io/rb/mihari)
[](https://github.com/ninoseki/mihari/actions/workflows/test.yml)
[](https://coveralls.io/github/ninoseki/mihari?branch=master)
[](https://www.codefactor.io/repository/github/ninoseki/mihari)
---
Mihari is proudly supported by Tines
---
Mihari is a tool for OSINT based threat hunting.
## How it works

- Mihari makes a query against Shodan, Censys, VirusTotal, SecurityTrails, etc. and extracts artifacts (IP addresses, domains, URLs or hashes).
- Mihari checks whether the database (SQLite3, PostgreSQL or MySQL) contains the artifacts or not.
- If it doesn't contain the artifacts:
- Mihari saves artifacts in the database.
- Mihari creates an alert on TheHive.
- Mihari sends a notification to Slack.
- Mihari creates an event on MISP.
Also, you can check the alerts on a built-in web app.

## Supported services
Mihari supports the following services by default.
- [BinaryEdge](https://www.binaryedge.io/)
- [Censys](http://censys.io)
- [CIRCL passive DNS](https://www.circl.lu/services/passive-dns/) / [passive SSL](https://www.circl.lu/services/passive-ssl/)
- [crt.sh](https://crt.sh/)
- [dnstwister](https://dnstwister.report/)
- [GreyNoise](https://www.greynoise.io/)
- [Onyphe](https://onyphe.io)
- [OTX](https://otx.alienvault.com/)
- [PassiveTotal](https://community.riskiq.com/)
- [Pulsedive](https://pulsedive.com/)
- [SecurityTrails](https://securitytrails.com/)
- [Shodan](https://shodan.io)
- [urlscan.io](https://urlscan.io)
- [VirusTotal](http://virustotal.com) & [VirusTotal Intelligence](https://www.virustotal.com/gui/intelligence-overview)
- [ZoomEye](https://zoomeye.org)
## Docs
- [Mihari Knowledge Base](https://www.notion.so/Mihari-Knowledge-Base-266994ff61204428ba6cfcebe40b0bd1)
## Presentations
- [Adversary Infrastructure Tracking with Mihari](https://ninoseki.github.io/presentations/Adversary%20Infrastructure%20Tracking%20with%20Mihari.pdf)
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Acknowledgement
Mihari is proudly supported by [Tines.io](https://tines.io?utm_source=github&utm_medium=sponsorship&utm_campaign=ninoseki), The SOAR Platform for Enterprise Security Teams.