Comments (9)
They appear in all the ARM kernels: https://github.com/firmadyne/kernel-v4.1/blob/firmadyne-v4.1.17/drivers/firmadyne/hooks.c and https://github.com/firmadyne/kernel-v3.10/blob/firmadyne-v3.10.96/drivers/firmadyne/hooks.c
from firmadyne.
I don't have access to the database right now, but you can grab a copy of the old database from https://github.com/firmadyne/firmadyne#database-1 , and look for ARM images that were extracted successfully, though that doesn't show if the emulation and network detection worked correctly. Alternatively, if you look through the case studies in the paper, I recall at least a couple of them should be ARM.
from firmadyne.
Because I can't fix the Netgear R7000, which has kernel panic (not syncing) when QEMU is running. I don't know why don't you choose the same Linux version 2.6 as you do it for mipsel and mipseb, but choose a mismatched Linux version 4.1 for armel.
from firmadyne.
You can read the details behind that decision in #44
from firmadyne.
I have read the file infernetwork.py && makeNetwork.py
I tried to find some strings which find ifaces, addr, vlan_id,.v.v ("__inet_insert_ifa", "register_vlan_dev", "br_add_if", "br_dev_ioctl") in three kernels: vmlinux.mipsel, vmlinux.mipseb, zImage.armel
And I realize that the strings only appear in vmlinux.mipsel and vmlinux.mipsel. zImg.armel is not
So I cant understand why firmadyne could emulate firmware which has ARCH=armel?
from firmadyne.
I tried to emulate somes firmwares ARM and when I view qemu.initial.serial.log
, some strings such as "register_vlan_dev", "br_add_if", "br_dev_ioctl,.. didn't appear in this file -> I guess this is the result why Firmadyne did not run inferNetwork.py successfully.
So I confuse that the reason is where come from the bug of kernel or some errors in the process of initial filesystem, or wrong parameter while setting up QEMU, or the process of initial in directory /etc/*,..?
from firmadyne.
@mikelhpdatke I believe those strings will only show up in qemu.initial.serial.log
if the system calls associated with those hooks are executed. This could happen due to many reasons. The firmware doesn't boot up properly is most likely the case. As to the reason why it fails to boot up is a mystery to me and changes case by case. You'd have to debug those errors yourself.
Please correct me if I am wrong.
from firmadyne.
Yeah, @dfbravo pretty much sums it up.
from firmadyne.
@MikimotoH I am running into the same issues. Were you able to resolve this issue?
from firmadyne.
Related Issues (20)
- Password Authentication Failed HOT 1
- bug in makeNetwork.py HOT 1
- No network interface HOT 3
- extractor.py needs to be run as root with the latest binwalk HOT 2
- Firmadyne is unable to create any other image and image id 8
- Erorr file inferNetwork.sh and erorr message: "swRegRead: Operation not supported" when run file run.sh HOT 5
- Unable to emulate any firmware HOT 1
- Error in makeImage.sh HOT 3
- Emulation failing with Kernel panic - not syncing: No working init found. Try passing init= option to kernel. HOT 2
- inferNetwork.sh didn't find any network interfaces HOT 4
- Error: Cannot open file --run-as=root HOT 6
- [ 210.320000] firmadyne: ioctl: 0x4 HOT 1
- inferNetwork.sh UnicodeDecodeError HOT 4
- Netgear123456 root password issue HOT 1
- Need debugging help
- EXT2-fs sda1 error deleted inode refrence in tplink archer c6 HOT 1
- I have an error while trying to emulate RAXE300 firmware version 1.0.7.62
- When I simulated the router firmware, an error was reported. Why?
- Add ability to disable IPv6
- Remove need for SQL database HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmadyne.