TL;DR
Researchers have developed IPdb, a massive dataset that categorizes over 200 million IP addresses into specific industries with 96% precision. By leveraging a multi-LLM ensemble framework called LLMIC, the study reveals that traditional "Autonomous System" (AS) level classification is often misleading, as nearly 88% of IPv4 ASes host web services from industries entirely different from the AS owner.
What Problem Does This Paper Address?
In network management and cybersecurity, knowing who is behind an IP address is vital. If an IP is launching an attack or hosting a service, is it a bank, a government agency, or an ISP?
Historically, researchers relied on Autonomous System (AS) ownership to infer industry. However, this is a "coarse-grained" approach. Because organizations frequently lease IP space from providers (like Amazon AWS or Verizon) or use Content Delivery Networks (CDNs), the owner of the network infrastructure is often not the entity actually using the IP. This "mismatched granularity" creates a blind spot for security researchers and network analysts who need to understand the industry-specific distribution and security posture of web services.
Methods
The authors built a pipeline to move from a raw IP address to a high-confidence industry label:
- IP-to-Domain Mapping: Using reverse DNS (PTR records) rather than forward DNS to ensure they identify the actual controller of the IP, especially in CDN scenarios.
- Organization Identification: Extracting the managing entity via WHOIS records and SSL certificates.
- Information Retrieval: Scraping descriptions of these organizations from Wikipedia to provide context for classification.
- The LLMIC Framework: This is the core innovation. Instead of relying on one model, the authors built a Large Language Model-based Industry Categorization (LLMIC) framework.
- It uses an ensemble of five LLMs (including ChatGPT, Gemini, and Llama-2).
- It employs Chain-of-Thought (CoT) prompting and a dual confirmation mechanism to reduce "hallucinations" (instances where the AI makes up facts).
- The final industry label is determined by a two-layer neural network that weights the output of each LLM based on its proven accuracy in specific categories.
The authors also introduced GICSmod, a refined version of the Global Industry Classification Standard. It condenses complex commercial categories into 23 sectors specifically relevant to network management (e.g., separating "Cybersecurity" from general "Software").
Datasets
- Gold Standard Dataset: A manually annotated set of 1,328 organizational records used to train and validate the LLMIC framework.
- IPdb (The Main Contribution): A massive, labeled dataset containing over 200 million IP addresses associated with web servers, covering 12,318 IPv4 ASes and 1,698 IPv6 ASes.
- External Sources: The study utilized IPv4 reverse DNS data from the ipsniper project and IPv6 hitlists to populate the initial IP pool.
Key Insights and Ideas
- The AS-Level Myth: The most striking finding is that 87.83% of IPv4 ASes host web services from industries that do not match the AS owner’s industry. Relying on AS-level data for industry analysis is, therefore, highly inaccurate.
- Critical Infrastructure is Distributed: Between 30% and 50% of organizations in critical infrastructure sectors (like Energy or Finance) deploy their web servers across multiple different ASes. This is likely a strategy to optimize service delivery and reduce cross-border traffic costs.
- LLM Complementarity: The researchers found that different LLMs have different "specialties." For example, ChatGPT struggled with the "Research" category (73% precision), while other models performed better there. By using a weighted ensemble, the framework captures the strengths of each.
- The CDN Discordance: The paper highlights how forward DNS lookups often incorrectly attribute IP ownership to the user of a CDN rather than the CDN provider itself, whereas reverse DNS (PTR) correctly reflects the infrastructure controller.
Key Results
- High Precision: The LLMIC framework achieved an overall precision of 95.6%, significantly outperforming any single LLM (the best individual model, ChatGPT, hit 94% but with lower recall).
- Scale: The researchers successfully categorized 25,852 distinct organizations across 200 million IPs.
- Industry Distribution: The "Media" industry had the highest number of unique organizations (7,234), while "Fossil Energy" had the fewest (89).
- Cross-Industry Hosting: In sectors like IT Services, over 50% of their ASes host web services for industries other than their own, illustrating the "landlord" nature of modern tech infrastructure.
Limitations and Future Work
The authors acknowledge a few key hurdles:
- Wikipedia Dependency: The current pipeline relies heavily on Wikipedia for organization descriptions. If an organization is too small or private to have a Wikipedia entry, the system defaults to using the domain name, which is less descriptive.
- Multi-Sector Giants: Large conglomerates (like Microsoft or Google) operate across many industries. While the system allows for multi-labeling, accurately reflecting the "primary" industry for a specific IP owned by a multi-sector giant remains a challenge.
- Dynamic IPs: The dataset is a snapshot; as IP ownership and web hosting change, the database will require periodic updates to remain "high-precision."
The authors have made their dataset and code available on GitHub, providing a new foundation for more granular Internet measurement and security research.
Summary updated