YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_LOG_Cacti_Commandinjection_CVE_2022_46169_Dec22_1
Detects potential exploitation attempts that target the Cacti Command Injection CVE-2022-46169
- Author
- Nasreddine Bencherchali
- Date
- 2022-12-27
- Modified
- 2023-12-05
- Score / Quality
- 70 / 85
What this rule detects
Detects potential exploitation attempts that target the Cacti Command Injection CVE-2022-46169
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_LOG_Cacti_Commandinjection_CVE_2022_46169_Dec22_1 : CVE_2022_46169
{
meta:
= "Detects potential exploitation attempts that target the Cacti Command Injection CVE-2022-46169"
= "Nasreddine Bencherchali"
= "c799a419-87ed-55ea-8ebb-d4da901be4ad"
= "2022-12-27"
= "2023-12-05"
= "https://github.com/Cacti/cacti/security/advisories/GHSA-6p93-p743-35gf"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cve_2022_46169_cacti.yar#L1-L13"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6ccd3b830deb5c5d65519274c4c528203a2a14a177382334da87e288174e2cfe"
= 70
= 85
= "CVE-2022-46169"
strings:
$xr1 = /\/remote_agent\.php.{1,300}(whoami|\/bin\/bash|\/bin\/sh|\bwget\b|powershell|cmd \/c|cmd\.exe \/c).{1,300} 200 / ascii
condition:
$xr1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xr1 | regex | /\/remote_agent\.php.{1,300}(whoami|\/bin\/bash|\/bin\/sh|\bwget\b|powershell|cmd \/c|cmd\.exe \/c).{1,300} 200 / | ascii |
Condition
$xr1In plain words (Heuristic)
- Pattern $xr1 must be present.
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: Nasreddine Bencherchali
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: c799a419-87ed-55ea-8ebb-d4da901be4ad
Tags:CVE_2022_46169
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Nasreddine Bencherchali· 2023-06-13