ETDA สำนักงานพัฒนาธุรกรรมทางอิเล็กทรอนิกส์
Electronic Transactions Development Agency
Report
Search
Home > List all groups > List all tools > List all groups using tool TwoFace

Threat Group Cards: A Threat Actor Encyclopedia

Permanent link Tool: TwoFace

NamesTwoFace
Minion
HighShell
HyperShell
SEASHARPEE
CategoryMalware
TypeBackdoor, Info stealer, Exfiltration
DescriptionAccording to Unit42, TwoFace is a two-staged (loader+payload) webshell, written in C# and meant to run on webservers with ASP.NET. The author of the initial loader webshell included legitimate and expected content that will be displayed if a visitor accesses the shell in a browser, likely to remain undetected. The code in the loader webshell includes obfuscated variable names and the embedded payload is encoded and encrypted. To interact with the loader webshell, the threat actor uses HTTP POST requests to the compromised server.

The secondary webshell, which we call the payload, is embedded within the loader in encrypted form and contains additional functionality that we will discuss in further detail. When the threat actor wants to interact with the remote server, they provide data that the loader will use to modify a decryption key embedded within the loader that will be in turn used to decrypt the embedded TwoFace payload. Commands supported by the payload are execution of programs, up-, download and deletion of files and capability to manipulate MAC timestamps.
Information<https://unit42.paloaltonetworks.com/unit42-twoface-webshell-persistent-access-point-lateral-movement/>
<https://unit42.paloaltonetworks.com/unit42-oilrig-performs-tests-twoface-webshell/>
<https://www.zdnet.com/article/source-code-of-iranian-cyber-espionage-tools-leaked-on-telegram/>
MITRE ATT&CK<https://attack.mitre.org/software/S0185/>
Malpedia<https://malpedia.caad.fkie.fraunhofer.de/details/asp.twoface>

Last change to this tool card: 13 May 2020

Download this tool card in JSON format

All groups using tool TwoFace

ChangedNameCountryObserved

APT groups

 Emissary Panda, APT 27, LuckyMouse, Bronze UnionChina2010-Aug 2023 
XOilRig, APT 34, Helix Kitten, ChryseneIran2014-Sep 2024 HOTX
 UNC215China2019 

3 groups listed (3 APT, 0 other, 0 unknown)

Digital Service Security Center
Electronic Transactions Development Agency

Follow us on

Facebook Twitter

Report incidents

Telephone +66 (0)2-123-1227
E-mail [email protected]