Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Tool_Powershell_Unicorn

Detects Unicorn Powershell

HacktoolUnicornSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-08-23
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects Unicorn Powershell

Zugehörige Malware-Familie: Unicorn.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

tool-powershell-unicorn.yarDetection Rule License 1.1
rule SEKOIA_Tool_Powershell_Unicorn : FILE
{
	meta:
		description = "Detects Unicorn Powershell"
		author = "Sekoia.io"
		id = "287c1669-2ee1-488e-bf66-a99bfe309c90"
		date = "2022-08-23"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_powershell_unicorn.yar#L1-L17"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "8be79789cf77d4f304d9fef4ad6a2d2ac7686b015fff3301fb3e369f2f06230a"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = ").value.toString() ('JAB" ascii wide
		$ = ").value.toString());powershell (" ascii wide
		$ = "powershell /w 1 " ascii wide

	condition:
		all of them and filesize < 100KB
}

Strings (3 Muster)

BezeichnerTypWertModifikatoren
$Text").value.toString() ('JAB"ascii wide
$Text").value.toString());powershell ("ascii wide
$Text"powershell /w 1 "ascii wide

Bedingung

all of them and filesize < 100KB

In Worten (Heuristik)

  • Die Datei muss kleiner als 100KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Alle Muster aus der Regel müssen 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

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

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

Regel-ID: 287c1669-2ee1-488e-bf66-a99bfe309c90

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE