
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I was wondering how I should approach this interesting rule,
So how would I be able to capture a certain VPN user using his from different geographical areas with in a time frame less than 24 hours?
any ideas!
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I prefer the first option - do something like this:
1) Look for the VPN login and make sure you have the external IP address (to do the geo mapping) - add to active list for VPN logins IF they are not all ready on the list
2) If there is an entry on the list, check the time is less than 24 hours and calculate the distance between the two geo locations
3) Generate alert if there is a mismatch and trigger a notification
Maybe 24 hours is a little too much, but I would look for say 4 hours, but take a look at this previous post on Protect - its pretty detailed and be aware of some of the calculations involved:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I would think this will be as simple as creating rule to look at VPN events for the same user ID where Geo Location is not same.
So add all VPN user ID's and geolocation to an active list on first events then run another rule looking at VPN ID's and cross matching theme with the first active list and if the location is different fire an alert and add them to another list.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Anwer,
Its easy task, You want a filter to look vpn traffic and VPN user/ User ID.Then make a trend using that filter. After that you can make a query like select username, timestamp, geolocation groupby-user, geo location, timestamp.
Cheers
Gayan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I prefer the first option - do something like this:
1) Look for the VPN login and make sure you have the external IP address (to do the geo mapping) - add to active list for VPN logins IF they are not all ready on the list
2) If there is an entry on the list, check the time is less than 24 hours and calculate the distance between the two geo locations
3) Generate alert if there is a mismatch and trigger a notification
Maybe 24 hours is a little too much, but I would look for say 4 hours, but take a look at this previous post on Protect - its pretty detailed and be aware of some of the calculations involved:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Guys,
Thank you all for your replies,
Paul indeed your way is correct and gave me a solid understanding to fix the issue,
A small exception is that we don't bind a certain user to a certain country so the active list isn't really necessary here since those users travel and log in from different countries from time to time,
The below rule set on an aggregation of 1 match every 24 hours solved the issue.
where device event class Id is the successful login or failed login event class id of the SSL VPN vendor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
This vpn free will help you in the task