Zum Inhalt springen

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Js_Sharpext

A malicious Chrome browser extension used by the SharpPine threat actor to steal Gmail data from a victim.

APT / AkteurVolexity threat-intelBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
threatintel@volexity.com
Datum
2021-09-14
Geändert
2025-05-21
Score / Qualität
75 / 80

Was diese Regel erkennt

A malicious Chrome browser extension used by the SharpPine threat actor to steal Gmail data from a victim.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-malware-js-sharpext.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Js_Sharpext : SHARPPINE FILE MEMORY
{
	meta:
		description = "A malicious Chrome browser extension used by the SharpPine threat actor to steal Gmail data from a victim."
		author = "threatintel@volexity.com"
		id = "61b5176a-ff73-5fce-bc70-c9e09bb5afed"
		date = "2021-09-14"
		modified = "2025-05-21"
		reference = "https://github.com/volexity/threat-intel"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-07-28 SharpTongue SharpTongue Deploys Clever Mail-Stealing Browser Extension SHARPEXT/yara.yar#L1-L52"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "1c9664513fe226beb53268b58b11dacc35b80a12c50c22b76382304badf4eb00"
		hash = "6025c66c2eaae30c0349731beb8a95f8a5ba1180c5481e9a49d474f4e1bb76a4"
		hash = "6594b75939bcdab4253172f0fa9066c8aee2fa4911bd5a03421aeb7edcd9c90c"
		logic_hash = "0ed58c8646582ee36aeac650fac02d1e4962d45c0f6a24783c021d9267bed192"
		score = 75
		quality = 80
		tags = "SHARPPINE, FILE, MEMORY"
		os = "all"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 5916
		version = 5

	strings:
		$s1 = "\"mode=attach&name=\"" ascii
		$s2 = "\"mode=new&mid=\"" ascii
		$s3 = "\"mode=attlist\"" ascii
		$s4 = "\"mode=list\"" ascii
		$s5 = "\"mode=domain\"" ascii
		$s6 = "\"mode=black\"" ascii
		$s7 = "\"mode=newD&d=\"" ascii
		$mark1 = "chrome.runtime.onMessage.addListener" ascii
		$mark2 = "chrome.webNavigation.onCompleted.addListener" ascii
		$enc1 = "function BSue(string){" ascii
		$enc2 = "function BSE(input){" ascii
		$enc3 = "function bin2hex(byteArray)" ascii
		$xhr1 = ".send(\"mode=cd1" ascii
		$xhr2 = ".send(\"mode=black" ascii
		$xhr3 = ".send(\"mode=domain" ascii
		$xhr4 = ".send(\"mode=list" ascii
		$manifest1 = "\"description\":\"advanced font\"," ascii
		$manifest2 = "\"scripts\":[\"bg.js\"]" ascii
		$manifest3 = "\"devtools_page\":\"dev.html\"" ascii

	condition:
		(5 of ( $s* ) and all of ( $mark* ) ) or all of ( $enc* ) or 3 of ( $xhr* ) or 2 of ( $manifest* )
}

Strings (19 Muster)

BezeichnerTypWertModifikatoren
$s1Text"\"mode=attach&name=\""ascii
$s2Text"\"mode=new&mid=\""ascii
$s3Text"\"mode=attlist\""ascii
$s4Text"\"mode=list\""ascii
$s5Text"\"mode=domain\""ascii
$s6Text"\"mode=black\""ascii
$s7Text"\"mode=newD&d=\""ascii
$mark1Text"chrome.runtime.onMessage.addListener"ascii
$mark2Text"chrome.webNavigation.onCompleted.addListener"ascii
$enc1Text"function BSue(string){"ascii
$enc2Text"function BSE(input){"ascii
$enc3Text"function bin2hex(byteArray)"ascii
$xhr1Text".send(\"mode=cd1"ascii
$xhr2Text".send(\"mode=black"ascii
$xhr3Text".send(\"mode=domain"ascii
$xhr4Text".send(\"mode=list"ascii
$manifest1Text"\"description\":\"advanced font\","ascii
$manifest2Text"\"scripts\":[\"bg.js\"]"ascii
$manifest3Text"\"devtools_page\":\"dev.html\""ascii

Bedingung

(5 of ( $s* ) and all of ( $mark* ) ) or all of ( $enc* ) or 3 of ( $xhr* ) or 2 of ( $manifest* )

In Worten (Heuristik)

  • Alle Muster aus ( $mark* ) müssen treffen.
  • Alle Muster aus ( $enc* ) müssen treffen.
  • Mindestens 5 Muster aus ( $s* ) müssen treffen.
  • Mindestens 3 Muster aus ( $xhr* ) müssen treffen.
  • Mindestens 2 Muster aus ( $manifest* ) 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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 1c9664513fe226beb53268b58b11dacc35b80a12c50c22b76382304badf4eb00
  • 6025c66c2eaae30c0349731beb8a95f8a5ba1180c5481e9a49d474f4e1bb76a4
  • 6594b75939bcdab4253172f0fa9066c8aee2fa4911bd5a03421aeb7edcd9c90c

Lizenz & Namensnennung

Autor: threatintel@volexity.com

Quell-Repository: Volexity threat-intel @ 3a9d0b5245

Lizenz: BSD 2-Clause License (in den Metadaten der Regel angegeben)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Copyright-Hinweis: Copyright 2022 by Volexity, Inc.

Originalregel

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

Regel-ID: 61b5176a-ff73-5fce-bc70-c9e09bb5afed

Metadaten

osall
os_archall
scan_contextfile,memory
severitycritical
rule_id5916
version5

Tags:SHARPPINEFILEMEMORY