Analysis

  • max time kernel
    5s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240729-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240729-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    09-09-2024 13:34

General

  • Target

    d66aca73387d8ab787f71544777285b5_JaffaCakes118

  • Size

    36KB

  • MD5

    d66aca73387d8ab787f71544777285b5

  • SHA1

    526715af85f935e34b15f124d4b57c8fc37fc1a5

  • SHA256

    3c7faf7512565d86b1ec4fe2810b2006b75c3476b4a5b955f0141d9a1c237d38

  • SHA512

    c9ab083fa7d6a49c333020c13e241303da28afe5a8bd2cf60733fc419ecabef91a9360ac70b5425ee85109367554f3d2a9bf1434dd918ab514fe6ac8800de5ed

  • SSDEEP

    384:x7DQQwQHDf6jlpTWg3vMQ4Qdre21jT58vKpG2Y0orcfKLUv0KZnNEVdeUoJpJyd5:x7kFNc48FkcOYq0xvQGd51ZdAAPPD

Score
7/10

Malware Config

Signatures

  • Deletes system logs 1 TTPs 1 IoCs

    Deletes log file which contains global system messages. Adversaries may delete system logs to minimize their footprint.

  • Flushes firewall rules 1 IoCs

    Flushes/ disables firewall rules inside the Linux kernel.

  • Attempts to change immutable files 15 IoCs

    Modifies inode attributes on the filesystem to allow changing of immutable files.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Reads CPU attributes 1 TTPs 3 IoCs
  • Reads runtime system information 64 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/d66aca73387d8ab787f71544777285b5_JaffaCakes118
    /tmp/d66aca73387d8ab787f71544777285b5_JaffaCakes118
    1⤵
    • Writes file to tmp directory
    PID:646
    • /bin/sync
      sync
      2⤵
        PID:648
      • /bin/cat
        cat /var/spool/cron/
        2⤵
          PID:651
        • /bin/cat
          cat /root/.ssh/authorized_keys
          2⤵
            PID:656
          • /bin/mv
            mv /usr/bin/curl /usr/bin/url
            2⤵
              PID:661
            • /bin/mv
              mv /usr/bin/url /usr/bin/cdl
              2⤵
                PID:663
              • /bin/mv
                mv /usr/bin/wget /usr/bin/get
                2⤵
                  PID:665
                • /bin/mv
                  mv /usr/bin/get /usr/bin/wdl
                  2⤵
                    PID:668
                  • /bin/rm
                    rm -rf /var/log/syslog
                    2⤵
                    • Deletes system logs
                    PID:671
                  • /usr/bin/chattr
                    chattr -iua /tmp/
                    2⤵
                    • Attempts to change immutable files
                    PID:673
                  • /usr/bin/chattr
                    chattr -iua /var/tmp/
                    2⤵
                    • Attempts to change immutable files
                    PID:675
                  • /sbin/iptables
                    iptables -F
                    2⤵
                    • Flushes firewall rules
                    PID:678
                  • /usr/sbin/userdel
                    userdel akay
                    2⤵
                      PID:682
                    • /usr/sbin/userdel
                      userdel vfinder
                      2⤵
                        PID:685
                      • /bin/rm
                        rm -rf "/tmp/addres*"
                        2⤵
                          PID:686
                        • /bin/rm
                          rm -rf "/tmp/walle*"
                          2⤵
                            PID:688
                          • /bin/rm
                            rm -rf /tmp/keys
                            2⤵
                              PID:690
                            • /bin/grep
                              grep -i "[a]liyun"
                              2⤵
                              • Attempts to change immutable files
                              PID:693
                            • /bin/ps
                              ps aux
                              2⤵
                              • Reads CPU attributes
                              • Reads runtime system information
                              PID:692
                            • /bin/grep
                              grep -i "[y]unjing"
                              2⤵
                              • Attempts to change immutable files
                              PID:696
                            • /bin/ps
                              ps aux
                              2⤵
                              • Reads CPU attributes
                              • Reads runtime system information
                              PID:695
                            • /bin/rm
                              rm -f /tmp/.null
                              2⤵
                                PID:698
                              • /sbin/sysctl
                                sysctl -w "vm.nr_hugepages=128"
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:699
                              • /bin/grep
                                grep 185.71.65.238
                                2⤵
                                  PID:701
                                • /usr/bin/awk
                                  awk "{print \$7}"
                                  2⤵
                                    PID:702
                                  • /usr/bin/awk
                                    awk "-F[/]" "{print \$1}"
                                    2⤵
                                      PID:703
                                    • /usr/bin/xargs
                                      xargs -I "%" kill -9 "%"
                                      2⤵
                                      • Attempts to change immutable files
                                      • Reads runtime system information
                                      PID:704
                                    • /usr/bin/xargs
                                      xargs -I "%" kill -9 "%"
                                      2⤵
                                      • Attempts to change immutable files
                                      PID:709
                                    • /usr/bin/awk
                                      awk "-F[/]" "{print \$1}"
                                      2⤵
                                        PID:708
                                      • /usr/bin/awk
                                        awk "{print \$7}"
                                        2⤵
                                          PID:707
                                        • /bin/grep
                                          grep 140.82.52.87
                                          2⤵
                                            PID:706
                                          • /bin/grep
                                            grep -v -
                                            2⤵
                                              PID:714
                                            • /usr/bin/awk
                                              awk "-F[/]" "{print \$1}"
                                              2⤵
                                                PID:713
                                              • /usr/bin/awk
                                                awk "{print \$7}"
                                                2⤵
                                                  PID:712
                                                • /usr/bin/xargs
                                                  xargs -I "%" kill -9 "%"
                                                  2⤵
                                                  • Attempts to change immutable files
                                                  PID:715
                                                • /bin/grep
                                                  grep :443
                                                  2⤵
                                                    PID:711
                                                  • /usr/bin/awk
                                                    awk "-F[/]" "{print \$1}"
                                                    2⤵
                                                      PID:719
                                                    • /bin/grep
                                                      grep -v -
                                                      2⤵
                                                        PID:720
                                                      • /usr/bin/awk
                                                        awk "{print \$7}"
                                                        2⤵
                                                          PID:718
                                                        • /bin/grep
                                                          grep :23
                                                          2⤵
                                                            PID:717
                                                          • /usr/bin/xargs
                                                            xargs -I "%" kill -9 "%"
                                                            2⤵
                                                            • Attempts to change immutable files
                                                            PID:721
                                                          • /bin/grep
                                                            grep -v -
                                                            2⤵
                                                              PID:726
                                                            • /usr/bin/awk
                                                              awk "-F[/]" "{print \$1}"
                                                              2⤵
                                                                PID:725
                                                              • /usr/bin/awk
                                                                awk "{print \$7}"
                                                                2⤵
                                                                  PID:724
                                                                • /usr/bin/xargs
                                                                  xargs -I "%" kill -9 "%"
                                                                  2⤵
                                                                  • Attempts to change immutable files
                                                                  PID:727
                                                                • /bin/grep
                                                                  grep :443
                                                                  2⤵
                                                                    PID:723
                                                                  • /usr/bin/awk
                                                                    awk "-F[/]" "{print \$1}"
                                                                    2⤵
                                                                      PID:731
                                                                    • /bin/grep
                                                                      grep -v -
                                                                      2⤵
                                                                        PID:732
                                                                      • /usr/bin/awk
                                                                        awk "{print \$7}"
                                                                        2⤵
                                                                        • Reads runtime system information
                                                                        PID:730
                                                                      • /usr/bin/xargs
                                                                        xargs -I "%" kill -9 "%"
                                                                        2⤵
                                                                        • Attempts to change immutable files
                                                                        PID:733
                                                                      • /bin/grep
                                                                        grep :143
                                                                        2⤵
                                                                          PID:729
                                                                        • /bin/grep
                                                                          grep -v -
                                                                          2⤵
                                                                            PID:738
                                                                          • /usr/bin/awk
                                                                            awk "-F[/]" "{print \$1}"
                                                                            2⤵
                                                                              PID:737
                                                                            • /usr/bin/awk
                                                                              awk "{print \$7}"
                                                                              2⤵
                                                                                PID:736
                                                                              • /usr/bin/xargs
                                                                                xargs -I "%" kill -9 "%"
                                                                                2⤵
                                                                                • Attempts to change immutable files
                                                                                • Reads runtime system information
                                                                                PID:739
                                                                              • /bin/grep
                                                                                grep :2222
                                                                                2⤵
                                                                                  PID:735
                                                                                • /usr/bin/awk
                                                                                  awk "-F[/]" "{print \$1}"
                                                                                  2⤵
                                                                                    PID:743
                                                                                  • /bin/grep
                                                                                    grep -v -
                                                                                    2⤵
                                                                                      PID:744
                                                                                    • /usr/bin/awk
                                                                                      awk "{print \$7}"
                                                                                      2⤵
                                                                                        PID:742
                                                                                      • /bin/grep
                                                                                        grep :3333
                                                                                        2⤵
                                                                                          PID:741
                                                                                        • /usr/bin/xargs
                                                                                          xargs -I "%" kill -9 "%"
                                                                                          2⤵
                                                                                          • Attempts to change immutable files
                                                                                          PID:745
                                                                                        • /bin/grep
                                                                                          grep -v -
                                                                                          2⤵
                                                                                            PID:750
                                                                                          • /usr/bin/awk
                                                                                            awk "-F[/]" "{print \$1}"
                                                                                            2⤵
                                                                                              PID:749
                                                                                            • /usr/bin/awk
                                                                                              awk "{print \$7}"
                                                                                              2⤵
                                                                                                PID:748
                                                                                              • /usr/bin/xargs
                                                                                                xargs -I "%" kill -9 "%"
                                                                                                2⤵
                                                                                                • Attempts to change immutable files
                                                                                                PID:751
                                                                                              • /bin/grep
                                                                                                grep :3389
                                                                                                2⤵
                                                                                                  PID:747
                                                                                                • /bin/grep
                                                                                                  grep -v -
                                                                                                  2⤵
                                                                                                    PID:756
                                                                                                  • /usr/bin/awk
                                                                                                    awk "-F[/]" "{print \$1}"
                                                                                                    2⤵
                                                                                                      PID:755
                                                                                                    • /usr/bin/awk
                                                                                                      awk "{print \$7}"
                                                                                                      2⤵
                                                                                                        PID:754
                                                                                                      • /bin/grep
                                                                                                        grep :4444
                                                                                                        2⤵
                                                                                                          PID:753
                                                                                                        • /usr/bin/xargs
                                                                                                          xargs -I "%" kill -9 "%"
                                                                                                          2⤵
                                                                                                          • Attempts to change immutable files
                                                                                                          • Reads runtime system information
                                                                                                          PID:757
                                                                                                        • /bin/grep
                                                                                                          grep -v -
                                                                                                          2⤵
                                                                                                            PID:762
                                                                                                          • /usr/bin/awk
                                                                                                            awk "-F[/]" "{print \$1}"
                                                                                                            2⤵
                                                                                                              PID:761
                                                                                                            • /usr/bin/awk
                                                                                                              awk "{print \$7}"
                                                                                                              2⤵
                                                                                                                PID:760
                                                                                                              • /usr/bin/xargs
                                                                                                                xargs -I "%" kill -9 "%"
                                                                                                                2⤵
                                                                                                                • Attempts to change immutable files
                                                                                                                PID:763
                                                                                                              • /bin/grep
                                                                                                                grep :5555
                                                                                                                2⤵
                                                                                                                  PID:759

                                                                                                              Network

                                                                                                              MITRE ATT&CK Enterprise v15

                                                                                                              Replay Monitor

                                                                                                              Loading Replay Monitor...

                                                                                                              Downloads

                                                                                                              • /etc/sysupdatas

                                                                                                                Filesize

                                                                                                                2B

                                                                                                                MD5

                                                                                                                b026324c6904b2a9cb4b88d6d61c81d1

                                                                                                                SHA1

                                                                                                                e5fa44f2b31c1fb553b6021e7360d07d5d91ff5e

                                                                                                                SHA256

                                                                                                                4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865

                                                                                                                SHA512

                                                                                                                3abb6677af34ac57c0ca5828fd94f9d886c26ce59a8ce60ecf6778079423dccff1d6f19cb655805d56098e6d38a1a710dee59523eed7511e5a9e4b8ccb3a4686