Invalid response received from module reversedns - Using "Enrich Event"
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
添付されたイベントと reversedns モジュールで失敗を再現し、app/Model/Event.php と app/Controller/EventsController.php を通るエンリッチメントの経路を追跡します。8.8.1.1 に対する Enrich Event の動作を、成功する Add のエンリッチメント経路と比較します。NXDOMAIN 応答によって invalid-response エラーが発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hey there,
Running latest version of the misp-modules and have updated all :)
Here is a sample MISP event to replicate
misp.event.1788.json
First I mark all the IP's:
Then click on the "Enrich Event" and choose the "reversedns"
This results in this error:
2024-12-17 19:25:37 Error: [RuntimeException] Invalid response received from module reversedns, response data do not contains results field.
Request URL: /events/enrichEvent/1788
Stack Trace:
#0 /var/www/MISP/app/Model/Event.php(6301): Event->enrichment()
#1 /var/www/MISP/app/Controller/EventsController.php(5985): Event->enrichmentRouter()
#2 [internal function]: EventsController->enrichEvent()
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs()
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction()
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#6 /var/www/MISP/app/webroot/index.php(105): Dispatcher->dispatch()
#7 {main}
So the IP's it is hitting error on seems to be "8.8.1.1" that does not have a reverse DNS name to it if a normal nslookup returns
nslookup 8.8.1.1
** server can't find 1.1.8.8.in-addr.arpa: NXDOMAIN
The interesting part is that as far as I can see the code it looks to attempt to handle NXDOMAIN, but it must be the combination of attempting to enrich through "Enrich Event".
If I choose the "8.8.1.1" and click the "Add enrichment" it returns
- 主要言語
- Python
- スター
- 381
- フォーク
- 292
- 平均マージ
- 8時間 24分
- マージ済み PR(30日)
- 139
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MISP/misp-modules のほかの issue
-
bad endpoint in misp_modules/modules/expansion/intel471.py対応中かも @adulau が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MISP/misp-modules#796 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
MISP/misp-modules#760 ·
メンテナーはふだん 1 日以内に返信
-
misp-related
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
MISP/misp-modules#738 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
MISP/misp-modules#732 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
MISP/misp-modules#723 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
MISP/misp-modules の issue をすべて見る
似ている issue
-
app: scripts status: backlog type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
netbox-community/netbox-scripts#68 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
marin-community/marin#10765 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
flathub/com.unity.UnityHub#230 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
namespace operations
難易度 1/5 1時間未満 初心者へのやさしさ 63/100
EclipseFdn/open-vsx.org#14910 ·
メンテナーはふだん 1 日以内に返信