Skip to main content

Who is this article for?
Find your product plan in the Code42 console on the Account menu.

Incydr Professional, Enterprise, and Gov F2
Incydr Basic, Advanced, and Gov F1
Other product plans

Incydr Professional and Enterprise, yes.

Incydr Basic and Advanced, yes.

CrashPlan Cloud, no.

Other product plans, yes.

CrashPlan for Small Business, no.

This article applies to Code42 cloud environments.

Code42 Support

Alert rule settings reference


To build a new alert rule, you add settings that identify the file activity that your organization has deemed the most risky, and then select options from those settings that best match what you want to monitor. You can mix and match settings as needed to build rules that best fit your organization's needs and environments.

Alert rule settings

Alert rule settings give you simple, criteria-based building blocks from which you can create a rule. These settings group similar options that define activity your organization has identified as having the most risk of loss. This flexibility helps you build powerful alerts that notify you about activity that needs investigation while filtering out normal, expected activity to reduce noise. The result is targeted, meaningful alerts that you can act on.

To view and select alert rule settings when building a rule:

  1. Select Alerts > Manage Rules.
  2. Click Create rule.
    Create rule settings
  3. Click a setting name to add those settings to your rule, then select the options that match the activity you want to be alerted about and click Save.
    That setting is added to the rule with the options you selected.
  4. Click Add setting to add another setting to the rule and select its options.
    You can mix and match settings as needed to target specific activity.
  5. Save your new rule.
    • When you finish adding settings, click Next to name the new rule, add a description, and identify the users you want to be notified about the activity this rule monitors.
    • Click Save to save your completed rule.

Risk severity

Alerts you when file events that are associated with increased risk scores or severity are detected. Use this to be notified when file events occur that have risk scores that correspond to specific severities. To learn more about risk severity and risk scores, see Risk settings reference.

Risk severities replace alert High/Medium/Low severities
Risk severities represent how risky file activity may be based on the risk score Code42 calculates for file events. These risk scores are calculated using the risk settings assigned to various types of activity. You can view risk severities in multiple places across Incydr, such as on the Risk Exposure dashboard, in Forensic Search, on user profiles, and also within Alerts.

To better help you identify risky activity, these risk severities replace the High, Medium, and Low alert severities that appeared only in Alerts. You may have used these alert severities within Alerts to prioritize and filter rules and notifications.

Select the severity of file events you want to be notified about. When an alert notification is generated, the Risk severity calculated for those events appears in the Review Alerts table, in the Overview of the alert notifications or emails, and in the Filename/Details list. This severity is based on the following ranges:

  • Critical severity icon 9+: Critical
  • High severity icon 7-8: High
  • Moderate severity icon 4-6: Moderate
  • Low severity icon 1-3: Low
  • no risk indicates icon 0: No risk indicated

By default, file events associated with no risk (or a risk score of 0) are not included in the Filename/Details section of alert notifications and emails. However, brief details about these events are included in the Risk summary section for reference and you can see all file events, regardless of risk score, in Forensic Search.

Filename or extension

Alerts you when activity is detected for files with specific filenames or extensions.

Enter the filenames (or filename components) you want to monitor and be alerted about. To monitor several different filenames and extensions, enter each on a separate line. Code42 alerts you when exfiltration activity involving a file that matches this criteria is detected.

Filename or extension criteria limits
The following limits apply to the filename or extension criteria:
  • You can enter up to 100 separate lines.
  • Each line can contain a maximum of 500 characters.

You can use wildcards along with specific words or characters to define filename components:

  • Use the * wildcard character to replace partial strings in the filename. For example, enter expenses* to monitor any filename beginning with the phrase "expenses," such as "expenses.xls," "expenses.doc," or "expenses to review.txt."

    You can also use the * wildcard to watch filenames ending in specific extensions. For example, enter *.cpp to monitor activity for any C++ file.

  • Use the ? wildcard character to replace a single character in the filename. For example, enter Q? Financials 202?.xls to monitor filenames such as "Q3 Financials 2020.xls," or "Q1 Financials 2021.xls."

  • Code42 automatically trims entries to remove any leading or trailing spaces at the beginning or ending of the filenames you enter. To monitor filenames that begin or end with a space, use the ? wildcard character to replace that space. For example, enter Roadmap?.*< to monitor filenames such as "Roadmap␣.ppt" or "Roadmap␣.vsd." Likewise, enter ?Roadmap.doc to monitor files named "␣Roadmap.doc."

