PowerTaskel
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
К ним относится, в частности, PowerTaskel, непубличная модификация фреймворка под Windows.
Techniques & procedures
17 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The starting point is typically a phishing email with a malicious attachment... The first infection scheme uses a RAR archive with an executable file masquerading as a document... In the second case, the RAR archive contains a Microsoft Office document with a macro that serves as a dropper.
Execution
7 techniques
Execution
The following examples illustrate the execution chains observed on remote hosts: wmiprvse.exe -secured -Embedding -> cmd.exe / C mshta.exe ...
PowerTaskel v2 — «модифицированный PowerShell-агент Mythic», предназначенный для «выполнения полученных от него PowerShell-команд».
it first uses cmd.exe and output redirection to drop a JavaScript file named “UserCacheHelper.lnk.js” onto the disk...
В качестве точки запуска предположительно был задействован штатный сценарий сервиса RabbitMQ ... /opt/bitnami/scripts/rabbitmq/setup.sh
the launch of csc.exe... indicates that PowerTaskel has received a task to load a shellcode, which it accomplishes using an auxiliary DLL. The primary function of this DLL is to copy the shellcode into allocated memory.
When the user clicks the executable file, a decoy document is downloaded from the C2 and opened, while malicious activity is carried out in parallel.
PowerTaskel utilizes the PsExec utility... and is used to execute mshta.exe with system privileges... the argument “-s” specifies that the process it launches should run under the System account.
Privilege Escalation
1 technique
Privilege Escalation
PowerTaskel loads the Mythic agent from the C2 server, injects it into its own process memory, and runs it in a separate thread.
Stealth
3 techniques
Stealth
The shellcode... contains an obfuscated Mythic agent... the PowerModul code is embedded in the “UserCache.ini” file as a Base64-encoded string... request payloads are... encoded using XOR... and then converted to Base64.
PowerTaskel loads the Mythic agent from the C2 server, injects it into its own process memory, and runs it in a separate thread.
The PsExec utility... is used to execute mshta.exe with system privileges, passing a URL as an argument... The mshta.exe utility is still employed to launch the binary Mythic agent, with a URL passed as an argument.
Discovery
2 techniques
Discovery
PowerTaskel... sending information about the targeted environment to a C2 server in the form of a “checkin” message... Once launched, PowerTaskel interacts with its C2 server and executes standard commands to gather information about the system and environment.
The first task checks for the presence of the file “ntuser.exe” in the %ProgramData% directory, and if it is not found, downloads it from the C2 server.
Lateral Movement
2 techniques
Lateral Movement
FolderFileGrabber ... может загружать файлы с удаленных систем по жестко заданному сетевому пути через протокол SMB
the final line... reveals a call to the WinRM... service... via the loaded Mythic agent. A specific User-Agent header value, “Ruby WinRM Client”, is used... The WinRM service is actively utilized by GOFFEE for network distribution purposes.
Command and Control
2 techniques
Command and Control
When accessing the C2, PowerModul appends an infected system identifier string to the C2 URL... The response from the C2 is in XML format...
PowerModul is a PowerShell script capable of receiving and executing additional PowerShell scripts from the C2 server... Initially, it was used to download and launch the PowerTaskel implant... user.txt is another PowerShell script whose task is to extract a payload from a hardcoded address and execute it.
Observables
27 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.