YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_ASPX_HAFNIUM_Chopper_Mar21_4
Detects HAFNIUM ASPX files dropped on compromised servers
- Auteur
- Florian Roth (Nextron Systems)
- Date
- 2021-03-07
- Modifiée
- 2023-12-05
- Score / Qualité
- 85 / 79
Ce que détecte cette règle
Detects HAFNIUM ASPX files dropped on compromised servers
Elle définit 3 motifs (3 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
apt-mal-aspx-hafnium-chopper-mar21-4.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_MAL_ASPX_HAFNIUM_Chopper_Mar21_4 : FILE
{
meta:
= "Detects HAFNIUM ASPX files dropped on compromised servers"
= "Florian Roth (Nextron Systems)"
= "93f5b682-642d-5edf-84a9-296bf12cd72b"
= "2021-03-07"
= "2023-12-05"
= "https://www.microsoft.com/security/blog/2021/03/02/hafnium-targeting-exchange-servers/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_hafnium.yar#L218-L233"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "933ab74a0e30e2a728444d491c9eb0ff134db05d905aeb48efe3ba65674a3730"
= 85
= 79
= "FILE"
strings:
$s1 = "<%@Page Language=\"Jscript\"%>" ascii wide nocase
$s2 = ".FromBase64String(" ascii wide nocase
$s3 = "eval(System.Text.Encoding." ascii wide nocase
condition:
filesize < 850 and all of them
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "<%@Page Language=\"Jscript\"%>" | ascii wide nocase |
| $s2 | texte | ".FromBase64String(" | ascii wide nocase |
| $s3 | texte | "eval(System.Text.Encoding." | ascii wide nocase |
Condition
filesize < 850 and all of themEn clair (Heuristique)
- Le fichier doit faire moins de 850 (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de la règle doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Licence et attribution
Auteur : Florian Roth (Nextron Systems)
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 93f5b682-642d-5edf-84a9-296bf12cd72b
Tags:FILE
Règles liées
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24