All articles

How to find out who clicked a phishing link

Four computers contacted a suspected phishing domain. Can you tell the help desk that four people clicked? Start with the machines, then look for evidence of a visit, a click and any subsequent sign-in. Here’s how to work out who needs a call.

In this article

Start with the exact link and the delivery time

If your mail service records clicks, start there. In Microsoft Defender for Office 365, a Safe Links record can identify the account, URL, time and whether access was allowed or blocked. If you have only endpoint logs, start with the domain to find candidate machines, then check browser history before attributing a visit to a user. A click and a stolen password are separate findings.

Keep the original message, including the message ID, link as delivered and any known redirect destination. Record the delivery time and time zone. Search the hostname without opening the link. A shared file-hosting service can serve thousands of legitimate pages on the same hostname, so keep the full path for later comparison.

In the Atlant SIEM demo, a search for the invoice-viewer domain returns four machines and 16 lookups or connections. These are four machines to check.
In the Atlant SIEM demo, a search for the invoice-viewer domain returns four machines and 16 lookups or connections. These are four machines to check.

Atlant’s Who visited view accepts a URL, domain or IP. For a URL, its initial endpoint search uses the hostname. The Users column helps locate a witness or an account to investigate. On a reception computer or a shared terminal, several people may have used the same machine.

Identify the process behind the DNS query and connection

Open a matching machine’s timeline and filter to DNS. At the time of the reported message, which process requested the name? A mail preview service, security scanner or background application can resolve a domain without a person opening it. A browser process makes a visit plausible, but prefetching can produce the same trace. Record the timestamp and process before moving on.

The DNS filter on a demo workstation shows the queried names. Use the time window and program filters to narrow the investigation.
The DNS filter on a demo workstation shows the queried names. Use the time window and program filters to narrow the investigation.

Switch to network activity. Look for an outbound connection from that process near the DNS event. Where available, correlate the Sysmon process GUID, which survives the ambiguity of reused process IDs. An IP match alone is weak evidence when legitimate sites use the same hosting provider. DNS does not record the path after the hostname, and a connection to port 443 does not reveal what the person saw or entered.

The same demo workstation’s network timeline shows destination, port and process. Routine background connections illustrate why the program matters.
The same demo workstation’s network timeline shows destination, port and process. Routine background connections illustrate why the program matters.

On Windows, Sysmon Event ID 22 records DNS queries and Event ID 3 records network connections. Network connection logging is disabled by default. Check that the host was configured to send the events you expect. Microsoft’s Sysmon event reference

Check whether Safe Links allowed or blocked the click

Where Defender for Office 365 is deployed, look up the URL and time in UrlClickEvents. Compare AccountUpn, NetworkMessageId and UrlChain with the original report. The chain can connect the rewritten link in the email to the destination your SIEM recorded. Read ActionType and IsClickedThrough before calling the employee. A blocked click and a user proceeding past a warning call for different follow-up questions.

If a protected link has no matching event, check whether the message and application were covered by Safe Links. For an unprotected message, move to endpoint records. An empty click table cannot clear the recipient. Microsoft’s UrlClickEvents fields and coverage

Check browser history on the affected machines

An authorized responder can ask one managed machine to check its browser history. Start with the computers that matched the domain and the employees who received the message. Compare the returned URL, time and local profile with the original link. A match for the exact path is particularly valuable on a shared hosting domain. A history entry supports a visit in that profile. It does not record what was typed into a form.

The past browser-history check for the demo invoice-viewer domain found matches on three machines. Only 41 of the 42 queried machines had answered.
The past browser-history check for the demo invoice-viewer domain found matches on three machines. Only 41 of the 42 queried machines had answered.

The demo’s network search covers a year and its saved browser check covers 30 days. Those counts answer different questions. Align the time windows and compare individual machine names before treating the results as one list. Cleared history, a private window, a phone or an offline laptop can all leave gaps.

The endpoint inventory flags a machine that has stopped sending logs. Check for collection gaps before closing a negative finding.
The endpoint inventory flags a machine that has stopped sending logs. Check for collection gaps before closing a negative finding.

Give the incident owner a list they can act on

Evidence on recordWhat to do next
DNS lookup or connection onlyIdentify the process. Check the recipient, machine and browser before naming someone as having clicked.
Safe Links blocked the clickRecord the account and block action. Check for a second attempt, another device or another route to the destination.
Browser visit or allowed clickAsk what appeared, whether the person entered details or approved an MFA prompt. Review subsequent sign-ins and downloads.
Credentials disclosed or signs of account misuseFollow the identity response procedure. Record session revocation, credential changes and the follow-up investigation under the same case.
A separate demo case illustrates the handover format. Keep the evidence, timeline, analyst notes and outstanding tasks together.
A separate demo case illustrates the handover format. Keep the evidence, timeline, analyst notes and outstanding tasks together.

A useful closing note names the account, device, destination, time, strongest evidence and outstanding question. “The finance laptop resolved the domain at 10:07 UTC. We still need the browser check” gives the next shift a precise job. “Four users compromised” sends them looking for an incident the logs have yet to establish.