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

Special characters in ENS Expert Rules

Jump to solution

Does anybody know of a list of characters that need to be "escaped" (\ - preceded by backslash) in Trellix Endpoint Security  Expert Rules so that they are read literally in exceptions.

Like backslash itself.

Exclude OBJECT_NAME -type PATH {-v "c:\\program files\\test.dat"}

 

1 Solution

Accepted Solutions

Re: Special characters in ENS Expert Rules

Jump to solution

*, ?, #, {, " all come to mind.... I think $ as well.   

View solution in original post

4 Replies
yaz
Employee
Employee
Report Inappropriate Content
Message 2 of 5

Re: Special characters in ENS Expert Rules

Jump to solution

HI @ezim 

Thank you for reaching out to McAfee Community.

Unfortunately ENS expert rules are predefined templates that is used for customized configurations in the environment. 

The maximum options we have is defined the document below. 

https://docs.mcafee.com/bundle/endpoint-security-10.6.0-threat-prevention-product-guide-windows/page...

It does not look like we have an option for Special characters. 

Was my Reply helpful?

If yes, Please give me a Kudo.

If I have answered your query, please mark this as solution so that we help other community members together. 

ezim
Level 9
Report Inappropriate Content
Message 3 of 5

Re: Special characters in ENS Expert Rules

Jump to solution

Hello @yaz 

Thank you for your response.

I am looking for a list of characters that need to have a backslash in front of it so that it is read literally, rather than interpreted as a command.

As in this example from the documentation:

Rule {
	Process {
		Include OBJECT_NAME { -v cmd.exe  }
	}
	Target {
		Match FILE {
			Include OBJECT_NAME { 
				-v "c:\\temp\\*test.txt"
			}
   Include -access "CREATE"
		}
	}
}

 

Here it is necessary to use:

-v "c:\\temp\\*test.txt"

rather than:

-v "c:\temp\*test.txt"

 

Which other characters need to be treated in this way?

Re: Special characters in ENS Expert Rules

Jump to solution

*, ?, #, {, " all come to mind.... I think $ as well.   

bretzeli
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 5 of 5

Re: Special characters in ENS Expert Rules

Jump to solution

Samples from Mcafee (Did not know until just one hour ago myself.....)

ExpertRules/MCAFEE/PAYLOAD_EXECUTION at master · mcafee/ExpertRules · GitHub

 

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