OBLYTECH Logo
OBLYTECH Logo

User-Reported Phishing in ServiceNow Security Incident Response

In ServiceNow, a user-reported phishing email is stored as a phishing email record, checked against ingestion rules, and converted into a security incident. Reports of one campaign can be grouped under a parent incident, and analysts respond from there using an automated or manual playbook.

Ways users report a suspicious email

A user can forward a suspicious message as an attachment. Where the PhishAlarm plugin, formerly known as Wombat, runs with Microsoft Outlook, the user can select the Report Phish button. An analyst can also upload a single .eml file through the Report Phish Email button on the user reported phishing list. For what happens to a report once it is received, see creating security incidents in ServiceNow.

How the report arrived Header origin recorded
Forwarded directly to the security team Email Header
Report Phish button, headers read from the body Email Text Body
Forwarded as a .eml attachment EML Attachment Header
Report Phish button, message sent as a .eml attachment EML Attachment Body
Downloaded as .eml and uploaded through a service catalog request EML Attachment Header

A direct forward can lose the sender address. A .eml attachment keeps it.

Ingestion rules decide what becomes an incident

Ingestion rules, also called email matching rules, sit under the Email Processing menu in Security Operations and are maintained by a user with the sn_si.admin role. An Allow rule means a matching email creates a security incident. A Deny rule means it does not. Deny rules are evaluated first, regardless of their order value, and each match is written to an audit table.

A To rule matches messages sent or forwarded to a given mailbox. A User ID rule matches messages from one sender address.

The enhanced design disables the older Forward and New inbound actions and adds a Create Phishing Email inbound action. Existing rules survive the upgrade. Custom inbound actions or workflows built for the old design should be reviewed against the new one.

Capturing headers and tuning what gets stored

The User Reported Phishing Properties page controls what each record keeps.

  • Header extraction from the body. A start string and an end string bracket the header block in a Report Phish submission. These settings do not apply to messages forwarded as attachments.
  • Header filter. A comma-separated list of headers to keep. Left blank, all headers are captured.
  • Parent-child association. On by default. When on, duplicates become child incidents under the parent. When off, duplicates are still linked and the parent is updated, but no child incidents are created.
  • HTML display. On by default, so the reported email’s HTML content appears on the record.

Header parsing follows the RFC822 standard, so Outlook plugins other than PhishAlarm that write headers in that format are also supported.

The phishing email record holds the fields analysts check first.

Field What it holds
Subject Simulated tests sent through Report Phish have Simulated Phishing appended, which separates them from live threats
From The sender address
Matched ingestion rule The rule that accepted the message
State New at creation, changed to Processed after conversion
Security Incident Blank at first, then the linked incident number

The built-in anti-virus scanner checks attachments and links, artifacts are kept for investigation, links are muted so analysts do not click them, and analysts should still take care before opening attachments.

How duplicate reports become one incident

Conversion is handled by the Transform user-reported phishing emails to security incidents flow. The base flow is locked, so an administrator copies it, adjusts the copy if needed, and activates the copy. Until then, reports are stored but no incidents are created.

When a new phishing email record reaches the New state, the flow runs these steps.

  1. It checks whether child incidents are enabled.
  2. It finds the oldest open parent incident whose subject or sender matches the rule conditions. Closed and canceled incidents are excluded.
  3. If child incidents are disabled, the report attaches to the parent and the flow ends. Otherwise a new child incident is created.
  4. Recipients in the To and CC lists are added to Affected Users. Addresses that match no user are recorded in a worknote.
  5. Allow-listed observables, such as a trusted domain, are left out. The remaining URLs and file hashes are added as observables.
  6. A search built from the subject and sender finds other recipients.
  7. If the parent is active, both incidents receive a note linking them.

A duplicate joins an active parent. If the parent is closed or canceled, a new incident is created and lists the earlier one under Similar Security Incident. For the first actions once an incident is open, see ServiceNow security incident triage: set the first actions.

Predictive scoring and the final verdict

Predictive Intelligence can rank incoming reports before an analyst opens them. A trained model labels each submission as likely suspicious or legitimate, with a confidence score for sorting.

