Analysis

  • max time kernel
    0s
  • max time network
    157s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20221111-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20221111-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    22/12/2022, 00:19

General

  • Target

    .rsync/a/a

  • Size

    2KB

  • MD5

    8c6ef74d130a7ae226c5e7ce7e6e3a75

  • SHA1

    69ea2b646de672a12e8f59137ed0a8403a1427c2

  • SHA256

    834a8f8462a021c50f346fdd91f86c64cb8aa5abbae0802b15137191013be492

  • SHA512

    131e734db073374193ac7cc1b9f5b9e2aa2eff11b654b1196743cca1d4b0f468dab9ed6713cdc8b33c067c335088dcc94439063ed6e7ed3cd29a189bc1ce5280

Score
9/10

Malware Config

Signatures

  • Attempts to identify hypervisor via CPU configuration 1 TTPs 2 IoCs

    Checks CPU information for indicators that the system is a virtual machine.

  • Reads CPU attributes 1 TTPs 13 IoCs
  • Enumerates kernel/hardware configuration 1 TTPs 1 IoCs

    Reads contents of /sys virtual filesystem to enumerate system information.

  • 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/.rsync/a/a
    /tmp/.rsync/a/a
    1⤵
    • Writes file to tmp directory
    PID:323
    • /usr/bin/crontab
      crontab -r
      2⤵
        PID:324
      • /bin/cat
        cat dir.dir
        2⤵
          PID:325
        • ./init0
          ./init0
          2⤵
            PID:326
          • /bin/sleep
            sleep 5
            2⤵
              PID:327
            • /usr/bin/id
              id -u
              2⤵
                PID:332
              • /sbin/modprobe
                modprobe msr "allow_writes=on"
                2⤵
                  PID:333
                • /bin/grep
                  grep -E "AMD Ryzen|AMD EPYC" /proc/cpuinfo
                  2⤵
                  • Attempts to identify hypervisor via CPU configuration
                  PID:334
                • /bin/grep
                  grep Intel /proc/cpuinfo
                  2⤵
                  • Attempts to identify hypervisor via CPU configuration
                  PID:335
                • /usr/bin/nproc
                  nproc
                  2⤵
                    PID:336
                  • /sbin/sysctl
                    sysctl -w "vm.nr_hugepages=1"
                    2⤵
                    • Reads CPU attributes
                    PID:337
                  • /usr/bin/find
                    find "/sys/devices/system/node/node*" -maxdepth 0 -type d
                    2⤵
                      PID:338
                    • /bin/chmod
                      chmod u+x upd
                      2⤵
                        PID:339
                      • /bin/chmod
                        chmod 777 a dir.dir init0 kswapd0 run stop tors upd
                        2⤵
                          PID:340
                        • ./upd
                          ./upd
                          2⤵
                            PID:341
                            • ./run
                              ./run
                              3⤵
                                PID:342
                                • ./stop
                                  ./stop
                                  4⤵
                                    PID:343
                                    • /usr/bin/chattr
                                      chattr -ia "~/.xmrig.json"
                                      5⤵
                                        PID:344
                                      • /bin/rm
                                        rm -rf "~/.xmrig.json"
                                        5⤵
                                          PID:345
                                        • /usr/bin/pkill
                                          pkill -9 cron
                                          5⤵
                                          • Reads CPU attributes
                                          • Reads runtime system information
                                          PID:346
                                        • /usr/bin/pkill
                                          pkill -9 kswapd0
                                          5⤵
                                          • Reads CPU attributes
                                          • Reads runtime system information
                                          PID:353
                                        • /usr/bin/pkill
                                          pkill -9 ld-linux
                                          5⤵
                                          • Reads CPU attributes
                                          • Reads runtime system information
                                          PID:359
                                        • /usr/bin/pkill
                                          pkill -9 Donald
                                          5⤵
                                          • Reads CPU attributes
                                          • Reads runtime system information
                                          PID:365
                                        • /usr/bin/pkill
                                          pkill -9 xmr
                                          5⤵
                                          • Reads CPU attributes
                                          PID:371
                                        • /usr/bin/pkill
                                          pkill -9 xm64
                                          5⤵
                                          • Reads CPU attributes
                                          • Reads runtime system information
                                          PID:377
                                        • /bin/rm
                                          rm -rf .proc
                                          5⤵
                                            PID:383
                                        • ./tors/start.sh
                                          ./tors/start.sh 1
                                          4⤵
                                            PID:386
                                          • /bin/sleep
                                            sleep 10
                                            4⤵
                                              PID:387
                                            • /bin/cat
                                              cat dir.dir
                                              4⤵
                                                PID:388
                                              • /usr/bin/nohup
                                                nohup ./kswapd0
                                                4⤵
                                                  PID:389
                                                • ./kswapd0
                                                  ./kswapd0
                                                  4⤵
                                                    PID:389
                                                  • /bin/sh
                                                    /bin/sh ./kswapd0
                                                    4⤵
                                                      PID:389
                                              • /bin/ps
                                                ps x
                                                1⤵
                                                • Reads CPU attributes
                                                • Reads runtime system information
                                                PID:349
                                              • /bin/grep
                                                grep cron
                                                1⤵
                                                  PID:350
                                                • /bin/grep
                                                  grep -v grep
                                                  1⤵
                                                    PID:351
                                                  • /usr/bin/awk
                                                    awk "{print \$1}"
                                                    1⤵
                                                      PID:352
                                                    • /bin/ps
                                                      ps x
                                                      1⤵
                                                      • Reads CPU attributes
                                                      • Reads runtime system information
                                                      PID:355
                                                    • /bin/grep
                                                      grep kswapd0
                                                      1⤵
                                                        PID:356
                                                      • /bin/grep
                                                        grep -v grep
                                                        1⤵
                                                          PID:357
                                                        • /usr/bin/awk
                                                          awk "{print \$1}"
                                                          1⤵
                                                            PID:358
                                                          • /bin/ps
                                                            ps x
                                                            1⤵
                                                            • Reads CPU attributes
                                                            • Reads runtime system information
                                                            PID:361
                                                          • /bin/grep
                                                            grep ld-linux
                                                            1⤵
                                                              PID:362
                                                            • /bin/grep
                                                              grep -v grep
                                                              1⤵
                                                                PID:363
                                                              • /usr/bin/awk
                                                                awk "{print \$1}"
                                                                1⤵
                                                                  PID:364
                                                                • /bin/ps
                                                                  ps x
                                                                  1⤵
                                                                  • Reads CPU attributes
                                                                  • Reads runtime system information
                                                                  PID:367
                                                                • /bin/grep
                                                                  grep -v grep
                                                                  1⤵
                                                                    PID:369
                                                                  • /bin/grep
                                                                    grep Donald
                                                                    1⤵
                                                                      PID:368
                                                                    • /usr/bin/awk
                                                                      awk "{print \$1}"
                                                                      1⤵
                                                                        PID:370
                                                                      • /bin/grep
                                                                        grep xmr
                                                                        1⤵
                                                                          PID:374
                                                                        • /bin/ps
                                                                          ps x
                                                                          1⤵
                                                                          • Reads CPU attributes
                                                                          • Reads runtime system information
                                                                          PID:373
                                                                        • /bin/grep
                                                                          grep -v grep
                                                                          1⤵
                                                                            PID:375
                                                                          • /usr/bin/awk
                                                                            awk "{print \$1}"
                                                                            1⤵
                                                                              PID:376
                                                                            • /bin/ps
                                                                              ps x
                                                                              1⤵
                                                                              • Reads CPU attributes
                                                                              • Reads runtime system information
                                                                              PID:379
                                                                            • /bin/grep
                                                                              grep xm64
                                                                              1⤵
                                                                                PID:380
                                                                              • /bin/grep
                                                                                grep -v grep
                                                                                1⤵
                                                                                  PID:381
                                                                                • /usr/bin/awk
                                                                                  awk "{print \$1}"
                                                                                  1⤵
                                                                                    PID:382
                                                                                  • /usr/bin/ssh
                                                                                    ssh -q -o "BatchMode=yes" -o "ConnectTimeout=5" 45.9.148.228 "echo 2>&1"
                                                                                    1⤵
                                                                                    • Reads runtime system information
                                                                                    PID:385

                                                                                  Network

                                                                                  MITRE ATT&CK Enterprise v6

                                                                                  Replay Monitor

                                                                                  Loading Replay Monitor...

                                                                                  Downloads