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.
- Autor
- threatintel@volexity.com
- Fecha
- 2021-09-14
- Modificada
- 2025-05-21
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
A malicious Chrome browser extension used by the SharpPine threat actor to steal Gmail data from a victim.
Define 19 patrones (19 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule VOLEXITY_Apt_Malware_Js_Sharpext : SHARPPINE FILE MEMORY
{
meta:
= "A malicious Chrome browser extension used by the SharpPine threat actor to steal Gmail data from a victim."
= "threatintel@volexity.com"
= "61b5176a-ff73-5fce-bc70-c9e09bb5afed"
= "2021-09-14"
= "2025-05-21"
= "https://github.com/volexity/threat-intel"
= "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"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "1c9664513fe226beb53268b58b11dacc35b80a12c50c22b76382304badf4eb00"
= "6025c66c2eaae30c0349731beb8a95f8a5ba1180c5481e9a49d474f4e1bb76a4"
= "6594b75939bcdab4253172f0fa9066c8aee2fa4911bd5a03421aeb7edcd9c90c"
= "0ed58c8646582ee36aeac650fac02d1e4962d45c0f6a24783c021d9267bed192"
= 75
= 80
= "SHARPPINE, FILE, MEMORY"
= "all"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 5916
= 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* )
}
Cadenas (19 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "\"mode=attach&name=\"" | ascii |
| $s2 | texto | "\"mode=new&mid=\"" | ascii |
| $s3 | texto | "\"mode=attlist\"" | ascii |
| $s4 | texto | "\"mode=list\"" | ascii |
| $s5 | texto | "\"mode=domain\"" | ascii |
| $s6 | texto | "\"mode=black\"" | ascii |
| $s7 | texto | "\"mode=newD&d=\"" | ascii |
| $mark1 | texto | "chrome.runtime.onMessage.addListener" | ascii |
| $mark2 | texto | "chrome.webNavigation.onCompleted.addListener" | ascii |
| $enc1 | texto | "function BSue(string){" | ascii |
| $enc2 | texto | "function BSE(input){" | ascii |
| $enc3 | texto | "function bin2hex(byteArray)" | ascii |
| $xhr1 | texto | ".send(\"mode=cd1" | ascii |
| $xhr2 | texto | ".send(\"mode=black" | ascii |
| $xhr3 | texto | ".send(\"mode=domain" | ascii |
| $xhr4 | texto | ".send(\"mode=list" | ascii |
| $manifest1 | texto | "\"description\":\"advanced font\"," | ascii |
| $manifest2 | texto | "\"scripts\":[\"bg.js\"]" | ascii |
| $manifest3 | texto | "\"devtools_page\":\"dev.html\"" | ascii |
Condición
(5 of ( $s* ) and all of ( $mark* ) ) or all of ( $enc* ) or 3 of ( $xhr* ) or 2 of ( $manifest* )En palabras sencillas (Heurística)
- Deben coincidir todos los patrones de ( $mark* ).
- Deben coincidir todos los patrones de ( $enc* ).
- Deben coincidir al menos 5 patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de ( $xhr* ).
- Deben coincidir al menos 2 patrones de ( $manifest* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 1c9664513fe226beb53268b58b11dacc35b80a12c50c22b76382304badf4eb00
- 6025c66c2eaae30c0349731beb8a95f8a5ba1180c5481e9a49d474f4e1bb76a4
- 6594b75939bcdab4253172f0fa9066c8aee2fa4911bd5a03421aeb7edcd9c90c
Licencia y atribución
Autor: threatintel@volexity.com
Repositorio de origen: Volexity threat-intel @ 3a9d0b5245
Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Aviso de copyright: Copyright 2022 by Volexity, Inc.
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 61b5176a-ff73-5fce-bc70-c9e09bb5afed
Metadatos
| os | all |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 5916 |
| version | 5 |
Reglas relacionadas
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-02
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03