Cyber Security News

New Outlaw Linux Malware Leveraging SSH Brute-Forcing & Corn Jobs to Maintain Persistence

Outlaw has emerged as a persistent Linux malware that continues to infect systems worldwide despite its relatively unsophisticated techniques.

This malware has demonstrated remarkable longevity in the threat landscape by leveraging simple yet effective tactics such as SSH brute-forcing, strategic persistence mechanisms, and cryptocurrency mining operations to maintain a growing botnet of compromised Linux servers.

The malware’s initial access vector primarily relies on opportunistic SSH brute-force attacks against systems with weak or default credentials. Once access is gained, Outlaw downloads and executes a payload called dota3.tar.gz, which initiates a multi-stage infection process.

This package contains various components that ensure the malware can maintain control of the compromised system while evading detection.

Elastic security labs analysts noted that Outlaw demonstrates a comprehensive attack chain spanning nearly the entire MITRE ATT&CK framework, making it an excellent case study for detection engineering efforts.

The researchers captured the malware’s behavior through honeypot systems, observing both automated processes and occasional manual interaction from the threat actors.

What makes Outlaw particularly effective is its worm-like propagation mechanism.

After compromising a host, the malware scans the local subnet for additional vulnerable systems, leveraging the newly infected machine to launch further SSH brute-force attacks, rapidly expanding its reach across networks.

Persistence Techniques

Outlaw’s persistence mechanisms rely heavily on cron jobs and SSH key manipulation.

The malware installs multiple cron jobs to ensure its components restart after system reboots or if they are terminated.

OUTLAW infection chain (Source – Elastic)

A deobfuscated script from the malware reveals this approach:-

echo "5 6 * * 0 $dir2/a/upd>/dev/null 2>&1
@reboot $dir2/a/upd>/dev/null 2>&1
5 8 * * 0 $dir2/b/sync>/dev/null 2>&1
@reboot $dir2/b/sync>/dev/null 2>&1
0 0 */3 * * $dir/c/aptitude>/dev/null 2>&1" >> cron.d
crontab cron.d

Additionally, the malware removes and recreates the user’s ~/.ssh directory, injecting attacker-controlled SSH keys and applying immutable file attributes using chattr +ia to prevent administrators from removing them.

This grants persistent remote access even if passwords are changed.

The Outlaw malware demonstrates how threat actors can achieve widespread impact without relying on sophisticated techniques.

Its detection presents multiple opportunities for security teams, particularly through monitoring for suspicious SSH authentication attempts, unusual cron job creation, and unauthorized SSH key modifications.

Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try 50 Request for Free

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

5 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

5 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago