bahaihe / guestrace Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tklengyel/guestrace
License: GNU Lesser General Public License v2.1
This project forked from tklengyel/guestrace
License: GNU Lesser General Public License v2.1
For Linux DomU (monitoring target running Linux): 1. Build and run libvmi's linux-offset-finder on the Xen DomU guest which you would like to monitor. See the README and source code in the libvmi source tree for how to do this. 2. Copy the running DomU kernel's System.map file from the DomU's /boot to the Xen Dom0 guest. 3. Update /etc/libvmi.conf with the output from linux-offset-finder. For Windows DomU (monitoring target running Windows): 1. First, you must find the GUID and PDB filename corresponding to the image you plan to run. To find this: a. Run libvmi's dump-memory example, and save it into a file b. Run "./getGUID <memory-file>" from libvmi's windows-offset-tool directory (see README for dependencies); this will output the GUID and PDB filename for your image 2. Next, install rekall and it's dependencies (this assumes a DNF-based system; similar steps apply on distributions which use other package managers): $ sudo dnf install json-c json-c-devel virtualenv $ virtualenv /tmp/MyEnv $ source /tmp/MyEnv/bin/activate $ pip install --upgrade setuptools pip wheel $ pip install IPython $ pip install rekall-agent 3. Run Rekall to create the Rekall file needed by guestrace: $ rekall fetch_pdb --pdb_filename <PDB filename> --guid <GUID> -D $ rekall parse_pdb <PDB filename> > rekall-profile.json 4. Finally, update /etc/libvmi.conf to include your rekall configuration: <vm-name> { ostype = "Windows"; rekall_profile = "<absolute-path-to-rekall-json-file>"; } For both Linux and Windows: 1. Add GRUB_CMDLINE_XEN_DEFAULT="altp2m=1" to /etc/default/grub, and add altp2mhvm = 1 to the configuration file which defines each guest. 3. Restart each Xen DomU guest. 4. Build guestrace and run "guestrace <guest name>" on the Xen Dom0 guest.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.