Git Product home page Git Product logo

Comments (9)

ddcc avatar ddcc commented on June 27, 2024 1

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.

ddcc avatar ddcc commented on June 27, 2024

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.

MikimotoH avatar MikimotoH commented on June 27, 2024

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.

ddcc avatar ddcc commented on June 27, 2024

You can read the details behind that decision in #44

from firmadyne.

mikelhpdatke avatar mikelhpdatke commented on June 27, 2024

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.

mikelhpdatke avatar mikelhpdatke commented on June 27, 2024

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.

dfbravo avatar dfbravo commented on June 27, 2024

@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.

ddcc avatar ddcc commented on June 27, 2024

Yeah, @dfbravo pretty much sums it up.

from firmadyne.

anandmudgerikar avatar anandmudgerikar commented on June 27, 2024

@MikimotoH I am running into the same issues. Were you able to resolve this issue?

from firmadyne.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.