Cyber Security News

Google Revealed Kernel Address Sanitizer to Harden Android Firmware & Beyond

Google has unveiled its latest initiative the implementation of the Kernel Address Sanitizer (KASan) to enhance firmware security.

This development comes as the focus on lower-level firmware security intensifies, given its critical role in device security.

Traditionally, this area has received less scrutiny than Android userspace and kernel security.

However, Google’s proactive approach aims to mitigate unknown vulnerabilities by catching memory corruption issues and stability problems before they affect user devices.

Firmware, the software programmed into a device’s hardware, is essential for the operation of mobile devices.

Despite its importance, firmware has often been overlooked in security discussions.

Google’s recent efforts signify a shift in this perspective, highlighting the company’s commitment to addressing all aspects of device security.

Introducing KASan

KASan, or Kernel Address Sanitizer, is a powerful tool designed to proactively discover vulnerabilities within the firmware.

Contrary to what its name might suggest, KASan’s application extends beyond the kernel, covering a wide range of firmware targets.

By enabling KASan in builds during testing or fuzzing, developers can identify and rectify memory safety bugs and vulnerabilities, including those of critical severity.

Google’s deployment of KASan has already led to the discovery and fixing of over 40 memory safety issues.

Address Sanitizer (ASan) Overview

ASan is a compiler-based tool that detects real-time invalid memory access operations.

It can identify memory safety bugs, such as out-of-bounds memory access and use-after-free errors.

While ASan is readily enabled for most user-space targets, its application in bare-metal code requires a custom implementation due to the absence of a standard runtime environment.

Enabling KASan for Bare-Metal Firmware

To implement KASan for bare-metal targets, developers must first reserve a portion of DRAM for shadow memory, which tracks the state of memory regions.

Following this, the necessary runtime routines for memory access checks and shadow memory management must be established.

These steps ensure that any invalid memory access is promptly reported, enhancing the overall security of the firmware.

Google’s introduction of KASan marks a significant advancement in the security of Android firmware and beyond.

By addressing vulnerabilities at the firmware level, Google aims to fortify the foundation of device security, preventing potential exploits before they reach end-users.

This initiative, coupled with exploring memory-safe languages like Rust, underscores Google’s comprehensive approach to enhancing Android security.

Stay updated on Cybersecurity news, Whitepapers, and Infographics. Follow us on LinkedIn & Twitter.

Dhivya

Divya is a Senior Journalist at Cyber Security news covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Google Chrome 153 Update Fixes 42 Security Flaws, Including 3 Critical Ones

Google has released an important Chrome 153 security update that fixes 42 vulnerabilities across the…

24 minutes ago

CISA and NIST Release Technical Checklist for Safeguarding Identity Tokens From Theft and Misuse

The Cybersecurity and Infrastructure Security Agency (CISA) and the National Institute of Standards and Technology…

10 hours ago

CISA Shares 17 Techniques Used by Hackers to Compromise Active Directory Environments

CISA and five international cybersecurity agencies have released detailed guidance describing 17 common techniques hackers…

11 hours ago

Apple Rolls Out Massive Security Update Fixing 273 Vulnerabilities Across Its Devices

Apple has released one of its largest coordinated security rollouts, addressing 273 distinct critical vulnerabilities…

12 hours ago

How to Keep Malware’s Rotating Infrastructure From Becoming a Detection Gap

You can’t detect today's attacks with yesterday’s threat intelligence; that’s how you could briefly formulate…

12 hours ago

Microsoft Bans Its AI Models From Launching Cyberattacks or Escalating Their Own Access

Microsoft has published a draft Humanist AI Code of Conduct that would prohibit its in-house…

12 hours ago