Threat Database Trojans Trojan.Bitcoinminer.DJB

Trojan.Bitcoinminer.DJB

By CagedTech in Trojans
Published:
Last updated:

Threat Scorecard

Threat Level: 80 % (High)
First Seen: November 3, 2024
OS(es) Affected: Windows

Trojan.Bitcoinminer.DJB is a Trojan that targets Windows computers. It is rated at a danger level of 8 out of 10. It was first seen on 2024-11-03, and the feed does not say when it was last seen. Trojans of this kind pretend to be harmless or arrive unnoticed, then run quietly in the background while performing harmful actions. The "Bitcoinminer" part of the name suggests that cryptocurrency mining is the intended purpose, which is typical for this type of threat, but the feed does not describe the mining activity in detail.

What the threat does

According to the feed, Bitcoinminer.DJB installs itself stealthily and runs silently in the background. It may give attackers complete control over the infected system, and it may covertly delete files. Related detection names listed in the same family group are Bitcoinminer.DJB, Bitcoinminer.DJD and Bobik.J.

The technical data gives some further insight into how the sample behaves:

  • It is a 64-bit native Windows executable (not .NET) that runs as a console application, is not packed, and has no digital signature or version information.
  • It uses anti-debugging checks, which are commonly used by malware to make analysis harder.
  • It uses an API that unmaps sections of process memory, a technique typically associated with hiding or evading detection.
  • It can create new processes and terminate processes.
  • It uses network functions, including name resolution and ICMP (ping) calls, so it is able to communicate over the network.
  • It runs a command that pings a public address once and then force-deletes a file in the user's Downloads folder. This is a common self-removal pattern, in which the program deletes its own file after it has run so that less evidence remains.

How it usually gets onto computers

The feed says the Trojan most often spreads by exploiting system vulnerabilities and security flaws, through software downloads from malicious websites, or through email attachments from untrusted sources. These attachments are usually .exe, .pif, .avi, and even .jpg files. A file that looks like a picture or video but is really an executable is a typical disguise. The sample's self-deletion command from the Downloads folder suggests it may be run after being downloaded, though the feed does not confirm the exact delivery route for every case.

Risks for the user

  • Loss of control: attackers may gain full access to the system.
  • File deletion: files may be removed without your knowledge.
  • Hidden activity: the Trojan runs silently, so you may not notice it right away.
  • Performance problems: miners in general typically use a lot of processor and graphics resources, which can slow the computer, raise temperatures and increase power use. This is typical behavior for the category, not a confirmed detail of this sample.

Signs of infection

The feed does not list visible symptoms, so the following are typical of miner Trojans:

  • Unusually slow performance or high CPU or GPU usage when you are not running demanding programs.
  • Fans running loudly or the computer getting hot for no clear reason.
  • Unknown processes in Task Manager or unexpected network activity.
  • Missing files or programs you did not remove.
  • A recently downloaded file that has vanished from the Downloads folder after you opened it.

How to stay protected

  • Keep Windows and all your installed software up to date, since this threat can exploit known vulnerabilities.
  • Download software only from official, trusted sources.
  • Do not open attachments from unknown senders. Be wary of images or videos that are actually executable files, for example with a double extension or a .exe or .pif ending.
  • Turn on file extension display in Windows so you can see the real file type.
  • Use a reputable, up-to-date anti-malware tool to scan your system, and run a full scan if you suspect an infection.
  • Back up important files regularly to an external drive or offline storage.
  • If you suspect an infection, disconnect from the internet, run a full scan, and change your important passwords from a clean device.

Analysis Report

General information

Family Name: Trojan.Bitcoinminer.DJB
Signature status: No Signature

Known Samples

MD5: 5cb1c41bbedb3c0abff763a0812ac598
SHA1: b8bf4329cb3f292e72761fff133cf0bf5c41d370
SHA256: 6C44AB7EE7956ECC5574FC2E300FECCBA528C8C8E6283D48AF6F644155B600D1
File Size: 4.32 MB, 4321280 bytes

Windows Portable Executable Attributes

  • File doesn't have "Rich" header
  • File doesn't have debug information
  • File doesn't have exports table
  • File doesn't have security information
  • File has TLS information
  • File is 64-bit executable
  • File is console application (IMAGE_SUBSYSTEM_WINDOWS_CUI)
  • File is either console or GUI application
  • File is Native application (NOT .NET application)
  • File is not packed
Show 2 more
  • IMAGE_FILE_DLL is not set inside PE header (Executable)
  • IMAGE_FILE_EXECUTABLE_IMAGE is set inside PE header (Executable Image)

File Traits

  • HighEntropy
  • No Version Info
  • x64

Block Information

Total Blocks: 14,539
Potentially Malicious Blocks: 11,719
Whitelisted Blocks: 2,083
Unknown Blocks: 737

Visual Map

... Data truncated
0 - Probable Safe Block
? - Unknown Block
x - Potentially Malicious Block

Similar Families

  • Bitcoinminer.DJB
  • Bitcoinminer.DJD
  • Bobik.J

Registry Modifications

