YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_WEBSHELL_ASPX_Simpleseesharp
A simple ASPX Webshell that allows an attacker to write further files to disk.
- Auteur
- threatintel@volexity.com
- Date
- 2021-03-01
- Modifiée
- 2023-12-05
- Score / Qualité
- 75 / 85
Ce que détecte cette règle
A simple ASPX Webshell that allows an attacker to write further files to disk.
Elle définit 2 motifs (2 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
rule SIGNATURE_BASE_WEBSHELL_ASPX_Simpleseesharp : WEBSHELL UNCLASSIFIED FILE
{
meta:
= "A simple ASPX Webshell that allows an attacker to write further files to disk."
= "threatintel@volexity.com"
= "469fdf5c-e09e-5d44-a2e6-0864dcd0e18a"
= "2021-03-01"
= "2023-12-05"
= "https://www.volexity.com/blog/2021/03/02/active-exploitation-of-microsoft-exchange-zero-day-vulnerabilities/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_hafnium.yar#L121-L136"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "893cd3583b49cb706b3e55ecb2ed0757b977a21f5c72e041392d1256f31166e2"
= "6f62249a68bae94e5cbdb4319ea5cde9dc071ec7a4760df3aafe78bc1e072c30"
= 75
= 85
= "WEBSHELL, UNCLASSIFIED, FILE"
strings:
$header = "<%@ Page Language=\"C#\" %>"
$body = "<% HttpPostedFile thisFile = Request.Files[0];thisFile.SaveAs(Path.Combine"
condition:
$header at 0 and $body and filesize < 1KB
}
Chaînes (2 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $header | texte | "<%@ Page Language=\"C#\" %>" | |
| $body | texte | "<% HttpPostedFile thisFile = Request.Files[0];thisFile.SaveAs(Path.Combine" |
Condition
$header at 0 and $body and filesize < 1KBEn clair (Heuristique)
- Le fichier doit faire moins de 1KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Le motif $header doit se trouver à l’offset 0.
- Le motif $body doit être présent.
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é.
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 893cd3583b49cb706b3e55ecb2ed0757b977a21f5c72e041392d1256f31166e2
Licence et attribution
Auteur : threatintel@volexity.com
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: 469fdf5c-e09e-5d44-a2e6-0864dcd0e18a
Règles liées
- APT / acteurSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-04-23
- APT / acteurSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-22
- Outil offensifSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- APT / acteurSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-23