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.
- Auteur
- threatintel@volexity.com
- Date
- 2021-09-14
- Modifiée
- 2025-05-21
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
A malicious Chrome browser extension used by the SharpPine threat actor to steal Gmail data from a victim.
Elle définit 19 motifs (19 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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* )
}
Chaînes (19 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "\"mode=attach&name=\"" | ascii |
| $s2 | texte | "\"mode=new&mid=\"" | ascii |
| $s3 | texte | "\"mode=attlist\"" | ascii |
| $s4 | texte | "\"mode=list\"" | ascii |
| $s5 | texte | "\"mode=domain\"" | ascii |
| $s6 | texte | "\"mode=black\"" | ascii |
| $s7 | texte | "\"mode=newD&d=\"" | ascii |
| $mark1 | texte | "chrome.runtime.onMessage.addListener" | ascii |
| $mark2 | texte | "chrome.webNavigation.onCompleted.addListener" | ascii |
| $enc1 | texte | "function BSue(string){" | ascii |
| $enc2 | texte | "function BSE(input){" | ascii |
| $enc3 | texte | "function bin2hex(byteArray)" | ascii |
| $xhr1 | texte | ".send(\"mode=cd1" | ascii |
| $xhr2 | texte | ".send(\"mode=black" | ascii |
| $xhr3 | texte | ".send(\"mode=domain" | ascii |
| $xhr4 | texte | ".send(\"mode=list" | ascii |
| $manifest1 | texte | "\"description\":\"advanced font\"," | ascii |
| $manifest2 | texte | "\"scripts\":[\"bg.js\"]" | ascii |
| $manifest3 | texte | "\"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* )En clair (Heuristique)
- Tous les motifs de ( $mark* ) doivent être trouvés.
- Tous les motifs de ( $enc* ) doivent être trouvés.
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 3 motifs de ( $xhr* ) doivent être trouvés.
- Au moins 2 motifs de ( $manifest* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Références
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 1c9664513fe226beb53268b58b11dacc35b80a12c50c22b76382304badf4eb00
- 6025c66c2eaae30c0349731beb8a95f8a5ba1180c5481e9a49d474f4e1bb76a4
- 6594b75939bcdab4253172f0fa9066c8aee2fa4911bd5a03421aeb7edcd9c90c
Licence et attribution
Auteur : threatintel@volexity.com
Dépôt source : Volexity threat-intel @ 3a9d0b5245
Licence : BSD 2-Clause License (indiquée dans les métadonnées de la règle)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Mention de copyright : Copyright 2022 by Volexity, Inc.
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 61b5176a-ff73-5fce-bc70-c9e09bb5afed
Métadonnées
| os | all |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 5916 |
| version | 5 |
Règles liées
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2022-11-02
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2022-11-03