Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement HIPS Architecture based on Virtualization

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article introduces the knowledge of "how to implement a virtualization-based HIPS architecture". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. Preparatory work

First, we need to make sure that SVM is supported:

This is the beginning of everything.

After that, the VCPU structure area is assigned the same as the previous article. I took the code of the last article directly.

The only difference is that these are added to the vcpu area

Relative_hvm is equivalent to a global variable. In this part, I refer to zero-tang 's noir virtual machine, and I will put references at the end of the article.

Guest_vmcb and host_state are important information that represents:

User's VMCB area (intel is called VMCS), host status (AMD uses a msr called VM_HSAVE_PA to put host status)

They are all the same page_size.

By the way, the structure of vmcb is as follows:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report