---
title: 'antimalware:statisticalanalysis'
url: 'https://docs.danami.com/sentinel/command-line-interface/antimalware/antimalware-statisticalanalysis'
markdown: 'https://docs.danami.com/sentinel/command-line-interface/antimalware/antimalware-statisticalanalysis.md'
date: '2026-10-07'
description: 'Configure the detection of threats based on the longest string within files. This is an EXPERIMENTAL feature and should be used with caution. sentinel --task=antimalware:statisticalanalysis Option Value Default Description --string_length_scan <1|0> 0 This is an EXPERIMENTAL featu…'
taxonomy:
  category:
    - docs
  tag:
    - scan
---

[](#)  [ Basics ](https://docs.danami.com/sentinel/)     [ Command Line Interface ](https://docs.danami.com/sentinel/command-line-interface)      Antimalware       antimalware:statisticalanalysis    

# antimalware:statisticalanalysis

Configure the detection of threats based on the longest string within files. This is an EXPERIMENTAL feature and should be used with caution.

```
sentinel --task=antimalware:statisticalanalysis
```

| Option | Value | Default | Description |
|---|---|---|---|
| `--string_length_scan` | <1\|0> | 0 | This is an EXPERIMENTAL feature and should be used with caution. Enable the identification of threats based on the length of the longest uninterrupted string within a file. This is useful as obfuscated code is often stored using encoding methods that produce very long strings without spaces (e.g: base64) |
| `--string_length` | <digit> | 150000 | The length of the longest uninterrupted string within a file. |
| `--default` | <yes> |  | Reset all settings to their default values. |
| `--default_option` | <option> |  | Reset a specific setting to its default value. |
| `--restart` | <yes> |  | Restart the service after saving settings. |

## Examples

```
// enable the string_length_scan
sentinel --task=antimalware:statisticalanalysis --string_length_scan=1 --restart=yes

// reset string_length_scan back to its default value
sentinel --task=antimalware:statisticalanalysis --default_option=string_length_scan --restart=yes

// reset all settings to their default values
sentinel --task=antimalware:statisticalanalysis --default=yes

// flag files containing an uninterrupted string longer than 50000 characters
sentinel --task=antimalware:statisticalanalysis --string_length_scan=1 --string_length=50000 --restart=yes
```

## Related Pages

- [Scan](https://docs.danami.com/sentinel/plesk-interface/scan "Scan")
- [Statistical Analysis](https://docs.danami.com/sentinel/settings/antimalware/statistical-analysis "Statistical Analysis")
- [Scanning Schedule](https://docs.danami.com/sentinel/settings/antimalware/scanning-schedule "Scanning Schedule")
- [Scanning Settings](https://docs.danami.com/sentinel/settings/antimalware/scanning-settings "Scanning Settings")

 [ ](https://docs.danami.com/sentinel/command-line-interface/antimalware/antimalware-scanning-schedule) [](https://docs.danami.com/sentinel/settings/antimalware/scanning-settings)

---

## Navigation

- Previous: [antimalware:scanning:schedule](https://docs.danami.com/sentinel/command-line-interface/antimalware/antimalware-scanning-schedule.md)
