Skip to content

Build a deduplicated IOC list

Extract URLs and IPv4 addresses from alert text, sort and deduplicate them, then neutralize the indicators for reporting.

Install in Serialize

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.9

Expected 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.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close