Filename or extension criteria is not case-sensitive
Code42 does not evaluate any capitalization used in filenames or file extensions. Only the characters in the filename or extension must match the criteria exactly. However, Code42 displays the filename or extension criteria exactly as it was entered (including any capitalization) when the rule was created.

File categories

Similar to the Filename or extension settings, the File categories settings alert you when exfiltration activity is detected for any file matching the categories you select. A key difference: selecting a category monitors for all the file types and extensions included in that category, including others that are not listed.

File categories are managed by Code42 and cannot be edited or updated. However, the examples listed for each file category are not exhaustive. Each category contains many more file types. Keep in mind that file extensions are not the only method Code42 uses to identify a file's category.

File extension mismatch

There is no criteria to select or enter for this rule setting. Select it when you want to be alerted about files with extensions that don't appear to match their contents.

The file mismatch risk indicator highlights files with extensions that do not match the file contents, particularly when a high-value file is given a low-value extension. Detection focuses on high-risk file mismatches that may indicate a file with an unexpected extension was renamed, downloaded, or shared. 

  • For example, a ZIP file with a JPG extension is considered a file mismatch.
  • See below for examples that are not considered a file mismatch.

Code42 analyzes files for mismatches when it detects activity involving the file, such as when it is moved to removable media or cloud sync folders, read by a browser or app, or shared publicly via direct link or with specific users outside your trusted domains. Code42 does not actively scan or monitor files for mismatches outside of those actions.

Not all mismatches are considered risky. The following types of mismatches do not trigger alerts or get a file mismatch risk indicator:

  • Files where Code42 cannot read the file header and determine the true file type. This occurs when the file's media type (formerly, mimeType) doesn't have magic number support.
  • Files that have two high-value file extensions, such as a PPT file renamed to have a TXT extension.
  • Files with closely related file types and file extensions. For example, the file’s contents indicate that it is a PNG file, but the file has a GIF extension.
  • Mismatches generated by software applications to control the application used to open the file. For example, Salesforce may change the extension of a CSV file so that it opens within that application.
  • Files that generally don’t have extensions, such as application or system files.

To better highlight risky file events or possible exposure, only high-risk mismatches for files that were involved in exfiltration activity trigger the alert rule. However, you can find all known file mismatches in Forensic Search.

File volume

Alerts you when activity is detected for files totaling a cumulative count or file size. Use these settings to reduce noise so that you are alerted only after activity reaches certain thresholds of total number or size of files involved. 

Code42 alerts about any file activity, regardless of count or size
By default, Code42 monitors for any file activity that occurs, and alerts you when even one file of any size is involved in possible exfiltration activity.

Add this setting to a rule when you want to be notified about activity only when it exceeds the file count and size thresholds you specify. Leave it out of a rule when you want to be notified about any file activity that matches the other rule criteria.

Enter the thresholds to use when monitoring for file activity. If you enter thresholds in both options, select Or to be notified if either value is exceeded, or And to be notified only if both values are exceeded.

  • File count greater than: The total number of files moved by a user.
  • Total size greater than: The total aggregate size of files moved by a user, measured in bytes, kilobytes (KB), megabites (MB), or gigabites (GB).

After activity matching the rule to which you add this setting is first detected, Code42 alerts you when that activity exceeds these thresholds at any point within the next 15 minutes.


Alerts you about possible exfiltration activity when users:

  • Move files to removable media, such as a USB drive, memory card, or external hard drives
  • Share files stored in your organization's cloud service environment publicly via a link or with users outside of your trusted domains
  • Upload files to personal cloud storage folders, either through folders on their device that sync with cloud storage providers or via a web browser 
  • Upload file attachments to web-based email services
  • Upload files to web-based source code management systems
  • Share files using corporate messaging services or on social media platforms

The examples listed for each exfiltration destination are not exhaustive. Each category contains many more exfiltration types. Selecting an exfiltration destination monitors for all file activity occurring in that destination, including others that are not listed.

Likewise, not all exfiltration types have been categorized into common destinations. To monitor file activity occurring in one of these destinations, select Include uncategorized browser and app read events at the bottom of the Destination table.

