Wednesday, June 19, 2024

SLAM Attack Gets Root Password Hash in 30 Seconds

Spectre is a class of speculative execution vulnerabilities in microprocessors that can allow threat actors unauthorized access to sensitive data.

Hackers exploit Spectre because it enables them to extract confidential information by manipulating the speculative execution capabilities of CPUs, bypassing traditional security measures.

Cybersecurity researchers at Systems and Network Security Group of VU Amsterdam recently identified SLAM attack that gives attackers access to the root password hash in 30 seconds by exploiting the hardware security.

SLAM Attack Gets Root Password

SLAM probes Spectre’s residual attack space on current and future CPUs with Intel LAM. 

It bypasses new transient execution methods, like BHI or Inception, and exploits an overlooked class of Spectre disclosure gadgets, avoiding standard “masked” gadgets using secret data to index arrays.

Secret data to index arrays (Source – VUSec)

Uncommon code patterns limit standard Spectre gadgets in regular software, like the Linux kernel with believed non-exploitable gadgets. 

While the SLAM concentrates on various code patterns, especially pointer-chasing snippets, “unmasked” devices that exploit confidential data as pointers are produced.

Besides this, the common code breeds widespread unmasked gadgets. However, the scanner developed by the researchers discovered tens of thousands in Linux, with hundreds ripe for exploitation.

SLAM uses unmasked gadgets for userland data leaks (ASCII kernel data). Not only that, but researchers even extract root password hash in under 30 seconds on the latest Ubuntu, emulating Intel LAM.

CPUs Impacted

SLAM targets future CPUs, exploiting upcoming linear address masking features like Intel’s LAM and AMD’s UAI. 

Despite being designed for security, SLAM reveals that loosening canonicality checks can expose vulnerabilities, affecting even CPUs with weak checks. 

Here below, we have mentioned all the CPUs that are impacted:-

  • Existing AMD CPUs are vulnerable to CVE-2020-12965.
  • Future Intel CPUs supporting LAM (both 4- and 5-level paging).
  • Future AMD CPUs support UAI and 5-level paging.
  • Future Arm CPUs are supporting TBI and 5-level paging.

SLAM innovates data leakage through hidden gadget channels, exploiting address masking and microarchitectural race conditions on AMD CPUs.

To get around SMAP mitigation, it switches cache covert channels with translation-based ones. For an exploitable covert channel, security experts use sliding methods and just-in-time reload buffers.


Latest articles

Amtrak Data Breach: Hackers Accessed User’s Email Address

Amtrak notified its customers regarding a significant security breach involving its Amtrak Guest Rewards...

Chrome Security Update – Patch for 6 Vulnerabilities

Google has announced a new update for the Chrome browser, rolling out version 126.0.6478.114/115...

Hackers Weaponize Windows Installer (MSI) Files to Deliver Malware

Cybersecurity researchers have uncovered a sophisticated malware campaign orchestrated by a threat actor group,...

Hackers Using VPNs To Exploit Restrictions & Steal Mobile Data

Hackers are offering "free" mobile data access on Telegram channels by exploiting loopholes in...

New PhaaS Platform Lets Attackers Bypass Two-Factor Authentication

Several phishing campaign kits have been used widely by threat actors in the past....

Stuxnet, The Malware That Propagates To Air-Gapped Networks

Stuxnet, a complex worm discovered in 2010, targeted Supervisory Control and Data Acquisition (SCADA)...

Threat Actors Claiming Breach of AMD Source Code on Hacking Forums

A threat actor named " IntelBroker " claims to have breached AMD in June...
Guru baran
Guru baran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Free Webinar

API Vulnerability Scanning

71% of the internet traffic comes from APIs so APIs have become soft targets for hackers.Securing APIs is a simple workflow provided you find API specific vulnerabilities and protect them.In the upcoming webinar, join Vivek Gopalan, VP of Products at Indusface as he takes you through the fundamentals of API vulnerability scanning..
Key takeaways include:

  • Scan API endpoints for OWASP API Top 10 vulnerabilities
  • Perform API penetration testing for business logic vulnerabilities
  • Prioritize the most critical vulnerabilities with AcuRisQ
  • Workflow automation for this entire process

Related Articles