Skip to content

GeoIP_Custom#1453

Open
Ommmdevv19 wants to merge 2 commits into
TheHive-Project:developfrom
Ommmdevv19:add-geoip-analyzer
Open

GeoIP_Custom#1453
Ommmdevv19 wants to merge 2 commits into
TheHive-Project:developfrom
Ommmdevv19:add-geoip-analyzer

Conversation

@Ommmdevv19

Copy link
Copy Markdown

Description

This Pull Request introduces a new custom analyzer, GeoIP_Custom, which enables country-based flagging of IP addresses as Indicators of Compromise (IOC).

Features

  • IP Geolocation: Performs geolocation queries using the IP-API service (ip-api.com).
  • Country-based IOC Flagging: Allows administrators to specify a comma-separated list of country codes (e.g., RU,CN,KP) in the analyzer configuration. If the analyzed IP falls under any of the configured countries, it is automatically flagged as suspicious/IOC.
  • Report Templates Included: Bundles both short.html (summary report showing taxonomy levels) and long.html (detailed geolocation report table showing ISP, Organization, Region, City, AS, and query status).

Structure

  • Analyzer Code: analyzers/GeoIP_Custom/GeoIP_Custom.py
  • Analyzer Manifest: analyzers/GeoIP_Custom/GeoIP_Custom.json
  • Report Templates: thehive-templates/GeoIP_Custom_1_0/

@nusantara-self
nusantara-self changed the base branch from master to develop June 9, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant