PISA Pakistan — Community CERT

← ⚙️ Cyber Threat Intelligence Foundations

3. IOC Collection, Analysis, and Sharing: Building Your Intelligence Repository

⏱ 10 min

What Are Indicators of Compromise?

IOCs are artifacts that provide evidence of a potential security incident: malicious IP addresses, file hashes, domain names, URLs, and behavioral signatures. In modern CTI, IOCs extend to file patterns, registry keys, and network traffic anomalies. Your IOC repository becomes the foundation for detection, threat hunting, and incident response.

Collection Sources and Methodologies

Effective IOC collection combines multiple feeds: open-source intelligence (OSINT) from abuse.ch and VirusTotal, commercial threat feeds from sector-specific ISACs, and internal sources from your SIEM (ELK Stack), firewall logs, and endpoint detection. Use MISP (Malware Information Sharing Platform) as your central repository—it's the industry standard for storing, correlating, and exporting IOCs in STIX/TAXII formats.

Analysis and Enrichment

Raw IOCs require context. Enrich IPs with passive DNS and WHOIS data; hash files with VirusTotal and MalwareBazaar. In Pakistan, the NCCIA shares sector-specific IOCs through official channels—subscribe via their portal or call 1799 for urgent intelligence requests. The PTA maintains blocked URLs list, critical for telco-sector defenders.

Sharing Protocols and Taxii

The STIX (Structured Threat Information eXpression) language standardizes threat data, while TAXII (Trusted Automated eXchange of Intelligence Information) enables automated feed consumption. Configure your MISP instance to poll sector TAXII servers, ensuring your detection rules stay current with the latest actor TTPs.

Practical Lab: Building Your First MISP Event

  1. Install MISP on Ubuntu 22.04 (Docker recommended)
  2. Configure TAXII feed polling from CIRCL or alienvault
  3. Create an event for a reported OLX/Daraz scam campaign
  4. Add IOCs: phishing URLs, beneficiary mule accounts
  5. Tag events with TLP markings (AMBER+STRICT for sensitive Pakistani financial sector data)
  6. Export to Sigma rules for ELK deployment

Do / Don't

Do: Validate IOCs against multiple sources before sharing externally. Don't: Share raw NADRA or SBP-related intelligence without proper TLP classification.

Takeaway

Today: Register for a MISP instance (community.misp-project.org) and subscribe to the default feeds. Within 30 minutes, you'll have a functioning IOC repository that correlates global threats with locally-relevant Pakistani scams.

← PrevNext →