General

  • Target
    afc7822d9e561982f5ed22faf76b35ad4b432eaa6cac0cd0fcafc9e67314a8fd_pre-append.sh
  • Size 837KB
  • Sample260913-v9fass1apg
  • SHA256 7d9d3fc0bee7acb31360d37ba1eb728b6797cceeb2641cc81438b4648aab76a8
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Targets

    • Target
      afc7822d9e561982f5ed22faf76b35ad4b432eaa6cac0cd0fcafc9e67314a8fd_pre-append.sh
    • Size 837KB
    • SHA256 7d9d3fc0bee7acb31360d37ba1eb728b6797cceeb2641cc81438b4648aab76a8
    • MD5 SHA1 SHA512 SSDEEP TLSH
    • Family: Kinsing

      Kinsing is a loader written in Golang.

    • Family: Kinsing Rootkit

      Rootkit reuses the publicly available BEURK rootkit.

    • Family: xmrig

      XMRig is a high performance, open source, cross platform CPU/GPU miner.

    • Kinsing Rootkit payload

    • Kinsing payload

    • Modifies the dynamic linker configuration file

      Malware can modify the configuration file of the dynamic linker to preload malicous libraries with every executed process.

    • XMRig Miner payload

    • File and Directory Permissions Modification

      Adversaries may modify file or directory permissions to evade defenses.

    • Executes dropped EXE

    • Flushes firewall rules

      Flushes/ disables firewall rules inside the Linux kernel.

    • Loads a kernel module

      Loads a Linux kernel module, potentially to achieve persistence

    • Abuse Elevation Control Mechanism: Sudo and Sudo Caching

      Abuse sudo or cached sudo credentials to execute code.

    • Checks hardware identifiers (DMI)

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

    • Creates/modifies Cron job

      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

    • Modifies systemd

      Adds/ modifies systemd service files. Likely to achieve persistence.

    • Reads hardware information

      Accesses system info like serial numbers, manufacturer names etc.

    • Reads list of loaded kernel modules

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

    • Removes the immutable protection flag from a file

      Uses chattr to remove the immutable flag from a file, allowing previously write-protected files to be modified or deleted.

    • UPX packed file

      Detects executables packed with UPX/modified UPX open source packer.

MITRE ATT&CK Enterprise v16

Tasks