mihari 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/README.md +17 -5
- data/docker/Dockerfile +2 -1
- data/{screenshots → images}/alert.png +0 -0
- data/{screenshots → images}/eyecatch.png +0 -0
- data/images/logo.png +0 -0
- data/{screenshots → images}/misp.png +0 -0
- data/{screenshots → images}/slack.png +0 -0
- data/lib/mihari/analyzers/shodan.rb +4 -0
- data/lib/mihari/version.rb +1 -1
- data/mihari.gemspec +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 951201ccebc7b6c4c117a687c1abce9ab24fa8d450f5a0f0badeeececa6db5cb
|
4
|
+
data.tar.gz: aed5f37c4031ffbc1a635ddd4fc979f4e40ab68a94ef880730bc48a2df600678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a81ff55bf880a3581ad52f6bf2d8652e1d7824119ed31daed81eb0e8f215d4d26a19a10d646b5497346e6795a320de18cd63fa817958081c2ba4393efad4c20a
|
7
|
+
data.tar.gz: b3fa4c9979fc22863d0e171d87918c320ec177b5e27c0820f4997919cb714d8c19516d37e15eccaed8b0a81102498820b4865864dcb56c650c186ef1bd057b56
|
data/.github/workflows/test.yml
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
# mihari
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/mihari.svg)](https://badge.fury.io/rb/mihari)
|
4
|
-
[![
|
4
|
+
[![Ruby CI](https://github.com/ninoseki/mihari/actions/workflows/test.yml/badge.svg)](https://github.com/ninoseki/mihari/actions/workflows/test.yml)
|
5
5
|
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/ninoseki/mihari)](https://hub.docker.com/r/ninoseki/mihari)
|
6
6
|
[![Coverage Status](https://coveralls.io/repos/github/ninoseki/mihari/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/mihari?branch=master)
|
7
7
|
[![CodeFactor](https://www.codefactor.io/repository/github/ninoseki/mihari/badge)](https://www.codefactor.io/repository/github/ninoseki/mihari)
|
8
8
|
|
9
|
+
![img](https://github.com/ninoseki/mihari/raw/master/images/logo.png)
|
10
|
+
|
9
11
|
Mihari is a helper to run queries & manage results continuously. Mihari can be used for C2, landing page and phishing hunting.
|
10
12
|
|
11
13
|
## How it works
|
@@ -17,21 +19,21 @@ Mihari is a helper to run queries & manage results continuously. Mihari can be u
|
|
17
19
|
- Mihari sends a notification to Slack.
|
18
20
|
- Mihari creates an event on MISP.
|
19
21
|
|
20
|
-
![img](https://github.com/ninoseki/mihari/raw/master/
|
22
|
+
![img](https://github.com/ninoseki/mihari/raw/master/images/eyecatch.png)
|
21
23
|
|
22
24
|
### Screenshots
|
23
25
|
|
24
26
|
- TheHive alert example
|
25
27
|
|
26
|
-
![img](https://github.com/ninoseki/mihari/raw/master/
|
28
|
+
![img](https://github.com/ninoseki/mihari/raw/master/images/alert.png)
|
27
29
|
|
28
30
|
- Slack notification example
|
29
31
|
|
30
|
-
![img](https://github.com/ninoseki/mihari/raw/master/
|
32
|
+
![img](https://github.com/ninoseki/mihari/raw/master/images/slack.png)
|
31
33
|
|
32
34
|
- MISP event example
|
33
35
|
|
34
|
-
![img](https://github.com/ninoseki/mihari/raw/master/
|
36
|
+
![img](https://github.com/ninoseki/mihari/raw/master/images/misp.png)
|
35
37
|
|
36
38
|
## Requirements
|
37
39
|
|
@@ -43,6 +45,15 @@ Mihari is a helper to run queries & manage results continuously. Mihari can be u
|
|
43
45
|
apt-get install sqlite3 libsqlite3-dev libpq-dev
|
44
46
|
```
|
45
47
|
|
48
|
+
## Supported platforms & databases
|
49
|
+
|
50
|
+
| Name | Supported versions |
|
51
|
+
|------------|--------------------|
|
52
|
+
| PostgreSQL | v12 |
|
53
|
+
| SQLite | v3 |
|
54
|
+
| MISP | v2.4 |
|
55
|
+
| TheHive | v3.x & v4.x |
|
56
|
+
|
46
57
|
## Installation
|
47
58
|
|
48
59
|
```bash
|
@@ -68,6 +79,7 @@ Mihari supports the following services by default.
|
|
68
79
|
- [Onyphe](https://onyphe.io)
|
69
80
|
- [OTX](https://otx.alienvault.com/)
|
70
81
|
- [PassiveTotal](https://community.riskiq.com/)
|
82
|
+
- [Pulsedive](https://pulsedive.com/)
|
71
83
|
- [SecurityTrails](https://securitytrails.com/)
|
72
84
|
- [Shodan](https://shodan.io)
|
73
85
|
- [Spyse](https://spyse.com)
|
data/docker/Dockerfile
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
FROM ruby:3.0.0-alpine3.13
|
2
|
+
|
2
3
|
RUN apk --no-cache add git build-base ruby-dev sqlite-dev postgresql-dev \
|
3
4
|
&& cd /tmp/ \
|
4
5
|
&& git clone https://github.com/ninoseki/mihari.git \
|
@@ -10,4 +11,4 @@ RUN apk --no-cache add git build-base ruby-dev sqlite-dev postgresql-dev \
|
|
10
11
|
|
11
12
|
ENTRYPOINT ["mihari"]
|
12
13
|
|
13
|
-
CMD ["--help"]
|
14
|
+
CMD ["--help"]
|
File without changes
|
File without changes
|
data/images/logo.png
ADDED
Binary file
|
File without changes
|
File without changes
|
data/lib/mihari/version.rb
CHANGED
data/mihari.gemspec
CHANGED
@@ -44,7 +44,7 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_dependency "dnpedia", "~> 0.1"
|
45
45
|
spec.add_dependency "dnstwister", "~> 0.1"
|
46
46
|
spec.add_dependency "email_address", "~> 0.1"
|
47
|
-
spec.add_dependency "hachi", "~> 0
|
47
|
+
spec.add_dependency "hachi", "~> 1.0"
|
48
48
|
spec.add_dependency "mem", "~> 0.1"
|
49
49
|
spec.add_dependency "misp", "~> 0.1"
|
50
50
|
spec.add_dependency "murmurhash3", "~> 0.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mihari
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -282,14 +282,14 @@ dependencies:
|
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: '0
|
285
|
+
version: '1.0'
|
286
286
|
type: :runtime
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: '0
|
292
|
+
version: '1.0'
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: mem
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
@@ -620,6 +620,11 @@ files:
|
|
620
620
|
- docker/Dockerfile
|
621
621
|
- examples/ipinfo_hosted_domains.rb
|
622
622
|
- exe/mihari
|
623
|
+
- images/alert.png
|
624
|
+
- images/eyecatch.png
|
625
|
+
- images/logo.png
|
626
|
+
- images/misp.png
|
627
|
+
- images/slack.png
|
623
628
|
- lib/mihari.rb
|
624
629
|
- lib/mihari/alert_viewer.rb
|
625
630
|
- lib/mihari/analyzers/base.rb
|
@@ -676,10 +681,6 @@ files:
|
|
676
681
|
- lib/mihari/version.rb
|
677
682
|
- mihari.gemspec
|
678
683
|
- renovate.json
|
679
|
-
- screenshots/alert.png
|
680
|
-
- screenshots/eyecatch.png
|
681
|
-
- screenshots/misp.png
|
682
|
-
- screenshots/slack.png
|
683
684
|
homepage: https://github.com/ninoseki/mihari
|
684
685
|
licenses:
|
685
686
|
- MIT
|