Individual users

Allows you to identify specific users to monitor (or exclude from monitoring) by this rule. Select whether you want this rule to include or exclude users, then enter those usernames in a comma-separated list.

For example, your company is involved in a legal proceeding against a former employee, and you want to be notified about any activity involving the brief that is not caused by a member of your legal team. (In other words, your legal team will be causing sanctioned activity as they share the brief among themselves while conducting the investigation. You do not want to be notified about this legitimate activity, but you do want to be notified should anyone else in your organization access or move the brief.) In this situation, you would exclude the members of your legal team from being monitored by the rule. Code42 would then alert you of any activity involving users not on this list.

Use cases

The following sections detail example use cases for alerts: these are common situations for which a rule could be created. Use them as starting points to help identify the activity that presents the most risk to your organization and to develop the alert rules that could notify you when such activity occurs.

For additional ideas about how to use recommended rules to monitor for risky activity, see Recommended rules reference.

Customer data exposure

Every organization knows it's vital to secure customer data to preserve legitimacy, partner relationships, and business reputations. You can set up rules that notify you about possible exposure of your customer information so that you can secure this data before it becomes a costly breach.

For example, your company is consulting with Acme Enterprises on a large project, code-named "DarkTunnel." All of your business documents regarding this project either use this code name or the customer's name in their filenames to draw attention and separate them from other project files. So that everyone can access them, files are exchanged using your customer's Box cloud storage. You want to set up a rule to notify you when any file about DarkTunnel is moved to any location other than the approved Box destination.

Rule settings

  • Filename or extension: Filename includes any *DarkTunnel*, DarkTunnel*, *Acme*, Acme*, *AE*, AE*
  • Destination: All options except Cloud storage > Box

To customize this for your organization, make a list of the project or customer names that could be used in filenames and targeted for exfiltration. Identify which destinations may be more likely for these files to be exfiltrated to, along with the users who routinely collaborate on these files for valid reasons to exclude from the rule to improve signal.

Sensitive keyword exfiltration

Like the customer data exposure use case above, many companies use file naming conventions to easily identify information when generating valuable sales or financial reports and exporting contact lists. Likewise, employees give files descriptive names when collaborating across groups so it's easy to determine which file contains what information. 

Take a few minutes to think about the naming conventions in place at your organization, along with other trigger words used in filenames that could indicate a file's contents. Some possibilities include "forecast," "rollup," "roadmap," "salary," or
"financial." Some trigger words may seem obvious but may also be used in filenames, such as "confidential," "internal," "password," or "private." 

Rule settings

  • Filename or extension: Filename includes words on the list of naming conventions and trigger words you develop
  • Destination: Destination options that represent the most risk to your organization

For other examples of how you can set up keywords to alert you of possible exfiltration, see Recommended rules reference.

File uploads to Slack

Slack is a powerful tool that enhances employee collaboration and productivity while improving engagement. You can secure Slack's communication channels by creating an alert to detect the movement of important business files while filtering out the image and video sharing that's an important part of your company culture.

Rule settings

  • File categories
    • Executable
    • Script
    • Source code
    • Virtual disk image
    • Zip
  • Destination
    • Messaging: Slack

Accidental iCloud uploads

Using their AppleID, employees may be able to log into Apple iCloud on their devices to take advantage of its services, such as updating shared Notes, receiving personal iMessages, or syncing with family calendars. Unfortunately, in doing so it can be easy to automatically start syncing professional files with personal iCloud storage. Set up an alert rule to detect this sort of accidental file syncing so that you can work with employees to resolve it.

Rule settings

  • Destination: Cloud storage > iCloud
  • File categories
    • Document
    • Executable
    • PDF
    • Presentation
    • Script
    • Source code
    • Spreadsheet
    • Virtual disk image
    • ZIP

Movement of many files

Sometimes, the sheer number of files a user has moved can be suspicious and worth investigating. Set up a rule that alerts you when a user moves a large number of files to a destination. "Large" in this context varies from organization to organization. Depending on how an organization identifies risk, it may choose to investigate the movement of as few as 10 files.

Rule settings

  • File volume: File count greater than 50 (for example)
  • Destination
    • External devices 
    • Cloud storage (all)
  • Was this article helpful?