MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 840b6640b19efb588d42ea75682bbfebb77f09726b124378c8c7d9d4792d7155. While MalwareBazaar tries to identify whether the sample provided is malicious or not, there is no guarantee that a sample in MalwareBazaar is malicious.

Database Entry



Mirai


Vendor detections: 14


Intelligence 14 IOCs YARA 14 File information Comments

SHA256 hash: 840b6640b19efb588d42ea75682bbfebb77f09726b124378c8c7d9d4792d7155
SHA3-384 hash: c5b208fd964c0b4f551c6b0e4b139c88dc0865b73b951828e5d827443ce792aa58516e5941eed11f06c2d2da427bb6a6
SHA1 hash: 0c0691e54199c0692a25e3b6d81b05af80827a9c
MD5 hash: 57470cccc251cc4872c1b7fcfff12697
humanhash: charlie-five-washington-king
File name:kvariant.x86
Download: download sample
Signature Mirai
File size:80'360 bytes
First seen:2025-10-10 03:32:35 UTC
Last seen:2025-10-10 12:24:04 UTC
File type: elf
MIME type:application/x-executable
ssdeep 1536:eAp6w1yb0MCPAkUgJ6Xhs1fqQNud15nyhcfgFDr3BYZu:lp6Iyb6okUgJ6C1SqkXyCfEDqc
TLSH T10D734C53649090FDC5E9D2788B7FA537D633F06E1225F25E23D4AE223E4DE202F4A295
telfhash t11631987175525a8461ebf076b382d1348c391b2020d632e2db7379fbeb173801db1827
TrID 50.1% (.) ELF Executable and Linkable format (Linux) (4022/12)
49.8% (.O) ELF Executable and Linkable format (generic) (4000/1)
Magika elf
Reporter abuse_ch
Tags:elf gafgyt mirai

Intelligence


File Origin
# of uploads :
2
# of downloads :
58
Origin country :
DE DE
Vendor Threat Intelligence
Result
Verdict:
Malware
Maliciousness:

Behaviour
Receives data from a server
Kills processes
Creating a file in the %temp% directory
DNS request
Runs as daemon
Creating a file
Sends data to a server
Creating a process from a recently created file
Connection attempt
Substitutes an application name
Creates or modifies files in /cron to set up autorun
Creates or modifies files in /init.d to set up autorun
Performs a bruteforce attack in the network
Verdict:
Likely Malicious
Threat level:
  7.5/10
