BabyShark Remote Access Trojan
BabyShark is a new remote access trojan first seen in November 2018 targeting government organisations. It shares infrastructure associated with previous KimJongRAT and STOLEN PENCIL campaigns.
Summary
BabyShark is a new remote access trojan first seen in November 2018 targeting government organisations. It shares infrastructure associated with previous KimJongRAT and STOLEN PENCIL campaigns.
Affected platforms
The following platforms are known to be affected:
Threat details
BabyShark is distributed via targeted email campaigns as a malicious attachment. When opened, the attachment connects to and executes an HTA file from a remote location. This application then makes a series of HTTP GET requests to another location to decode and execute the main BabyShark script.
Once successfully established, BabyShark makes changes to the user’s registry settings to disable future macro warnings and maintain persistence, before executing a series of Windows commands to collect information about the infected system. This information is then encoded and uploaded to a command and control (C2) server. BabyShark has the functionality to perform other commands provided to it from the C2 server, although at the time of publication no other commands have been observed.
Update
New BabyShark campaigns have been observed delivering both KimJongRAT and PCRat to affected systems as well as using a new keylogging function post-infection.
The campaigns are using a number of new PowerShell and VBS commands issued by the operator to download and install a custom encoded portable executable called Cowboy, containing either KimJongRAt or PCRat, along with a DLL to decode it. There does not seem to be any reasoning behind which Cowboy version BabyShark installs on an affected system.
Remediation steps
| Type | Step | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
To prevent and detect a trojan infection, ensure that:
|
Last edited: 14 February 2020 2:51 pm