上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 164 下一页

2021年1月20日

摘要: KVM is an acronym of “Kernel based Virtual Machine”, and is a virtualization infrastructure for the Linux kernel that turns it into a hypervisor.It is 阅读全文
posted @ 2021-01-20 10:18 tycoon3 阅读(317) 评论(0) 推荐(0)

2021年1月19日

摘要: https://www.it610.com/article/1175051551228637184.htm TCP发送流程 third_party\golibs\github.com\google\netstack\tcpip\transport\tcp\snd.go sendData maybeS 阅读全文
posted @ 2021-01-19 19:49 tycoon3 阅读(579) 评论(0) 推荐(0)
摘要: Files in the sandbox may be backed by different implementations. For host-native files (where a file descriptor is available), the Gofer may return a 阅读全文
posted @ 2021-01-19 11:45 tycoon3 阅读(152) 评论(0) 推荐(0)
摘要: https://github.com/google/gvisor/issues/1397 #include <sys/socket.h> #include <sys/un.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #i 阅读全文
posted @ 2021-01-19 10:34 tycoon3 阅读(84) 评论(0) 推荐(0)
摘要: https://github.com/google/gvisor/issues/1397 pkg/sentry/syscalls/linux/sys_socket.go root@cloud:~/onlyGvisor/gvisor# docker exec -it test ping 8.8.8.8 阅读全文
posted @ 2021-01-19 10:19 tycoon3 阅读(260) 评论(0) 推荐(0)

2021年1月18日

摘要: 是一个虚拟化的题目,在2018 hitcon abyss改编的题目。这里给出了三个文件hellovirtual,hellokernel,hellousr,还给出了ld.so.2,libc.so.6。 hellovirtual是一个利用KVM api来做虚拟化的程序,它会加载一个小型的内核hellok 阅读全文
posted @ 2021-01-18 18:09 tycoon3 阅读(108) 评论(0) 推荐(0)

2021年1月15日

摘要: 目前Go语言支持GDB、LLDB和Delve几种调试器。其中GDB是最早支持的调试工具,LLDB是macOS系统推荐的标准调试工具。但是GDB和LLDB对Go语言的专有特性都缺乏很大支持,而只有Delve是专门为Go语言设计开发的调试工具。而且Delve本身也是采用Go语言开发,对Windows平台 阅读全文
posted @ 2021-01-15 16:43 tycoon3 阅读(296) 评论(0) 推荐(0)
摘要: 参考资料: Playing with ptrace, Part I Playing with ptrace, Part II 这两篇文章里的代码都是在x86平台上运行的,本文中将其移植到了x86_64平台。 ptrace提供让一个进程来控制另一个进程的能力,包括检测,修改被控制进程的代码,数据,寄存 阅读全文
posted @ 2021-01-15 15:06 tycoon3 阅读(467) 评论(0) 推荐(0)
摘要: KVM 基础知识 kvm是一个内核模块,它实现了一个/dev/kvm的字符设备来与用户进行交互,通过调用一系列ioctl函数可以实现qemu和kvm之间的切换。 KVM结构体 KVM结构体在 KVM的系统架构中代表一个具体的虚拟机,当通过 VM_CREATE_KVM 指令创建一个新的 KVM结构体对 阅读全文
posted @ 2021-01-15 12:03 tycoon3 阅读(278) 评论(0) 推荐(0)
摘要: 主要参考的文章是david942j@217的这篇博客和这篇介绍。 在做abyss这个题目的时候涉及到了很多hypervisor, kvm的内容。虚拟化这一层一般也是我们在逃逸的最后一层了。 Basic Intro KVM的全称是Kernel Base Virtual Machine,基于内核的虚拟机 阅读全文
posted @ 2021-01-15 12:00 tycoon3 阅读(258) 评论(0) 推荐(0)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 164 下一页

导航