Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Redline_Strings

Finds Redline samples based on characteristic strings

MalwareRedLineSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-09-07
Geändert
2024-12-19
Score / Qualität
75 / 78

Was diese Regel erkennt

Finds Redline samples based on characteristic strings

Zugehörige Malware-Familie: RedLine.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

infostealer-win-redline-strings.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Redline_Strings : FILE
{
	meta:
		description = "Finds Redline samples based on characteristic strings"
		author = "Sekoia.io"
		id = "0c9fcb0e-ce8f-44f4-90b2-abafcdd6c02e"
		date = "2022-09-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_redline_strings.yar#L1-L47"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "44443e16b788231b3f256b4d1e91c458c33963d5737d69fc5850f6b0efa7726b"
		score = 75
		quality = 78
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$gen01 = "ChromeGetRoamingName" ascii
		$gen02 = "ChromeGetLocalName" ascii
		$gen03 = "get_UserDomainName" ascii
		$gen04 = "get_encrypted_key" ascii
		$gen05 = "browserPaths" ascii
		$gen06 = "GetBrowsers" ascii
		$gen07 = "get_InstalledInputLanguages" ascii
		$gen08 = "BCRYPT_INIT_AUTH_MODE_INFO_VERSION" ascii
		$spe0 = "Profile_encrypted_value" wide
		$spe1 = "[AString-ZaString-z\\d]{2String4}\\.[String\\w-]{String6}\\.[\\wString-]{2String7}" wide
		$spe2 = "AFileSystemntivFileSystemirusPrFileSystemoduFileSystemct|AntiFileSystemSpyWFileSystemareProFileSystemduct|FireFileSystemwallProdFileSystemuct" wide
		$spe3 = "OpHandlerenVPHandlerN ConHandlernect%DSK_23%Opera GXcookies" wide
		$spe4 = "//settinString.Removeg[@name=\\PasswString.Removeord\\]/valuString.RemoveeROOT\\SecurityCenter" wide
		$spe5 = "ROOT\\SecurityCenter2Web DataSteamPath" wide
		$spe6 = "windows-1251, CommandLine:" wide
		$spe7 = "OFileInfopeFileInfora GFileInfoX StabFileInfole" wide
		$spe8 = "ApGenericpDaGenericta\\RGenericoamiGenericng\\" wide
		$spe9 = "*wallet*" wide
		$typ01 = "359A00EF6C789FD4C18644F56C5D3F97453FFF20" ascii
		$typ02 = "F413CEA9BAA458730567FE47F57CC3C94DDF63C0" ascii
		$typ03 = "A937C899247696B6565665BE3BD09607F49A2042" ascii
		$typ04 = "D67333042BFFC20116BF01BC556566EC76C6F7E2" ascii
		$typ05 = "4E3D7F188A5F5102BEC5B820632BBAEC26839E63" ascii
		$typ06 = "FB10FF1AD09FE8F5CA3A85B06BC96596AF83B350" ascii
		$typ07 = "77A9683FAF2EC9EC3DABC09D33C3BD04E8897D60" ascii
		$typ08 = "A8F9B62160DF085B926D5ED70E2B0F6C95A25280" ascii
		$typ09 = "718D1294A5C2D3F3D70E09F2F473155C4F567201" ascii
		$typ10 = "2FBDC611D3D91C142C969071EA8A7D3D10FF6301" ascii
		$typ11 = "2A19BFD7333718195216588A698752C517111B02" ascii
		$typ12 = "EB7EF1973CDC295B7B08FE6D82B9ECDAD1106AF2" ascii
		$typ13 = "04EC68A0FC7D9B6A255684F330C28A4DCAB91F13" ascii

	condition:
		uint16( 0 ) == 0x5A4D and ( 7 of ( $gen* ) or 3 of ( $spe* ) or 2 of ( $typ* ) )
}

Strings (31 Muster)

BezeichnerTypWertModifikatoren
$gen01Text"ChromeGetRoamingName"ascii
$gen02Text"ChromeGetLocalName"ascii
$gen03Text"get_UserDomainName"ascii
$gen04Text"get_encrypted_key"ascii
$gen05Text"browserPaths"ascii
$gen06Text"GetBrowsers"ascii
$gen07Text"get_InstalledInputLanguages"ascii
$gen08Text"BCRYPT_INIT_AUTH_MODE_INFO_VERSION"ascii
$spe0Text"Profile_encrypted_value"wide
$spe1Text"[AString-ZaString-z\\d]{2String4}\\.[String\\w-]{String6}\\.[\\wString-]{2String7}"wide
$spe2Text"AFileSystemntivFileSystemirusPrFileSystemoduFileSystemct|AntiFileSystemSpyWFileSystemareProFileSystemduct|FireFileSystemwallProdFileSystemuct"wide
$spe3Text"OpHandlerenVPHandlerN ConHandlernect%DSK_23%Opera GXcookies"wide
$spe4Text"//settinString.Removeg[@name=\\PasswString.Removeord\\]/valuString.RemoveeROOT\\SecurityCenter"wide
$spe5Text"ROOT\\SecurityCenter2Web DataSteamPath"wide
$spe6Text"windows-1251, CommandLine:"wide
$spe7Text"OFileInfopeFileInfora GFileInfoX StabFileInfole"wide
$spe8Text"ApGenericpDaGenericta\\RGenericoamiGenericng\\"wide
$spe9Text"*wallet*"wide
$typ01Text"359A00EF6C789FD4C18644F56C5D3F97453FFF20"ascii
$typ02Text"F413CEA9BAA458730567FE47F57CC3C94DDF63C0"ascii
$typ03Text"A937C899247696B6565665BE3BD09607F49A2042"ascii
$typ04Text"D67333042BFFC20116BF01BC556566EC76C6F7E2"ascii
$typ05Text"4E3D7F188A5F5102BEC5B820632BBAEC26839E63"ascii
$typ06Text"FB10FF1AD09FE8F5CA3A85B06BC96596AF83B350"ascii
$typ07Text"77A9683FAF2EC9EC3DABC09D33C3BD04E8897D60"ascii
$typ08Text"A8F9B62160DF085B926D5ED70E2B0F6C95A25280"ascii
$typ09Text"718D1294A5C2D3F3D70E09F2F473155C4F567201"ascii
$typ10Text"2FBDC611D3D91C142C969071EA8A7D3D10FF6301"ascii
$typ11Text"2A19BFD7333718195216588A698752C517111B02"ascii
$typ12Text"EB7EF1973CDC295B7B08FE6D82B9ECDAD1106AF2"ascii
$typ13Text"04EC68A0FC7D9B6A255684F330C28A4DCAB91F13"ascii

Bedingung

uint16( 0 ) == 0x5A4D and ( 7 of ( $gen* ) or 3 of ( $spe* ) or 2 of ( $typ* ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 7 Muster aus ( $gen* ) müssen treffen.
  • Mindestens 3 Muster aus ( $spe* ) müssen treffen.
  • Mindestens 2 Muster aus ( $typ* ) 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: 0c9fcb0e-ce8f-44f4-90b2-abafcdd6c02e

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere RedLine-Regeln