[+] Qemu user-mode emulation ================================================================= [*] Using jchroot for building more secure chroot environments [*] This module creates a working copy of the firmware filesystem in the log directory /logs. [*] Create a firmware backup for emulation ... [*] Firmware backup for emulation created in /logs/s115_usermode_emulator/firmware [*] Root directory auto detection for /logs/s115_usermode_emulator/firmware (could take some time) [*] Found 1 different root directories: [REF] s05#file_dirs [+] Found the following root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root via binary interpreter / dir names / busybox. [REF] s05#file_dirs [*] Detected 1 root directories: [*] Detected root path: /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root [*] Running emulation processes in /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root root path (1/1). [*] Create unique binary array for /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root root path (1/1). [*] Testing 62 unique executables in root dirctory: /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root (1/1). ==> Preparation phase ----------------------------------------------------------------- [*] Preparing the environment for usermode emulation [*] Creating dev area for user mode emulation [*] Creating /dev/null [*] Creating /dev/zero [*] Creating /dev/ptmx [*] Creating /dev/tty [*] Creating /dev/random [*] Creating /dev/urandom [*] Creating /dev/mem [*] Creating /dev/kmem [*] Creating /dev/armem [*] Creating /dev/tty0 [*] Creating /dev/ttyS0 - ttyS3 [*] Creating /dev/adsl0 [*] Creating /dev/ppp [*] Creating /dev/hidraw0 [*] Creating and populating /dev/mtd [*] Creating and populating /dev/mtdblock [*] Creating and populating /dev/tts [*] Currently mounted areas: proc on /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root/proc type proc (rw,relatime) overlay on /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root/run type overlay (ro,relatime,lowerdir=/var/lib/docker/overlay2/l/FUBFUBLE72FM2K2KWMV25OZLP6:/var/lib/docker/overlay2/l/6WCQTZBI2HYBXBCJ7H5DYLN53D:/var/lib/docker/overlay2/l/KQBTY4EE6DHH3SBQSOYXPY3AJS:/var/lib/docker/overlay2/l/DTK6YYX67IKJJGREIMZ6QV22SI:/var/lib/docker/overlay2/l/GDXCLT75OEPMKP2ETYDUKUHJKU:/var/lib/docker/overlay2/l/VZZDRM7L6THM6TNBOYWCJ325BM:/var/lib/docker/overlay2/l/O3EMP7NJRKTYFQVRW6UJY64MI3:/var/lib/docker/overlay2/l/GYBGS5COJFRRKDZZ3457NKYNNB,upperdir=/var/lib/docker/overlay2/0726139dee89755ebbbd6278a8630447a133c99614349c47480ef6c0426ca86b/diff,workdir=/var/lib/docker/overlay2/0726139dee89755ebbbd6278a8630447a133c99614349c47480ef6c0426ca86b/work) sysfs on /logs/s115_usermode_emulator/firmware/patool_extraction/sysupgrade-linksys_ea8300/root_binwalk_extracted/_root.extracted/squashfs-root/sys type sysfs (rw,nosuid,nodev,noexec,relatime) [*] Final fixes of the root filesytem in a chroot environment ----------------------------------------------------------------- [*] Initial CPU detection process of binary ubus with CPU configuration . [REF] /logs/s115_usermode_emulator/qemu_init_ubus.txt [*] Initial CPU detection process of binary busybox with CPU configuration . [REF] /logs/s115_usermode_emulator/qemu_init_busybox.txt [*] Initial CPU detection process of binary uclient-fetch with CPU configuration . [REF] /logs/s115_usermode_emulator/qemu_init_uclient-fetch.txt [*] Initial CPU detection process of binary opkg with CPU configuration . [REF] /logs/s115_usermode_emulator/qemu_init_opkg.txt [*] Initial CPU detection process of binary logd with CPU configuration . [REF] /logs/s115_usermode_emulator/qemu_init_logd.txt [*] Initial CPU detection process of binary mount_root with CPU configuration . [REF] /logs/s115_usermode_emulator/qemu_init_mount_root.txt [*] Initial CPU detection process of binary jffs2reset with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_jffs2reset.txt [*] Initial CPU detection process of binary logread with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_logread.txt [*] Initial strace run with jchroot on the command ./bin/ubus to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubus.txt [*] Initial CPU detection process of binary procd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_procd.txt [*] Initial strace run with jchroot on the command ./bin/busybox to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_busybox.txt [*] Initial strace run with jchroot on the command ./bin/uclient-fetch to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_uclient-fetch.txt [*] Initial CPU detection process of binary upgraded with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_upgraded.txt [*] Initial strace run with jchroot on the command ./bin/opkg to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_opkg.txt [*] Initial CPU detection process of binary uci with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_uci.txt [*] Initial strace run with jchroot on the command ./sbin/mount_root to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_mount_root.txt [*] Initial CPU detection process of binary ubusd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubusd.txt [*] Initial strace run with jchroot on the command ./sbin/jffs2reset to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_jffs2reset.txt [*] Initial strace run with jchroot on the command ./sbin/logread to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_logread.txt [*] Initial CPU detection process of binary udevtrigger with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_udevtrigger.txt [*] Initial strace run with jchroot on the command ./sbin/logd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_logd.txt [*] Initial CPU detection process of binary netifd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_netifd.txt [*] Initial CPU detection process of binary fw3 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_fw3.txt [*] Initial strace run with jchroot on the command ./sbin/upgraded to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_upgraded.txt [*] Initial CPU detection process of binary kmodloader with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_kmodloader.txt [*] Initial strace run with jchroot on the command ./sbin/uci to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_uci.txt [*] Initial strace run with jchroot on the command ./sbin/procd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_procd.txt [*] Binary ./sbin/init (17/62) not emulated - blacklist triggered [*] Initial CPU detection process of binary rpcd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_rpcd.txt [*] Initial strace run with jchroot on the command ./sbin/udevtrigger to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_udevtrigger.txt [*] Initial strace run with jchroot on the command ./sbin/ubusd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubusd.txt [*] Initial CPU detection process of binary urngd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_urngd.txt [*] Initial strace run with jchroot on the command ./sbin/fw3 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_fw3.txt [*] Initial CPU detection process of binary askfirst with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_askfirst.txt [*] Initial strace run with jchroot on the command ./sbin/netifd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_netifd.txt [*] Initial strace run with jchroot on the command ./sbin/kmodloader to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_kmodloader.txt [*] Initial CPU detection process of binary mtd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_mtd.txt [*] Initial CPU detection process of binary validate_data with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_validate_data.txt [*] Initial strace run with jchroot on the command ./sbin/rpcd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_rpcd.txt [*] Initial CPU detection process of binary swconfig with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_swconfig.txt [*] Initial strace run with jchroot on the command ./sbin/askfirst to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_askfirst.txt [*] Initial CPU detection process of binary libgcc_s.so.1 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_libgcc_s.so.1.txt [*] Initial strace run with jchroot on the command ./sbin/urngd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_urngd.txt [*] Initial CPU detection process of binary libubus.so.20210603 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_libubus.so.20210603.txt [*] Initial strace run with jchroot on the command ./sbin/mtd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_mtd.txt [*] Initial strace run with jchroot on the command ./sbin/validate_data to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_validate_data.txt [*] Initial CPU detection process of binary cgi-io with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_cgi-io.txt [*] Initial CPU detection process of binary fwtool with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_fwtool.txt [*] Initial strace run with jchroot on the command ./sbin/swconfig to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_swconfig.txt [*] Initial CPU detection process of binary lua with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_lua.txt [*] Initial CPU detection process of binary iwinfo with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_iwinfo.txt [*] Initial CPU detection process of binary luci-bwc with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_luci-bwc.txt [*] Initial strace run with jchroot on the command ./usr/libexec/cgi-io to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_cgi-io.txt [*] Initial CPU detection process of binary jsonfilter with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_jsonfilter.txt [*] Initial strace run with jchroot on the command ./usr/bin/fwtool to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_fwtool.txt [*] Initial CPU detection process of binary jshn with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_jshn.txt [*] Initial strace run with jchroot on the command ./usr/bin/lua to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_lua.txt [*] Initial strace run with jchroot on the command ./usr/bin/iwinfo to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_iwinfo.txt [*] Initial CPU detection process of binary usign with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_usign.txt [*] Initial CPU detection process of binary getrandom with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_getrandom.txt [*] Initial strace run with jchroot on the command ./usr/bin/luci-bwc to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_luci-bwc.txt [*] Initial CPU detection process of binary dnsmasq with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_dnsmasq.txt [*] Initial strace run with jchroot on the command ./usr/bin/jsonfilter to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_jsonfilter.txt [*] Initial CPU detection process of binary wpad with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_wpad.txt [*] Initial strace run with jchroot on the command ./usr/bin/jshn to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_jshn.txt [*] Initial CPU detection process of binary fw_printenv with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_fw_printenv.txt [*] Initial strace run with jchroot on the command ./usr/bin/usign to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_usign.txt [*] Initial strace run with jchroot on the command ./usr/bin/getrandom to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_getrandom.txt [*] Initial CPU detection process of binary iw with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_iw.txt [*] Initial CPU detection process of binary uhttpd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_uhttpd.txt [*] Initial strace run with jchroot on the command ./usr/sbin/wpad to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_wpad.txt [*] Initial CPU detection process of binary pppd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_pppd.txt [*] Initial strace run with jchroot on the command ./usr/sbin/dnsmasq to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_dnsmasq.txt [*] Initial strace run with jchroot on the command ./usr/sbin/fw_printenv to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_fw_printenv.txt [*] Initial CPU detection process of binary ubiattach with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubiattach.txt [*] Initial strace run with jchroot on the command ./usr/sbin/iw to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_iw.txt [*] Initial CPU detection process of binary ubinize with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubinize.txt [*] Initial CPU detection process of binary ubirmvol with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubirmvol.txt [*] Initial strace run with jchroot on the command ./usr/sbin/uhttpd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_uhttpd.txt [*] Initial CPU detection process of binary ubirsvol with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubirsvol.txt [*] Initial strace run with jchroot on the command ./usr/sbin/pppd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_pppd.txt [*] Initial CPU detection process of binary xtables-legacy-multi with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_xtables-legacy-multi.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubiattach to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubiattach.txt [*] Initial CPU detection process of binary ubidetach with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubidetach.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubinize to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubinize.txt [*] Initial CPU detection process of binary odhcp6c with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_odhcp6c.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubirmvol to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubirmvol.txt [*] Initial CPU detection process of binary odhcpd with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_odhcpd.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubirsvol to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubirsvol.txt [*] Initial CPU detection process of binary ubiformat with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubiformat.txt [*] Initial strace run with jchroot on the command ./usr/sbin/xtables-legacy-multi to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_xtables-legacy-multi.txt [*] Initial CPU detection process of binary ubiupdatevol with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubiupdatevol.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubidetach to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubidetach.txt [*] Initial CPU detection process of binary ubiblock with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubiblock.txt [*] Initial strace run with jchroot on the command ./usr/sbin/odhcp6c to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_odhcp6c.txt [*] Initial CPU detection process of binary dropbear with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_dropbear.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubiformat to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubiformat.txt [*] Initial CPU detection process of binary ubirename with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubirename.txt [*] Initial strace run with jchroot on the command ./usr/sbin/odhcpd to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_odhcpd.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubiupdatevol to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubiupdatevol.txt [*] Initial CPU detection process of binary ubicrc32 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubicrc32.txt [*] Initial CPU detection process of binary ubinfo with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubinfo.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubiblock to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubiblock.txt [*] Initial CPU detection process of binary ubimkvol with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_ubimkvol.txt [*] Initial strace run with jchroot on the command ./usr/sbin/dropbear to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_dropbear.txt [*] Initial CPU detection process of binary libjson-c.so.2.0.2 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_libjson-c.so.2.0.2.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubirename to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubirename.txt [*] Initial CPU detection process of binary libip4tc.so.2.0.0 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_libip4tc.so.2.0.0.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubicrc32 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubicrc32.txt [*] Initial CPU detection process of binary liblua.so.5.1.5 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_liblua.so.5.1.5.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubinfo to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubinfo.txt [*] Initial strace run with jchroot on the command ./usr/sbin/ubimkvol to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_ubimkvol.txt [*] Initial CPU detection process of binary libxtables.so.12.2.0 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_libxtables.so.12.2.0.txt [*] Initial CPU detection process of binary liblucihttp.so.0.1 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_liblucihttp.so.0.1.txt [*] Initial CPU detection process of binary libip6tc.so.2.0.0 with CPU configuration NONE. [REF] /logs/s115_usermode_emulator/qemu_init_libip6tc.so.2.0.0.txt [*] Initial strace run with jchroot on the command ./lib/libgcc_s.so.1 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_libgcc_s.so.1.txt [*] Initial strace run with jchroot on the command ./lib/libubus.so.20210603 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_libubus.so.20210603.txt [*] Initial strace run with jchroot on the command ./usr/lib/libjson-c.so.2.0.2 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_libjson-c.so.2.0.2.txt [*] Initial strace run with jchroot on the command ./usr/lib/libip4tc.so.2.0.0 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_libip4tc.so.2.0.0.txt [*] Initial strace run with jchroot on the command ./usr/lib/liblua.so.5.1.5 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_liblua.so.5.1.5.txt [*] Initial strace run with jchroot on the command ./usr/lib/liblucihttp.so.0.1 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_liblucihttp.so.0.1.txt [*] Initial strace run with jchroot on the command ./usr/lib/libxtables.so.12.2.0 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_libxtables.so.12.2.0.txt [*] Initial strace run with jchroot on the command ./usr/lib/libip6tc.so.2.0.0 to identify missing areas [REF] /logs/s115_usermode_emulator/stracer_libip6tc.so.2.0.0.txt