Monday, March 4, 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

US Court Orders NSO Group to Handover Code for Spyware, Pegasus to WhatsApp

Meta, the company that owns WhatsApp, filed a lawsuit against NSO Group in 2019....

New SSO-Based Phishing Attack Trick Users into Sharing Login Credentials  

Threat actors employ phishing scams to trick individuals into giving away important details like...

U.S. Charged Iranian Hacker, Rewards up to $10 Million

The United States Department of Justice (DoJ) has charged an Iranian national, Alireza Shafie...

Huge Surge in Ransomware-as-a-Service Attacks targeting Middle East & Africa

The Middle East and Africa (MEA) region has witnessed a surge in ransomware-as-a-service (RaaS)...

New Silver SAML Attack Let Attackers Forge Any SAML Response To Entra ID

SolarWinds cyberattack was one of the largest attacks of the century in which attackers...

AI Worm Developed by Researchers Spreads Automatically Between AI Agents

Researchers have developed what they claim to be one of the first generative AI...

20 Million+ Cutout.Pro User Records Leaked On Hacking Forums

CutOut.Pro, an AI-powered photo and video editing platform, has reportedly suffered a data breach,...
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.

Live Account Takeover Attack Simulation

Live Account Take Over Attack

Live Webinar on How do hackers bypass 2FA ,Detecting ATO attacks, A demo of credential stuffing, brute force and session jacking-based ATO attacks, Identifying attacks with behaviour-based analysis and Building custom protection for applications and APIs.

Related Articles