YARA · elceef yara-rulz
ELCEEF_EICAR_Encrypted_ZIP
Detects EICAR file in any encrypted ZIP archive
- Autor
- marcin@ulikowski.pl
- Datum
- 2022-12-13
- Geändert
- 2022-12-16
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects EICAR file in any encrypted ZIP archive
Sie definiert 1 Muster (0 Text, 1 Hex, 0 Regex).
YARA-X meldet: warning[potentially_slow_loop]: potentially slow loop
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
eicar-encrypted-zip.yarMIT License
rule ELCEEF_EICAR_Encrypted_ZIP
{
meta:
= "Detects EICAR file in any encrypted ZIP archive"
= "marcin@ulikowski.pl"
= "c12d42de-356a-584b-9c48-71e65940f1cf"
= "2022-12-13"
= "2022-12-16"
= "https://github.com/elceef/yara-rulz"
= "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/EICAR_Encrypted_ZIP.yara#L14-L44"
= "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE"
= "56851056671bde38338bd200d9fde59c042f35a2cd84ac9401e716f376c9502c"
= 75
= 75
= ""
strings:
$local = {
50 4b 03 04 // local file header signature (PK)
?? 00 // minimum version
?? 00 // flags (bit 0 and 6 indicate encryption)
?? 00 // compression method
?? ?? // last modification time
?? ?? // last modification date
?? ?? ?? ?? // CRC-32 of uncompressed and unencrypted data
?? ?? ?? ?? // compressed size
?? ?? ?? ?? // uncompressed size
}
condition:
for any i in ( 1 .. #local ) : ( ( uint8( @local [ i ] + 6 ) & 0x01 or uint8( @local [ i ] + 6 ) & 0x40 ) and uint32( @local [ i ] + 14 ) == 0x6851cf3c and uint32( @local [ i ] + 22 ) == 68 )
}
Strings (1 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $local | Hex | { 50 4b 03 04 // local file header signature (PK) ?? 00 // minimum version ?? 00 // flags (bit 0 and 6 indicate encryption) ?? 00 // compression met … |
Bedingung
for any i in ( 1 .. #local ) : ( ( uint8( @local [ i ] + 6 ) & 0x01 or uint8( @local [ i ] + 6 ) & 0x40 ) and uint32( @local [ i ] + 14 ) == 0x6851cf3c and uint32( @local [ i ] + 22 ) == 68 )In Worten (Heuristik)
- Eine for-Schleife prüft eine Eigenschaft über mehrere Treffer oder Elemente.
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.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Lizenz & Namensnennung
Autor: marcin@ulikowski.pl
Quell-Repository: elceef yara-rulz @ 5683b294a1
Lizenz: MIT License (Repository-Lizenz)
Copyright-Hinweis: Copyright (c) 2022 Marcin Ulikowski
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: c12d42de-356a-584b-9c48-71e65940f1cf
Verwandte Regeln
- Exploitelceef yara-rulz· marcin@ulikowski.pl· 2025-08-18
- Generischelceef yara-rulz· marcin@ulikowski.pl· 2024-04-10
- Generischelceef yara-rulz· marcin@ulikowski.pl· 2023-05-05
- Verdächtig / Huntingelceef yara-rulz· marcin@ulikowski.pl· 2023-05-01
- Generischelceef yara-rulz· marcin@ulikowski.pl· 2023-04-17
- Exploitelceef yara-rulz· marcin@ulikowski.pl· 2023-09-23
- Generischelceef yara-rulz· marcin@ulikowski.pl· 2023-03-08
- Generischelceef yara-rulz· marcin@ulikowski.pl· 2022-10-25