General

  • Target
    1bf4fcd6d035805d44b5ae7ec67860911ed4c43f94e827c988992d0587d1ab40_pre-append.sh
  • Size 845KB
  • Sample260913-v91azabl4s
  • SHA256 5366dbec88d547b24d3673593331ead29bc87447fb688b494f9e604699e5f25c
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Targets

    • Target
      1bf4fcd6d035805d44b5ae7ec67860911ed4c43f94e827c988992d0587d1ab40_pre-append.sh
    • Size 845KB
    • SHA256 5366dbec88d547b24d3673593331ead29bc87447fb688b494f9e604699e5f25c
    • 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