Skip to main content

Import YARA Rules

This section has instructions for importing YARA rules from GitHub into CSE.

YARA rules are an open source framework for identifying malware. CSE runs YARA rules against files uploaded by the Network Sensor. When a file matches a YARA rule, CSE creates a special Record which results in a “File Analysis” Signal being created.  Once you’ve imported rules, CSE will sync with the repository no less than every hour.

To import YARA rules:

  1. Choose File Analysis from the Content menu. 
  2. Click Add Source.
  3. On the Add New Source popup, click Create in the GitHub tile.
  4. The Add New Source popup updates.
  5. Name. Enter a display name for the rule set to be imported.
  6. Description. Describe the rule set.
  7. Enabled. If you want CSE to apply to rules upon import, leave the toggle set to Enabled. Otherwise, change it to Disabled.
  8. URL. Enter the URL of the GitHub repository that contains the rules.
  9. GitHub Machine Username. Enter a username if the repository is private.
  10. GitHub Machine Token. Enter a token if the repository is private.
  11. YARA file Regex. The regex in this field is matched to rule names in the repository. The default regex will match rule files whose file extension is .yar, .yara, or .rule.  
  12. Default Severity. Enter the severity to be assigned when the Signal is created.
Privacy Statement
Terms of Use

Copyright © 2023 by Sumo Logic, Inc.