A user with the ml_admin role sets up training under the Predictive Intelligence for Phishing configuration in three steps.

  • Close codes. Use the default false positive and confirmed phishing codes, or define custom close codes from fields on the security incident table.
  • Historical data. Import records from the user reported phishing email table, or attach one CSV file with Label, Header and Body text columns. Each row is labeled Malicious or Legitimate.
  • Thresholds. Record counts are checked against minimum and maximum training limits. Thresholds sit on the Platform Machine Learning Properties page. A user with the ml_admin role can change them, and training data limits need Customer Support.

After training, choose Update, or Update & Retrain to rebuild with changed inputs. Predictions begin when the Activate Prediction check box is selected, and clearing it with Deactivate stops them. Results are written to three incident fields: Prediction accepted, Prediction result and Confidence score.

Installing the feature requires Security Incident Response 9.0.1 or 10.0.2 and Predictive Intelligence for User Reported Phishing 10.0.2. The newer options need upgraded versions, and the decision-table verdict also needs Security Operations spoke 10.3.0.

The final verdict comes from a decision table that combines model output with enrichment and sender checks. Its base conditions are these.

  • The model predicted the email as suspicious.
  • At least one observable, such as a URL, domain, IP address or hash, is classified as malicious.
  • Enrichment is suspect, for example a recently registered phishing domain.
  • The sender domain spoofs a trusted domain.
  • The sender name spoofs an employee.
Verdict Meaning
Confirmed Phish The conditions point to a confirmed phishing email
Likely Phish The conditions point to a potential phishing attempt
Likely Benign The conditions point to a benign submission

The Generate Final Verdict for Phishing Security Incidents subflow takes the incident ID, executive names likely to be spoofed, trusted domains, enrichment keywords, and an optional sender address. It returns one of the three verdicts and applies a matching security tag.

Three checks come up first when training or predictions fail. Training fails when the glide.shared_service_scheduler.url property is not configured. Predictions go missing when glide.prediction_service.url is wrong for the data center, or when the Predict User Reported Phishing Email scheduled job is inactive. More fixes are in troubleshooting ServiceNow security incident response, a practical guide.

Response playbooks: automated and manual

The Security Incident – Automated Phishing Response Template must be activated before it can run. It starts when the incident Category is Phishing and the Source is Email. It needs the Security Operations spoke and integrations for blocking requests, observable enrichment, sighting search, threat lookup and Microsoft Office Exchange.

  • Adds an incident note and sends an acknowledgement to the reporting user, after confirming the account is active and can receive notifications.
  • Collects observables such as the subject, sender address and phishing URLs.
  • Runs threat lookups and enrichment in parallel.
  • Confirms the threat. A confirmed threat sets an IOC Detected flag and starts containment.
  • Finds the users who received the message, then runs a sighting search on malicious observables.
  • Creates block requests, then deletes the phishing emails from mailboxes.
  • Leaves a reminder to save the response actions for review.

The manual playbook is built in Process Automation Designer by a user with sn_si.admin or sn_si.manager. A typical trigger is the creation of a Phishing security incident. Its four stages, Analysis, Contain, Eradicate and Review, match the incident states. Tasks can be saved and resumed partway through. The same playbook approach is set out in the ServiceNow security incident response playbooks guide. For other automation options, see security incident response automation opportunities.

Finding and removing copies of a phishing email

The Email Search related list on a security incident measures how far a message spread. Each criteria record names a field to search (Subject, From, Recipient, Body, Cc, Bcc, Attachment or Retention Policy), along with search text and an AND or OR operator.

Several limits apply. Single quotation marks, double quotation marks and colons are not supported in search text. Body searches cover up to 1,500 mailboxes. Attachment content search covers plain text files. Microsoft Exchange Server 2010 is the listed supported server. Searches cover emails sent or received in the last 30 calendar days, unless a shorter window is set during initial setup.

Search on Email Server(s) returns the count of matching messages, with date, read status, recipient and message ID for Subject and From searches. Delete from Email Server(s) removes them. Reading this data requires the sn_sec_cmn.cap_email_read role.

Frequently asked questions

Why does no incident appear after installing the feature?

The enhanced feature is disabled by default, so copy and activate the transform flow first.

How are malicious links and attachments handled?

The anti-virus, artifact and link-muting behavior described above applies. Attachments still need care before opening.

If the original campaign incident is closed, do new reports merge into it?

No. A new incident is created and lists the closed or canceled parent under Similar Security Incident.

Does header capture depend on the PhishAlarm plugin?

No. Other Outlook plugins that write headers in RFC822 format are also supported.