An IoC lookup in ServiceNow can start in two ways. When observables are added to a security incident, the lookup runs automatically once the Threat Intelligence plugin is active. You can also attach files to an incident and select Lookup attachments, or submit files, hash values, URLs and IP addresses from the Security Incident Catalog.
Roles and prerequisites for each IoC lookup path
The three paths have different requirements, so confirm the one you plan to use before you train anyone on it.
- Automatic lookups on observables: the Threat Intelligence plugin must be activated. The role listed for this path is sn_si.basic.
- Lookup attachments on a security incident: the page lists sn_si.basic for these steps.
- Security Incident Catalog request: the Security Incident Response plugin must be activated. The required role is listed as none.
Check plugin activation before you troubleshoot an individual user’s lookup, because a path that depends on a plugin needs that plugin to be active.
How automatic lookups run when observables are added
Observables are the indicators you record against a security incident. Adding one is the trigger for an IoC lookup, so no separate form is needed to start it. Because each observable you add starts a lookup, the automatic path suits indicators that arrive during an investigation. If you are only checking a list of items, use the catalog path instead, which starts from the catalog rather than an incident record.
Since data entry starts the lookup, the quality of what you add matters. Enter each indicator once, in a consistent format, so each result can be matched to the indicator it came from.
If the incident record is new to your team, begin with the plain-language guide to ServiceNow security incident response before you change how observables are entered.
Preparing items before you run a lookup
A short preparation step before anyone selects Save or Submit keeps the results readable afterward.
- Collect each file from the investigation that needs a check, and remove duplicates so the same file is not submitted twice.
- Sort URLs, IP addresses and hash values into separate lists, since the catalog form has a separate field for each type.
- Write down where each indicator came from, such as an alert, a user report or a mail message, so the source is still known when results come back.
- Confirm that each value is complete before you enter it. A truncated value is hard to match to its result later.
Attaching files to a security incident and running Lookup attachments
Use this path when a file is already part of the investigation and you want the lookup to start from the incident record. You can attach files to a new incident or to an existing one.
- Create a new security incident, or open an existing one if you plan to attach new files to it.
- Select the paperclip icon in the form header and attach one or more files.
- Complete the entries on the form. Then select and hold the form header, or right-click it, and select Save.
- After the record has been saved, a Lookup attachments button appears. Select Lookup attachments.
If the button is missing after you attach files, check whether the record has been saved since the attachment. The button appears after the save, so save the record first.
Reading progress and results from an attachment lookup
After you select Lookup attachments, the work notes under Incident Details report the progress of the lookup. Read these notes before you open the record. They show whether the lookup has started and how far it has got.
The progress message ends with a lookup number. Select that number to view the lookup record. For detailed results, select the Lookup reference link.
Submitting a lookup from the Security Incident Catalog
This path starts from the catalog rather than from an incident record. Use it to check files, hash values, URLs or IP addresses in one request.
- Navigate to All > Self-Service > Security Incident Catalog.
- Click IoC Lookup.
- Click Lookup files, hash values, URLs or IP addresses.
- Enter the items you prepared in the fields described below.
- When your entries are complete, click Submit.
Filling in the files, URLs, IP addresses and hash values fields
- Files: click the paperclip icon, then locate and attach the files you want to look up.
- URLs: enter the URLs in the URLs field, separated by commas.
- IP addresses: enter the addresses in the IP addresses field, separated by commas.
- Hash values: enter the hash values in the Hash values field, separated by commas.
The Lookup Type for File is inactive by default. While it is inactive, each attached file is converted to a hash value and submitted that way, so file entries and hash entries go through the same hash lookup.
Checking status and results in My Requests
To view the status or results, go to Self-Service > My Requests, then click the SR number for your request. The work notes under Activity list each task performed. They include the creation of an individual lookup for each file, hash value, URL or IP address, along with the lookup results.
Each item is looked up under the default lookup type for its source, and the lookup record lists that source. Match each result back to the entry it came from before you record it, because one request with several indicators returns several results.
Choosing between the incident path and the catalog path
The two paths answer different questions, and their results appear in different places.
Use the incident path when the indicators belong to an open investigation. The progress notes for the lookup then appear in the incident’s work notes under Incident Details.
Use the catalog path when you need to check a few items without opening an incident. Results are read from My Requests, so if a finding matters to an incident, record it in that incident’s work notes yourself.
For a wider view of how these lookups connect to other tools, read the guide to integration patterns for security incident response.
Checks to run before you rely on IoC lookup results
Run these checks on each instance, and repeat them after a plugin or configuration change. Menu paths and default values can differ between releases, so confirm each one against your release.
- Confirm that the Threat Intelligence plugin is activated if your team depends on automatic lookups.
- Confirm that the Security Incident Response plugin is activated if the team will use the catalog.
- Check the Lookup Type for File. It is inactive by default, so files are submitted as hash values until it is changed on your instance.
- Submit one known item through each path you plan to use, then check the progress notes and the lookup record.
- Check that each person who will run a path has the role listed for that path in the roles section above.
A passing check means the progress notes show the lookup starting, and the lookup record opens from the number in those notes. If either step does not work, fix the path before you test another item. Record the date of these checks, so a later change on the instance can be traced back to a known test.
For help planning this work, see ServiceNow implementation.
Recording lookup results for the investigation
A lookup result is only useful to the investigation if someone can trace it later. Keep a short record for each lookup with these details:
- The path used: incident attachment, automatic observable lookup, or catalog request.
- The lookup number, and the SR number for a catalog request.
- The item as entered, and the source it came from.
- The date the lookup ran and who ran it.
Write the summary in your own words in the incident’s work notes, and point to the lookup number rather than pasting raw output. Teams that want a broader set of habits for the incident record can compare them with the security incident response best practices.
Questions about IoC lookup paths and results
Does a catalog request need the Threat Intelligence plugin?
The catalog topic lists the Security Incident Response plugin as the requirement and does not name the Threat Intelligence plugin for that path. Check the plugin status on your instance rather than assuming either way.
Why does a renamed file still match a known hash?
A hash value is calculated from the content of a file, not its name. A renamed copy with identical content produces the same hash, while an edited file produces a different one. A hash-based check will therefore catch a known sample that has been renamed, but it will not catch a modified version of that sample.
Can one catalog request mix files, URLs and IP addresses?
Yes. The form has a separate field for each item type, and you can fill in one or more of them before you click Submit. Keeping each type in its own field makes the results in My Requests easier to match to the entries.
Does submitting a hash value cover the same ground as submitting the file?
Not always. While the Lookup Type for File is inactive, the attached file is submitted as its hash, so the lookup covers that hash. A hash you type yourself covers the same file only if it matches the file’s hash exactly. Compare the two values before you treat them as interchangeable.
What should you do after a lookup returns a clean result?
In most investigations, a clean result only tells you what the lookup sources returned for that item. It does not show that the item is safe. Record the lookup number, keep the incident open if other evidence still points to a problem, and treat the result as one input alongside the rest of your analysis.