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.
- Autor
- threatintel@volexity.com
- Datum
- 2021-03-01
- Geändert
- 2023-12-05
- Score / Qualität
- 75 / 85
Was diese Regel erkennt
A simple ASPX Webshell that allows an attacker to write further files to disk.
Sie definiert 2 Muster (2 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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
}
Strings (2 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $header | Text | "<%@ Page Language=\"C#\" %>" | |
| $body | Text | "<% HttpPostedFile thisFile = Request.Files[0];thisFile.SaveAs(Path.Combine" |
Bedingung
$header at 0 and $body and filesize < 1KBIn Worten (Heuristik)
- Die Datei muss kleiner als 1KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Muster $header muss an Offset 0 stehen.
- Muster $body muss vorhanden sein.
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.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 893cd3583b49cb706b3e55ecb2ed0757b977a21f5c72e041392d1256f31166e2
Lizenz & Namensnennung
Autor: threatintel@volexity.com
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: 469fdf5c-e09e-5d44-a2e6-0864dcd0e18a
Verwandte Regeln
- APT / AkteurSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-04-23
- APT / AkteurSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-22
- HacktoolSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- APT / AkteurSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-23