Block Execution from Local and Network Folders
Many attack scenarios are based on writing malicious executable files in remote folders and common local folders—such as temp and download—and then running those executable files. By default, Traps allows benign executable files to run from any local folder. By configuring an
Execution Path Restrictionrule you can restrict the locations from which executable files can run. For increased flexibility, you can configure the
Execution Path Restrictionto restrict both local and remote folders and executable files. Common applications for this rule include the ability to restrict:
- Specific executable files run locally, for example:%MySystemDrive%\myfolder\temp\malware.exe
- Any executable run from a specific local folder or subfolders, for example:C:\temp\*
- Specific executable files run from a remote location, for example:\\remoteserver\folder\malware.exe
- Specific remote locations, for example:\\remoteserver\*
When you enable this restriction rule, all executable files are permitted to run unless they match the folders or files specified in the rule. If a user tries to open an executable file from a blocked location, Traps blocks the attempt and reports the security event to the ESM Server.
For a more stringent security policy, consider configuring a network folder behavior rule which blocks all executables run from remote network folders except for those expressly whitelisted (see Whitelist a Network Folder).
You can also configure an exception for a local folder by adding the folder to the a whitelist (see Manage Global Whitelists). The whitelists take precedence over the blacklist and enables executable files in specific locations to always run.
- Begin a new restriction rule:
- From the action menu ,Adda new restriction rule.
- SelectExecution Path Restriction.
- Block an executable file or files run from a local folder.
- Select the option toRestrict file execution from the locations.
- Click the add folder icon , andAddthe executable file or folder path to the Blacklist section.To blacklist a folder, you must terminate the path with a wildcard. For example,C:\temp\*matches any file launched from theC:\temp\folder or subfolder).For additional syntax examples, see Wildcards and Variables in Policy Rules.
- Repeat the previous step to add multiple paths as needed.
- (Optional) Add Conditions to the rule. By default, a new rule does not contain any conditions.To specify a condition, select theConditionstab, select the condition in the Conditions list, and thenAddit to the Selected Conditions list. Repeat this step to add more conditions, as needed. You can also define new Conditions.
- (Optional) Define the Target Objects to which to apply the rule.To define a smaller subset of target objects, select theObjectstab, and then enter one or moreAD Users,AD Computers,AD Groups,AD Organizational Unit,Existing Endpoints, orExisting Groupsin the Include or Exclude areas. The Endpoint Security Manager queries Active Directory to verify the users, computers, groups, or organizational units. The ESM Console also offers autocompletion as you type for existing endpoints and existing virtual groups.
- (Optional) Review the rule name and description. The ESM Console automatically generates the rule name and description based on the rule details but permits you to change these fields, if needed.To override the autogenerated name, select theNametab, clear theActivate automatic descriptionoption, and then enter a rule name and description of your choice.
- Save the restrictions rule.Do either of the following:
After saving or applying a rule, you can return to theRestrictionspage at any time toDeleteorDeactivatethe rule.
- Savethe rule without activating it. This option is only available for inactive, cloned, or new rules. When you are ready to activate the rule, select the rule from thepage and then clickPoliciesMalwareRestrictionsActivate.
- Applythe rule to activate it immediately.
Recommended For You
Recommended videos not found.