News

Linux removes the Windows RNDIS protocol as unsafe

Microsoft 's proprietary protocol , Remote Network Driver Interface Specification (RNDIS), started out as a good idea. It would allow hardware vendors to add network support to USB devices without having to build them from scratch. There was just one small problem.

RNDIS has no insurance.

penguins

As Greg Kroah-Hartman, the Linux Foundation's contributor to stable Linux kernel releases, wrote in November 2022 on the Linux Kernel Mailing List (LKML )

“The Microsoft RNDIS protocol is, by design, insecure and vulnerable to any system using it with untrusted hosts or devices. Since the protocol cannot be made secure, simply disable all RNDIS drivers to prevent anyone else from using them again.”

In another message he added, “The protocol was never designed for use with untrusted devices. It was created, and we implemented it, on USB devices that we trust to connect to our systems, and we trust the systems that we connect to USB devices.”

This is no longer the case. Kroah-Hartman concluded:

“Today, with untrusted hosts and devices, it's time to retire this protocol. As I mention in the patch comments, Android disabled it years ago on its devices, without any loss in functionality.”

So Kroah-Hartman decided to disable all RNDIS protocol drivers from the Linux Git repository. This means that although the RNDIS code still exists in the Linux kernel, all RNDIS protocol drivers will be broken.

It is a step before the complete removal of RNDIS from Linux.

2 reviews

iGuRu.gr

Join the discussion

Your email address will not be published. Required fields are marked *

Your message will not be published if:

  1. Contains abusive, defamatory, racist, offensive or inappropriate comments.
  2. It causes harm to minors.
  3. It harasses the privacy and individual and social rights of other users.
  4. It advertises products or services or websites.
  5. Contains personal information (address, telephone number, etc.).