YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_EXPL_LNX_CUPS_CVE_2024_47177_Sep24
Detects suspicious FoomaticRIPCommandLine command in printer config, which could be used to exploit CUPS CVE-2024-47177
- Author
- Florian Roth
- Date
- 2024-09-27
- Modified
- 2024-12-12
- Score / Quality
- 65 / 85
What this rule detects
Detects suspicious FoomaticRIPCommandLine command in printer config, which could be used to exploit CUPS CVE-2024-47177
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_EXPL_LNX_CUPS_CVE_2024_47177_Sep24 : CVE_2024_47177
{
meta:
= "Detects suspicious FoomaticRIPCommandLine command in printer config, which could be used to exploit CUPS CVE-2024-47177"
= "Florian Roth"
= "cb76f1c7-6dc0-5fed-a970-2a4890db46d3"
= "2024-09-27"
= "2024-12-12"
= "https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cups_sep24.yar#L17-L38"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "2158ca8a08cb7552e2a437de025e3aad63ddc5417245e6ede7283d3bd0fc159b"
= 65
= 85
= "CVE-2024-47177"
strings:
$ = "FoomaticRIPCommandLine: \"bash " ascii
$ = "FoomaticRIPCommandLine: \"sh " ascii
$ = "FoomaticRIPCommandLine: \"python " ascii
$ = "FoomaticRIPCommandLine: \"perl " ascii
$ = "FoomaticRIPCommandLine: \"echo " ascii
$ = "FoomaticRIPCommandLine: \\\"bash " ascii
$ = "FoomaticRIPCommandLine: \\\"sh " ascii
$ = "FoomaticRIPCommandLine: \\\"python " ascii
$ = "FoomaticRIPCommandLine: \\\"perl " ascii
$ = "FoomaticRIPCommandLine: \\\"echo " ascii
condition:
1 of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "FoomaticRIPCommandLine: \"bash " | ascii |
| $ | text | "FoomaticRIPCommandLine: \"sh " | ascii |
| $ | text | "FoomaticRIPCommandLine: \"python " | ascii |
| $ | text | "FoomaticRIPCommandLine: \"perl " | ascii |
| $ | text | "FoomaticRIPCommandLine: \"echo " | ascii |
| $ | text | "FoomaticRIPCommandLine: \\\"bash " | ascii |
| $ | text | "FoomaticRIPCommandLine: \\\"sh " | ascii |
| $ | text | "FoomaticRIPCommandLine: \\\"python " | ascii |
| $ | text | "FoomaticRIPCommandLine: \\\"perl " | ascii |
| $ | text | "FoomaticRIPCommandLine: \\\"echo " | ascii |
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
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: cb76f1c7-6dc0-5fed-a970-2a4890db46d3
Tags:CVE_2024_47177
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-09-27
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-10-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-08-04
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-08-07