Users accessing internet sites via Cloud SWG using Proxy Forwarding access method.
Policies in place to prevent users from accessing suspicious or malicious sites, or other sites blocked by corporate policies such as shopping sites.
SOC team concerned that some users may have accessed a site they should not have had access to due to policy misconfigurations (e.g. a shopping site that may also be incorrectly allowed via another policy; adult images that were categorised as educational), and wants a way of determining whether the user accidently clicked on the site.
What logging fields can a Cloud SWG admin track to determine how the user got there, and what they did when they were there?
Cloud SWG.
Reporting.
The access logs track every request from the user into the service, and is typically available in chronological order. This means that user browsing patterns can be correlated on back end logs. Although the following suggestions below may not be able to address all concerns, it should give some tips on what to look out for when questioning reasons why users were accidently accessing sites they should not have been able to access.
HTTP Status screen: Accessing web sites that require logins can take on multiple forms e.g. you are challenges for credentials via a popup (401 HTTP status) or users are presented with a login page (200 OK status with 30x redirects potentially).
When looking through the access logs, check the HTTP status field for 401, or 200 status pages with the 'login' string (very common endpoint) to get an idea whether user logged into a specific site.
In the case of a login page, the users credentials are often POSTed via a HTML form. By checking the Cloud SWG access logs HTTP 'method' field for POSTs, it may also confirm whether a login was performed.
Content-type HTTP header: Content-type is a HTTP header that indicates the media type of the resource sent in the HTTP message body. This can be used to check whether the user was looking at videos (streaming content type), or downloading files (binary content type).