APT_SharpTongue_JS_SharpExt_Chrome_Extension
Description
A malicious Chrome browser extention used by the SharpTongue threat actor to steal mail data from a victim
Query · yara
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*)