Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

Linux PAM Abused to Create Backdoors

September 6, 2024
Reading Time: 2 mins read
in Alerts
Linux PAM Abused to Create Backdoors

The Group-IB Digital Forensics and Incident Response (DFIR) team has recently uncovered a sophisticated technique that abuses Linux’s Pluggable Authentication Modules (PAM) to create persistent backdoors on compromised systems. This new attack vector leverages the flexibility of the pam_exec module, which allows the execution of external commands during the PAM authentication process. This method, not yet included in the MITRE ATT&CK framework, poses significant risks by enabling attackers to gain and maintain privileged access to targeted hosts.

PAM is a versatile framework designed to manage user authentication and authorization across various applications by separating these processes from specific application requirements. While this modularity offers increased flexibility, it also introduces potential security vulnerabilities. Attackers have exploited PAM’s flexibility by modifying the SSH authentication configuration to invoke malicious scripts through pam_exec. These scripts can perform actions such as data exfiltration and credential theft, even if login attempts fail, effectively avoiding detection by conventional security measures.

The malicious scripts executed through pam_exec can silently transfer sensitive information, such as usernames, environment variables, and authentication details, to remote servers controlled by attackers. This stealthy approach ensures that traces of data exfiltration are not captured in system logs, making forensic investigations more challenging. The ability of attackers to create persistent backdoors and steal credentials highlights a critical vulnerability in PAM’s design, as it transmits values in plaintext rather than encrypting them.

To mitigate these risks, organizations must implement proactive defenses and enhanced monitoring strategies. Privilege Management for Unix & Linux (PMUL) can help prevent unauthorized access by using restricted versions of high-risk commands. Additionally, file integrity monitoring (FIM) can aid in detecting suspicious changes to PAM configurations. Monitoring PAM API usage in sandboxed environments is crucial for identifying potential threats. As the Linux community continues to address these vulnerabilities, it is essential for organizations to prioritize robust security measures to safeguard against PAM-based attacks.

Reference:

  • Linux Pluggable Authentication Modules Abused to Create Persistent Backdoors
Tags: AuthenticationCyber AlertsCyber Alerts 2024Cyber threatsDFIRGroup-IB Digital ForensicsLinuxMitre ATT&CKPAMPluggable Authentication ModulesSeptember 2024
ADVERTISEMENT

Related Posts

Sothebys Data Breach Exposes Customers

Microsoft Pulls 200 Suspicious Certificates

October 17, 2025
Sothebys Data Breach Exposes Customers

NK Hackers Hide Malware In Blockchain

October 17, 2025
Sothebys Data Breach Exposes Customers

Hackers Spread Malware With Blockchain

October 17, 2025

Fortinet And Ivanti Patch Severe Flaws

October 16, 2025

Malicious VSCode Extensions Steal Crypto

October 16, 2025

Fake Password Manager Hijack PCs

October 16, 2025

Latest Alerts

Microsoft Pulls 200 Suspicious Certificates

NK Hackers Hide Malware In Blockchain

Hackers Spread Malware With Blockchain

Fortinet And Ivanti Patch Severe Flaws

Malicious VSCode Extensions Steal Crypto

Fake Password Manager Hijack PCs

Subscribe to our newsletter

    Latest Incidents

    Pro Hamas Hackers Target Airport Speakers

    Prosper Breach Hits 17 Million Accounts

    Sothebys Data Breach Exposes Customers

    F5 Reports Hackers Stole Source Code

    YouTube Down Globally With Playback Errors

    Spanish Retailer Mango Discloses Breach

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial