Join our Newsletter — 33% off our NHI Course

Could Linux trust paths let Koske persist as cryptomining malware?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 19717
Topic starter  

TL;DR: Koske shows how Linux cryptojacking can hide behind ordinary trust paths such as uploads, shell startup files, and service launch mechanisms, Wazuh argues. Linux telemetry has to connect execution provenance, persistence surfaces, and hidden-process signals to catch that control failure before the miner stays resident.

Editorial analysis by NHI Mgmt Group, based on content published by Wazuh: “Detecting Koske malware with Wazuh”.

Key questions

Q: Why do polyglot files increase cryptojacking risk on Linux endpoints?

A: Polyglot files increase risk because the same object can look benign to users and security tools while still containing executable code.

Q: How should security teams detect malware that executes from memory instead of from disk?

A: Security teams should look for correlations between file writes and later execution events, especially when a binary never appears as a normal on-disk artifact.

Q: What breaks when trust-based malware delivery is not monitored closely?

A: When trust-based delivery is not monitored closely, attackers can blend malicious links, fake apps, or exploit payloads into routine user activity.

Practitioner guidance

  • Monitor content-to-execution handoffs Alert when web-based development environments, upload directories, or collaboration tools hand off media files to shell interpreters, compilers, or downloader utilities.
  • Track runtime concealment behaviours Correlate process creation, library loading, hidden file creation, and unusual network connections so in-memory malware cannot hide behind a clean file system view.
  • Harden Linux persistence surfaces Review bash startup files, systemd units, and LD_PRELOAD-related paths for unauthorised changes, then alert on new persistence artifacts such as modified .bashrc variants.

Bottom line: Koske shows how Linux cryptojacking can hide behind ordinary trust paths such as uploads, shell startup files, and service launch mechanisms.

Glossary terms: Polyglot File, In-memory Execution, Persistence mechanism, Rootkit Concealment

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 1 day ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20207
 

Linux cryptojacking is now a trust-path problem, not just a malware problem. Koske does not depend on a single obvious binary drop. It abuses the ordinary pathways that admins and developers already trust, including uploads, shell startup files, and service configuration. That means the control surface is broader than endpoint signatures and has to include runtime telemetry, configuration monitoring, and execution-path governance.

A few things that frame the scale:

  • AI-related credential leaks surged 81.5% year-over-year in 2025, with the surrounding AI infrastructure leaking 5x faster than core LLM providers, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: What should teams do when startup files or systemd services are modified unexpectedly?

A: Treat those changes as potential persistence events and investigate whether the alteration is tied to a new binary, a downloader, or a concealed miner. Shell startup files and systemd units are high-value launch surfaces, so unauthorised edits often matter more than the file that triggered them. Contain the change before the next restart.

👉 Read our full editorial: Koske malware shows how cryptojacking hides inside Linux trust paths



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.