Giter VIP home page Giter VIP logo

Comments (10)

shadowhunter-YC avatar shadowhunter-YC commented on August 16, 2024

Additionally, if there are no root files found in the firmware package, such as www, var, bin, rootfs, and only some ELF, XML, HTML, or RSA files, will there be no software CVE vulnerabilities in this situation?

from emba.

m-1-k-3 avatar m-1-k-3 commented on August 16, 2024

Perfect if you found false positives and issues in EMBA ;)

Please provide examples with test firmware for reproducing. Otherwise we are not able to fix these issues.

You can also check our version identifiers here: https://github.com/e-m-b-a/emba/blob/master/config/bin_version_strings.cfg
And further documentation here https://github.com/e-m-b-a/emba/wiki/User-mode-Emulator

from emba.

shadowhunter-YC avatar shadowhunter-YC commented on August 16, 2024

Additionally, if there are no root files found in the firmware package, such as www, var, bin, rootfs, and only some ELF, XML, HTML, or RSA files, will there be no software CVE vulnerabilities in this situation?

from emba.

m-1-k-3 avatar m-1-k-3 commented on August 16, 2024

This wiki entry should help you: https://github.com/e-m-b-a/emba/wiki/OS-support#vxworks-based-firmware

At the end you need to test it ...

from emba.

shadowhunter-YC avatar shadowhunter-YC commented on August 16, 2024

I found the following sentence in the URL: https://github.com/e-m-b-a/emba/blob/master/config/bin_version_strings.cfg
”no_static -> typically this rule produces false positives in static analysis -> only use this rule in emulation mode”
Does this mean that most software versions will generate false positives?

from emba.

shadowhunter-YC avatar shadowhunter-YC commented on August 16, 2024

I encountered the same problem as this one:
#193
I want to know if EMBA can solve this problem now

from emba.

m-1-k-3 avatar m-1-k-3 commented on August 16, 2024

You can use the cve-black and whitelists here https://github.com/e-m-b-a/emba/blob/master/config/cve-blacklist.txt and here https://github.com/e-m-b-a/emba/blob/master/config/cve-whitelist.txt

from emba.

shadowhunter-YC avatar shadowhunter-YC commented on August 16, 2024

May I ask if CVE detection is only based on version number matching? Are there any other rules?

from emba.

m-1-k-3 avatar m-1-k-3 commented on August 16, 2024

The CVE detection is a bit more complicated.

  • The mechanism is based on the version detection regex rules defined here
  • These rules are then modified with sed (same config) to query the cve database via cve-search
  • For the detection by itself we have multiple modules:
    • s06 for distribution identification (rules are coded in the module)
    • s08 for package management
    • s09 for static detection
    • s24/s25 for kernel version detection
    • s26 for kernel vulnerbility detection/verification based on the kernel config or extracted symbols
    • s115/s116 for user-mode emulation
    • L10/L15 for detection in system mode emulation via Nmap scanning
    • L25 for web server detection (in system mode emulation)
    • L35 for CVE detection via exploitation from Metasploit
  • F20 is finally the aggregator module which brings everything together

As you can see the CVE/version detection is not that easy. Every module has its own advantages and disadvantages. Some are only running for special firmwares and if some special conditions are met.

from emba.

m-1-k-3 avatar m-1-k-3 commented on August 16, 2024

Without the firmware which was used and produced the high number of false positives we can't further help. Closing for now ... please re-open if needed with a dedicatet firmware example

from emba.

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.