YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_CVE_2021_31166_Accept_Encoding_May21_1
Detects malformed Accept-Encoding header field as used in code exploiting CVE-2021-31166
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-05-21
- Modified
- 2023-12-05
- Score / Quality
- 70 / 85
What this rule detects
Detects malformed Accept-Encoding header field as used in code exploiting CVE-2021-31166
It defines 1 patterns (0 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_EXPL_CVE_2021_31166_Accept_Encoding_May21_1 : CVE_2021_31166
{
meta:
= "Detects malformed Accept-Encoding header field as used in code exploiting CVE-2021-31166"
= "Florian Roth (Nextron Systems)"
= "d0a79cdc-f3ee-58f9-805c-ec9eb7993315"
= "2021-05-21"
= "2023-12-05"
= "https://github.com/0vercl0k/CVE-2021-31166"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/exploit_cve_2021_31166.yar#L2-L14"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "5bb5b4093a7abe9d4297a4c047803b92f7c08f56f15b0f7bd163203ae47e026d"
= 70
= 85
= "CVE-2021-31166"
strings:
$xr1 = /[Aa]ccept\-[Ee]ncoding: [a-z\-]{1,16},([a-z\-\s]{1,16},|)*[\s]{1,20},/
condition:
1 of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xr1 | regex | /[Aa]ccept\-[Ee]ncoding: [a-z\-]{1,16},([a-z\-\s]{1,16},|)*[\s]{1,20},/ |
Condition
1 of themIn plain words (Heuristic)
- At least 1 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: d0a79cdc-f3ee-58f9-805c-ec9eb7993315
Tags:CVE_2021_31166
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-18
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-19
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-20
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-13
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-11
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-22