VM Function Netfilter Protection for Virtual Machines

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current network filtering and firewall protection methods are inadequate in preventing malicious kernel-level code from inserting arbitrary traffic and are ineffective against privilege escalation attacks, as they allow direct access to network interface controllers, making them vulnerable to network intrusions.

Innovation Solution

Implementing a virtual machine function that stores networking filter rules and restricts direct access to the virtual network interface controller by the guest operating system, requiring all packets to be filtered through the virtual machine function, thereby preventing unauthorized access and managing networking rules efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the guest operating system is allowed to directly access the network interface controller, then the ease of operation is improved, but the system security deteriorates due to vulnerability to malicious kernel-level code and privilege escalation attacks

Engineering Contradiction:
Improvedirect access to network interface controllerVSAvoidsystem security
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent introduces a virtual machine function as an intermediary layer between the guest operating system and the network interface controller. This mediator enforces networking filter rules and prevents direct access, thereby maintaining security while allowing controlled network operations. The virtual machine function acts as a gatekeeper that filters traffic according to predefined rules without completely blocking guest OS functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a virtual machine function is introduced to filter network traffic, then the system security is improved, but the device complexity increases due to additional virtualization layers

Engineering Contradiction:
Improvesystem securityVSAvoidvirtualization layer complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The virtual machine function is designed to perform multiple functions within a single component: it enforces networking filter rules, manages packet filtering, and provides security enforcement. By consolidating these functions into one multi-functional element rather than separate components, the patent reduces overall system complexity while maintaining security benefits.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If direct access to the network interface controller is prevented, then the system security is improved, but the productivity decreases due to additional filtering overhead

Engineering Contradiction:
Improvesystem securityVSAvoidnetwork processing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements networking filter rules in advance, before network traffic processing begins. The virtual machine function is pre-configured with filtering criteria that are applied automatically to incoming and outgoing packets. This preliminary setup eliminates the need for real-time rule compilation or complex runtime decision-making, thereby maintaining security while minimizing processing overhead and preserving network productivity.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10257166B2Guest netfilter protection by virtual machine function
Publication Date: 2019.04.09 RED HAT ISRAEL
  • US10257166B2 patent drawing
  • US10257166B2 patent drawing
  • US10257166B2 patent drawing

AI summary

A system and method for guest netfilter protection using a virtual machine function includes a memory, one or more processors, in communication with the memory, a virtual machine, a hypervisor, and a virtual network interface controller on the virtual machine. The virtual machine and the hypervisor are configured to execute on the one or more processors. The hypervisor is configured to boot a guest operating system on the virtual machine. Then, the guest operating system is configured to send a list of networking filter rules to a virtual machine function executing on the virtual machine. The virtual machine function is configured to store the list of networking filter rules in a virtual machine function memory. The hypervisor is further configured to prevent the guest operating system from directly accessing the virtual network interface controller and allow the virtual machine function to access the virtual network interface controller.