Skidmap
- Type
- Cryptominer
- Capabilities
- Credential theftPersistencePrivilege escalationDefense evasion
- Platforms
- Linux
Skidmap is a Linux cryptomining malware family incorporating rootkit functionality to conceal activity and maintain unauthorized access. It uses a malicious Pluggable Authentication Module (PAM) to establish a hidden authentication backdoor that can grant root access when a hardcoded secret is supplied, bypassing normal password verification. Skidmap has also been associated with credential capture through PAM abuse. Its rootkit capabilities include Linux kernel-module functionality, while its persistence and resilience mechanisms include monitoring critical processes. Skidmap weakens host protections by checking and changing SELinux enforcement to permissive mode and by replacing legitimate system utilities with malicious lookalikes. It can retrieve, unpack, and decrypt compressed archives to stage additional components. The malware targets Linux systems and is used to consume victim compute resources for unauthorized cryptocurrency mining.
Techniques & procedures
23 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
[Skidmap](https://attack.mitre.org/software/S0468) has installed itself via crontab.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has used <code>pm.sh</code> to download and install its main payload.(Citation: Trend Micro Skidmap)
Persistence
5 techniques
Persistence
[Skidmap](https://attack.mitre.org/software/S0468) has installed itself via crontab.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to add the public key of its handlers to the <code>authorized_keys</code> file to maintain persistence on an infected host.(Citation: Trend Micro Skidmap)
The key insight for an attacker: /etc/pam.d/ is not protected by SIP. It can be modified with root... Adding one line to /etc/pam.d/sudo with optional control is all it takes.
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to install several loadable kernel modules (LKMs) on infected machines.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to replace the pam_unix.so file on an infected machine with its own malicious version that accepts a specific backdoor password for all users.(Citation: Trend Micro Skidmap)
Privilege Escalation
4 techniques
Privilege Escalation
[Skidmap](https://attack.mitre.org/software/S0468) has installed itself via crontab.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to add the public key of its handlers to the <code>authorized_keys</code> file to maintain persistence on an infected host.(Citation: Trend Micro Skidmap)
The key insight for an attacker: /etc/pam.d/ is not protected by SIP. It can be modified with root... Adding one line to /etc/pam.d/sudo with optional control is all it takes.
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to install several loadable kernel modules (LKMs) on infected machines.(Citation: Trend Micro Skidmap)
Stealth
7 techniques
Stealth
[Skidmap](https://attack.mitre.org/software/S0468) is a kernel-mode rootkit that has the ability to hook system calls to hide specific files and fake network and CPU-related statistics to make the CPU load of the infected machine always appear low.(Citation: Trend Micro Skidmap)
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[Skidmap](https://attack.mitre.org/software/S0468) has encrypted it's main payload using 3DES.(Citation: Trend Micro Skidmap)
actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.
[Skidmap](https://attack.mitre.org/software/S0468) has created a fake <code>rm</code> binary to replace the legitimate Linux binary.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to download, unpack, and decrypt tar.gz files .(Citation: Trend Micro Skidmap)
The content includes environment-aware checks such as "Bazar can also check if the Russian language is installed on the infected machine and terminate if it is found," "CaddyWiper can also halt execution if the compromised host is identified as a domain controller," and "OopsIE checks for information on the CPU fan, temperature, mouse, hard disk, and motherboard as part of its anti-VM checks."
Defense Impairment
3 techniques
Defense Impairment
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to replace the pam_unix.so file on an infected machine with its own malicious version that accepts a specific backdoor password for all users.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to set SELinux to permissive mode.(Citation: Trend Micro Skidmap)
Ebury 'can disable SELinux Role-Based Access Control and deactivate PAM modules'; Skidmap 'has the ability to set SELinux to permissive mode.'
Credential Access
1 technique
Credential Access
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to replace the pam_unix.so file on an infected machine with its own malicious version that accepts a specific backdoor password for all users.(Citation: Trend Micro Skidmap)
Discovery
5 techniques
Discovery
[Skidmap](https://attack.mitre.org/software/S0468) has monitored critical processes to ensure resiliency.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to check whether the infected system’s OS is Debian or RHEL/CentOS to determine which cryptocurrency miner it should use.(Citation: Trend Micro Skidmap)
[Skidmap](https://attack.mitre.org/software/S0468) has checked for the existence of specific files including <code>/usr/sbin/setenforce</code> and <code> /etc/selinux/config</code>. It also has the ability to monitor the cryptocurrency miner file and process. (Citation: Trend Micro Skidmap)
The content includes environment-aware checks such as "Bazar can also check if the Russian language is installed on the infected machine and terminate if it is found," "CaddyWiper can also halt execution if the compromised host is identified as a domain controller," and "OopsIE checks for information on the CPU fan, temperature, mouse, hard disk, and motherboard as part of its anti-VM checks."
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to check if <code>/usr/sbin/setenforce</code> exists. This file controls what mode SELinux is in.(Citation: Trend Micro Skidmap)
Collection
1 technique
Collection
BBSRAT uses Expand to decompress a CAB file into executable content.
Command and Control
1 technique
Command and Control
[Skidmap](https://attack.mitre.org/software/S0468) has the ability to download files on an infected host.(Citation: Trend Micro Skidmap)
Impact
2 techniques
Impact
Cybercriminals abuse cryptocurrency mining by installing cryptocurrency-mining malware on unsuspecting users’ devices and using their processing capabilities without authorization.
[Skidmap](https://attack.mitre.org/software/S0468) is a kernel-mode rootkit used for cryptocurrency mining.(Citation: Trend Micro Skidmap)
Observables
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.