Analysis

  • max time kernel
    0s
  • max time network
    156s
  • platform
    linux_armhf
  • resource
    debian9-armhf-en-20211208
  • submitted
    15/04/2022, 05:47

General

  • Target
    BDK.arm6-20220415-0546
  • Size 53KB
  • Sample220415-ggvm5agdgr
  • SHA256 9fefd54320a907495353b33ffe3cd4cda5436ec364a128f1dbeb930fd089bff2
  • MD5 SHA1 SHA512
Score
9/10

Malware Config

Signatures

  • Deletes system logs 1 TTPs 1 IoCs
  • Modifies the Watchdog daemon 1 TTPs

    Malware like Mirai modify the Watchdog to prevent it restarting an infected system.

  • Writes file to system bin folder 1 TTPs 2 IoCs
  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Write file to user bin folder 1 TTPs 1 IoCs
  • Reads CPU attributes 1 TTPs 3 IoCs
  • Reads system network configuration 1 TTPs 1 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 3 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • ./BDK.arm6-20220415-0546
    ./BDK.arm6-20220415-0546
    1⤵
    • Reads system routing table
    • Write file to user bin folder
    • Reads system network configuration
    PID:351
  • /bin/sh
    sh -c "rm -rf /tmp/* /var/* /var/run/* /var/tmp/*"
    1⤵
      PID:355
      • /bin/rm
        rm -rf /tmp/BDK.arm6-20220415-0546 /tmp/systemd-private-c3233288b684421da5109ee2d9cf168d-systemd-timesyncd.service-Qv0tw4 /var/backups /var/cache /var/lib /var/local /var/lock /var/log /var/mail /var/opt /var/run /var/spool /var/tmp /var/run/console-setup /var/run/crond.pid /var/run/crond.reboot /var/run/dbus /var/run/dhclient.eth0.pid /var/run/initctl /var/run/initramfs /var/run/lock /var/run/log /var/run/motd.dynamic /var/run/mount /var/run/network /var/run/rsyslogd.pid /var/run/sendsigs.omit.d /var/run/shm /var/run/sshd /var/run/sshd.pid /var/run/systemd /var/run/tmpfiles.d /var/run/udev /var/run/user /var/run/utmp /var/tmp/systemd-private-c3233288b684421da5109ee2d9cf168d-systemd-timesyncd.service-OWyB2Y
        2⤵
        • Writes file to tmp directory
        PID:356
    • /bin/sh
      sh -c "rm -rf /var/log/wtmp"
      1⤵
        PID:361
        • /bin/rm
          rm -rf /var/log/wtmp
          2⤵
          • Deletes system logs
          PID:362
      • /bin/sh
        sh -c "rm -rf /tmp/*"
        1⤵
          PID:363
          • /bin/rm
            rm -rf "/tmp/*"
            2⤵
            • Writes file to tmp directory
            PID:364
        • /bin/sh
          sh -c "rm -rf /bin/netstat"
          1⤵
            PID:365
            • /bin/rm
              rm -rf /bin/netstat
              2⤵
              • Writes file to system bin folder
              PID:366
          • /bin/sh
            sh -c "pkill -9 busybox"
            1⤵
              PID:369
              • /usr/bin/pkill
                pkill -9 busybox
                2⤵
                • Reads CPU attributes
                • Reads runtime system information
                PID:370
            • /bin/sh
              sh -c "pkill -9 perl"
              1⤵
                PID:371
                • /usr/bin/pkill
                  pkill -9 perl
                  2⤵
                  • Reads CPU attributes
                  • Reads runtime system information
                  PID:372
              • /bin/sh
                sh -c "pkill -9 python"
                1⤵
                  PID:373
                  • /usr/bin/pkill
                    pkill -9 python
                    2⤵
                    • Reads CPU attributes
                    • Reads runtime system information
                    PID:374
                • /bin/sh
                  sh -c "iptables -A INPUT -j DROP"
                  1⤵
                    PID:375
                    • /sbin/iptables
                      iptables -A INPUT -j DROP
                      2⤵
                        PID:376
                    • /bin/sh
                      sh -c "rm -rf ~/.bash_history"
                      1⤵
                        PID:379
                        • /bin/rm
                          rm -rf "~/.bash_history"
                          2⤵
                            PID:380
                        • /bin/sh
                          sh -c "history -c;history -w"
                          1⤵
                            PID:381

                          Network

                                MITRE ATT&CK Enterprise v6

                                Replay Monitor

                                Loading Replay Monitor...

                                Downloads