Analysis

  • max time kernel
    2s
  • max time network
    149s
  • platform
    ubuntu-20.04_amd64
  • resource
    ubuntu2004-amd64-20240221-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2004-amd64-20240221-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system
  • submitted
    24-04-2024 14:31

General

  • Target

    SecuriteInfo.com.Other.Malware-gen.31307.16494.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.

  • Reads EFI boot settings 3 IoCs

    Reads EFI boot settings from the efivars filesystem, may contain security secrets or sensitive data.

  • Unexpected DNS network traffic destination 9 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
  • Enumerates kernel/hardware configuration 1 TTPs 3 IoCs

    Reads contents of /sys virtual filesystem to enumerate system information.

  • 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/SecuriteInfo.com.Other.Malware-gen.31307.16494.elf
    /tmp/SecuriteInfo.com.Other.Malware-gen.31307.16494.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:1483
    • /bin/sh
      sh -c "mount -o bind /tmp/nginx_server /proc/1483/ > /dev/null 2>&1"
      2⤵
        PID:1491
        • /usr/bin/mount
          mount -o bind /tmp/nginx_server /proc/1483/
          3⤵
          • Reads runtime system information
          PID:1492
      • /bin/cp
        cp -f /tmp/SecuriteInfo.com.Other.Malware-gen.31307.16494.elf /var/tmp/nginx_kel
        2⤵
        • Reads runtime system information
        PID:1490
      • /bin/sh
        sh -c "mount -o bind /tmp/nginx_server /proc/1495/ > /dev/null 2>&1"
        2⤵
          PID:1496
          • /usr/bin/mount
            mount -o bind /tmp/nginx_server /proc/1495/
            3⤵
            • Reads runtime system information
            PID:1497
        • /bin/sh
          sh -c "crontab /var/tmp/.recoverys"
          2⤵
            PID:1507
            • /usr/bin/crontab
              crontab /var/tmp/.recoverys
              3⤵
              • Creates/modifies Cron job
              PID:1509
          • /bin/sh
            sh -c "ln -sf /etc/init.d/dnsconfig /etc/rcS.d/S99dnsconfig > /dev/null 2>&1"
            2⤵
              PID:1508
              • /usr/bin/ln
                ln -sf /etc/init.d/dnsconfig /etc/rcS.d/S99dnsconfig
                3⤵
                  PID:1510
              • /bin/sh
                sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc.d/S99dnsconfig > /dev/null 2>&1"
                2⤵
                  PID:1514
                  • /usr/bin/ln
                    ln -sf /etc/init.d/dnsconfig /etc/rc.d/S99dnsconfig
                    3⤵
                      PID:1517
                  • /bin/sh
                    sh -c "systemctl daemon-reload > /dev/null 2>&1"
                    2⤵
                      PID:1515
                      • /usr/bin/systemctl
                        systemctl daemon-reload
                        3⤵
                        • Reads EFI boot settings
                        • Enumerates kernel/hardware configuration
                        • Reads runtime system information
                        PID:1518
                    • /bin/sh
                      sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc0.d/S99dnsconfig > /dev/null 2>&1"
                      2⤵
                        PID:1519
                        • /usr/bin/ln
                          ln -sf /etc/init.d/dnsconfig /etc/rc0.d/S99dnsconfig
                          3⤵
                            PID:1520
                        • /bin/sh
                          sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc1.d/S99dnsconfig > /dev/null 2>&1"
                          2⤵
                            PID:1521
                            • /usr/bin/ln
                              ln -sf /etc/init.d/dnsconfig /etc/rc1.d/S99dnsconfig
                              3⤵
                                PID:1522
                            • /bin/sh
                              sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc2.d/S99dnsconfig > /dev/null 2>&1"
                              2⤵
                                PID:1523
                                • /usr/bin/ln
                                  ln -sf /etc/init.d/dnsconfig /etc/rc2.d/S99dnsconfig
                                  3⤵
                                    PID:1524
                                • /bin/sh
                                  sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc3.d/S99dnsconfig > /dev/null 2>&1"
                                  2⤵
                                    PID:1525
                                    • /usr/bin/ln
                                      ln -sf /etc/init.d/dnsconfig /etc/rc3.d/S99dnsconfig
                                      3⤵
                                        PID:1526
                                    • /bin/sh
                                      sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc4.d/S99dnsconfig > /dev/null 2>&1"
                                      2⤵
                                        PID:1527
                                        • /usr/bin/ln
                                          ln -sf /etc/init.d/dnsconfig /etc/rc4.d/S99dnsconfig
                                          3⤵
                                            PID:1528
                                        • /bin/sh
                                          sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc5.d/S99dnsconfig > /dev/null 2>&1"
                                          2⤵
                                            PID:1529
                                            • /usr/bin/ln
                                              ln -sf /etc/init.d/dnsconfig /etc/rc5.d/S99dnsconfig
                                              3⤵
                                                PID:1530
                                            • /bin/sh
                                              sh -c "ln -sf /etc/init.d/dnsconfig /etc/rc6.d/S99dnsconfig > /dev/null 2>&1"
                                              2⤵
                                                PID:1539
                                                • /usr/bin/ln
                                                  ln -sf /etc/init.d/dnsconfig /etc/rc6.d/S99dnsconfig
                                                  3⤵
                                                    PID:1551
                                                • /bin/sh
                                                  sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc.d/S99dnsconfigs > /dev/null 2>&1"
                                                  2⤵
                                                    PID:1553
                                                    • /usr/bin/ln
                                                      ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc.d/S99dnsconfigs
                                                      3⤵
                                                        PID:1554
                                                    • /bin/sh
                                                      sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc0.d/S99dnsconfigs > /dev/null 2>&1"
                                                      2⤵
                                                        PID:1555
                                                        • /usr/bin/ln
                                                          ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc0.d/S99dnsconfigs
                                                          3⤵
                                                            PID:1556
                                                        • /bin/sh
                                                          sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc1.d/S99dnsconfigs > /dev/null 2>&1"
                                                          2⤵
                                                            PID:1557
                                                            • /usr/bin/ln
                                                              ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc1.d/S99dnsconfigs
                                                              3⤵
                                                                PID:1558
                                                            • /bin/sh
                                                              sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc2.d/S99dnsconfigs > /dev/null 2>&1"
                                                              2⤵
                                                                PID:1559
                                                                • /usr/bin/ln
                                                                  ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc2.d/S99dnsconfigs
                                                                  3⤵
                                                                    PID:1560
                                                                • /bin/sh
                                                                  sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc3.d/S99dnsconfigs > /dev/null 2>&1"
                                                                  2⤵
                                                                    PID:1561
                                                                    • /usr/bin/ln
                                                                      ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc3.d/S99dnsconfigs
                                                                      3⤵
                                                                        PID:1562
                                                                    • /bin/sh
                                                                      sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc4.d/S99dnsconfigs > /dev/null 2>&1"
                                                                      2⤵
                                                                        PID:1563
                                                                        • /usr/bin/ln
                                                                          ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc4.d/S99dnsconfigs
                                                                          3⤵
                                                                            PID:1564
                                                                        • /bin/sh
                                                                          sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc5.d/S99dnsconfigs > /dev/null 2>&1"
                                                                          2⤵
                                                                            PID:1565
                                                                            • /usr/bin/ln
                                                                              ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc5.d/S99dnsconfigs
                                                                              3⤵
                                                                                PID:1566
                                                                            • /bin/sh
                                                                              sh -c "ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc6.d/S99dnsconfigs > /dev/null 2>&1"
                                                                              2⤵
                                                                                PID:1567
                                                                                • /usr/bin/ln
                                                                                  ln -sf /etc/rc.d/init.d/dnsconfigs /etc/rc6.d/S99dnsconfigs
                                                                                  3⤵
                                                                                    PID:1568
                                                                                • /bin/sh
                                                                                  sh -c "systemctl enable dnsconfigs.service > /dev/null 2>&1"
                                                                                  2⤵
                                                                                    PID:1579
                                                                                    • /usr/bin/systemctl
                                                                                      systemctl enable dnsconfigs.service
                                                                                      3⤵
                                                                                      • Reads EFI boot settings
                                                                                      • Enumerates kernel/hardware configuration
                                                                                      • Reads runtime system information
                                                                                      PID:1580
                                                                                  • /bin/sh
                                                                                    sh -c "systemctl start dnsconfigs.service > /dev/null 2>&1"
                                                                                    2⤵
                                                                                      PID:1622
                                                                                      • /usr/bin/systemctl
                                                                                        systemctl start dnsconfigs.service
                                                                                        3⤵
                                                                                        • Reads EFI boot settings
                                                                                        • Enumerates kernel/hardware configuration
                                                                                        • Reads runtime system information
                                                                                        PID:1623

                                                                                  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

                                                                                    191ab157c005c01a92b1e37abff122d4

                                                                                    SHA1

                                                                                    e8a7d68450e96f5d9d82e9e82e1d954f037e5e5a

                                                                                    SHA256

                                                                                    04322c6136b82f110cc612c340a511cafa29e73c2a5b65a64b54066f006c06f6

                                                                                    SHA512

                                                                                    3a356521cfb9e380a7337c5b2ce42b10f4fd3137991f8a24b81dd7613d65c38967a2600c260a599dc2229a13d88870a08067ed19f15c0b5691c2090c737760fe

                                                                                  • /var/spool/cron/crontabs/tmp.oWdhGj

                                                                                    Filesize

                                                                                    230B

                                                                                    MD5

                                                                                    f8948bb077b9a222c987faecd5dd0262

                                                                                    SHA1

                                                                                    1f0614a10ce6e3f048353fc7f7d138c7ffa87028

                                                                                    SHA256

                                                                                    b23816d87dd985fbc95ce9d1e1b73bc99e591009390a235666fc4748197ba4c3

                                                                                    SHA512

                                                                                    4e4c2d3566aa9e82cc11f071b34d45d5b322573517c683b0ef839fcf487c30baa6ff6121182d48f9b2b82578a63a054c69e27b2c63f096dd03d1ec5c832488cb

                                                                                  • /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/1483-1-0x0000000000400000-0x00000000006a6bf8-memory.dmp