Resubmissions

11-06-2021 18:36

210611-dgt8yndgw6 10

06-01-2021 03:28

210106-k31d8h8dkx 10

25-11-2020 08:48

201125-mhfnf9gxta 10

24-11-2020 11:08

201124-yfsf7l7s3s 10

Analysis

  • max time kernel
    0s
  • max time network
    60s
  • platform
    linux_amd64
  • resource
    ubuntu-amd64
  • submitted
    06-01-2021 03:28

General

  • Target

    spy-agent-setup-linux.run

  • Size

    97KB

  • MD5

    213c6443b2bd78c4e0aad54ec8338214

  • SHA1

    264bd2b6d809a519b4348dbfc5791d3fc9342af8

  • SHA256

    e9bd299eec7dbee7d4f5c97ccf8ab27a7b77388eaa649f353e41df8b7b1df755

  • SHA512

    5dd067120c4371ad48123c8c2b21e679196c0fb7a4607cb3bd2c5cc35eee491164685bd566469649bc273460729073c4e4cbc24b1970fc5739f9b383291149e6

Score
7/10

Malware Config

Signatures

  • Write file to user bin folder 1 TTPs 1 IoCs
  • Reads runtime system information 10 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 12 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • ./spy-agent-setup-linux.run
    ./spy-agent-setup-linux.run
    1⤵
      PID:562
      • /usr/bin/id
        id -u
        2⤵
        • Reads runtime system information
        PID:564
      • /usr/bin/tty
        tty -s
        2⤵
          PID:565
        • /bin/mkdir
          mkdir -p spy-agent
          2⤵
          • Reads runtime system information
          PID:566
        • /usr/bin/basename
          basename /usr/bin/md5sum
          2⤵
            PID:577
          • /usr/bin/expr
            expr 1 + 1
            2⤵
              PID:599
            • /usr/bin/expr
              expr 12780 + 87243
              2⤵
                PID:600
              • /bin/chgrp
                chgrp -R 0 .
                2⤵
                  PID:628
                • /usr/bin/expr
                  expr 12780 + 87243
                  2⤵
                    PID:632
                  • ./setup.sh
                    ./setup.sh
                    2⤵
                      PID:633
                      • /bin/mkdir
                        mkdir -p "~/.cache/gnome-software/gnome-shell-extensions"
                        3⤵
                        • Reads runtime system information
                        PID:634
                      • /bin/cp
                        cp ./gnome-shell-ext "~/.cache/gnome-software/gnome-shell-extensions"
                        3⤵
                        • Reads runtime system information
                        PID:635
                      • /bin/cp
                        cp ./gnome-shell-ext.sh "~/.cache/gnome-software/gnome-shell-extensions"
                        3⤵
                        • Reads runtime system information
                        PID:636
                      • /bin/cp
                        cp ./rtp.dat "~/.cache/gnome-software/gnome-shell-extensions"
                        3⤵
                        • Reads runtime system information
                        PID:637
                      • /bin/chmod
                        chmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"
                        3⤵
                          PID:638
                        • /bin/chmod
                          chmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"
                          3⤵
                            PID:639
                          • /bin/grep
                            grep -q "0-59 * * * * ~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"
                            3⤵
                              PID:641
                            • /usr/bin/crontab
                              crontab -l
                              3⤵
                                PID:640
                              • /usr/bin/crontab
                                crontab -u root -
                                3⤵
                                  PID:644
                                • /usr/bin/crontab
                                  crontab -u root -l
                                  3⤵
                                    PID:642
                                  • /bin/rm
                                    rm -rf -- /tmp/spy-agent
                                    3⤵
                                    • Writes file to tmp directory
                                    PID:650
                                  • /usr/bin/nohup
                                    nohup "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"
                                    3⤵
                                      PID:648
                                    • ~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh
                                      "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"
                                      3⤵
                                        PID:648
                                        • /bin/pidof
                                          pidof gnome-shell-ext
                                          4⤵
                                            PID:651
                                          • ~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext
                                            "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"
                                            4⤵
                                              PID:656
                                      • /usr/bin/which
                                        which md5sum
                                        1⤵
                                        • Write file to user bin folder
                                        PID:569
                                      • /usr/bin/tr
                                        tr -d " "
                                        1⤵
                                          PID:573
                                        • /usr/bin/wc
                                          wc -c
                                          1⤵
                                            PID:572
                                          • /usr/bin/head
                                            head -n 522 ./spy-agent-setup-linux.run
                                            1⤵
                                              PID:571
                                            • /usr/bin/cut
                                              cut "-d " -f1
                                              1⤵
                                                PID:576
                                              • /usr/bin/cut
                                                cut "-d " -f1
                                                1⤵
                                                  PID:580
                                                • /usr/bin/cut
                                                  cut -b-32
                                                  1⤵
                                                    PID:584
                                                  • /usr/bin/expr
                                                    expr 4194304 / 4
                                                    1⤵
                                                      PID:586
                                                    • /usr/bin/expr
                                                      expr 1048576 / 4
                                                      1⤵
                                                        PID:587
                                                      • /usr/bin/md5sum
                                                        /usr/bin/md5sum
                                                        1⤵
                                                          PID:585
                                                        • /usr/bin/expr
                                                          expr 262144 / 4
                                                          1⤵
                                                            PID:588
                                                          • /usr/bin/expr
                                                            expr 87243 / 65536
                                                            1⤵
                                                              PID:589
                                                            • /usr/bin/expr
                                                              expr 87243 "%" 65536
                                                              1⤵
                                                                PID:590
                                                              • /bin/dd
                                                                dd "ibs=12780" "skip=1"
                                                                1⤵
                                                                  PID:592
                                                                • /usr/bin/expr
                                                                  expr 0 + 65536
                                                                  1⤵
                                                                    PID:593
                                                                  • /bin/dd
                                                                    dd "bs=65536" "count=1"
                                                                    1⤵
                                                                      PID:594
                                                                    • /usr/bin/expr
                                                                      expr 87243 / 100
                                                                      1⤵
                                                                        PID:595
                                                                      • /usr/bin/expr
                                                                        expr 65536 / 872
                                                                        1⤵
                                                                          PID:596
                                                                        • /usr/bin/expr
                                                                          expr 65536 + 65536
                                                                          1⤵
                                                                            PID:597
                                                                          • /bin/dd
                                                                            dd "bs=21707" "count=1"
                                                                            1⤵
                                                                              PID:598
                                                                            • /usr/bin/tr
                                                                              tr -d " "
                                                                              1⤵
                                                                                PID:604
                                                                              • /usr/bin/wc
                                                                                wc -c
                                                                                1⤵
                                                                                  PID:603
                                                                                • /usr/bin/head
                                                                                  head -n 522 ./spy-agent-setup-linux.run
                                                                                  1⤵
                                                                                    PID:602
                                                                                  • /usr/bin/awk
                                                                                    awk "{ if (\$4 ~ /%/) {print \$3} else {print \$4} }"
                                                                                    1⤵
                                                                                      PID:609
                                                                                    • /usr/bin/tail
                                                                                      tail -1
                                                                                      1⤵
                                                                                        PID:608
                                                                                      • /bin/df
                                                                                        df -kP spy-agent
                                                                                        1⤵
                                                                                        • Reads runtime system information
                                                                                        PID:607
                                                                                      • /bin/tar
                                                                                        tar xpvf -
                                                                                        1⤵
                                                                                        • Reads runtime system information
                                                                                        PID:613
                                                                                      • /bin/gzip
                                                                                        gzip -cd
                                                                                        1⤵
                                                                                          PID:614
                                                                                        • /usr/bin/expr
                                                                                          expr 4194304 / 4
                                                                                          1⤵
                                                                                            PID:615
                                                                                          • /usr/bin/expr
                                                                                            expr 1048576 / 4
                                                                                            1⤵
                                                                                              PID:616
                                                                                            • /usr/bin/expr
                                                                                              expr 262144 / 4
                                                                                              1⤵
                                                                                                PID:617
                                                                                              • /usr/bin/expr
                                                                                                expr 87243 / 65536
                                                                                                1⤵
                                                                                                  PID:618
                                                                                                • /usr/bin/expr
                                                                                                  expr 87243 "%" 65536
                                                                                                  1⤵
                                                                                                    PID:619
                                                                                                  • /bin/dd
                                                                                                    dd "ibs=12780" "skip=1"
                                                                                                    1⤵
                                                                                                      PID:621
                                                                                                    • /usr/bin/expr
                                                                                                      expr 0 + 65536
                                                                                                      1⤵
                                                                                                        PID:622
                                                                                                      • /bin/dd
                                                                                                        dd "bs=65536" "count=1"
                                                                                                        1⤵
                                                                                                          PID:623
                                                                                                        • /usr/bin/expr
                                                                                                          expr 87243 / 100
                                                                                                          1⤵
                                                                                                            PID:624
                                                                                                          • /usr/bin/expr
                                                                                                            expr 65536 / 872
                                                                                                            1⤵
                                                                                                              PID:625
                                                                                                            • /usr/bin/expr
                                                                                                              expr 65536 + 65536
                                                                                                              1⤵
                                                                                                                PID:626
                                                                                                              • /bin/dd
                                                                                                                dd "bs=21707" "count=1"
                                                                                                                1⤵
                                                                                                                  PID:627
                                                                                                                • /usr/bin/id
                                                                                                                  id -u
                                                                                                                  1⤵
                                                                                                                  • Reads runtime system information
                                                                                                                  PID:629
                                                                                                                • /bin/chown
                                                                                                                  chown -R 0 .
                                                                                                                  1⤵
                                                                                                                    PID:630
                                                                                                                  • /usr/bin/id
                                                                                                                    id -g
                                                                                                                    1⤵
                                                                                                                    • Reads runtime system information
                                                                                                                    PID:631
                                                                                                                  • /bin/cat
                                                                                                                    cat
                                                                                                                    1⤵
                                                                                                                      PID:646
                                                                                                                    • /usr/bin/whoami
                                                                                                                      whoami
                                                                                                                      1⤵
                                                                                                                        PID:645
                                                                                                                      • /usr/bin/whoami
                                                                                                                        whoami
                                                                                                                        1⤵
                                                                                                                          PID:647

                                                                                                                        Network

                                                                                                                        MITRE ATT&CK Enterprise v6

                                                                                                                        Replay Monitor

                                                                                                                        Loading Replay Monitor...

                                                                                                                        Downloads