DET-169 · human · confidence Medium

VPN Session Review

Examine VPN logs for logins from odd places, at odd hours, or with unusually large transfers.

VPN logs list the user, device type, source IP, session start and end, and bytes moved. For insider cases they answer who was connected when, from where, and how much left through the tunnel.

Useful checks include impossible travel, first logins from a new country, sessions during leave, many short sessions in a row, and large uploads at night. Compare with badge, HR leave and employee location data to separate normal remote work from risk.

Data sources
VPN gateway logsIdentity provider sign-in logsHR leave calendar
Platforms
NetworkIdentity

Logic

vpn_sessions | stats sum(bytes_out) as out, dc(src_country) as countries by user, day | where out > 3*user_avg_out OR countries > 1 | join user hr_leave on day

False positives

Travel, mobile hotspots and shared home networks cause country and IP changes. Large transfers also happen during legitimate laptop restores.

Catches 7 techniques