Analysis

  • max time kernel
    0s
  • platform
    linux_amd64
  • resource
    ubuntu1804-amd64-en-20211208
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-en-20211208kernel:4.15.0-161-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    28-12-2022 23:25

Errors

Reason
Machine shutdown

General

  • Target

    gog_undertale_2.0.0.1.sh

  • Size

    122.5MB

  • MD5

    e740df4e15974ad8c21f45ebe8426fb0

  • SHA1

    71b07640d9da478858ebf67c3c84c42260bb427d

  • SHA256

    dd47d4418c7c3b1b971123d2364f988f29ca78b8a7687742e8937e9ffc3bc297

  • SHA512

    a5c307d81f99fd8697f1ac8bd911e3a9847f5306d75d671136e43c44ddbc4a5a4fb6e520d37a058865381940b9889424fc265655741964388ac9787bd1f05400

  • SSDEEP

    3145728:Yf4gqKOqQFRZX9/jPkGw1Kd6jAfI0+Y9Yb2iQY:YggqKOqQPZt/DkGw1KdAAfICib2iQY

Score
7/10

Malware Config

Signatures

  • Write file to user bin folder 1 TTPs 1 IoCs
  • Writes file to shm directory 2 IoCs

    Malware can drop malicious files in the shm directory which will run directly from RAM.

  • Reads runtime system information 5 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 64 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/gog_undertale_2.0.0.1.sh
    /tmp/gog_undertale_2.0.0.1.sh
    1⤵
    • Writes file to tmp directory
    PID:581
    • /usr/bin/basename
      basename /tmp/gog_undertale_2.0.0.1.sh
      2⤵
        PID:584
      • /bin/mkdir
        mkdir /tmp/selfgz581
        2⤵
        • Reads runtime system information
        PID:585
      • /usr/bin/basename
        basename /usr/bin/md5sum
        2⤵
          PID:596
        • /usr/bin/expr
          expr 1 + 1
          2⤵
            PID:611
          • /usr/bin/expr
            expr 12450 + 575617
            2⤵
              PID:612
            • /bin/chgrp
              chgrp -R 0 .
              2⤵
                PID:647
              • /usr/bin/expr
                expr 12450 + 575617
                2⤵
                  PID:651
                • ./startmojo.sh
                  ./startmojo.sh
                  2⤵
                    PID:652
                    • /bin/uname
                      uname
                      3⤵
                        PID:653
                      • /bin/grep
                        grep darwin
                        3⤵
                          PID:658
                        • /bin/uname
                          uname -m
                          3⤵
                            PID:659
                          • /bin/grep
                            grep i.86
                            3⤵
                              PID:661
                            • /bin/grep
                              grep 86pc
                              3⤵
                                PID:663
                              • /bin/grep
                                grep amd64
                                3⤵
                                  PID:665
                                • /bin/grep
                                  grep Power
                                  3⤵
                                    PID:667
                                  • /usr/bin/touch
                                    touch frontendstarted
                                    3⤵
                                      PID:668
                                    • /bin/chmod
                                      chmod +x bin/linux/x86_64/mojosetup
                                      3⤵
                                        PID:669
                                      • /tmp/selfgz581/bin/linux/x86_64/mojosetup
                                        /tmp/selfgz581/bin/linux/x86_64/mojosetup
                                        3⤵
                                        • Writes file to shm directory
                                        • Writes file to tmp directory
                                        PID:682
                                    • /bin/rm
                                      /bin/rm -rf /tmp/selfgz581
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:683
                                  • /usr/bin/dirname
                                    dirname /tmp/gog_undertale_2.0.0.1.sh
                                    1⤵
                                      PID:583
                                    • /usr/bin/which
                                      which md5sum
                                      1⤵
                                      • Write file to user bin folder
                                      PID:588
                                    • /usr/bin/wc
                                      wc -c
                                      1⤵
                                        PID:591
                                      • /usr/bin/head
                                        head -n 519 /tmp/gog_undertale_2.0.0.1.sh
                                        1⤵
                                        • Writes file to tmp directory
                                        PID:590
                                      • /usr/bin/tr
                                        tr -d " "
                                        1⤵
                                          PID:592
                                        • /usr/bin/cut
                                          cut "-d " -f1
                                          1⤵
                                            PID:595
                                          • /usr/bin/cut
                                            cut "-d " -f1
                                            1⤵
                                              PID:599
                                            • /usr/bin/cut
                                              cut -b-32
                                              1⤵
                                                PID:603
                                              • /usr/bin/expr
                                                expr 575617 / 1024
                                                1⤵
                                                  PID:604
                                                • /usr/bin/md5sum
                                                  /usr/bin/md5sum
                                                  1⤵
                                                    PID:605
                                                  • /usr/bin/expr
                                                    expr 575617 "%" 1024
                                                    1⤵
                                                      PID:606
                                                    • /bin/dd
                                                      dd "if=/tmp/gog_undertale_2.0.0.1.sh" "ibs=12450" "skip=1" "obs=1024" "conv=sync"
                                                      1⤵
                                                        PID:607
                                                      • /bin/dd
                                                        dd "ibs=1024" "obs=1024" "count=562"
                                                        1⤵
                                                          PID:609
                                                        • /bin/dd
                                                          dd "ibs=1" "obs=1024" "count=129"
                                                          1⤵
                                                            PID:610
                                                          • /usr/bin/head
                                                            head -n 519 /tmp/gog_undertale_2.0.0.1.sh
                                                            1⤵
                                                              PID:614
                                                            • /usr/bin/wc
                                                              wc -c
                                                              1⤵
                                                                PID:615
                                                              • /usr/bin/tr
                                                                tr -d " "
                                                                1⤵
                                                                  PID:616
                                                                • /usr/bin/tail
                                                                  tail -1
                                                                  1⤵
                                                                    PID:620
                                                                  • /bin/df
                                                                    df -kP /tmp/selfgz581
                                                                    1⤵
                                                                    • Reads runtime system information
                                                                    • Writes file to tmp directory
                                                                    PID:619
                                                                  • /usr/bin/awk
                                                                    awk "{ if (\$4 ~ /%/) {print \$3} else {print \$4} }"
                                                                    1⤵
                                                                      PID:621
                                                                    • /bin/gzip
                                                                      gzip -cd
                                                                      1⤵
                                                                        PID:625
                                                                      • /bin/tar
                                                                        tar xvf -
                                                                        1⤵
                                                                        • Reads runtime system information
                                                                        PID:627
                                                                      • /usr/bin/expr
                                                                        expr 4194304 / 4
                                                                        1⤵
                                                                          PID:626
                                                                        • /usr/bin/expr
                                                                          expr 1048576 / 4
                                                                          1⤵
                                                                            PID:628
                                                                          • /usr/bin/expr
                                                                            expr 575617 / 262144
                                                                            1⤵
                                                                              PID:629
                                                                            • /usr/bin/expr
                                                                              expr 575617 "%" 262144
                                                                              1⤵
                                                                                PID:630
                                                                              • /bin/dd
                                                                                dd "bs=12450" "count=0" "skip=1"
                                                                                1⤵
                                                                                  PID:632
                                                                                • /usr/bin/expr
                                                                                  expr 0 + 262144
                                                                                  1⤵
                                                                                    PID:633
                                                                                  • /bin/dd
                                                                                    dd "bs=262144" "count=1"
                                                                                    1⤵
                                                                                      PID:634
                                                                                    • /usr/bin/expr
                                                                                      expr 575617 / 100
                                                                                      1⤵
                                                                                        PID:639
                                                                                      • /usr/bin/expr
                                                                                        expr 262144 / 5756
                                                                                        1⤵
                                                                                          PID:640
                                                                                        • /usr/bin/expr
                                                                                          expr 262144 + 262144
                                                                                          1⤵
                                                                                            PID:641
                                                                                          • /bin/dd
                                                                                            dd "bs=262144" "count=1"
                                                                                            1⤵
                                                                                              PID:642
                                                                                            • /usr/bin/expr
                                                                                              expr 575617 / 100
                                                                                              1⤵
                                                                                                PID:643
                                                                                              • /usr/bin/expr
                                                                                                expr 524288 / 5756
                                                                                                1⤵
                                                                                                  PID:644
                                                                                                • /usr/bin/expr
                                                                                                  expr 524288 + 262144
                                                                                                  1⤵
                                                                                                    PID:645
                                                                                                  • /bin/dd
                                                                                                    dd "bs=51329" "count=1"
                                                                                                    1⤵
                                                                                                      PID:646
                                                                                                    • /usr/bin/id
                                                                                                      id -u
                                                                                                      1⤵
                                                                                                      • Reads runtime system information
                                                                                                      PID:648
                                                                                                    • /bin/chown
                                                                                                      chown -R 0 .
                                                                                                      1⤵
                                                                                                        PID:649
                                                                                                      • /usr/bin/id
                                                                                                        id -g
                                                                                                        1⤵
                                                                                                        • Reads runtime system information
                                                                                                        PID:650
                                                                                                      • /usr/bin/tr
                                                                                                        tr "[A-Z]" "[a-z]"
                                                                                                        1⤵
                                                                                                          PID:656
                                                                                                        • /bin/grep
                                                                                                          grep fr_
                                                                                                          1⤵
                                                                                                            PID:673
                                                                                                          • /bin/grep
                                                                                                            grep de_
                                                                                                            1⤵
                                                                                                              PID:676
                                                                                                            • /bin/grep
                                                                                                              grep ru_
                                                                                                              1⤵
                                                                                                                PID:679

                                                                                                              Network

                                                                                                              MITRE ATT&CK Enterprise v6

                                                                                                              Replay Monitor

                                                                                                              Loading Replay Monitor...

                                                                                                              Downloads