General

  • Target
    pg.sh
  • Size 36KB
  • Sample260806-gw92csvcke
  • SHA256 3eaa5f10bffa9c089d03504cf246035247ff95780a8884716f6b229faf103cae
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Targets

    • Target
      pg.sh
    • Size 36KB
    • SHA256 3eaa5f10bffa9c089d03504cf246035247ff95780a8884716f6b229faf103cae
    • MD5 SHA1 SHA512 SSDEEP TLSH
    • Family: Kinsing

      Kinsing is a loader written in Golang.

    • Family: xmrig

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

    • Kinsing payload

    • XMRig Miner payload

    • File and Directory Permissions Modification

      Adversaries may modify file or directory permissions to evade defenses.

    • Deletes system logs

      Deletes log file which contains global system messages. Adversaries may delete system logs to minimize their footprint.

    • Disables AppArmor Mandatory Access Control

      Stops or disables AppArmor via systemctl, removing mandatory access control restrictions on process capabilities and file access.

    • 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.

    • Disables SELinux

      Disables SELinux security module.

    • Enumerates running processes

      Discovers information about currently running processes on the system

    • 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