Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypervisor rootkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flg_bachelors
TS
2024
hypervisor rootkit
Commits
64d02a09
Commit
64d02a09
authored
3 months ago
by
iliya.saroukha
Browse files
Options
Downloads
Patches
Plain Diff
wip: studying vmcs structure
parent
fca5f0e3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/figs/vmcs/format_access_rights_hi.png
+0
-0
0 additions, 0 deletions
docs/figs/vmcs/format_access_rights_hi.png
docs/figs/vmcs/format_access_rights_lo.png
+0
-0
0 additions, 0 deletions
docs/figs/vmcs/format_access_rights_lo.png
docs/vmcs.md
+31
-0
31 additions, 0 deletions
docs/vmcs.md
with
31 additions
and
0 deletions
docs/figs/vmcs/format_access_rights_hi.png
0 → 100644
+
0
−
0
View file @
64d02a09
40 KiB
This diff is collapsed.
Click to expand it.
docs/figs/vmcs/format_access_rights_lo.png
0 → 100644
+
0
−
0
View file @
64d02a09
37.7 KiB
This diff is collapsed.
Click to expand it.
docs/vmcs.md
+
31
−
0
View file @
64d02a09
...
@@ -51,3 +51,34 @@ on the logical processor
...
@@ -51,3 +51,34 @@ on the logical processor
-
The
`vmlaunch`
instruction requires a VMCS whose _launch_ state is
-
The
`vmlaunch`
instruction requires a VMCS whose _launch_ state is
**"clear"**
**"clear"**
-
Successful execution of the instruction changes the state to
**"launched"**
-
Successful execution of the instruction changes the state to
**"launched"**
## Organization of VMCS data
-
Guest-state area
-
Host-state area
-
VM-execution control fields
-
VM-exit control fields
-
VM-entry control fields
-
VM-exit information fields
### Guest-state area
#### Guest Register State
-
Control registers (e.g. CR0, CR3, CR4)
-
Debug register -- DR7
-
RSP, RIP and RFLAGS
-
For the following registers -- CS, SS, DS, ES, FS, GS, LDTR and TR
-
Selector (16 bits)
-
Base address (64 bits)
-
Segment limit (32 bits)
-
Access rights (32 bits)
-
_"The low 16 bits correspond to bits 23:8 of the upper 32 bits of a 64-bit segment descriptor. While bits
19:16 of code-segment and data-segment descriptors correspond to the upper 4 bits of the segment
limit, the corresponding bits (bits 11:8) are reserved in this VMCS field._"
-
_"Bit 16 indicates an unusable segment. Attempts to use such a segment fault except in 64-bit mode.
In general, a segment register is unusable if it has been loaded with a null selector."_
-
_"Bits 31:17 are reserved"_


This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment