Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How to run Android Oreo in KVM accelerated Qemu

Shulou Source: shulou.com Published: 2022-05-31 22:14:10 10月03日 Update

This article mainly introduces how to run Android Oreo in KVM accelerated Qemu, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

You will learn how to run the Android Oreo (8.1.0) system in a KVM-accelerated Qemu and run Burp Suite on our Linux x86room64 host. You will need to use the following software:

Linux Mint 19.1 (x86x64) as our host system (KVM support is built into the kernel)

Qemu (https://github.com/qemu/qemu)

Android 8.1.0 (https://www.fosshub.com/Android-x86.html)

Burp Suite community (https://portswigger.net/burp/communitydownload)

I usually build Qemu from source code, and downloading the source code through git is enough to build a complete simulator.

$mkdir build$ cd build$.. / configure$ make# make install

To block SSL traffic from Android, we must add the self-generated certificate to the system cacert store (more on this later).

What I am currently using is the following web script for all my qemu simulations. You can also change it at any time according to your needs.

On our Linux x86room64 host, we need the following script:

/ etc/qemu-ifup

#! / bin/sh# Script to bring a network (tap) device for qemu up.# The idea is to add the tap device to the same bridge# as we have default routing to.# in order to be able to find brctlPATH=$PATH:/sbin:/usr/sbinip=$ (which ip) if [- n "$ip"]; thenip link set "$1" upelsebrctl=$ (which brctl) if [! "$ip"-o! "$brctl"] Thenecho "W: $0: not doing any bridge processing: neither ip nor brctl utility not found" > & 2exit 0fiifconfig "$1" 0.0.0.0 upfiswitch=$ (ip route ls | awk'/ ^ default / {for

Tags: System run file script certificate host command simulator directory article network prepare can pass traffic next at the same time method permission mode source code Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Apple Redmi vpn OPPO Reno