Security GUIDE

How to Extract IOCs from Logs and Incident Text

Extract and review IPv4 addresses, domains, URLs, emails, and hashes without confusing indicators with verdicts.

Updated About 4 min read
Open IOC Extractor

Start with indicators, then establish context

An indicator of compromise (IOC) is an observable value that may help investigate suspicious activity. An IP address from a connection log, a domain from an alert, or a hash of a downloaded file can become useful evidence. Finding the value does not establish that it is malicious. Legitimate services, shared hosting, internal infrastructure, and test data can all appear in the same formats.

CyberClutch's IOC Extractor groups recognizable values from pasted text. It is useful when an incident note mixes several sources and you need a reviewable list before searching your own security systems. Extraction happens locally in your browser; the tool does not contact extracted URLs or perform reputation lookups.

Recognize the supported types

TypeWhat to review
IPv4 addressFour decimal octets, each between 0 and 255; distinguish internal addresses from external destinations
DomainA hostname-like value, such as suspicious.example, with no scheme or path
URLAn HTTP or HTTPS address, including its path and any query string
Email addressA sender, recipient, or address found in text; not proof of who sent a message
MD5A 32-character hexadecimal value
SHA-1A 40-character hexadecimal value
SHA-256A 64-character hexadecimal value

The hash groups identify a hexadecimal shape and length. They do not calculate a file hash, prove which algorithm produced the value, or establish that the corresponding file is harmful. MD5 and SHA-1 should not be treated as modern collision-resistant choices for security-sensitive integrity designs, even though they remain common identifiers in historical incident records.

Extract a small, reviewable sample

  1. Open the extractor and paste the relevant incident text into Incident text.
  2. Keep surrounding context in your source record: timestamps, host names, event identifiers, and the reason the event was selected.
  3. Select Extract indicators.
  4. Review the separate result groups and their counts.
  5. Check questionable matches against the original text before copying values into another workflow.

Try this synthetic input; the example address and names are for documentation:

2026-10-03T08:20:00Z connection to 203.0.113.7
DNS observation: suspicious.example
Request: https://download.example/sample.exe
Contact: analyst@incident.example
MD5: d41d8cd98f00b204e9800998ecf8427e
SHA1: da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

The resulting groups include the IPv4 address, full URL, email address, and the three hash strings. The standalone domain group contains suspicious.example and also sample.exe: the filename in the URL matches the domain-shaped pattern and is a false positive to remove during review. Domains that exactly match a URL host or an email domain are omitted from the standalone domain group. That reduces duplicate display across groups; it does not remove those values from the URL or email results. Exact repeated strings within a group are deduplicated.

Use the results in an investigation

For triage, search an extracted address across firewall, proxy, or endpoint logs and compare the first and last observations. For a phishing investigation, distinguish message text from authenticated email headers and delivery evidence. For a file investigation, compare a locally calculated hash with the string in the alert before assuming both describe the same artifact.

Keep these distinctions in the case record. A hostname may resolve to different addresses over time; an IP address may serve unrelated customers. A URL path can carry important meaning that disappears if you keep only the domain. A match found in documentation or a security-product rule is different from a match observed in actual network traffic.

Expect false positives and missing formats

The extractor uses pattern matching. It can identify benign addresses, ordinary email contacts, and hexadecimal identifiers that are not file hashes. A URL followed by punctuation may include that punctuation in its result, so review sentence boundaries. Values are not normalized into a universal canonical form, and case variants may remain separate.

This implementation supports IPv4, not IPv6. Defanged values such as hxxps://host[.]example are not automatically restored. Encoded strings, incomplete hashes, and organization-specific formats may be missed. Do not interpret an empty group as evidence that the input is harmless.

Local processing describes where extraction runs. Existing site usage analytics can record interaction metadata according to your privacy preference; they do not receive the pasted incident text. Keep exported indicators and original evidence within your organization's approved handling process.

Open the IOC Extractor with a small sample first, then expand the investigation only after checking the matches and their context.

Ready to try it?

IOC Extractor

Extract and review IPv4 addresses, domains, URLs, emails, and hashes without confusing indicators with verdicts.

Open IOC Extractor

Related tools

Related resources