Confidence:
100%
Tags:
masquerade obfuscated
Verdict:
Malicious
Uses P2P?:
false
Uses anti-vm?:
false
Architecture:
x86
Packer:
not packed
Botnet:
unknown
Number of open files:
12
Number of processes launched:
144
Processes remaning?
true
Remote TCP ports scanned:
37215,23
Behaviour
Persistence
Process Renaming
Botnet C2s
TCP botnet C2(s):
not identified
UDP botnet C2(s):
not identified
Verdict:
Malicious
File Type:
elf.64.le
First seen:
2025-10-10T00:38:00Z UTC
Last seen:
2025-10-10T03:54:00Z UTC
Hits:
~10
Detections:
HEUR:Exploit.Linux.CVE-2017-17215.a HEUR:Backdoor.Linux.Gafgyt.ge
Result
Threat name:
Detection:
malicious
Classification:
spre.troj.evad
Score:
100 / 100
Signature
Antivirus / Scanner detection for submitted sample
Antivirus detection for dropped file
Connects to many IPs within the same subnet mask (likely port scanning)
Connects to many ports of the same IP (likely port scanning)
Drops files in suspicious directories
Drops invisible ELF files
Malicious sample detected (through community Yara rule)
Manipulation of devices in /dev
Multi AV Scanner detection for submitted file
Reads system files that contain records of logged in users
Sample tries to kill multiple processes (SIGKILL)
Sample tries to persist itself using cron
Sample tries to persist itself using System V runlevels
Writes identical ELF files to multiple locations
Yara detected Mirai
Behaviour
Behavior Graph:
behaviorgraph top1 dnsIp2 2 Behavior Graph ID: 1792548 Sample: kvariant.x86.elf Startdate: 10/10/2025 Architecture: LINUX Score: 100 143 46.141.154.49 WOLNEXTIT Italy 2->143 145 196.144.252.141, 37215 Vodafone-EG Egypt 2->145 147 100 other IPs or domains 2->147 151 Malicious sample detected (through community Yara rule) 2->151 153 Antivirus detection for dropped file 2->153 155 Antivirus / Scanner detection for submitted sample 2->155 157 4 other signatures 2->157 14 kvariant.x86.elf 2->14         started        16 xfce4-session xfce4-panel 2->16         started        18 systemd accounts-daemon 2->18         started        21 20 other processes 2->21 signatures3 process4 signatures5 23 kvariant.x86.elf 14->23         started        25 xfce4-panel wrapper-2.0 16->25         started        27 xfce4-panel wrapper-2.0 16->27         started        37 10 other processes 16->37 149 Reads system files that contain records of logged in users 18->149 29 accounts-daemon language-validate 18->29         started        31 xfce4-panel wrapper-2.0 21->31         started        33 xfce4-panel wrapper-2.0 21->33         started        35 xfce4-panel wrapper-2.0 21->35         started        39 20 other processes 21->39 process6 process7 41 kvariant.x86.elf 23->41         started        44 language-validate language-options 29->44         started        signatures8 165 Drops files in suspicious directories 41->165 167 Sample tries to persist itself using cron 41->167 169 Sample tries to persist itself using System V runlevels 41->169 46 kvariant.x86.elf 41->46         started        50 kvariant.x86.elf 41->50         started        52 kvariant.x86.elf 41->52         started        56 12 other processes 41->56 54 language-options sh 44->54         started        process9 file10 133 /mnt/.k, ELF 46->133 dropped 173 Writes identical ELF files to multiple locations 46->173 175 Drops invisible ELF files 46->175 58 kvariant.x86.elf .k 46->58         started        135 /tmp/.k, ELF 50->135 dropped 60 kvariant.x86.elf .k 50->60         started        137 /etc/.k, ELF 52->137 dropped 62 kvariant.x86.elf .k 52->62         started        64 sh locale 54->64         started        66 sh grep 54->66         started        139 /run/.k, ELF 56->139 dropped 141 /dev/.k, ELF 56->141 dropped 177 Sample tries to kill multiple processes (SIGKILL) 56->177 179 Manipulation of devices in /dev 56->179 68 kvariant.x86.elf 56->68         started        70 kvariant.x86.elf 56->70         started        72 kvariant.x86.elf 56->72         started        74 5 other processes 56->74 signatures11 process12 process13 76 .k 58->76         started        78 .k 60->78         started        80 .k 62->80         started        process14 82 .k 76->82         started        86 .k 78->86         started        88 .k 80->88         started        file15 127 /etc/rc.local, ASCII 82->127 dropped 129 /etc/init.d/rcS, ASCII 82->129 dropped 131 /etc/crontab, ASCII 82->131 dropped 159 Drops files in suspicious directories 82->159 161 Sample tries to persist itself using cron 82->161 163 Sample tries to persist itself using System V runlevels 82->163 90 .k 82->90         started        103 14 other processes 82->103 93 .k 86->93         started        95 .k 86->95         started        97 .k 86->97         started        105 12 other processes 86->105 99 .k 88->99         started        101 .k 88->101         started        107 13 other processes 88->107 signatures16 process17 signatures18 171 Sample tries to kill multiple processes (SIGKILL) 90->171 109 .k 95->109         started        111 .k 97->111         started        113 .k 101->113         started        115 .k 103->115         started        121 5 other processes 103->121 117 .k 105->117         started        123 3 other processes 105->123 119 .k 107->119         started        125 4 other processes 107->125 process19
Threat name:
Linux.Worm.Mirai
Status:
Malicious
First seen:
2025-10-10 03:33:30 UTC
File Type:
ELF64 Little (Exe)
AV detection:
24 of 38 (63.16%)
Threat level:
  5/5
Result
Malware family:
n/a
Score:
  9/10
Tags:
credential_access discovery execution linux persistence privilege_escalation
Behaviour
Reads runtime system information
Writes file to tmp directory
Changes its process name
Reads process memory
Creates/modifies Cron job
Enumerates running processes
Modifies init.d
Modifies rc script
Executes dropped EXE
Contacts a large (108201) amount of remote hosts
Creates a large amount of network flows
Verdict:
Malicious
Tags:
trojan gafgyt Unix.Dropper.Mirai-7540662-0
YARA:
Linux_Trojan_Gafgyt_9e9530a7 Linux_Trojan_Gafgyt_807911a2 Linux_Trojan_Gafgyt_d4227dbf Linux_Trojan_Gafgyt_d996d335 Linux_Trojan_Gafgyt_d0c57a2e Linux_Trojan_Gafgyt_620087b9 Linux_Trojan_Gafgyt_0cd591cd Linux_Trojan_Gafgyt_33b4111a Linux_Trojan_Gafgyt_a33a8363
Please note that we are no longer able to provide a coverage score for Virus Total.

YARA Signatures


MalwareBazaar uses YARA rules from several public and non-public repositories, such as YARAhub and Malpedia. Those are being matched against malware samples uploaded to MalwareBazaar as well as against any suspicious process dumps they may create. Please note that only results from TLP:CLEAR rules are being displayed.

Rule name:ach_202503_elf_Mirai
Author:abuse.ch
Description:Detects Mirai 'TSource' ELF files
Rule name:CVE_2017_17215
Author:NDA0E
Description:Detects exploitation attempt of CVE-2017-17215
Rule name:ELF_Mirai
Author:NDA0E
Description:Detects multiple Mirai variants
Rule name:Linux_Generic_Threat_e24558e1
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_0cd591cd
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_33b4111a
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_620087b9
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_807911a2
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_9e9530a7
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_a33a8363
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_d0c57a2e
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_d4227dbf
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_d996d335
Author:Elastic Security
Rule name:unixredflags3
Author:Tim Brown @timb_machine
Description:Hunts for UNIX red flags

File information


The table below shows additional information about this malware sample such as delivery method and external references.

Web download

Mirai

elf 840b6640b19efb588d42ea75682bbfebb77f09726b124378c8c7d9d4792d7155

(this sample)

  
Delivery method
Distributed via web download

Comments