Key::Value Data API Name
HKLM\system\controlset001\services\bam\state\usersettings\s-1-5-21-3119368278-1123331430-659265220-1001::\device\harddiskvolume2\windows\system32\cmd.exe 豆䋸ㇵǝ RegNtPreCreateKey
HKLM\system\controlset001\services\bam\state\usersettings\s-1-5-21-3119368278-1123331430-659265220-1001::\device\harddiskvolume2\windows\system32\conhost.exe 둑䋿ㇵǝ RegNtPreCreateKey

Windows API Usage

Category API
Syscall Use
  • ntdll.dll!NtAlertThreadByThreadId
  • ntdll.dll!NtAlpcConnectPortEx
  • ntdll.dll!NtAlpcCreateResourceReserve
  • ntdll.dll!NtAlpcCreateSecurityContext
  • ntdll.dll!NtAlpcDeleteSecurityContext
  • ntdll.dll!NtAlpcQueryInformation
  • ntdll.dll!NtAlpcQueryInformationMessage
  • ntdll.dll!NtAlpcSendWaitReceivePort
  • ntdll.dll!NtAlpcSetInformation
  • ntdll.dll!NtApphelpCacheControl
Show 58 more
  • ntdll.dll!NtCancelWaitCompletionPacket
  • ntdll.dll!NtClearEvent
  • ntdll.dll!NtClose
  • ntdll.dll!NtConnectPort
  • ntdll.dll!NtCreateEvent
  • ntdll.dll!NtCreateFile
  • ntdll.dll!NtCreateMutant
  • ntdll.dll!NtCreateSection
  • ntdll.dll!NtCreateSemaphore
  • ntdll.dll!NtDeviceIoControlFile
  • ntdll.dll!NtDuplicateObject
  • ntdll.dll!NtEnumerateValueKey
  • ntdll.dll!NtFreeVirtualMemory
  • ntdll.dll!NtMapViewOfSection
  • ntdll.dll!NtOpenFile
  • ntdll.dll!NtOpenKey
  • ntdll.dll!NtOpenKeyEx
  • ntdll.dll!NtOpenProcessToken
  • ntdll.dll!NtOpenSection
  • ntdll.dll!NtOpenSemaphore
  • ntdll.dll!NtOpenThread
  • ntdll.dll!NtOpenThreadToken
  • ntdll.dll!NtProtectVirtualMemory
  • ntdll.dll!NtQueryAttributesFile
  • ntdll.dll!NtQueryDirectoryFileEx
  • ntdll.dll!NtQueryInformationFile
  • ntdll.dll!NtQueryInformationProcess
  • ntdll.dll!NtQueryInformationThread
  • ntdll.dll!NtQueryInformationToken
  • ntdll.dll!NtQueryKey
  • ntdll.dll!NtQueryPerformanceCounter
  • ntdll.dll!NtQuerySecurityAttributesToken
  • ntdll.dll!NtQueryValueKey
  • ntdll.dll!NtQueryVirtualMemory
  • ntdll.dll!NtQueryVolumeInformationFile
  • ntdll.dll!NtReadRequestData
  • ntdll.dll!NtReleaseMutant
  • ntdll.dll!NtReleaseWorkerFactoryWorker
  • ntdll.dll!NtRequestWaitReplyPort
  • ntdll.dll!NtSetEvent
  • ntdll.dll!NtSetInformationProcess
  • ntdll.dll!NtSetInformationThread
  • ntdll.dll!NtSetInformationVirtualMemory
  • ntdll.dll!NtSetInformationWorkerFactory
  • ntdll.dll!NtSubscribeWnfStateChange
  • ntdll.dll!NtTerminateProcess
  • ntdll.dll!NtTestAlert
  • ntdll.dll!NtTraceControl
  • ntdll.dll!NtUnmapViewOfSection
  • ntdll.dll!NtUnsubscribeWnfStateChange
  • ntdll.dll!NtWaitForAlertByThreadId
  • ntdll.dll!NtWaitForSingleObject
  • ntdll.dll!NtWaitForWorkViaWorkerFactory
  • ntdll.dll!NtWaitLowEventPair
  • ntdll.dll!NtWorkerFactoryWorkerReady
  • ntdll.dll!NtWriteFile
  • ntdll.dll!NtYieldExecution
  • UNKNOWN
Anti Debug
  • CheckRemoteDebuggerPresent
  • IsDebuggerPresent
Process Manipulation Evasion
  • NtUnmapViewOfSection
Process Shell Execute
  • CreateProcess
User Data Access
  • GetUserObjectInformation
Network Winsock2
  • WSAStartup
Network Winsock
  • freeaddrinfo
  • getaddrinfo
Network Icmp
  • IcmpCreateFile
  • IcmpSendEcho2Ex
Process Terminate
  • TerminateProcess

Shell Command Execution

cmd.exe /C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del /f /q "c:\users\user\downloads\b8bf4329cb3f292e72761fff133cf0bf5c41d370_0004321280"
C:\WINDOWS\system32\PING.EXE ping 1.1.1.1 -n 1 -w 3000