Analysis

  • max time kernel
    146s
  • max time network
    132s
  • platform
    ubuntu-24.04_amd64
  • resource
    ubuntu2404-amd64-20240523-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2404-amd64-20240523-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system
  • submitted
    21-11-2024 12:22

General

  • Target

    CHINA-APT-Trojan/usr/lib64/gdm/.gdm/dbus

  • Size

    190KB

  • MD5

    2251bc7910fe46fd0baf8bc05599bdcf

  • SHA1

    0fef89711da11c550d3914debc0e663f5d2fb86c

  • SHA256

    cff20753e36a4c942dc4dab5a91fd621a42330e17a89185a5b7262280bcd9263

  • SHA512

    b5436c9f330cf32aeda31bc80ad375d4a1500c2a37f7317e70bd533fe4e6bae209da63f7ef623e0b05d6b4a03af54e93371afb3538754b9b195311496faa226c

  • SSDEEP

    3072:sCktP9yEwFeIY0kRyxAuSnjL1Jo1q0+DNRJtlxaERyFzKr1Z70oh:sRPIEANY1RDXe8DNlYs

Malware Config

Signatures

  • Reads list of loaded kernel modules 1 TTPs 1 IoCs

    Reads the list of currently loaded kernel modules, possibly to detect virtual environments.

  • Changes its process name 1 IoCs
  • Checks CPU configuration 1 TTPs 1 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Creates .desktop file 2 TTPs 1 IoCs

    Linux desktops like GNOME require .desktop files to register applications. Sometimes abused by malware for persistence.

  • Enumerates kernel/hardware configuration 1 TTPs 64 IoCs

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

  • Reads runtime system information 8 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/CHINA-APT-Trojan/usr/lib64/gdm/.gdm/dbus
    /tmp/CHINA-APT-Trojan/usr/lib64/gdm/.gdm/dbus
    1⤵
    • Changes its process name
    • Creates .desktop file
    • Writes file to tmp directory
    PID:2418
    • /bin/sh
      sh -c -- hostname
      2⤵
        PID:2419
        • /usr/bin/hostname
          hostname
          3⤵
            PID:2421
        • /bin/sh
          sh -c -- whoami
          2⤵
            PID:2422
            • /usr/bin/whoami
              whoami
              3⤵
                PID:2423
            • /bin/sh
              sh -c -- "cat /proc/cpuinfo | grep \"model name\""
              2⤵
                PID:2424
                • /usr/bin/cat
                  cat /proc/cpuinfo
                  3⤵
                  • Checks CPU configuration
                  PID:2425
                • /usr/bin/grep
                  grep "model name"
                  3⤵
                  • Reads runtime system information
                  PID:2426
              • /bin/sh
                sh -c -- "df -h|grep 'dev' |grep -v none|awk '/dev/{print \$6}'"
                2⤵
                  PID:2427
                  • /usr/bin/df
                    df -h
                    3⤵
                    • Reads runtime system information
                    PID:2428
                  • /usr/bin/grep
                    grep dev
                    3⤵
                    • Reads runtime system information
                    PID:2429
                  • /usr/bin/grep
                    grep -v none
                    3⤵
                    • Reads runtime system information
                    PID:2430
                  • /usr/bin/awk
                    awk "/dev/{print \$6}"
                    3⤵
                    • Reads runtime system information
                    PID:2431
                • /bin/sh
                  sh -c -- "uname -r"
                  2⤵
                    PID:2432
                    • /usr/bin/uname
                      uname -r
                      3⤵
                        PID:2433
                    • /bin/sh
                      sh -c -- "kill 25978 2>/dev/null"
                      2⤵
                        PID:2438
                      • /bin/sh
                        sh -c -- "uname -r"
                        2⤵
                          PID:2439
                          • /usr/bin/uname
                            uname -r
                            3⤵
                              PID:2440
                          • /bin/sh
                            sh -c -- "rmmod usbdev.ko 2>/dev/null"
                            2⤵
                              PID:2441
                              • /usr/sbin/rmmod
                                rmmod usbdev.ko
                                3⤵
                                • Enumerates kernel/hardware configuration
                                • Reads runtime system information
                                PID:2442
                            • /bin/sh
                              sh -c -- "rm -rf ../lib/usbdev.ko"
                              2⤵
                                PID:2443
                                • /usr/bin/rm
                                  rm -rf ../lib/usbdev.ko
                                  3⤵
                                    PID:2444
                                • /bin/sh
                                  sh -c -- "lsmod | grep usbdev"
                                  2⤵
                                    PID:2446
                                    • /usr/sbin/lsmod
                                      lsmod
                                      3⤵
                                      • Reads list of loaded kernel modules
                                      • Enumerates kernel/hardware configuration
                                      • Reads runtime system information
                                      PID:2447
                                    • /usr/bin/grep
                                      grep usbdev
                                      3⤵
                                      • Reads runtime system information
                                      PID:2448

                                Network

                                MITRE ATT&CK Enterprise v15

                                Replay Monitor

                                Loading Replay Monitor...

                                Downloads

                                • /root/.config/autostart/gnome-control.desktop

                                  Filesize

                                  221B

                                  MD5

                                  5658e328db72f30402b90185541d2a2d

                                  SHA1

                                  06cd3066a817932f59d0ce9f1106a716ba9378cc

                                  SHA256

                                  967be9747af8fceba01462bcd5a7b02d03caa1e243d534f600220eeaabad53f8

                                  SHA512

                                  267a5d89255e3d1cc0d409c53412838c24eb940e616e73db51c60537ab952a7616b8db0b31d9fb43fd3c75bd460b20c0e34f8b8344d61695501555bf3ebc7d6b