cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jebeling
Employee
Employee
Report Inappropriate Content
Message 1 of 9

How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

A fantastic new feature was added to McAfee Client Proxy (MCP) 2.3.5 the industry's most robust centrally managed web redirection agent.  MCP now supplies calling process information to be used in filtering decisions and logging. Rules based on process name supplied by MCP can be used with MWG on premise, or in AWS, or in Azure, or in McAfee Web Gateway Cloud Service when policy is managed from MWG. All supported versions of on premise Content Security Reporter can be used for reporting by using a User - Defined field.

Having process information to assist with filtering decisions is an amazingly useful feature. Maybe you want to coach browser access to uncategorized sites but completely block other processes such as powershell from going to anything but fully trusted sites. Maybe you want to restrict any process other than a browser from going to any sites that aren't approved or fully trusted. Maybe you  want to adjust anti-malware filtering or bypass other filters for specific processes but still want to log and proxy the access. Perhaps you want to restrict a process claiming to be dropbox.exe to only connect to dropbox sites.

How do I set it up?

Capture.JPG

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as a Solution and/or Kudo my reply so we can help other community participants?
2 Solutions

Accepted Solutions
jebeling
Employee
Employee
Report Inappropriate Content
Message 2 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

Requirements:

McAfee Client Proxy 2.3.5 or later

McAfee Web Gateway 7.8.2 or later (the property is Client.ProcessName)

Content Security Reporter on premise (any supported version)

You need to log the process name and change your log header to include it

You need to set up process name as one of the user-defined fields on import. ( I used the 4th  )

Your queries have to be detailed queries (due to user-defined field use)

MWG process filtering ruleset (attached)

ePolicy Orchestrator dashboard example in reply to this reply

Some explanatory configuration screenshots below.


Access Log ConfigAccess Log Config

 

Log HandlerLog Handler

 CSR User-Defined FieldCSR User-Defined Field

 

 

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as a Solution and/or Kudo my reply so we can help other community participants?

View solution in original post

jebeling
Employee
Employee
Report Inappropriate Content
Message 3 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

Feedback, suggestions and improvements to this post welcome as always.

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as a Solution and/or Kudo my reply so we can help other community participants?

View solution in original post

8 Replies
jebeling
Employee
Employee
Report Inappropriate Content
Message 2 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

Requirements:

McAfee Client Proxy 2.3.5 or later

McAfee Web Gateway 7.8.2 or later (the property is Client.ProcessName)

Content Security Reporter on premise (any supported version)

You need to log the process name and change your log header to include it

You need to set up process name as one of the user-defined fields on import. ( I used the 4th  )

Your queries have to be detailed queries (due to user-defined field use)

MWG process filtering ruleset (attached)

ePolicy Orchestrator dashboard example in reply to this reply

Some explanatory configuration screenshots below.


Access Log ConfigAccess Log Config

 

Log HandlerLog Handler

 CSR User-Defined FieldCSR User-Defined Field

 

 

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as a Solution and/or Kudo my reply so we can help other community participants?
jebeling
Employee
Employee
Report Inappropriate Content
Message 3 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

Feedback, suggestions and improvements to this post welcome as always.

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as a Solution and/or Kudo my reply so we can help other community participants?

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

Hello,

Does this work with a log source of McAfee SaaS Web Protection Service? I have followed your guide and this works great with a web gateway and CSR Log source of McAfee Web Gateway 7.x but nothing is populated in User-Defined 1 when using the WGCS log source. 

Can you confirm it works with MGCS and that custom fields in Access.log log handler are used in WGCS.

jebeling
Employee
Employee
Report Inappropriate Content
Message 5 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

It will not work with automated log pull from WGCS with any CSR version up to and including current 2.6. The reason is the process name information is not currently part of the standard CSR schema. That's also why you need to use User-Defined field with MWG. CSR 2.6 also pulls version 4 from the WGCS API and process name is only available in version 5 and later logs. So you could write a script to download version 5 and put the downloaded file in a repository that CSR can pull from and then define a user defined field for the import in the file based log source.

Link to example powershell script you could run on CSR or other Windows

https://community.mcafee.com/t5/Documents/Web-Gateway-Cloud-Service-Cloud-Log-Puller-for-Windows/ta-...

Link to example bash script you could run on MWG or other Linux:

https://community.mcafee.com/t5/Web-Gateway/Example-Bash-Script-for-Log-Pull-from-Web-Gateway-Cloud-...

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as a Solution and/or Kudo my reply so we can help other community participants?

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

Thanks! Invaluable information!

Do we know if a future version of CSR will support WGCS Reporting API v5?

feickholt
Level 10
Report Inappropriate Content
Message 7 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

I tried to find the property in our configuration 7.7.2.19 but I don't find it?

 

 

feickholt
Level 10
Report Inappropriate Content
Message 8 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

I think you made a mistake. In your example xml file the version is 7.8.2... so I expect this property was new in 7.8.2 instead of 7.7.2

jebeling
Employee
Employee
Report Inappropriate Content
Message 9 of 9

Re: How Do I Use and Log McAfee Client Proxy (MCP) Process Information with MWG and WGCS?

Jump to solution

Thanks, I believe you are correct. I couldn't find the appropriate reference guides or anything in the release notes so I edited above to reflect 7.8.2 because I know its there for sure. I will do some more investigation and if its available in an earlier release, I will update again.

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as a Solution and/or Kudo my reply so we can help other community participants?
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from product experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by employees.
Join the Community
Join the Community