General

  • Target
    1bf4fcd6d035805d44b5ae7ec67860911ed4c43f94e827c988992d0587d1ab40_pre-append.sh
  • Size 15KB
  • Sample260913-th5kyazanc
  • SHA256 dafb70c0cf8399f7aec88f1b3d29e0662504dfc452a475408b3f27c64ddc08a3
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Targets

    • Target
      1bf4fcd6d035805d44b5ae7ec67860911ed4c43f94e827c988992d0587d1ab40_pre-append.sh
    • Size 15KB
    • SHA256 dafb70c0cf8399f7aec88f1b3d29e0662504dfc452a475408b3f27c64ddc08a3
    • MD5 SHA1 SHA512 SSDEEP TLSH
    • Family: xmrig

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

    • Adds new SSH keys

      Linux special file to hold SSH keys. The threat actor may add new keys for further remote access.

    • 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

    • Writes DNS configuration

      Writes data to DNS resolver config file.

    • Creates/modifies Cron job

      Cron allows running tasks on a schedule, and is commonly used for malware persistence.

    • Deletes log files

      Deletes log files on the system.

    • Disables SELinux

      Disables SELinux security module.

    • Enumerates running processes

      Discovers information about currently running processes on the system

    • Modifies rc script

      Adding/modifying system rc scripts is a common persistence mechanism.

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

    • Write file to user bin folder

    • Writes file to system bin folder

MITRE ATT&CK Enterprise v16

Tasks