What it can do
- Extract two IOC types in one pass
- Normalize ordering
- Remove duplicates
- Defang full URLs
- Defang standalone and embedded IPv4 addresses
How the recipe works
Regular expression
Select full HTTP(S) URLs and valid-looking IPv4 addresses.
Sort
Sort matches for stable reports.
Unique
Remove repeated indicators.
Defang URL
Neutralize clickable URLs.
Defang IP Addresses
Neutralize IPv4 dot notation.
Demonstration
Sample input
Alert: https://portal.example.test/login from 203.0.113.9; mirror https://cdn.example.test/a and repeat 203.0.113.9Expected result
Three sorted, unique, defanged indicators: one IPv4 address and two URLs.When to use it
- Phishing-email triage
- Incident report preparation
- Sharing indicators in tickets or chat
Adapt it
Extend the first regular expression with domain, email, hash, or IPv6 patterns required by your reporting format.
Source and verification
Adapted from Portland State University: phishing and social engineering lab. The explanation and sample are written for Serialize, use synthetic or documentation-safe data, and are checked against the current operation catalogue. The workflow runs locally without an external API call.