ShelbyLoader
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Installing and launching the app leads to the execution of ShelbyLoader V2 and SHELBYC2.
The HTTPService.dll and HTTPApi.dll samples documented by Elastic Security Labs as SHELBYLOADER and SHELBYC2 ... are classified as HOTAIR and AEROSTAT and associated with UNC5795. | RuntimeBroker.dll collected host metadata and registered the system through myLic. The operator could then decide whether to provide host-specific activation material.
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The phishing email relies on the victim opening the attached Details.zip file and executing the contained binary, JPerf-3.0.0.exe.
The malicious payloads were delivered to an Iraq-based telecom through a highly targeted phishing email... a zipped attachment named details.zip. Within that zip file is... JPerf-3.0.0.exe.
Execution
2 techniques
Execution
The malware executes a WMI query (Select * from Win32_ComputerSystem)... [and] runs a WMI query (SELECT * FROM Win32_VideoController).
One of the timers is configured to trigger... 125 seconds after execution... The second timer... [loads] the backdoor... 65 seconds after the malware starts.
Persistence
2 techniques
Persistence
One of the timers is configured to trigger... 125 seconds after execution... The second timer... [loads] the backdoor... 65 seconds after the malware starts.
One of the timers is configured to trigger a specific method 125 seconds after execution... by adding a new entry to the Windows Registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Run.
Privilege Escalation
2 techniques
Privilege Escalation
One of the timers is configured to trigger... 125 seconds after execution... The second timer... [loads] the backdoor... 65 seconds after the malware starts.
One of the timers is configured to trigger a specific method 125 seconds after execution... by adding a new entry to the Windows Registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Run.
Stealth
7 techniques
Stealth
Both the loader and backdoor are obfuscated with the open-source tool Obfuscar, which employs string encryption as one of its features.
The malware generates an AES key and initialization vector (IV) from the contents of License.txt... It proceeds to decrypt the file HTTPApi.dll, which contains the backdoor payload.
License.txt... is uploaded by the attacker’s backend only after validating that the malware is not running in a sandbox environment. This ensures only validated infections receive the key and escalate the execution chain to the backdoor.
SHELBYLOADER utilizes sandbox detection techniques to identify virtualized or monitored environments.
SHELBYLOADER utilizes sandbox detection techniques to identify virtualized or monitored environments... WMI Query for System Information... Process Enumeration... File System Checks... Disk Size Analysis... Parent Process Verification... WMI Query for Video Controller.
The malware employs timing checks to detect if its sleep or delay functions are being accelerated, a common technique used by sandboxes to speed up analysis.
After decryption, the backdoor is loaded into memory as a managed assembly using reflection, allowing it to execute without writing to disk.
Discovery
7 techniques
Discovery
The data used to create the hash is formatted as follows... The domain name associated with the user account. The username of the currently logged-in user.
The malware scans the running processes for known virtualization-related services, including: vmsrvc vmtools xenservice vboxservice vboxtray.
First, the malware generates an MD5 hash based on... number of processors... machine (hostname)... domain name... username... total number of logical drives.
The malware searches for the existence of specific driver files commonly associated with virtualization software, such as: C:\Windows\System32\drivers\VBoxMouse.sys
SHELBYLOADER utilizes sandbox detection techniques to identify virtualized or monitored environments.
SHELBYLOADER utilizes sandbox detection techniques to identify virtualized or monitored environments... WMI Query for System Information... Process Enumeration... File System Checks... Disk Size Analysis... Parent Process Verification... WMI Query for Video Controller.
The malware employs timing checks to detect if its sleep or delay functions are being accelerated, a common technique used by sandboxes to speed up analysis.
Command and Control
4 techniques
Command and Control
It crafts HTTP requests to interact with GitHub... The request is sent to the GitHub API endpoint... https://api.github.com/repos/<owner>/<repo>/contents/<unique identifier>/<file>.
The malware executes multiple DNS queries to subdomains of arthurshelby.click. The IP addresses returned from these queries are concatenated into a byte sequence... used to generate the AES key for decrypting the backdoor.
The malware then uploads the current timestamp to a file named Vivante.txt in the myGit repository... Next, the malware attempts to download the file Command.txt... [and] Broadcast.txt.
After that, the malware executes multiple DNS queries to subdomains of arthurshelby.click. The IP addresses returned from these queries are concatenated into a byte sequence, which is then used to generate the AES key for decrypting the backdoor.
Exfiltration
1 technique
Exfiltration
This command uploads a file from the infected machine to the GitHub repository.
Observables
28 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.