Analysis

  • max time kernel
    1s
  • max time network
    151s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240226-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240226-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    25-04-2024 16:34

General

  • Target

    4730105d00af6296688da0b51f3b9be8ea81a4844a3a1d9996256fc218920f28.elf

  • Size

    274KB

  • MD5

    6cef4e41b58be6fb4e2dd50c783c0c87

  • SHA1

    fd5ded3422f64c3930e6541bd54dfb1083916f66

  • SHA256

    4730105d00af6296688da0b51f3b9be8ea81a4844a3a1d9996256fc218920f28

  • SHA512

    fbdd467bbf0a3b3cec9564075bfd5d977900acb502d1c15bfb9ba6920bea3cda92c62f15cf50c7335ffb43d6046581c0020a90cec3b6227b61a6b93135e5fe42

  • SSDEEP

    6144:Uxc6tV4HX2TmFGR+WgB+Pjq32p5PPyMwsUpE9BNKaOA5IsY/Vi5iaL:KUtm+5QPjq3SIpLaOAGNK

Malware Config

Extracted

Family

mirai

Botnet

LZRD

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Modifies Watchdog functionality 1 TTPs 1 IoCs

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

  • Unexpected DNS network traffic destination 11 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • Creates/modifies Cron job 1 TTPs 1 IoCs

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

  • Modifies init.d 1 TTPs 1 IoCs

    Adds/modifies system service, likely for persistence.

  • Modifies systemd 1 TTPs 1 IoCs

    Adds/ modifies systemd service files. Likely to achieve persistence.

  • Writes file to system bin folder 1 TTPs 2 IoCs
  • Reads runtime system information 23 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/4730105d00af6296688da0b51f3b9be8ea81a4844a3a1d9996256fc218920f28.elf
    /tmp/4730105d00af6296688da0b51f3b9be8ea81a4844a3a1d9996256fc218920f28.elf
    1⤵
    • Modifies Watchdog functionality
    • Modifies init.d
    • Modifies systemd
    • Writes file to system bin folder
    • Reads runtime system information
    • Writes file to tmp directory
    PID:1549
    • /bin/sh
      sh -c "mount -o bind /tmp/nginx_server /proc/1549/ > /dev/null 2>&1"
      2⤵
        PID:1551
        • /bin/mount
          mount -o bind /tmp/nginx_server /proc/1549/
          3⤵
          • Reads runtime system information
          PID:1552
      • /bin/cp
        cp -f /tmp/4730105d00af6296688da0b51f3b9be8ea81a4844a3a1d9996256fc218920f28.elf /var/tmp/nginx_kel
        2⤵
        • Reads runtime system information
        PID:1550
      • /bin/sh
        sh -c "mount -o bind /tmp/nginx_server /proc/1555/ > /dev/null 2>&1"
        2⤵
          PID:1557
          • /bin/mount
            mount -o bind /tmp/nginx_server /proc/1555/
            3⤵
            • Reads runtime system information
            PID:1558
        • /bin/sh
          sh -c "crontab /var/tmp/.recoverys"
          2⤵
            PID:1563
            • /usr/bin/crontab
              crontab /var/tmp/.recoverys
              3⤵
              • Creates/modifies Cron job
              PID:1569
          • /bin/sh
            sh -c "ln -sf /etc/init.d/dnsconfig /etc/rcS.d/S99dnsconfig > /dev/null 2>&1"
            2⤵
              PID:1568
              • /bin/ln
                ln -sf /etc/init.d/dnsconfig /etc/rcS.d/S99dnsconfig
                3⤵
                  PID:1570
              • /bin/sh
                sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc.d/S99dnsconfig > /dev/null 2>&1"
                2⤵
                  PID:1571
                  • /bin/ln
                    ln -sf /etc/init.d/dnsconfig /etc/rc.d/S99dnsconfig
                    3⤵
                      PID:1573
                  • /bin/sh
                    sh -c "systemctl daemon-reload > /dev/null 2>&1"
                    2⤵
                      PID:1572
                      • /bin/systemctl
                        systemctl daemon-reload
                        3⤵
                        • Reads runtime system information
                        PID:1574
                    • /bin/sh
                      sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc0.d/S99dnsconfig > /dev/null 2>&1"
                      2⤵
                        PID:1575
                        • /bin/ln
                          ln -sf /etc/init.d/dnsconfig /etc/rc0.d/S99dnsconfig
                          3⤵
                            PID:1576
                        • /bin/sh
                          sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc1.d/S99dnsconfig > /dev/null 2>&1"
                          2⤵
                            PID:1577
                            • /bin/ln
                              ln -sf /etc/init.d/dnsconfig /etc/rc1.d/S99dnsconfig
                              3⤵
                                PID:1578
                            • /bin/sh
                              sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc2.d/S99dnsconfig > /dev/null 2>&1"
                              2⤵
                                PID:1579
                                • /bin/ln
                                  ln -sf /etc/init.d/dnsconfig /etc/rc2.d/S99dnsconfig
                                  3⤵
                                    PID:1580
                                • /bin/sh
                                  sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc3.d/S99dnsconfig > /dev/null 2>&1"
                                  2⤵
                                    PID:1581
                                    • /bin/ln
                                      ln -sf /etc/init.d/dnsconfig /etc/rc3.d/S99dnsconfig
                                      3⤵
                                        PID:1582
                                    • /bin/sh
                                      sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc4.d/S99dnsconfig > /dev/null 2>&1"
                                      2⤵
                                        PID:1583
                                        • /bin/ln
                                          ln -sf /etc/init.d/dnsconfig /etc/rc4.d/S99dnsconfig
                                          3⤵
                                            PID:1584
                                        • /bin/sh
                                          sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc5.d/S99dnsconfig > /dev/null 2>&1"
                                          2⤵
                                            PID:1585
                                            • /bin/ln
                                              ln -sf /etc/init.d/dnsconfig /etc/rc5.d/S99dnsconfig
                                              3⤵
                                                PID:1586
                                            • /bin/sh
                                              sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc6.d/S99dnsconfig > /dev/null 2>&1"
                                              2⤵
                                                PID:1587
                                                • /bin/ln
                                                  ln -sf /etc/init.d/dnsconfig /etc/rc6.d/S99dnsconfig
                                                  3⤵
                                                    PID:1588
                                                • /bin/sh
                                                  sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc.d/S99dnsconfigs > /dev/null 2>&1"
                                                  2⤵
                                                    PID:1589
                                                    • /bin/ln
                                                      ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc.d/S99dnsconfigs
                                                      3⤵
                                                        PID:1590
                                                    • /bin/sh
                                                      sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc0.d/S99dnsconfigs > /dev/null 2>&1"
                                                      2⤵
                                                        PID:1591
                                                        • /bin/ln
                                                          ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc0.d/S99dnsconfigs
                                                          3⤵
                                                            PID:1592
                                                        • /bin/sh
                                                          sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc1.d/S99dnsconfigs > /dev/null 2>&1"
                                                          2⤵
                                                            PID:1593
                                                            • /bin/ln
                                                              ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc1.d/S99dnsconfigs
                                                              3⤵
                                                                PID:1594
                                                            • /bin/sh
                                                              sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc2.d/S99dnsconfigs > /dev/null 2>&1"
                                                              2⤵
                                                                PID:1595
                                                                • /bin/ln
                                                                  ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc2.d/S99dnsconfigs
                                                                  3⤵
                                                                    PID:1596
                                                                • /bin/sh
                                                                  sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc3.d/S99dnsconfigs > /dev/null 2>&1"
                                                                  2⤵
                                                                    PID:1597
                                                                    • /bin/ln
                                                                      ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc3.d/S99dnsconfigs
                                                                      3⤵
                                                                        PID:1598
                                                                    • /bin/sh
                                                                      sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc4.d/S99dnsconfigs > /dev/null 2>&1"
                                                                      2⤵
                                                                        PID:1599
                                                                        • /bin/ln
                                                                          ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc4.d/S99dnsconfigs
                                                                          3⤵
                                                                            PID:1600
                                                                        • /bin/sh
                                                                          sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc5.d/S99dnsconfigs > /dev/null 2>&1"
                                                                          2⤵
                                                                            PID:1601
                                                                            • /bin/ln
                                                                              ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc5.d/S99dnsconfigs
                                                                              3⤵
                                                                                PID:1602
                                                                            • /bin/sh
                                                                              sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc6.d/S99dnsconfigs > /dev/null 2>&1"
                                                                              2⤵
                                                                                PID:1603
                                                                                • /bin/ln
                                                                                  ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc6.d/S99dnsconfigs
                                                                                  3⤵
                                                                                    PID:1604
                                                                                • /bin/sh
                                                                                  sh -c "systemctl enable dnsconfigs.service > /dev/null 2>&1"
                                                                                  2⤵
                                                                                    PID:1628
                                                                                    • /bin/systemctl
                                                                                      systemctl enable dnsconfigs.service
                                                                                      3⤵
                                                                                      • Reads runtime system information
                                                                                      PID:1629
                                                                                  • /bin/sh
                                                                                    sh -c "systemctl start dnsconfigs.service > /dev/null 2>&1"
                                                                                    2⤵
                                                                                      PID:1650
                                                                                      • /bin/systemctl
                                                                                        systemctl start dnsconfigs.service
                                                                                        3⤵
                                                                                        • Reads runtime system information
                                                                                        PID:1651

                                                                                  Network

                                                                                  MITRE ATT&CK Enterprise v15

                                                                                  Replay Monitor

                                                                                  Loading Replay Monitor...

                                                                                  Downloads

                                                                                  • /etc/init.d/dnsconfig

                                                                                    Filesize

                                                                                    1KB

                                                                                    MD5

                                                                                    df56ea52b8cee93884f3872d25a85db0

                                                                                    SHA1

                                                                                    2fd0c7407ed67253a807d1d01c6ffd3467edaf8e

                                                                                    SHA256

                                                                                    a402d683e16519793b06f663163d750b4e82922cf3b18af5a655de41328b9bf5

                                                                                    SHA512

                                                                                    e390943755721ba7f0210439f0fc8e5e3daaf98ba1df923464aa547c5a7c6f941240658c8fa59270d6f73539fd8b0a04d7bdc9c407f13d9301588d5cf9aa68da

                                                                                  • /etc/systemd/system/dnsconfigs.service

                                                                                    Filesize

                                                                                    174B

                                                                                    MD5

                                                                                    900f683b08977636b092fcbfa1ad8a42

                                                                                    SHA1

                                                                                    6d521f5c3e862f1106d9ac6a3a654e57e6814333

                                                                                    SHA256

                                                                                    71d21310d1c7dbb935f3b61311403b0ec0fa32dc73f91720365416a646c2dfb3

                                                                                    SHA512

                                                                                    50b5426500d8b5dccb7fd71fe9a448ae1c76770890ba86c37e7decbf2ca1f0e1cd20c50996260f37114ba2bdb16ae927e4afad241a51e3d22112ada8e25604b0

                                                                                  • /tmp/server_session.lock

                                                                                    Filesize

                                                                                    5B

                                                                                    MD5

                                                                                    2d3ca92613f0112031d5d31e357a2f6f

                                                                                    SHA1

                                                                                    4c63f6cf2aeaae2aa4b965f2d491d6856f68a1fd

                                                                                    SHA256

                                                                                    a24798442f1d02eb6f29d6ea4e159824f0130089946f2312933a239fb6b00c15

                                                                                    SHA512

                                                                                    5bd9bcf7c076ab16328130b8e269e10e85b9d9db6939c862378905a008db746b05c5b0a43230c317e69019ead5eb7538ade733fb66becfd56c5dd71c1bac8243

                                                                                  • /var/spool/cron/crontabs/tmp.4rM85Q

                                                                                    Filesize

                                                                                    230B

                                                                                    MD5

                                                                                    07a7088142eb9f1bf625853f5ba375fb

                                                                                    SHA1

                                                                                    0019ca0890b3c7db431d0650e3df32afcfa8d7c7

                                                                                    SHA256

                                                                                    31d06908bd66c343f5dda12ee0b8cec474813bfe2ac420a09d960190e1916331

                                                                                    SHA512

                                                                                    8eccce3995da1fdd844cedf0260a2f0b1644aba1aa7551bb74364d709ac7b2ac3f26ed1cc4faaf723b68b62ebc6d9d58af738ddab2c641a95009b32280fa4801

                                                                                  • /var/tmp/.recoverys

                                                                                    Filesize

                                                                                    37B

                                                                                    MD5

                                                                                    abe9a0e06459d029e0f5183965dbbf3b

                                                                                    SHA1

                                                                                    7e79e16ea12fed960bcee8eb5a9c6384fa61a2d1

                                                                                    SHA256

                                                                                    b2cfe7490d6dd2f81ede3ed9db30c78637f4a1e98ed746eaa00998e95d3de384

                                                                                    SHA512

                                                                                    955aece23c24e5b1ce32a90fa014a8a6fac39b68707a13f56cd1bfb07c79dfc59806942732990aaf925db5724f381827e2c35eba21fe95ce9a760760527048cd

                                                                                  • /var/tmp/nginx_kel

                                                                                    Filesize

                                                                                    274KB

                                                                                    MD5

                                                                                    6cef4e41b58be6fb4e2dd50c783c0c87

                                                                                    SHA1

                                                                                    fd5ded3422f64c3930e6541bd54dfb1083916f66

                                                                                    SHA256

                                                                                    4730105d00af6296688da0b51f3b9be8ea81a4844a3a1d9996256fc218920f28

                                                                                    SHA512

                                                                                    fbdd467bbf0a3b3cec9564075bfd5d977900acb502d1c15bfb9ba6920bea3cda92c62f15cf50c7335ffb43d6046581c0020a90cec3b6227b61a6b93135e5fe42

                                                                                  • memory/1549-1-0x0000000000400000-0x00000000006a6bf8-memory.dmp