Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_PS1_Combo_Transfersh_Feb24

Detects suspicious PowerShell command that downloads content from transfer.sh as often found in loaders

Suspect / chasseSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Florian Roth
Date
2024-02-23
Modifiée
2024-04-24
Score / Qualité
70 / 85

Ce que détecte cette règle

Detects suspicious PowerShell command that downloads content from transfer.sh as often found in loaders

Elle définit 4 motifs (4 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

susp-ps1-combo-transfersh-feb24.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_PS1_Combo_Transfersh_Feb24 : SCRIPT
{
	meta:
		description = "Detects suspicious PowerShell command that downloads content from transfer.sh as often found in loaders"
		author = "Florian Roth"
		id = "fd14cca5-9cf8-540b-9d6e-39ca2c267272"
		date = "2024-02-23"
		modified = "2024-04-24"
		reference = "https://www.huntress.com/blog/slashandgrab-screen-connect-post-exploitation-in-the-wild-cve-2024-1709-cve-2024-1708"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_connectwise_screenconnect_vuln_feb24.yar#L120-L135"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "64d4343ecdcbc4a28571557bec2f31c1ff73c2ecf63d0feaa0a71001bb9bf499"
		score = 70
		quality = 85
		tags = "SCRIPT"

	strings:
		$x1 = ".DownloadString('https://transfer.sh"
		$x2 = ".DownloadString(\"https://transfer.sh"
		$x3 = "Invoke-WebRequest -Uri 'https://transfer.sh"
		$x4 = "Invoke-WebRequest -Uri \"https://transfer.sh"

	condition:
		1 of them
}

Chaînes (4 motifs)

IdentifiantTypeValeurModificateurs
$x1texte".DownloadString('https://transfer.sh"
$x2texte".DownloadString(\"https://transfer.sh"
$x3texte"Invoke-WebRequest -Uri 'https://transfer.sh"
$x4texte"Invoke-WebRequest -Uri \"https://transfer.sh"

Condition

1 of them

En clair (Heuristique)

  • Au moins 1 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.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Florian Roth

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

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: fd14cca5-9cf8-540b-9d6e-39ca2c267272

Tags:SCRIPT