Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Arcrypt

Detects ARCrypt / ChileLocker ransomware

MalwareArcryptditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 75

Was diese Regel erkennt

Detects ARCrypt / ChileLocker ransomware

Zugehörige Malware-Familie: Arcrypt.

Ziele: Windows-PE.

Sie definiert 19 Muster (18 Text, 0 Hex, 1 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-arcrypt.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Arcrypt : FILE
{
	meta:
		description = "Detects ARCrypt / ChileLocker ransomware"
		author = "ditekSHen"
		id = "a53bbae6-a321-549d-9d45-e1a408d08740"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10373-L10399"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "cc9fa68d093fdf9745a06beb28e29108cb2ba846122ce097ad892213b1edba25"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$c1 = "readme_for_unlock.txt" wide
		$c2 = "vssadmin.exe delete shadows /all /quiet" wide
		$c3 = "START /b \"\" cmd /c wmic /node:" wide
		$c4 = "START /b \"\" cmd /c DEL \"" wide
		$c5 = "process call create cmd /c START" wide
		$c6 = "net config server /autodisconnect:" wide
		$c7 = "/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f" ascii
		$c8 = ":\\_ARC\\_WorkSolution\\cryptopp" ascii
		$e1 = /\.crYpt([A-F]{0,1}(\d+)?)?/ fullword wide
		$e2 = ".dnt___.crYpt" wide nocase
		$s1 = "create_directory" fullword ascii
		$s2 = "create_directories" fullword ascii
		$s3 = "NoClose" fullword ascii
		$s4 = "StartMenuLogOff" fullword ascii
		$s5 = "NoLogOff" fullword ascii
		$s6 = "DisableTaskMgr" fullword ascii
		$s7 = "DisableChangePassword" fullword ascii
		$s8 = "HideFastUserSwitching" fullword ascii
		$s9 = "RemotePath" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )
}

Strings (19 Muster)

BezeichnerTypWertModifikatoren
$c1Text"readme_for_unlock.txt"wide
$c2Text"vssadmin.exe delete shadows /all /quiet"wide
$c3Text"START /b \"\" cmd /c wmic /node:"wide
$c4Text"START /b \"\" cmd /c DEL \""wide
$c5Text"process call create cmd /c START"wide
$c6Text"net config server /autodisconnect:"wide
$c7Text"/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f"ascii
$c8Text":\\_ARC\\_WorkSolution\\cryptopp"ascii
$e1Regex/\.crYpt([A-F]{0,1}(\d+)?)?/fullword wide
$e2Text".dnt___.crYpt"wide nocase
$s1Text"create_directory"fullword ascii
$s2Text"create_directories"fullword ascii
$s3Text"NoClose"fullword ascii
$s4Text"StartMenuLogOff"fullword ascii
$s5Text"NoLogOff"fullword ascii
$s6Text"DisableTaskMgr"fullword ascii
$s7Text"DisableChangePassword"fullword ascii
$s8Text"HideFastUserSwitching"fullword ascii
$s9Text"RemotePath"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $e* ) müssen treffen.
  • Mindestens 5 Muster aus ( $c* ) müssen treffen.
  • Mindestens 7 Muster aus ( $s* ) müssen treffen.
  • Mindestens 3 Muster aus ( $c* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $e* ) müssen treffen.
  • Mindestens 1 Muster aus ( $c* ) müssen treffen.
  • Mindestens 1 Muster aus ( $s* ) 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: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

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

Regel-ID: a53bbae6-a321-549d-9d45-e1a408d08740

Tags:FILE