> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/manual/english/platform-usage/hosts/advanced-persistent-threats/rules.md).

# Rules

Rules for Advanced Persistent Threats (APT) are based on what is known as YARA rules, an open-source framework for detecting and classifying malware. They allow you to search files and directories for suspicious patterns that might indicate that your systems are infected with APTs in a targeted manner.

{% hint style="info" %}
The Enginsight platform currently provides approximately 7,100 managed YARA rules from leading providers, prefiltered by criticality. These rules are automatically updated and extended every 24 hours.
{% endhint %}

***

<i class="fa-compass">:compass:</i> Navigate to **Hosts** → **Advanced Persistent Threats** → **Rules** to show a list of all managed and custom rules.

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FVzx8SyQI9Mcn9zPtdFvH%2Fenginsight-screenshot-hosts-apt-rules.jpg?alt=media&amp;token=6cb8d72d-4546-47f2-92c8-3f6733b0933b" alt=""><figcaption></figcaption></figure>

The [rule overview](#rules-overview) provides information such as:

* who the provider of a managed rule is.
* which criticality the APT detected by the rule has.

You can also [add new rules](#adding-a-rule).

***

## Navigation

<i class="fa-magnifying-glass">:magnifying-glass:</i> Click the **Text Search** field above the list and enter a search term of your choice to find specific list items more quickly.

<i class="fa-computer-mouse">:computer-mouse:</i> Click the **Refresh** icon <i class="fa-arrows-rotate-reverse">:arrows-rotate-reverse:</i> above the list to update all list items.

<i class="fa-computer-mouse-scrollwheel">:computer-mouse-scrollwheel:</i> Scroll down the list or adjust the number of results shown per page ![](https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FfjKACCt2SKXcFd3S7Xb5%2FEnginsight-EN-Results%20per%20Page.jpg?alt=media\&token=e1650160-7a41-4965-aaca-6975db758dbe) to view additional entries. Use the page navigation ![](https://content.gitbook.com/content/V7OrHgKXA0t1jankQBYf/blobs/wnxVw06QGoSsYjhwMJRF/Enginsight-Seitennavigation-2.jpg) to switch between pages.&#x20;

### Filtering the List

<details>

<summary>Available filters</summary>

<table><thead><tr><th width="206.60546875">Parameter</th><th width="116.515625">Type</th><th>Description</th></tr></thead><tbody><tr><td>Vendor</td><td>String</td><td>Filter by a specific provider of a rule or exclude it from the results. All available providers are shown.</td></tr><tr><td>Severity</td><td>String</td><td>Filter by a specific severity that is assigned to a rule or exclude it from the results. All available severity levels are shown.</td></tr><tr><td>Tag</td><td>String</td><td>Filter by a specific tag that is assigned to a rule or exclude it from the results. All available tags are shown.</td></tr></tbody></table>

</details>

### Sorting List Items

<i class="fa-computer-mouse">:computer-mouse:</i> Click the **Sort** icon <i class="fa-sort">:sort:</i> next to a column name in the table header to sort by that column in ascending <i class="fa-angle-up">:angle-up:</i> or descending order <i class="fa-chevron-down">:chevron-down:</i> .

<i class="fa-computer-mouse">:computer-mouse:</i> Click the sort icon <i class="fa-bars-sort">:bars-sort:</i> above the list to adjust the priority of the applied sorting. A menu opens that shows all columns by which the list is currently sorted. Drag and drop the shown items to change the sorting priority.

### Deleting List Items

<i class="fa-computer-mouse">:computer-mouse:</i> Select the checkbox <i class="fa-square">:square:</i> next to a list item to select the corresponding item. Alternatively, select the checkbox in the table header to select all list items.

The number of selected list entries is now displayed next to the search field.

The **Delete** button <i class="fa-trash">:trash:</i> also appears in the upper-right corner. Click it, then confirm the message that appears by clicking **Delete**.

{% hint style="danger" %}
**Please note:** Deleted items cannot be restored.
{% endhint %}

***

## Rules: Overview

The rules overview is structured as a table.

<figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2FYR50zqPHKy3joBr82m4I%2Fenginsight-screenshot-hosts-apt-rules%20overview.jpg?alt=media&amp;token=1067d282-7826-4892-89d8-78de4b24f7f4" alt=""><figcaption></figcaption></figure>

&#x20;The following information is shown:

<table><thead><tr><th width="199.921875">Column</th><th>Description</th></tr></thead><tbody><tr><td>Severity</td><td><p>Shows the severity assigned to the respective rule.<br></p><p>The following severity levels can be shown:</p><ul><li><strong>Critical:</strong> The rule has a very high criticality.</li><li><strong>High</strong>: The rule has a high criticality.</li><li><strong>Medium</strong>: The rule has a medium criticality.</li><li><strong>Low</strong>: The rule has a low criticality.</li></ul></td></tr><tr><td>Rule</td><td>Shows the name of the rule, an additional description if provided, and the date and time of creation and last edit.<br><br>The tags assigned to the corresponding rule are also shown, if available.<br><br><i class="fa-computer-mouse">:computer-mouse:</i> Click the name of a rule to navigate to the respective <a href="#rule-edit-view">edit view</a>. Here you can adjust configured settings and delete the rule.</td></tr><tr><td>Vendor</td><td>Shows the creator of the rule.</td></tr><tr><td>Managed</td><td>Shows whether the respective rule is managed by Enginsight or not.<br><br>If the rule is managed, this is indicated by a green <strong>check</strong> icon <i class="fa-circle-check" style="color:green;">:circle-check:</i>. Unmanaged rules, meaning custom rules, are indicated by a red <strong>circle</strong> icon <i class="fa-circle" style="color:red;">:circle:</i>.</td></tr></tbody></table>

***

## Adding a Rule

<i class="fa-computer-mouse">:computer-mouse:</i> Click <i class="fa-plus">:plus:</i> **Add Rule** in the upper-right corner to [create a new rule](/docs/manual/english/platform-usage/hosts/advanced-persistent-threats/rules/add-rule.md).

***

## Rule: Edit View

<i class="fa-computer-mouse">:computer-mouse:</i> Click the name of a rule to navigate to the respective edit view. Here you can adjust [configured settings](/docs/manual/english/platform-usage/hosts/advanced-persistent-threats/rules/add-rule.md#settings) and delete the rule.

The following actions are available:

<table><thead><tr><th width="200.39453125">Option</th><th>Description</th></tr></thead><tbody><tr><td>Save Changes</td><td><p><i class="fa-computer-mouse">:computer-mouse:</i> Click <strong>Save Changes</strong> after adjusting any settings.</p><div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p><strong>Please note:</strong> Unsaved changes cannot be recovered.</p></div></td></tr><tr><td>Back</td><td><i class="fa-computer-mouse">:computer-mouse:</i> Click <strong>Back</strong> to return to the list overview.</td></tr><tr><td>Remove</td><td><p><i class="fa-computer-mouse">:computer-mouse:</i> Click <strong>Remove</strong>, then confirm the prompt that appears to delete the object that you are editing.</p><div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p><strong>Please note:</strong> Deleted objects cannot be recovered.</p></div></td></tr></tbody></table>

***
