General

  • Target
    linpeas.sh
  • Size 1021KB
  • Sample260504-pmfp6afv2q
  • SHA256 e1b43371d12b8e26ef46a8562d50395e12d06831646e615cfdfa58b1c110071f
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Targets

    • Target
      linpeas.sh
    • Size 1021KB
    • SHA256 e1b43371d12b8e26ef46a8562d50395e12d06831646e615cfdfa58b1c110071f
    • MD5 SHA1 SHA512 SSDEEP TLSH
    • Creates Raw socket

      Creates a socket that captures raw packets at the device level

    • Looks for SUID binaries

      Searches the filesystem for potential binaries to be used for privilege escalation (common during reconnaissance activity).

    • OS Credential Dumping

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

    • 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 hardware identifiers (DMI)

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

    • Checks mountinfo of local process

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

    • Enumerates active TCP sockets

      Gets active TCP sockets from /proc virtual filesystem.

    • Enumerates running processes

      Discovers information about currently running processes on the system

    • Reads data from the clipboard

      Attempts to collect data stored in the clipboard using xclip tool.

    • Reads hardware information

      Accesses system info like serial numbers, manufacturer names etc.

    • Reads network interface configuration

      Fetches information about one or more active network interfaces.

    • Uses Polkit to run commands

      Uses Polkit pkexec as a proxy to execute commands, possibly to bypass security restrictions.

    • Virtualization/Sandbox Evasion: Time Based Evasion

      Adversaries may detect and evade virtualized environments and sandboxes.

    • Reads process memory

      Read the memory of a process through the /proc virtual filesystem. This can be used to steal credentials.

MITRE ATT&CK Enterprise v16

Tasks