Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Malware_Httpshell_Strings

Detects HTTPShell based on URL patterns

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2024-01-08
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects HTTPShell based on URL patterns

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

malware-httpshell-strings.yarDetection Rule License 1.1
rule SEKOIA_Malware_Httpshell_Strings : FILE
{
	meta:
		description = "Detects HTTPShell based on URL patterns"
		author = "Sekoia.io"
		id = "58f25666-5dc2-4f4f-9fac-fc05d1e66945"
		date = "2024-01-08"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_httpshell_strings.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "8f6f6ad459cc6edd80432528a507ca2cb84e6859be94f2e1caaea801bf809375"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "/api/v1/Client/Info" wide ascii
		$ = "/api/v1/Client/Download" wide ascii
		$ = "/api/v1/Client/Upload" wide ascii
		$ = "/api/v1/Client/Info" base64 base64wide
		$ = "/api/v1/Client/Download" base64 base64wide
		$ = "/api/v1/Client/Upload" base64 base64wide

	condition:
		3 of them and filesize < 5MB
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$texte"/api/v1/Client/Info"wide ascii
$texte"/api/v1/Client/Download"wide ascii
$texte"/api/v1/Client/Upload"wide ascii
$texte"/api/v1/Client/Info"base64 base64wide
$texte"/api/v1/Client/Download"base64 base64wide
$texte"/api/v1/Client/Upload"base64 base64wide

Condition

3 of them and filesize < 5MB

En clair (Heuristique)

  • Le fichier doit faire moins de 5MB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 3 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 : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

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: 58f25666-5dc2-4f4f-9fac-fc05d1e66945

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE