Incident Investigation
Session Cookie Theft Investigation: Detecting Account Takeover Without a New Login
Identity Compromise / Session Hijacking

Investigation

Monitoring successful and failed authentication events is essential for identifying compromised accounts. However, an attacker may successfully authenticate using valid credentials, making traditional login monitoring insufficient to determine whether the activity is legitimate.
Fingerprint investigation in Okta sign-in involves analysing available device, browser, operating system, network, and authentication attributes to identify unusual login behaviour.
A browser or device fingerprint can help SOC analysts recognise changes in a user's authentication environment, identify unfamiliar devices, and correlate suspicious sign-in activity across multiple events.
For example, a user who normally signs in using Chrome on Windows from a corporate network suddenly authenticates using Firefox on Linux from an unfamiliar IP address. This does not automatically indicate account compromise, but it provides an investigation lead.
This article explains how to investigate Okta sign-in activity using fingerprint-related telemetry, identify suspicious authentication patterns, and build an effective SOC investigation workflow.
Key investigation objectives:
Identify unfamiliar browser and operating system combinations.
Compare current sign-in activity against historical user behaviour.
Correlate IP addresses, user agents, device identifiers, and session activity.
Identify suspicious changes in authentication patterns.
Detect potential account compromise, session abuse, and MFA-related anomalies.
Fingerprint investigation is the process of analysing attributes associated with a sign-in attempt to understand the environment from which authentication occurred.
In an Okta environment, SOC analysts can use available System Log events and related authentication telemetry to investigate:
| Fingerprint attribute | Investigation purpose |
|---|---|
| User Agent | Identifies browser, browser version, and operating system information when available |
| IP Address | Identifies the network source of the authentication request |
| Device information | Helps identify the device associated with authentication |
| Browser | Helps identify unfamiliar browser usage |
| Operating System | Identifies changes in the user's operating environment |
| Geographic location | Helps identify unusual sign-in locations |
| Authentication method | Identifies how the user authenticated |
| Session information | Helps correlate related authentication activity |
| Device ID | Helps correlate events associated with a recognised device, when available |
Important: A user agent is not a unique device fingerprint. It can be modified or spoofed, and browser updates can change its value. Similarly, an IP address or geographic location alone cannot reliably establish device identity.
Fingerprint investigation should therefore use multiple attributes and historical context rather than relying on a single field.
Okta records authentication and security-related activity in its System Log.
SOC analysts should begin by reviewing relevant authentication events and identifying the fields available in the event payload.
Common event types include:
| Event type | Investigation purpose |
|---|---|
user.session.start | Investigate user session creation |
user.authentication.sso | Review authentication through SSO |
user.authentication.auth_via_mfa | Investigate MFA authentication activity |
user.authentication.verify | Review authentication verification |
user.authentication.failed | Investigate failed authentication attempts |
user.session.end | Review session termination |
Event availability and exact event details depend on the authentication flow and Okta configuration.
Useful fields to examine include:
actor.alternateId – User identity, often represented by an email address.
actor.id – Okta actor identifier.
client.ipAddress – Source IP address.
client.userAgent.rawUserAgent – Raw user-agent information.
client.userAgent.browser – Browser information, when populated.
client.userAgent.os – Operating system information, when populated.
client.device – Device classification, when populated.
device.id – Device identifier, when available in the event.
outcome.result – Authentication outcome.
outcome.reason – Reason associated with an event outcome.
authenticationContext.externalSessionId – External session identifier, when available.
authenticationContext.rootSessionId – Root session identifier, when available.
Not every event contains all these fields. Analysts should validate the actual event schema before building correlation logic.
The first step is to understand the user's historical authentication behaviour.
Collect sign-in activity over an appropriate baseline period, such as the previous 30 days.
Identify:
Common browser and browser versions.
Normal operating systems.
Frequently observed IP addresses.
Usual geographic locations.
Recognised device identifiers.
Typical authentication methods.
Normal sign-in times and patterns.
Example baseline:
| Attribute | Normal behaviour |
|---|---|
| User | analyst@example.com |
| Browser | Chrome |
| Operating System | Windows 11 |
| Network | Corporate network |
| Location | London, UK |
| Device | Previously recognised device |
| Authentication | Password + MFA |
This baseline becomes the reference point for investigating future sign-ins.
A change in one attribute should not automatically be considered malicious. Browser updates, operating system upgrades, VPN usage, and device replacement can all produce legitimate changes.
Compare the latest sign-in against the established baseline.
Example:
| Attribute | Historical sign-in | New sign-in |
|---|---|---|
| Browser | Chrome | Firefox |
| Operating System | Windows 11 | Linux |
| IP Address | Corporate IP | Unfamiliar external IP |
| Location | London | Different country |
| Device | Recognised | Unknown |
| Authentication | Password + MFA | Successful MFA |
This combination warrants investigation because several authentication attributes have changed simultaneously.
However, a fingerprint deviation is an anomaly, not proof of compromise.
The analyst should investigate whether:
The user is travelling.
The user is using a VPN.
The user has changed devices.
A browser or operating system update occurred.
The authentication was initiated by an authorised application.
The user recognises the activity.
The User-Agent string provides information about the browser and operating system used during authentication.
Example:
Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/120.0.0.0 Safari/537.36An analyst can use this information to identify:
Browser family and version.
Operating system.
Unusual or unexpected browser combinations.
Changes compared with historical authentication activity.
Potentially suspicious observations include:
A user who normally authenticates through Chrome suddenly uses an unfamiliar browser.
A Windows-based user account authenticates using an unexpected Linux environment.
Multiple accounts authenticate using an identical unusual User-Agent string.
A successful sign-in uses a browser or device profile that does not match the user's historical behaviour.
SOC consideration: User-Agent strings can be spoofed. Attackers can deliberately imitate a legitimate browser, so matching User-Agent values do not establish that two sign-ins originated from the same physical device.
Fingerprint analysis becomes more useful when combined with network intelligence.
Investigate:
Source IP reputation.
Hosting provider or cloud infrastructure associations.
VPN, proxy, or Tor indicators.
Geographic changes.
Multiple users authenticating from the same suspicious IP.
Authentication activity from unfamiliar networks.
Example investigation:
A user normally signs in from a corporate network in London. A successful authentication is observed from an unfamiliar IP address associated with a hosting provider.
The analyst should:
Check the IP address using threat intelligence sources.
Review ASN and hosting provider information.
Investigate VPN or proxy indicators.
Compare the sign-in timestamp with the user's other authentication events.
Identify whether other accounts used the same IP.
Correlate the activity with MFA and session events.
An IP address associated with a VPN or hosting provider is not automatically malicious. The finding must be assessed alongside other evidence.
Where device identifiers and session attributes are available, compare them across related events.
Look for:
Previously recognised devices suddenly becoming unfamiliar.
Unexpected device changes during related authentication activity.
Multiple sign-ins associated with unusual session patterns.
Authentication activity from different networks within a short period.
Unusual session creation or termination patterns.
For session correlation, examine:
authenticationContext.externalSessionId
authenticationContext.rootSessionIdThese identifiers can help correlate related authentication activity, depending on the event and authentication flow.
A session identifier should not be treated as a permanent device identifier. Its purpose is to help establish relationships between authentication events.
A successful MFA event does not necessarily establish that the authentication was legitimate.
Investigate:
Which MFA factor was used.
Whether the factor was newly enrolled.
Whether the user reported an unexpected MFA prompt.
Whether authentication occurred through an unusual device.
Whether an MFA challenge was followed by an unfamiliar session.
Whether suspicious authentication was preceded by repeated failures.
For example, an attacker may possess stolen credentials and attempt to authenticate from an unfamiliar device. If MFA is successfully completed through social engineering or another compromise technique, the sign-in may appear successful.
Correlating fingerprint changes with MFA activity can provide stronger evidence than examining either independently.
Fingerprint analysis can also reveal patterns affecting multiple accounts.
For example, several employees may authenticate using:
The same unusual IP address.
An identical uncommon User-Agent string.
Similar operating system and browser combinations.
Closely grouped authentication timestamps.
This may indicate shared infrastructure, an approved corporate proxy, automated activity, or a coordinated attack.
Investigate whether the observed pattern is associated with legitimate infrastructure before classifying it as malicious.
Fingerprint deviations are behavioural indicators rather than conventional IOCs.
| Indicator | Potential significance |
|---|---|
| Unfamiliar IP address | New or unexpected authentication source |
| Unusual User-Agent | Browser or operating system deviation |
| Unknown device identifier | Device not previously associated with the user |
| Geographic anomaly | Sign-in from an unexpected location |
| Identical unusual User-Agent across accounts | Possible shared infrastructure or automation |
| New MFA factor | Potential authentication configuration change |
| Unusual session correlation | Possible session misuse or suspicious authentication sequence |
These indicators should be correlated with historical behaviour and other security telemetry before assigning a severity.
The following SPL provides a starting point for reviewing successful Okta authentication activity and identifying browser, operating system, IP, and device information.
index=oktalog
| spath
| search outcome.result=SUCCESS
| eval user=coalesce('actor.alternateId', actor_alternateId)
| eval src_ip=coalesce('client.ipAddress', client_ipAddress)
| eval user_agent=coalesce('client.userAgent.rawUserAgent',
client_userAgent_rawUserAgent)
| eval browser=coalesce('client.userAgent.browser',
client_userAgent_browser)
| eval os=coalesce('client.userAgent.os',
client_userAgent_os)
| eval device=coalesce('client.device', client_device)
| table _time user src_ip browser os device user_agent
| sort -_timeAdjust the index, field extraction, and event filters to match your Okta data source and Splunk field naming.
index=oktalog
| spath
| search outcome.result=SUCCESS
| eval user='actor.alternateId'
| eval src_ip='client.ipAddress'
| stats dc(src_ip) as unique_ips
values(src_ip) as source_ips
count as total_logins
by user
| where unique_ips > 1
| sort -unique_ipsThis query identifies accounts with multiple successful authentication source IPs within the selected time range. Multiple IP addresses are not inherently suspicious; use the results to identify accounts requiring further review.
index=oktalog
| spath
| search outcome.result=SUCCESS
| eval user='actor.alternateId'
| eval user_agent='client.userAgent.rawUserAgent'
| stats dc(user) as affected_users
count as total_events
values(user) as users
by user_agent
| where affected_users > 1
| sort -total_eventsUse this query to identify User-Agent strings shared by multiple accounts. Investigate uncommon or unexpected combinations and distinguish corporate browser management or shared infrastructure from suspicious activity.
index=oktalog
| spath
| search eventType IN (
"user.authentication.auth_via_mfa",
"user.authentication.sso",
"user.session.start"
)
| eval user='actor.alternateId'
| eval src_ip='client.ipAddress'
| eval user_agent='client.userAgent.rawUserAgent'
| eval result='outcome.result'
| table _time user eventType result src_ip user_agent
| sort -_timeUse this as a starting point for correlating authentication events. Actual event types and field availability depend on the configured Okta authentication flows.
For more effective detection, maintain a historical baseline for each user containing:
Common IP addresses and network ranges.
Browser and operating system combinations.
Known device identifiers.
Normal geographic locations.
Authentication methods.
Typical sign-in patterns.
Generate alerts when multiple attributes deviate simultaneously rather than triggering an incident for every isolated change.
Enable Okta System Log collection: Ensure authentication and security events are forwarded to the SIEM.
Establish user baselines: Maintain historical browser, operating system, IP, and device information.
Correlate multiple attributes: Avoid relying exclusively on IP address or User-Agent changes.
Monitor MFA changes: Investigate unexpected factor enrolment and suspicious authentication sequences.
Review session activity: Correlate related authentication events using available session identifiers.
Use threat intelligence: Enrich suspicious IP addresses with reputation, ASN, VPN, and hosting information.
Implement risk-based detection: Prioritise combinations of unfamiliar devices, unusual networks, and authentication anomalies.
Validate with users: Confirm unexpected sign-ins through an established identity verification process.
Preserve evidence: Retain relevant Okta events, timestamps, IP addresses, User-Agent strings, and session identifiers.
Respond appropriately: Revoke suspicious sessions, reset compromised credentials, and review MFA configurations when compromise is suspected.
SOC Recommendation: Fingerprint investigation should be treated as a behavioural correlation technique, not a standalone authentication verdict. A strong investigation combines device and browser attributes, network intelligence, authentication context, session activity, and historical user behaviour.
Continue reading
Incident Investigation
Identity Compromise / Session Hijacking

Incident Investigation
SOC Investigation

Incident Investigation
Homograph attacks

3 entries, most recent posts.
Vishing

Identity Theft and Data Extortion

AI-Assisted Autonomous Intrusions
