Zum Inhalt springen

YARA · Volexity threat-intel

VOLEXITY_Apt_Webshell_Aspx_Sportsball

The SPORTSBALL webshell, observed in targeted Microsoft Exchange attacks in 2021. SPORTSBALL was later discovered to be a variant of HYPERSHELL, a publicly available webshell.

APT / AkteurVolexity threat-intelBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
threatintel@volexity.com
Datum
2021-03-01
Geändert
2025-07-24
Score / Qualität
75 / 80

Was diese Regel erkennt

The SPORTSBALL webshell, observed in targeted Microsoft Exchange attacks in 2021. SPORTSBALL was later discovered to be a variant of HYPERSHELL, a publicly available webshell.

Sie definiert 8 Muster (8 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-webshell-aspx-sportsball.yarBSD 2-Clause License
rule VOLEXITY_Apt_Webshell_Aspx_Sportsball : FILE MEMORY
{
	meta:
		description = "The SPORTSBALL webshell, observed in targeted Microsoft Exchange attacks in 2021. SPORTSBALL was later discovered to be a variant of HYPERSHELL, a publicly available webshell."
		author = "threatintel@volexity.com"
		id = "25b23a4c-8fc7-5d6f-b4b5-46fe2c1546d8"
		date = "2021-03-01"
		modified = "2025-07-24"
		reference = "https://github.com/misterch0c/APT34/blob/e62f3d14ec78bea5c98d3c895162ca1e47676c18/Webshells_and_Panel/HyperShell/HyperShell/Shell/simple.aspx"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2021/2021-03-02 - Operation Exchange Marauder/indicators/yara.yar#L57-L89"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "2fa06333188795110bba14a482020699a96f76fb1ceb80cbfa2df9d3008b5b0a"
		logic_hash = "5ec5e52922e97a3080d397b69b2f42f09daa995271e218ea085fa2ec4e3abad2"
		score = 75
		quality = 80
		tags = "FILE, MEMORY"
		os = "win"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 4968
		version = 6

	strings:
		$uniq1 = "HttpCookie newcook = new HttpCookie(\"fqrspt\", HttpContext.Current.Request.Form"
		$uniq2 = "ZN2aDAB4rXsszEvCLrzgcvQ4oi5J1TuiRULlQbYwldE="
		$s1 = "Result.InnerText = string.Empty;"
		$s2 = "newcook.Expires = DateTime.Now.AddDays("
		$s3 = "System.Diagnostics.Process process = new System.Diagnostics.Process();"
		$s4 = "process.StandardInput.WriteLine(HttpContext.Current.Request.Form[\""
		$s5 = "else if (!string.IsNullOrEmpty(HttpContext.Current.Request.Form[\""
		$s6 = "<input type=\"submit\" value=\"Upload\" />"

	condition:
		any of ( $uniq* ) or all of ( $s* )
}

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$uniq1Text"HttpCookie newcook = new HttpCookie(\"fqrspt\", HttpContext.Current.Request.Form"
$uniq2Text"ZN2aDAB4rXsszEvCLrzgcvQ4oi5J1TuiRULlQbYwldE="
$s1Text"Result.InnerText = string.Empty;"
$s2Text"newcook.Expires = DateTime.Now.AddDays("
$s3Text"System.Diagnostics.Process process = new System.Diagnostics.Process();"
$s4Text"process.StandardInput.WriteLine(HttpContext.Current.Request.Form[\""
$s5Text"else if (!string.IsNullOrEmpty(HttpContext.Current.Request.Form[\""
$s6Text"<input type=\"submit\" value=\"Upload\" />"

Bedingung

any of ( $uniq* ) or all of ( $s* )

In Worten (Heuristik)

  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens ein Muster aus ( $uniq* ) muss 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.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 2fa06333188795110bba14a482020699a96f76fb1ceb80cbfa2df9d3008b5b0a

Lizenz & Namensnennung

Autor: threatintel@volexity.com

Quell-Repository: Volexity threat-intel @ 3a9d0b5245

Lizenz: BSD 2-Clause License (in den Metadaten der Regel angegeben)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Copyright-Hinweis: Copyright 2022 by Volexity, Inc.

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 25b23a4c-8fc7-5d6f-b4b5-46fe2c1546d8

Metadaten

oswin
os_archall
scan_contextfile,memory
severitycritical
rule_id4968
version6

Tags:FILEMEMORY