General

  • Target
    swupgrade.sh
  • Size 16KB
  • Sample261020-p242asbe76
  • SHA256 ded89e8f521b4ea0e434b548a3a8e49db2d940bd88e47e67e31c259fb1905585
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Targets

    • Target
      swupgrade.sh
    • Size 16KB
    • SHA256 ded89e8f521b4ea0e434b548a3a8e49db2d940bd88e47e67e31c259fb1905585
    • MD5 SHA1 SHA512 SSDEEP TLSH
    • Renames multiple (139) files with added filename extension

      This suggests ransomware activity of encrypting all the files on the system.

    • Adds new SSH keys

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

    • Modifies initial root filesystem image

      Overwrites initrd/ initramfs image in the /boot mountpoint.

    • Modifies kernel boot image

      Overwrites kernel image in the /boot mountpoint.

    • File and Directory Permissions Modification

      Adversaries may modify file or directory permissions to evade defenses.

    • Executes dropped EXE

    • Modifies PAM framework files

      Modifies Linux PAM framework files, possibly to intercept credentials.

    • Modifies Polkit authorization policy

      Rule or action files in the Polkit framework are written to, potentially allowing a process or user to execute privileged operations without requiring authentication.

    • Modifies sudoers policy

      Writes to /etc/sudoers or a drop-in config, potentially granting passwordless root access to a user or process.

    • OS Credential Dumping

      Adversaries may attempt to dump credentials to use it in password cracking.

    • Reads user data of web browsers

      Reads stored browser data which can include saved credentials.

    • Abuse Elevation Control Mechanism: Sudo and Sudo Caching

      Abuse sudo or cached sudo credentials to execute code.

    • Reads AppArmor ptrace settings

      Discovery of allowed ptrace capabilities by AppArmor.

    • Checks mountinfo of local process

      Checks mountinfo of running processes which indicate if it is running in chroot jail.

    • Creates/modifies Cron job

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

    • Creates/modifies environment variables

      Creating/modifying environment variables is a common persistence mechanism.

    • Deletes log files

      Deletes log files on the system.

    • Enumerates running processes

      Discovers information about currently running processes on the system

    • Modifies init.d

      Adds/modifies system service, likely for persistence.

    • Reads list of loaded kernel modules

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

    • Write file to user bin folder

    • Writes file to system bin folder

    • Modifies Bash startup script

MITRE ATT&CK Enterprise v16

Tasks