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

Exploit Prevention Expert Rule Help

I'm trying to create an expert rule to detect when a process opens a certain file extension.

 

In this example, I want to detect when Excel open an IQY file.

I made a "Files" rule type, with the rule below:

Rule {
	Process {
		Include OBJECT_NAME {
			-v excel.exe  
		}
	}
	Target {
		Match FILE {
			Include OBJECT_NAME { 
				-v "*.iqy"
			}          
			Include -access "READ"
		}
	}
}

I also tried a "Processes" rule type, with the rule below:

Rule {
	Process {
		Include OBJECT_NAME {            
			-v excel.exe
		}
	}
	Target {
		Match FILE {
			Include OBJECT_NAME { 
				-v "*.iqy"
			}
			Include -access "EXECUTE"
		}              
	}
}

I'm sure I'm probably close, but does anyone have a suggestion on how to get this working?

 

4 Replies

Re: Exploit Prevention Expert Rule Help

Your top rule is correct.  I verified it detects as well. 

Dave

tubez
Level 8
Report Inappropriate Content
Message 3 of 5

Re: Exploit Prevention Expert Rule Help

Odd - I'm running ENS 10.6 and I can't get it to detect on my machine.  I can open my test IQY file all day and never see a peep in the ENS events.

Is your rule also a "files" rule type?  Can you export the rule and attach it here?

Re: Exploit Prevention Expert Rule Help

I just copy and pasted your rule.  I did it locally though rather than in policy.  Have you verified your formatting locally?  It can be really finicky sometimes.  I know I'm stating the obvious, but make sure you have the block and report check boxes checked.  

Personally, I tend to prefer Access Protection Rules for this type of stuff, only because I don't have to write out such a long rule, but this still works for me.  

 

Dave

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

Re: Exploit Prevention Expert Rule Help


Does your ENS have updated AMCORE? Check if the AMCORE version is 0. If so then update the ENS AMCORE by clicking the UPDATE button. Just note, even EICAR file wont be detected until AMCORE gets updated.
In case above information was useful or answered your question, please select "Accept as Solution" in my reply, or give a Kudo. Thanks!
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