YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_UNC4841_ESG_Barracuda_CVE_2023_2868_Forensic_Artifacts_Jun23_1
Detects forensic artifacts found in the exploitation of CVE-2023-2868 in Barracuda ESG devices by UNC4841
- Autor
- Florian Roth
- Datum
- 2023-06-15
- Geändert
- 2023-06-16
- Score / Qualität
- 75 / 85
Was diese Regel erkennt
Detects forensic artifacts found in the exploitation of CVE-2023-2868 in Barracuda ESG devices by UNC4841
Sie definiert 12 Muster (12 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_APT_UNC4841_ESG_Barracuda_CVE_2023_2868_Forensic_Artifacts_Jun23_1 : SCRIPT CVE_2023_2868
{
meta:
= "Detects forensic artifacts found in the exploitation of CVE-2023-2868 in Barracuda ESG devices by UNC4841"
= "Florian Roth"
= "50518fa1-33de-5fe5-b957-904d976fb29a"
= "2023-06-15"
= "2023-06-16"
= "https://www.mandiant.com/resources/blog/barracuda-esg-exploited-globally"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_barracuda_esg_unc4841_jun23.yar#L2-L28"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "fa7cac1e0f6cb6fa3ac271c1fff0039ff182b6859920b4eca25541457654acde"
= 75
= 85
= "SCRIPT, CVE-2023-2868"
strings:
$x01 = "=;ee=ba;G=s;_ech_o $abcdefg_${ee}se64" ascii
$x02 = ";echo $abcdefg | base64 -d | sh" ascii
$x03 = "setsid sh -c \"mkfifo /tmp/p" ascii
$x04 = "sh -i </tmp/p 2>&1" ascii
$x05 = "if string.match(hdr:body(), \"^[%w%+/=" ascii
$x06 = "setsid sh -c \"/sbin/BarracudaMailService eth0\""
$x07 = "echo \"set the bvp ok\""
$x08 = "find ${path} -type f ! -name $excludeFileNameKeyword | while read line ;"
$x09 = " /mail/mstore | xargs -i cp {} /usr/share/.uc/"
$x10 = "tar -T /mail/mstore/tmplist -czvf "
$sa1 = "sh -c wget --no-check-certificate http"
$sa2 = ".tar;chmod +x "
condition:
1 of ( $x* ) or all of ( $sa* )
}
Strings (12 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x01 | Text | "=;ee=ba;G=s;_ech_o $abcdefg_${ee}se64" | ascii |
| $x02 | Text | ";echo $abcdefg | base64 -d | sh" | ascii |
| $x03 | Text | "setsid sh -c \"mkfifo /tmp/p" | ascii |
| $x04 | Text | "sh -i </tmp/p 2>&1" | ascii |
| $x05 | Text | "if string.match(hdr:body(), \"^[%w%+/=" | ascii |
| $x06 | Text | "setsid sh -c \"/sbin/BarracudaMailService eth0\"" | |
| $x07 | Text | "echo \"set the bvp ok\"" | |
| $x08 | Text | "find ${path} -type f ! -name $excludeFileNameKeyword | while read line ;" | |
| $x09 | Text | " /mail/mstore | xargs -i cp {} /usr/share/.uc/" | |
| $x10 | Text | "tar -T /mail/mstore/tmplist -czvf " | |
| $sa1 | Text | "sh -c wget --no-check-certificate http" | |
| $sa2 | Text | ".tar;chmod +x " |
Bedingung
1 of ( $x* ) or all of ( $sa* )In Worten (Heuristik)
- Alle Muster aus ( $sa* ) müssen treffen.
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Lizenz & Namensnennung
Autor: Florian Roth
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 50518fa1-33de-5fe5-b957-904d976fb29a
Tags:SCRIPTCVE_2023_2868
Verwandte Regeln
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-16
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-09
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-04-25
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-04-25
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-04-15
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-22
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-16