UC Berkeley Sunblaze Group × Microsoft Research · 2020 – 2022
ThreatKG
An end-to-end system that crawls open-source threat intelligence, extracts entities and relations with NLP models, and builds a security knowledge graph that analysts can explore and query.
- threat reports collected
- 143K+
- security sources crawled
- 40+
- entities
- 347K+
- relations
- 1.7M+
- entity recognition accuracy
- 95%
Security teams depend on open-source cyber threat intelligence (OSCTI): vendor reports, security blogs, and threat encyclopedias. Most tools only extract low-level indicators like IPs and file hashes. They miss the higher-level knowledge: which threat actors use which techniques, against which software, through which vulnerabilities.
ThreatKG closes that gap with a pipeline that runs continuously:
- Collection. Multi-threaded crawlers for 40+ major security sites, processing 325+ reports per second, with checkers that screen out irrelevant content.
- Extraction. Source-specific parsers for structured fields, regex rules for indicators of compromise, and BiLSTM-CRF models for entities such as malware, threat actors, and techniques (95% accuracy), plus dependency parsing to extract relations.
- Knowledge graph. Entities and relations stored in a graph database under a threat-knowledge ontology, covering 347K+ entities and 1.7M+ relations.
- Exploration. A web app (React, D3.js, Flask) for searching and visualizing the graph. I led a team of four that built it, and ran onboarding sessions to bring new contributors up to speed.
The same knowledge graph later became the foundation for ThreatQA, a natural-language question answering system over threat knowledge.
Publications
-
ACM Workshop on Large AI Systems and Models with Privacy and Safety Analysis (LAMPS), co-located with CCS, 2024
-
A System for Automated Open-Source Threat Intelligence Gathering and Management
ACM SIGMOD, Demonstrations Track, 2021