diff --git a/CNAME b/CNAME deleted file mode 100644 index a4297dd..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -www.securefirmware.de \ No newline at end of file diff --git a/categories/index.html b/categories/index.html index d492467..0711e5f 100644 --- a/categories/index.html +++ b/categories/index.html @@ -1,5 +1,3 @@ -Categories - EMBA BEYOND -

All tags

-
\ No newline at end of file +Categories - EMBA BEYOND +

All tags

\ No newline at end of file diff --git a/index.html b/index.html index c784a61..f5743ff 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,8 @@ -EMBA BEYOND | Home -

The firmware scanning environment with EMBA and EMBArk

EMBA version 1.1.2 is out now


Version 1.1.2 - Knight Rider Edt. of EMBA is out
Read more ⟶

EMBA version 1.1.0 is out now


Version 1.1.0 - Las Vegas Edt. of EMBA is out
Read more ⟶

EMBA goes to Vegas baby


It’s official, in August Pascal and myself will present the firmware security analyzer EMBA at Black Hat and DEF CON in Las Vegas. We are super excited and happy to have the possibility to show you the best firmware scanner on the best stage! As this is not enough, we are planning to release a huge update for EMBA … stay tuned -You can find further details at the Black Hat USA Arsenal page and the DEF CON 30 forum…
Read more ⟶

EMBA Version 1.0.0 is out now


Version 1.0.0 - Singapore Edt. of EMBA is out
Read more ⟶

Join us at Black Hat Asia


You can attend the Black Hat Business Hall for free - check it out and join our talk on firmware analysis with EMBA here.…
Read more ⟶

EMBA v0.9.0 - Munich Edt released


1500 pull requests for version 0.9.0
Read more ⟶

Black Hat Asia with EMBA


EMBA goes to Black Hat Asia 2022
Read more ⟶

QNAP firmware extractor module - from 0 to full firmware analysis


EMBA got a new module for decrypting and extracting QNAP firmware files.
Read more ⟶

EMBArk - the enterprise ready firmware scanning environment


Introduction of EMBArk the enterprise firmware analysis environment
Read more ⟶

Reporting improvements for EMBA


We have included a template mechanism for creating better and more customised reports in EMBA. Now it is possible to place plain text template files or shell scripts to the EMBA directory ./report_templates. The naming of the files is quite strict. This means for the module P11_dlink_SHRS_enc_extract.sh a reporting template with the name P11_dlink_SHRS_enc_extract-post.sh or P11_dlink_SHRS_enc_extract-post.txt is used. The ending -pre is used for details printed at the beginning of the module, -post includes details shown at the end of the module.…
Read more ⟶
-
\ No newline at end of file +EMBA BEYOND | Home

The firmware scanning environment with EMBA and EMBArk

EMBA version 1.3.1 is out now


What happened since the last EMBA release? +There was the absolute great #Hackersummercamp with our talks at BSidesLV, ICS Village (DEF CON) and Black Hat (Arsenal). The recording of the BSides talk is already available here. Beside this, Nate did a really great talk at BruCON – see here. +Beside a lot of code cleanup, bug fixing and some little improvements the new firmware diffing mode is one of the highlights in version 1.…
Read more ⟶

AI supported firmware analysis


EMBA - The AI powered firmware security analyzer Why not use AI for firmware analysis? This is the idea we had since the public release of OpenAI’s GPT-3 and GPT-4 earlier this year. +We started testing OpenAI’s ChatGPT for different possible usage scenarios like the integration of further CVE explanation: +Additionally, we thought about a quick lookup for potential exploit code or POC’s: +It can be seen that the available information is quite limited because of the limited dataset for these types of requests.…
Read more ⟶

EMBA version 1.1.2 is out now


Version 1.1.2 - Knight Rider Edt. of EMBA is out
Read more ⟶

EMBA version 1.1.0 is out now


Version 1.1.0 - Las Vegas Edt. of EMBA is out
Read more ⟶

EMBA goes to Vegas baby


It’s official, in August Pascal and myself will present the firmware security analyzer EMBA at Black Hat and DEF CON in Las Vegas. We are super excited and happy to have the possibility to show you the best firmware scanner on the best stage! As this is not enough, we are planning to release a huge update for EMBA … stay tuned +You can find further details at the Black Hat USA Arsenal page and the DEF CON 30 forum…
Read more ⟶

EMBA Version 1.0.0 is out now


Version 1.0.0 - Singapore Edt. of EMBA is out
Read more ⟶

Join us at Black Hat Asia


You can attend the Black Hat Business Hall for free - check it out and join our talk on firmware analysis with EMBA here.…
Read more ⟶

EMBA v0.9.0 - Munich Edt released


1500 pull requests for version 0.9.0
Read more ⟶

Black Hat Asia with EMBA


EMBA goes to Black Hat Asia 2022
Read more ⟶

QNAP firmware extractor module - from 0 to full firmware analysis


EMBA got a new module for decrypting and extracting QNAP firmware files.
Read more ⟶
\ No newline at end of file diff --git a/index.xml b/index.xml index 12ad6b5..e39ca4e 100644 --- a/index.xml +++ b/index.xml @@ -1,4 +1,9 @@ -EMBA BEYONDhttps://www.securefirmware.de/Recent content on EMBA BEYONDHugo -- gohugo.ioen-usThu, 06 Oct 2022 13:37:00 +0200EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. +EMBA BEYONDhttps://www.securefirmware.de/Recent content on EMBA BEYONDHugo -- gohugo.ioen-usTue, 07 Nov 2023 09:53:24 +0100EMBA version 1.3.1 is out nowhttps://www.securefirmware.de/posts/version_131/Tue, 07 Nov 2023 09:53:24 +0100https://www.securefirmware.de/posts/version_131/What happened since the last EMBA release? +There was the absolute great #Hackersummercamp with our talks at BSidesLV, ICS Village (DEF CON) and Black Hat (Arsenal). The recording of the BSides talk is already available here. Beside this, Nate did a really great talk at BruCON – see here. +Beside a lot of code cleanup, bug fixing and some little improvements the new firmware diffing mode is one of the highlights in version 1.AI supported firmware analysishttps://www.securefirmware.de/posts/ai_powered_firmware_analysis/Tue, 07 Nov 2023 09:50:18 +0100https://www.securefirmware.de/posts/ai_powered_firmware_analysis/EMBA - The AI powered firmware security analyzer Why not use AI for firmware analysis? This is the idea we had since the public release of OpenAI’s GPT-3 and GPT-4 earlier this year. +We started testing OpenAI’s ChatGPT for different possible usage scenarios like the integration of further CVE explanation: +Additionally, we thought about a quick lookup for potential exploit code or POC’s: +It can be seen that the available information is quite limited because of the limited dataset for these types of requests.EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. 40 years later … K.I.T.T. is definitive able to analyze firmware with EMBA Beside bug fixes this release introduces many new features. Since version 1.1.1 we introduced several new features and multiple improved areas: Thx to @nuschpl the Installer supports non-english systems (see https://github.EMBA version 1.1.0 is out nowhttps://www.securefirmware.de/posts/version_110/Mon, 01 Aug 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_110/In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 was available. 1856 commits later version 1.1.0 with a huge amount of improvements and new features was released. diff --git a/page/1/index.html b/page/1/index.html index 9def7f9..f65759f 100644 --- a/page/1/index.html +++ b/page/1/index.html @@ -1 +1,2 @@ -https://www.securefirmware.de/ \ No newline at end of file +https://www.securefirmware.de/ + \ No newline at end of file diff --git a/page/2/index.html b/page/2/index.html index 8c656a9..dac7936 100644 --- a/page/2/index.html +++ b/page/2/index.html @@ -1,6 +1,3 @@ -EMBA BEYOND | Home -

The firmware scanning environment with EMBA and EMBArk

Hello World from EMBA


Let's do some blogging around EMBA, EMBArk and firmware security analysis in general.
Read more ⟶

  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +EMBA BEYOND | Home

The firmware scanning environment with EMBA and EMBArk

EMBArk - the enterprise ready firmware scanning environment


Introduction of EMBArk the enterprise firmware analysis environment
Read more ⟶

Reporting improvements for EMBA


We have included a template mechanism for creating better and more customised reports in EMBA. Now it is possible to place plain text template files or shell scripts to the EMBA directory ./report_templates. The naming of the files is quite strict. This means for the module P11_dlink_SHRS_enc_extract.sh a reporting template with the name P11_dlink_SHRS_enc_extract-post.sh or P11_dlink_SHRS_enc_extract-post.txt is used. The ending -pre is used for details printed at the beginning of the module, -post includes details shown at the end of the module.…
Read more ⟶

Hello World from EMBA


Let's do some blogging around EMBA, EMBArk and firmware security analysis in general.
Read more ⟶

  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/ai_powered_firmware_analysis/index.html b/posts/ai_powered_firmware_analysis/index.html new file mode 100644 index 0000000..cab04b0 --- /dev/null +++ b/posts/ai_powered_firmware_analysis/index.html @@ -0,0 +1,13 @@ +AI supported firmware analysis - EMBA BEYOND +

AI supported firmware analysis

Posted on Nov 7, 2023

EMBA - The AI powered firmware security analyzer

Why not use AI for firmware analysis? This is the idea we had since the public release of OpenAI’s GPT-3 and GPT-4 earlier this year.

We started testing OpenAI’s ChatGPT for different possible usage scenarios like the integration of further CVE explanation:

image

Additionally, we thought about a quick lookup for potential exploit code or POC’s:

image

It can be seen that the available information is quite limited because of the limited dataset for these types of requests. As we have already integrated multiple exploit databases, we dropped this idea for now. Probably/Hopefully we will come back to this in the future.

After some poking with OpenAI’s ChatGPT via the Chat interface we decided to give it a try within EMBA. But, currently not for the explanation of CVE identifiers. During our testing we found out that GPT is quite good at highlighting possible weak spots in different scripting languages:

image

The main idea of the current GPT integration into EMBA is to use AI mechanisms to give the tester a better understanding of interesting areas inside the firmware. Where should he spend his time on manual investigation? To optimize the pentesters time, we already have a lot of different mechanisms integrated into EMBA. The AI integration is another valuable source of information for optimizing this task and pointing YOU to the next 0day vulnerability.

EMBA ChatGPT integration

The new Q02 quest-module provides a simple way of querying the OpenAI-API with custom questions and code snippeds. The following notes give you a short overview on how to start AI-assisted firmware analysis with EMBA

Configuration Step1 - Free

Use the config/gpt_config.env.template file to generate the following config/gpt_config.env file:

  • OPENAI_API_KEY="sk-XXXXXXXXXXXXXXXXXXXX"
  • GPT_QUESTION="For the following code I need you to tell me how an attacker could exploit it and point out all vulnerabilities:"
  • MINIMUM_GPT_PRIO=3 +-> The OPENAI_API_KEY variable has to be set to be able to make API calls, the other options are for tweaking results.

To generate an API key you need an OpenAI account and generate an API-key

Configuration Step2 (optional)- Requires Payment Plan for OpenAI-API (currently in alpha phase)

  1. export GPT_OPTION=2 will enable the Module to make unrestricted API-calls
  2. changing the template under config/gpt_template.json, for example doing:

"model": "gpt-4"

should enable gpt-4 functionality (only available on payment plan)

Configuration Step3 - enabling the Q02-module

To enable the GPT integration in the next firmware analysis process you need to activate it via setting the GPT_OPTION variable export GPT_OPTION=<1/2>.

Note, that to do this you need to set it for the root user!

The preferred way for enabling GPT is to setup a GPT enabled scan-profile like the example profile scan-profiles/default-scan-gpt.emba. This profile is optimized for GPT enabled firmware analysis.

GPT during firmware analysis

During the next firmware scan the API key gets automatically tested and used from EMBA.

image

After the Q container is started it can be further monitored with docker ps and docker logs:

image

image

The monitoring should show the GPT requests and results during operation:

image

At the end of the firmware test, the finalyzer module F05 generates the relevant linking between the already available results and the GPT results:

image

The web report contains all the results that GPT provides to us:

image

FAQ

Q: Where do I get the needed API key?

Go to https://platform.openai.com/account/api-keys and generate one.


Q: Do I need to pay for the OpenAI account?

No, the default settings of EMBA are working quite good with the free account.


Q: Does the host system need Internet access to query OpenAI servers?

Yes, there is a second, purpose built docker container that needs Internet access.


Q: I’m always running into the “Rate limit handling”. What can I do?

This issue is well known with the free OpenAI account. EMBA is trying to handle these issues as good as possible. The only real fix is a payed account.


Q: Is the complete firmware uploaded to OpenAI’s ChatGPT?

No, only in case you enabled an AI-assisted scan of your firmware parts of your firmware (see also this question) are uploaded and analysed via OpenAI’s GPT solution.


Q: What modules have currently AI-assisted support?

Currently the following modules have AI integration:

  • S20 - Shell analysis module
  • S21 - Python analysis module
  • S22 - PHP analysis module
  • S23 - Lua analysis module

In the future more modules will be enabled.


Q: I have further ideas for a better GPT integration. How can I contact you?

The easiest way is to open an issue here


Q: I found a bug. How can I contact you?

The easiest way is to open an issue here


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/blackhat_asia_arsenal_2022/index.html b/posts/blackhat_asia_arsenal_2022/index.html index 2938763..855c587 100644 --- a/posts/blackhat_asia_arsenal_2022/index.html +++ b/posts/blackhat_asia_arsenal_2022/index.html @@ -1,6 +1,4 @@ -Black Hat Asia with EMBA - EMBA BEYOND -

Black Hat Asia with EMBA

Posted on Mar 16, 2022

Black Hat Asia 2022 logo

It’s official, in May Pascal and myself will present EMBA the firmware security scanner at Black Hat ASIA 2022. -We are super excited and happy to have the possibility to show you the best firmware scanner on the best stage!

Black Hat Asia 2022 - EMBA

You can find further details at the Black Hat Asia Arsenal page.


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Black Hat Asia with EMBA - EMBA BEYOND +

Black Hat Asia with EMBA

Posted on Mar 16, 2022

Black Hat Asia 2022 logo

It’s official, in May Pascal and myself will present EMBA the firmware security scanner at Black Hat ASIA 2022. +We are super excited and happy to have the possibility to show you the best firmware scanner on the best stage!

Black Hat Asia 2022 - EMBA

You can find further details at the Black Hat Asia Arsenal page.


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/emba_black_hat_asia_arsenal_2022/index.html b/posts/emba_black_hat_asia_arsenal_2022/index.html index c5b786b..f08abb7 100644 --- a/posts/emba_black_hat_asia_arsenal_2022/index.html +++ b/posts/emba_black_hat_asia_arsenal_2022/index.html @@ -1,5 +1,3 @@ -Join us at Black Hat Asia - EMBA BEYOND -

  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Join us at Black Hat Asia - EMBA BEYOND +

  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/embark_intro/index.html b/posts/embark_intro/index.html index a1112ac..39a73de 100644 --- a/posts/embark_intro/index.html +++ b/posts/embark_intro/index.html @@ -1,7 +1,5 @@ -EMBArk - the enterprise ready firmware scanning environment - EMBA BEYOND -

EMBArk - the enterprise ready firmware scanning environment

Posted on Feb 1, 2022

EMBA is a command line tool only, which is primarly designed for penetration testers. In contradiction to this, EMBArk is the enterprise ready front-end wich uses EMBA as scanning back end. +EMBArk - the enterprise ready firmware scanning environment - EMBA BEYOND +

EMBArk - the enterprise ready firmware scanning environment

Posted on Feb 1, 2022

EMBA is a command line tool only, which is primarly designed for penetration testers. In contradiction to this, EMBArk is the enterprise ready front-end wich uses EMBA as scanning back end. EMBArk is a Django based web front end which allows the management of the firmware scanning environment on one central system. Via EMBArk it is possible for multiple users (e.g. a pentesting or dev team) to access the scanner and initiate scan tasks via the web browser. -To get a first impression of EMBArk check this short intro video from Benedikt.

EMBArk is in early alpha state and currently under heavy development. A lot of changes under the hood were introduced in the last pull requests.

stay tuned …


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +To get a first impression of EMBArk check this short intro video from Benedikt.

EMBArk is in early alpha state and currently under heavy development. A lot of changes under the hood were introduced in the last pull requests.

stay tuned …


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/hello_world/index.html b/posts/hello_world/index.html index cf97234..0c4ffa7 100644 --- a/posts/hello_world/index.html +++ b/posts/hello_world/index.html @@ -1,5 +1,3 @@ -Hello World from EMBA - EMBA BEYOND -

Hello World from EMBA

Posted on Jan 24, 2022

Here is the EMBA team with a brand new blog around EMBA and EMBArk the firmware scanning environment.

In the near future you will find some blog posts on things we are working on and firmware security scanning in general. For now enjoy the EMBA video.

stay tuned …


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Hello World from EMBA - EMBA BEYOND +

Hello World from EMBA

Posted on Jan 24, 2022

Here is the EMBA team with a brand new blog around EMBA and EMBArk the firmware scanning environment.

In the near future you will find some blog posts on things we are working on and firmware security scanning in general. For now enjoy the EMBA video.

stay tuned …


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/index.html b/posts/index.html index 310625a..de8f395 100644 --- a/posts/index.html +++ b/posts/index.html @@ -1,5 +1,3 @@ -Posts - EMBA BEYOND -

All articles


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Posts - EMBA BEYOND +

All articles


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/index.xml b/posts/index.xml index 6d92e5d..8820d51 100644 --- a/posts/index.xml +++ b/posts/index.xml @@ -1,4 +1,9 @@ -Posts on EMBA BEYONDhttps://www.securefirmware.de/posts/Recent content in Posts on EMBA BEYONDHugo -- gohugo.ioen-usThu, 06 Oct 2022 13:37:00 +0200EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. +Posts on EMBA BEYONDhttps://www.securefirmware.de/posts/Recent content in Posts on EMBA BEYONDHugo -- gohugo.ioen-usTue, 07 Nov 2023 09:53:24 +0100EMBA version 1.3.1 is out nowhttps://www.securefirmware.de/posts/version_131/Tue, 07 Nov 2023 09:53:24 +0100https://www.securefirmware.de/posts/version_131/What happened since the last EMBA release? +There was the absolute great #Hackersummercamp with our talks at BSidesLV, ICS Village (DEF CON) and Black Hat (Arsenal). The recording of the BSides talk is already available here. Beside this, Nate did a really great talk at BruCON – see here. +Beside a lot of code cleanup, bug fixing and some little improvements the new firmware diffing mode is one of the highlights in version 1.AI supported firmware analysishttps://www.securefirmware.de/posts/ai_powered_firmware_analysis/Tue, 07 Nov 2023 09:50:18 +0100https://www.securefirmware.de/posts/ai_powered_firmware_analysis/EMBA - The AI powered firmware security analyzer Why not use AI for firmware analysis? This is the idea we had since the public release of OpenAI&rsquo;s GPT-3 and GPT-4 earlier this year. +We started testing OpenAI&rsquo;s ChatGPT for different possible usage scenarios like the integration of further CVE explanation: +Additionally, we thought about a quick lookup for potential exploit code or POC’s: +It can be seen that the available information is quite limited because of the limited dataset for these types of requests.EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. 40 years later &hellip; K.I.T.T. is definitive able to analyze firmware with EMBA Beside bug fixes this release introduces many new features. Since version 1.1.1 we introduced several new features and multiple improved areas: Thx to @nuschpl the Installer supports non-english systems (see https://github.EMBA version 1.1.0 is out nowhttps://www.securefirmware.de/posts/version_110/Mon, 01 Aug 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_110/In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 was available. 1856 commits later version 1.1.0 with a huge amount of improvements and new features was released. diff --git a/posts/lasvegas_intro_2022/index.html b/posts/lasvegas_intro_2022/index.html index 3bdc539..d958cbe 100644 --- a/posts/lasvegas_intro_2022/index.html +++ b/posts/lasvegas_intro_2022/index.html @@ -1,9 +1,7 @@ -EMBA goes to Vegas baby - EMBA BEYONDEMBA goes to Vegas baby - EMBA BEYOND + -

EMBA goes to Vegas baby

Posted on Jul 21, 2022

Las Vegas 2022

It’s official, in August Pascal and myself will present the firmware security analyzer EMBA at Black Hat and DEF CON in Las Vegas. -We are super excited and happy to have the possibility to show you the best firmware scanner on the best stage! As this is not enough, we are planning to release a huge update for EMBA … stay tuned

You can find further details at the Black Hat USA Arsenal page and the DEF CON 30 forum


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +You can find further details at the Black Hat USA Arsenal page and the DEF CON 30 forum">

EMBA goes to Vegas baby

Posted on Jul 21, 2022

Las Vegas 2022

It’s official, in August Pascal and myself will present the firmware security analyzer EMBA at Black Hat and DEF CON in Las Vegas. +We are super excited and happy to have the possibility to show you the best firmware scanner on the best stage! As this is not enough, we are planning to release a huge update for EMBA … stay tuned

You can find further details at the Black Hat USA Arsenal page and the DEF CON 30 forum


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/munich-edt/index.html b/posts/munich-edt/index.html index e72dc83..af23351 100644 --- a/posts/munich-edt/index.html +++ b/posts/munich-edt/index.html @@ -1,5 +1,3 @@ -EMBA v0.9.0 - Munich Edt released - EMBA BEYOND -

EMBA v0.9.0 - Munich Edt released

Posted on Mar 17, 2022

EMBA Munich Edt.

After around 1 and a half year of continuous development (and 1500 commits) we have decided to create our first official EMBA release.

Welcome EMBA v0.9.0 - Munich Edt.

Let’s celebrate our initial release!

Keep on using EMBA and improve firmware security!


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +EMBA v0.9.0 - Munich Edt released - EMBA BEYOND +

EMBA v0.9.0 - Munich Edt released

Posted on Mar 17, 2022

EMBA Munich Edt.

After around 1 and a half year of continuous development (and 1500 commits) we have decided to create our first official EMBA release.

Welcome EMBA v0.9.0 - Munich Edt.

Let’s celebrate our initial release!

Keep on using EMBA and improve firmware security!


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/qnap_decryptor/index.html b/posts/qnap_decryptor/index.html index 6f33ec5..bdcaa17 100644 --- a/posts/qnap_decryptor/index.html +++ b/posts/qnap_decryptor/index.html @@ -1,11 +1,9 @@ -QNAP firmware extractor module - from 0 to full firmware analysis - EMBA BEYOND -

QNAP firmware extractor module - from 0 to full firmware analysis

Posted on Feb 8, 2022

On one of our last penetration tests we had a QNAP device in front of us. While we started investigating the device via the network, we also wanted to use our firmware scanner EMBA for the automated firmware analysis tasks. The firmware was available from the QNAP download site and starting EMBA with the default profile looks like a quick win. After a while we realised that EMBA was running into the deep-extraction mode and finally failed extracting the needed firmware. -The initial check on a not extracted firmware is typically the entropy value:

QNAP_entropy_binwalk

An entropy value of straight 1 typically means the firmware is compressed or encrypted. After some digging and research we identified that the firmware update files from the download site are somehow encrypted. Additionally, Binwalk was able to give another hint on it:

QNAP_decrypt_binwalk

This was good. The bad was, that Binwalk was not able to extract the firmware. This means we had to start with some recon work. +QNAP firmware extractor module - from 0 to full firmware analysis - EMBA BEYOND +

QNAP firmware extractor module - from 0 to full firmware analysis

Posted on Feb 8, 2022

On one of our last penetration tests we had a QNAP device in front of us. While we started investigating the device via the network, we also wanted to use our firmware scanner EMBA for the automated firmware analysis tasks. The firmware was available from the QNAP download site and starting EMBA with the default profile looks like a quick win. After a while we realised that EMBA was running into the deep-extraction mode and finally failed extracting the needed firmware. +The initial check on a not extracted firmware is typically the entropy value:

QNAP_entropy_binwalk

An entropy value of straight 1 typically means the firmware is compressed or encrypted. After some digging and research we identified that the firmware update files from the download site are somehow encrypted. Additionally, Binwalk was able to give another hint on it:

QNAP_decrypt_binwalk

This was good. The bad was, that Binwalk was not able to extract the firmware. This means we had to start with some recon work. We found the interesting project qnap-utils which should be able to decrypt QNAP firmware images. In issue 1 also the source code of a working version of the needed PC1 tool was linked. After compiling it on a current Kali Linux machine we were able to extract a tgz archive from the update image.

QNAP_decrypt

We wrote a quick EMBA module for the decryption and everything should be good to go. We designed it in a way to identify the QNAP encrypted firmware via Binwalk. With the -y parameter Binwalk supports checking only specific signatures. In our case we run Binwalk with the “qnap encrypted” signature in the P02 module for the identification:

binwalk -y “qnap encrypted” “$CHECK_FILE”

If the output of this command includes “QNAP encrypted firmware footer , model” then the QNAP decryption module is used. The compiled PC1 binary which is needed for the decryption process is placed in the ./external folder. On a user installation this is done by the EMBA installer and so the module just needs to execute this binary with the correct set of parameters.

After updating everything we were ready for the first run. The firmware got decrypted and during the deep-extraction a lot of filesystem areas where extracted. As EMBA is doing a lot of tests on a firmware this scan took quite a while. After finishing the testing process EMBA has identified around 50 software components with version details and a lot of other interesting stuff like the used binary protections and weak binary functions.

QNAP_binary_functions

During our investigation of the results, we realized that most of these results were based on our static analysis module - s09. This also means that the very powerful version detection via dynamic analysis was mostly failing. With this in mind our investigation on how to improve the testing results started. First issue we identified during checking the project qnap-utils was that the extracted filesystem we generated with our deep-extraction mode was there but it was very messy. This was not a problem for all the static analysis mechanisms, but for dynamic analysis with qemu a non clean filesystem was a blocker (at this time). To get a better filesystem we analyzed the code from the extract_qnap_fw.sh script and ported it into the QNAP decryption module as additional extractor for QNAP firmware. As the original code was a bash script it was quite easy to port it to EMBA and do some cleanup to make it shellcheck compatible.

Another issue we identified was the problem that the emulator was not able to recover needed stuff from the extracted data. We will take a deeper look at this in a following blog post. -After all these modifications EMBA was finally able to identify 94 software components with version details:

QNAP_software_components


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +After all these modifications EMBA was finally able to identify 94 software components with version details:

QNAP_software_components


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/reporting_templates/index.html b/posts/reporting_templates/index.html index f36c4ac..4346f1d 100644 --- a/posts/reporting_templates/index.html +++ b/posts/reporting_templates/index.html @@ -1,7 +1,6 @@ -Reporting improvements for EMBA - EMBA BEYOND -

Reporting improvements for EMBA

Posted on Jan 27, 2022

We have included a template mechanism for creating better and more customised reports in EMBA. Now it is possible to place plain text template files or shell scripts to the EMBA directory ./report_templates. +Reporting improvements for EMBA - EMBA BEYOND +

Reporting improvements for EMBA

Posted on Jan 27, 2022

We have included a template mechanism for creating better and more customised reports in EMBA. Now it is possible to place plain text template files or shell scripts to the EMBA directory ./report_templates. The naming of the files is quite strict. This means for the module P11_dlink_SHRS_enc_extract.sh a reporting template with the name P11_dlink_SHRS_enc_extract-post.sh or P11_dlink_SHRS_enc_extract-post.txt is used. The ending -pre is used for details printed at the beginning of the module, -post includes details shown at the end of the module. If a text file is used, this is just echoed to the cli and to the report file via the command cat. If instead a shell script is found, this gets included via source command. With this mechanism you are able to use the full power of shell scripting in your reporting templates. Means also you can access all variables and print your own customised header/footer of the modules.

EMBA reporting template used

The structure of the template directory looks like the following:

report_templates
 ├── F10_license_summary-post.sh
@@ -21,5 +20,4 @@
 ├── P18_qnap_decryptor-pre.sh
 ├── S06_distribution_identification-pre.sh
 └── S09_firmware_base_version_check-post.txt
-

The pre reporting templates are handled via the EMBA helper function pre_module_reporter and the post reporting templates are handled via the already available helper function module_end_log.

The templates currently included in the installation are primarly for showing the possibilities of this new feature. We believe this is a great feature for every pentester to include the own descriptions into the EMBA reports.

Additionally, we will improve the included templates over time. If you are interested in helping improving these templates pull requests are welcome.


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +

The pre reporting templates are handled via the EMBA helper function pre_module_reporter and the post reporting templates are handled via the already available helper function module_end_log.

The templates currently included in the installation are primarly for showing the possibilities of this new feature. We believe this is a great feature for every pentester to include the own descriptions into the EMBA reports.

Additionally, we will improve the included templates over time. If you are interested in helping improving these templates pull requests are welcome.


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/version100/index.html b/posts/version100/index.html index 94e79ad..74a395b 100644 --- a/posts/version100/index.html +++ b/posts/version100/index.html @@ -1,5 +1,3 @@ -EMBA Version 1.0.0 is out now - EMBA BEYOND -

EMBA Version 1.0.0 is out now

Posted on May 18, 2022

Version-1.0.0

In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 is available.

We are very proud of this release and we want to highlight some details in the form of “How it started” vs. “How is it going”.

Included modules

In August 2020 we started with 26 EMBA modules. Today EMBA has around 60 public modules.

Version-1.0.0

Lines of Code

In August 2020 EMBA was already quite big with ~3400 lines of code. But today EMBA is a beast with more than 13.000 lines of code:

Version-1.0.0

Software components, vulnerabilities and exploits

We know you all love EMBA’s automatic detection of vulnerabilities and exploits. This feature was not included in EMBA in August 2020, it was introduced between 12/2020 and 01/2021.

Version-1.0.0

Version-1.0.0

Version-1.0.0


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +EMBA Version 1.0.0 is out now - EMBA BEYOND +

EMBA Version 1.0.0 is out now

Posted on May 18, 2022

Version-1.0.0

In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 is available.

We are very proud of this release and we want to highlight some details in the form of “How it started” vs. “How is it going”.

Included modules

In August 2020 we started with 26 EMBA modules. Today EMBA has around 60 public modules.

Version-1.0.0

Lines of Code

In August 2020 EMBA was already quite big with ~3400 lines of code. But today EMBA is a beast with more than 13.000 lines of code:

Version-1.0.0

Software components, vulnerabilities and exploits

We know you all love EMBA’s automatic detection of vulnerabilities and exploits. This feature was not included in EMBA in August 2020, it was introduced between 12/2020 and 01/2021.

Version-1.0.0

Version-1.0.0

Version-1.0.0


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/version_110/index.html b/posts/version_110/index.html index 714dbca..351a30f 100644 --- a/posts/version_110/index.html +++ b/posts/version_110/index.html @@ -1,5 +1,3 @@ -EMBA version 1.1.0 is out now - EMBA BEYOND -

EMBA version 1.1.0 is out now

Posted on Aug 1, 2022

Version-1.1.0

In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 was available. 1856 commits later version 1.1.0 with a huge amount of improvements and new features was released.

Just to give you a feeling of how massive this update is

  • Initial release had around 3400 lines of code
  • Version 1.0.0 had around 12000 lines of code
  • And now, Version 1.1.0 has more than 20000 lines of code

New system-mode emulation environment

We have replaced the old system-mode emulation modules completely with a new and improved environment. As the system-emulation checks are not activated by default you need to use the -Q switch for enabling this feature. This mechanism is heavily based on the research projects firmadyne and FirmAE. During the re-implementation as EMBA modules it was also possible to improve the emulation results massively.

The following benchmark shows the final results:

System-mode-emulation

For further details, the EMBA wiki can be consulted.

New UI and messaging system

EMBA has new console UI elements integrated. EMBA is now able to show you all needed details during the EMBA testing process:

Console UI

Additionally, EMBA has a new messaging system based on inotify. EMBA can show you relevant updates as desktop notifications:

Desktop notifications

Multiple new modules

As usual a huge amount of the modules (probably all) got some kind of updates and bug fixes. Additionally, the following new modules were introduced:


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +EMBA version 1.1.0 is out now - EMBA BEYOND +

EMBA version 1.1.0 is out now

Posted on Aug 1, 2022

Version-1.1.0

In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 was available. 1856 commits later version 1.1.0 with a huge amount of improvements and new features was released.

Just to give you a feeling of how massive this update is

  • Initial release had around 3400 lines of code
  • Version 1.0.0 had around 12000 lines of code
  • And now, Version 1.1.0 has more than 20000 lines of code

New system-mode emulation environment

We have replaced the old system-mode emulation modules completely with a new and improved environment. As the system-emulation checks are not activated by default you need to use the -Q switch for enabling this feature. This mechanism is heavily based on the research projects firmadyne and FirmAE. During the re-implementation as EMBA modules it was also possible to improve the emulation results massively.

The following benchmark shows the final results:

System-mode-emulation

For further details, the EMBA wiki can be consulted.

New UI and messaging system

EMBA has new console UI elements integrated. EMBA is now able to show you all needed details during the EMBA testing process:

Console UI

Additionally, EMBA has a new messaging system based on inotify. EMBA can show you relevant updates as desktop notifications:

Desktop notifications

Multiple new modules

As usual a huge amount of the modules (probably all) got some kind of updates and bug fixes. Additionally, the following new modules were introduced:


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/version_112_knightrider/index.html b/posts/version_112_knightrider/index.html index ff783a2..ec8b4e0 100644 --- a/posts/version_112_knightrider/index.html +++ b/posts/version_112_knightrider/index.html @@ -1,5 +1,3 @@ -EMBA version 1.1.2 is out now - EMBA BEYOND -

EMBA version 1.1.2 is out now

Posted on Oct 6, 2022

Bonnie: I have a new feature integrated into K.I.T.T.
Michael: Give me more details
K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware.

40 years later … K.I.T.T. is definitive able to analyze firmware with EMBA

Version-1.1.2

Beside bug fixes this release introduces many new features. Since version 1.1.1 we introduced several new features and multiple improved areas:

As usual you can find the latest version at github


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +EMBA version 1.1.2 is out now - EMBA BEYOND +

EMBA version 1.1.2 is out now

Posted on Oct 6, 2022

Bonnie: I have a new feature integrated into K.I.T.T.
Michael: Give me more details
K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware.

40 years later … K.I.T.T. is definitive able to analyze firmware with EMBA

Version-1.1.2

Beside bug fixes this release introduces many new features. Since version 1.1.1 we introduced several new features and multiple improved areas:

As usual you can find the latest version at github


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/posts/version_131/index.html b/posts/version_131/index.html new file mode 100644 index 0000000..068d9e9 --- /dev/null +++ b/posts/version_131/index.html @@ -0,0 +1,13 @@ +EMBA version 1.3.1 is out now - EMBA BEYOND +

EMBA version 1.3.1 is out now

Posted on Nov 7, 2023

What happened since the last EMBA release?

There was the absolute great #Hackersummercamp with our talks at BSidesLV, ICS Village (DEF CON) and Black Hat (Arsenal). The recording of the BSides talk is already available here. Beside this, Nate did a really great talk at BruCON – see here.

Beside a lot of code cleanup, bug fixing and some little improvements the new firmware diffing mode is one of the highlights in version 1.3.1. +In 1 day bug hunting, exploit development and the identification of silent patching it is quite common to identify the differences between two firmware releases. +To use this new feature (as usual in a very early alpha state) it is now possible to define a second firmware with the -o parameter. EMBA starts with some basic analysis of both firmware images, extracts both images and finds the differences between these firmware images:

image

If the file is some ASCII file a nice diff is shown:

image

If the file is a binary file we use radare2 for further analysis:

image

For further details check our Wiki

Happy bug hunting :)


Beside your ongoing support with feedback, testing, working on issues and spreading EMBA you can now also support EMBA as a sponsor. +image +Check it out here and start being an essential part of the future of EMBA


What’s Changed

Full Changelog: https://github.com/e-m-b-a/emba/compare/1.3.0-AI-for-EMBA...1.3.1-diff-all-the-firmwares


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index b483f2b..430daba 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://www.securefirmware.de/tags/emba/2022-10-06T13:37:00+02:00https://www.securefirmware.de/2022-10-06T13:37:00+02:00https://www.securefirmware.de/posts/version_112_knightrider/2022-10-06T13:37:00+02:00https://www.securefirmware.de/posts/2022-10-06T13:37:00+02:00https://www.securefirmware.de/tags/release/2022-10-06T13:37:00+02:00https://www.securefirmware.de/tags/2022-10-06T13:37:00+02:00https://www.securefirmware.de/tags/blackhat/2022-08-01T13:37:00+02:00https://www.securefirmware.de/posts/version_110/2022-08-01T13:37:00+02:00https://www.securefirmware.de/tags/arsenal/2022-07-21T09:04:51+02:00https://www.securefirmware.de/tags/defcon30/2022-07-21T09:04:51+02:00https://www.securefirmware.de/posts/lasvegas_intro_2022/2022-07-21T09:04:51+02:00https://www.securefirmware.de/posts/version100/2022-05-18T09:45:39+02:00https://www.securefirmware.de/tags/bhasia/2022-05-07T12:38:59+02:00https://www.securefirmware.de/posts/emba_black_hat_asia_arsenal_2022/2022-05-07T12:38:59+02:00https://www.securefirmware.de/posts/munich-edt/2022-03-17T12:55:51+01:00https://www.securefirmware.de/tags/munich-edt/2022-03-17T12:55:51+01:00https://www.securefirmware.de/tags/v0.9.0/2022-03-17T12:55:51+01:00https://www.securefirmware.de/posts/blackhat_asia_arsenal_2022/2022-03-16T12:07:16+01:00https://www.securefirmware.de/tags/encrypted/2022-02-08T09:50:53+01:00https://www.securefirmware.de/tags/extractor/2022-02-08T09:50:53+01:00https://www.securefirmware.de/tags/qnap/2022-02-08T09:50:53+01:00https://www.securefirmware.de/posts/qnap_decryptor/2022-02-08T09:50:53+01:00https://www.securefirmware.de/tags/embark/2022-02-01T08:03:48+01:00https://www.securefirmware.de/posts/embark_intro/2022-02-01T08:03:48+01:00https://www.securefirmware.de/tags/reporting/2022-01-27T10:04:00+01:00https://www.securefirmware.de/posts/reporting_templates/2022-01-27T10:04:00+01:00https://www.securefirmware.de/posts/hello_world/2022-01-24T12:35:49+01:00https://www.securefirmware.de/categories/https://www.securefirmware.de/wiki/embark/https://www.securefirmware.de/wiki/emba/os-support/https://www.securefirmware.de/wiki/embark/os-support/https://www.securefirmware.de/wiki/emba/https://www.securefirmware.de/wiki/https://www.securefirmware.de/wiki/emba/referring-sites/https://www.securefirmware.de/wiki/emba/systemmode-emulator/https://www.securefirmware.de/wiki/emba/usage/https://www.securefirmware.de/wiki/emba/usermode-emulator/https://www.securefirmware.de/wiki/ \ No newline at end of file +https://www.securefirmware.de/tags/emba/2023-11-07T09:53:24+01:00https://www.securefirmware.de/2023-11-07T09:53:24+01:00https://www.securefirmware.de/posts/version_131/2023-11-07T09:53:24+01:00https://www.securefirmware.de/posts/2023-11-07T09:53:24+01:00https://www.securefirmware.de/tags/release/2023-11-07T09:53:24+01:00https://www.securefirmware.de/tags/2023-11-07T09:53:24+01:00https://www.securefirmware.de/tags/ai/2023-11-07T09:50:18+01:00https://www.securefirmware.de/posts/ai_powered_firmware_analysis/2023-11-07T09:50:18+01:00https://www.securefirmware.de/tags/gpt/2023-11-07T09:50:18+01:00https://www.securefirmware.de/posts/version_112_knightrider/2022-10-06T13:37:00+02:00https://www.securefirmware.de/tags/blackhat/2022-08-01T13:37:00+02:00https://www.securefirmware.de/posts/version_110/2022-08-01T13:37:00+02:00https://www.securefirmware.de/tags/arsenal/2022-07-21T09:04:51+02:00https://www.securefirmware.de/tags/defcon30/2022-07-21T09:04:51+02:00https://www.securefirmware.de/posts/lasvegas_intro_2022/2022-07-21T09:04:51+02:00https://www.securefirmware.de/posts/version100/2022-05-18T09:45:39+02:00https://www.securefirmware.de/tags/bhasia/2022-05-07T12:38:59+02:00https://www.securefirmware.de/posts/emba_black_hat_asia_arsenal_2022/2022-05-07T12:38:59+02:00https://www.securefirmware.de/posts/munich-edt/2022-03-17T12:55:51+01:00https://www.securefirmware.de/tags/munich-edt/2022-03-17T12:55:51+01:00https://www.securefirmware.de/tags/v0.9.0/2022-03-17T12:55:51+01:00https://www.securefirmware.de/posts/blackhat_asia_arsenal_2022/2022-03-16T12:07:16+01:00https://www.securefirmware.de/tags/encrypted/2022-02-08T09:50:53+01:00https://www.securefirmware.de/tags/extractor/2022-02-08T09:50:53+01:00https://www.securefirmware.de/tags/qnap/2022-02-08T09:50:53+01:00https://www.securefirmware.de/posts/qnap_decryptor/2022-02-08T09:50:53+01:00https://www.securefirmware.de/tags/embark/2022-02-01T08:03:48+01:00https://www.securefirmware.de/posts/embark_intro/2022-02-01T08:03:48+01:00https://www.securefirmware.de/tags/reporting/2022-01-27T10:04:00+01:00https://www.securefirmware.de/posts/reporting_templates/2022-01-27T10:04:00+01:00https://www.securefirmware.de/posts/hello_world/2022-01-24T12:35:49+01:00https://www.securefirmware.de/categories/https://www.securefirmware.de/wiki/embark/https://www.securefirmware.de/wiki/emba/os-support/https://www.securefirmware.de/wiki/embark/os-support/https://www.securefirmware.de/wiki/emba/https://www.securefirmware.de/wiki/https://www.securefirmware.de/wiki/emba/referring-sites/https://www.securefirmware.de/wiki/emba/systemmode-emulator/https://www.securefirmware.de/wiki/emba/usage/https://www.securefirmware.de/wiki/emba/usermode-emulator/https://www.securefirmware.de/wiki/ \ No newline at end of file diff --git a/tags/ai/index.html b/tags/ai/index.html new file mode 100644 index 0000000..10b92e2 --- /dev/null +++ b/tags/ai/index.html @@ -0,0 +1,3 @@ +AI - EMBA BEYOND +

Entries tagged - "AI"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/ai/index.xml b/tags/ai/index.xml new file mode 100644 index 0000000..109317f --- /dev/null +++ b/tags/ai/index.xml @@ -0,0 +1,4 @@ +AI on EMBA BEYONDhttps://www.securefirmware.de/tags/ai/Recent content in AI on EMBA BEYONDHugo -- gohugo.ioen-usTue, 07 Nov 2023 09:50:18 +0100AI supported firmware analysishttps://www.securefirmware.de/posts/ai_powered_firmware_analysis/Tue, 07 Nov 2023 09:50:18 +0100https://www.securefirmware.de/posts/ai_powered_firmware_analysis/EMBA - The AI powered firmware security analyzer Why not use AI for firmware analysis? This is the idea we had since the public release of OpenAI&rsquo;s GPT-3 and GPT-4 earlier this year. +We started testing OpenAI&rsquo;s ChatGPT for different possible usage scenarios like the integration of further CVE explanation: +Additionally, we thought about a quick lookup for potential exploit code or POC’s: +It can be seen that the available information is quite limited because of the limited dataset for these types of requests. \ No newline at end of file diff --git a/tags/arsenal/index.html b/tags/arsenal/index.html index 7caafb5..ffbfb95 100644 --- a/tags/arsenal/index.html +++ b/tags/arsenal/index.html @@ -1,5 +1,3 @@ -Arsenal - EMBA BEYOND -

Entries tagged - "Arsenal"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Arsenal - EMBA BEYOND +

Entries tagged - "Arsenal"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/bhasia/index.html b/tags/bhasia/index.html index c6f08f7..be8e55c 100644 --- a/tags/bhasia/index.html +++ b/tags/bhasia/index.html @@ -1,5 +1,3 @@ -BHASIA - EMBA BEYOND -

Entries tagged - "BHASIA"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +BHASIA - EMBA BEYOND +

Entries tagged - "BHASIA"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/blackhat/index.html b/tags/blackhat/index.html index e0b7605..f533ffd 100644 --- a/tags/blackhat/index.html +++ b/tags/blackhat/index.html @@ -1,5 +1,3 @@ -Blackhat - EMBA BEYOND -

Entries tagged - "Blackhat"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Blackhat - EMBA BEYOND +

Entries tagged - "Blackhat"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/defcon30/index.html b/tags/defcon30/index.html index 45c067c..e33958d 100644 --- a/tags/defcon30/index.html +++ b/tags/defcon30/index.html @@ -1,5 +1,3 @@ -DEFCON30 - EMBA BEYOND -

Entries tagged - "DEFCON30"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +DEFCON30 - EMBA BEYOND +

Entries tagged - "DEFCON30"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/emba/index.html b/tags/emba/index.html index 35f7ca7..668e3c5 100644 --- a/tags/emba/index.html +++ b/tags/emba/index.html @@ -1,5 +1,3 @@ -EMBA - EMBA BEYOND -

Entries tagged - "EMBA"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +EMBA - EMBA BEYOND +

Entries tagged - "EMBA"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/emba/index.xml b/tags/emba/index.xml index 458937c..d55c377 100644 --- a/tags/emba/index.xml +++ b/tags/emba/index.xml @@ -1,4 +1,9 @@ -EMBA on EMBA BEYONDhttps://www.securefirmware.de/tags/emba/Recent content in EMBA on EMBA BEYONDHugo -- gohugo.ioen-usThu, 06 Oct 2022 13:37:00 +0200EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. +EMBA on EMBA BEYONDhttps://www.securefirmware.de/tags/emba/Recent content in EMBA on EMBA BEYONDHugo -- gohugo.ioen-usTue, 07 Nov 2023 09:53:24 +0100EMBA version 1.3.1 is out nowhttps://www.securefirmware.de/posts/version_131/Tue, 07 Nov 2023 09:53:24 +0100https://www.securefirmware.de/posts/version_131/What happened since the last EMBA release? +There was the absolute great #Hackersummercamp with our talks at BSidesLV, ICS Village (DEF CON) and Black Hat (Arsenal). The recording of the BSides talk is already available here. Beside this, Nate did a really great talk at BruCON – see here. +Beside a lot of code cleanup, bug fixing and some little improvements the new firmware diffing mode is one of the highlights in version 1.AI supported firmware analysishttps://www.securefirmware.de/posts/ai_powered_firmware_analysis/Tue, 07 Nov 2023 09:50:18 +0100https://www.securefirmware.de/posts/ai_powered_firmware_analysis/EMBA - The AI powered firmware security analyzer Why not use AI for firmware analysis? This is the idea we had since the public release of OpenAI&rsquo;s GPT-3 and GPT-4 earlier this year. +We started testing OpenAI&rsquo;s ChatGPT for different possible usage scenarios like the integration of further CVE explanation: +Additionally, we thought about a quick lookup for potential exploit code or POC’s: +It can be seen that the available information is quite limited because of the limited dataset for these types of requests.EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. 40 years later &hellip; K.I.T.T. is definitive able to analyze firmware with EMBA Beside bug fixes this release introduces many new features. Since version 1.1.1 we introduced several new features and multiple improved areas: Thx to @nuschpl the Installer supports non-english systems (see https://github.EMBA version 1.1.0 is out nowhttps://www.securefirmware.de/posts/version_110/Mon, 01 Aug 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_110/In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 was available. 1856 commits later version 1.1.0 with a huge amount of improvements and new features was released. diff --git a/tags/embark/index.html b/tags/embark/index.html index 331d832..dac327f 100644 --- a/tags/embark/index.html +++ b/tags/embark/index.html @@ -1,5 +1,3 @@ -EMBArk - EMBA BEYOND -

Entries tagged - "EMBArk"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +EMBArk - EMBA BEYOND +

Entries tagged - "EMBArk"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/encrypted/index.html b/tags/encrypted/index.html index 1afc51e..b5ed8f2 100644 --- a/tags/encrypted/index.html +++ b/tags/encrypted/index.html @@ -1,5 +1,3 @@ -encrypted - EMBA BEYOND -

Entries tagged - "encrypted"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +encrypted - EMBA BEYOND +

Entries tagged - "encrypted"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/extractor/index.html b/tags/extractor/index.html index 2c4a03d..eab521b 100644 --- a/tags/extractor/index.html +++ b/tags/extractor/index.html @@ -1,5 +1,3 @@ -extractor - EMBA BEYOND -

Entries tagged - "extractor"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +extractor - EMBA BEYOND +

Entries tagged - "extractor"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/gpt/index.html b/tags/gpt/index.html new file mode 100644 index 0000000..402bff3 --- /dev/null +++ b/tags/gpt/index.html @@ -0,0 +1,3 @@ +GPT - EMBA BEYOND +

Entries tagged - "GPT"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/gpt/index.xml b/tags/gpt/index.xml new file mode 100644 index 0000000..9545cb6 --- /dev/null +++ b/tags/gpt/index.xml @@ -0,0 +1,4 @@ +GPT on EMBA BEYONDhttps://www.securefirmware.de/tags/gpt/Recent content in GPT on EMBA BEYONDHugo -- gohugo.ioen-usTue, 07 Nov 2023 09:50:18 +0100AI supported firmware analysishttps://www.securefirmware.de/posts/ai_powered_firmware_analysis/Tue, 07 Nov 2023 09:50:18 +0100https://www.securefirmware.de/posts/ai_powered_firmware_analysis/EMBA - The AI powered firmware security analyzer Why not use AI for firmware analysis? This is the idea we had since the public release of OpenAI&rsquo;s GPT-3 and GPT-4 earlier this year. +We started testing OpenAI&rsquo;s ChatGPT for different possible usage scenarios like the integration of further CVE explanation: +Additionally, we thought about a quick lookup for potential exploit code or POC’s: +It can be seen that the available information is quite limited because of the limited dataset for these types of requests. \ No newline at end of file diff --git a/tags/index.html b/tags/index.html index 36a8b50..0015c12 100644 --- a/tags/index.html +++ b/tags/index.html @@ -1,5 +1,3 @@ -Tags - EMBA BEYOND -

All tags


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Tags - EMBA BEYOND +

All tags


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/index.xml b/tags/index.xml index f2417b7..2aebd80 100644 --- a/tags/index.xml +++ b/tags/index.xml @@ -1 +1 @@ -Tags on EMBA BEYONDhttps://www.securefirmware.de/tags/Recent content in Tags on EMBA BEYONDHugo -- gohugo.ioen-usThu, 06 Oct 2022 13:37:00 +0200EMBAhttps://www.securefirmware.de/tags/emba/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/tags/emba/releasehttps://www.securefirmware.de/tags/release/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/tags/release/Blackhathttps://www.securefirmware.de/tags/blackhat/Mon, 01 Aug 2022 13:37:00 +0200https://www.securefirmware.de/tags/blackhat/Arsenalhttps://www.securefirmware.de/tags/arsenal/Thu, 21 Jul 2022 09:04:51 +0200https://www.securefirmware.de/tags/arsenal/DEFCON30https://www.securefirmware.de/tags/defcon30/Thu, 21 Jul 2022 09:04:51 +0200https://www.securefirmware.de/tags/defcon30/BHASIAhttps://www.securefirmware.de/tags/bhasia/Sat, 07 May 2022 12:38:59 +0200https://www.securefirmware.de/tags/bhasia/munich edthttps://www.securefirmware.de/tags/munich-edt/Thu, 17 Mar 2022 12:55:51 +0100https://www.securefirmware.de/tags/munich-edt/v0.9.0https://www.securefirmware.de/tags/v0.9.0/Thu, 17 Mar 2022 12:55:51 +0100https://www.securefirmware.de/tags/v0.9.0/encryptedhttps://www.securefirmware.de/tags/encrypted/Tue, 08 Feb 2022 09:50:53 +0100https://www.securefirmware.de/tags/encrypted/extractorhttps://www.securefirmware.de/tags/extractor/Tue, 08 Feb 2022 09:50:53 +0100https://www.securefirmware.de/tags/extractor/qnaphttps://www.securefirmware.de/tags/qnap/Tue, 08 Feb 2022 09:50:53 +0100https://www.securefirmware.de/tags/qnap/EMBArkhttps://www.securefirmware.de/tags/embark/Tue, 01 Feb 2022 08:03:48 +0100https://www.securefirmware.de/tags/embark/reportinghttps://www.securefirmware.de/tags/reporting/Thu, 27 Jan 2022 10:04:00 +0100https://www.securefirmware.de/tags/reporting/ \ No newline at end of file +Tags on EMBA BEYONDhttps://www.securefirmware.de/tags/Recent content in Tags on EMBA BEYONDHugo -- gohugo.ioen-usTue, 07 Nov 2023 09:53:24 +0100EMBAhttps://www.securefirmware.de/tags/emba/Tue, 07 Nov 2023 09:53:24 +0100https://www.securefirmware.de/tags/emba/releasehttps://www.securefirmware.de/tags/release/Tue, 07 Nov 2023 09:53:24 +0100https://www.securefirmware.de/tags/release/AIhttps://www.securefirmware.de/tags/ai/Tue, 07 Nov 2023 09:50:18 +0100https://www.securefirmware.de/tags/ai/GPThttps://www.securefirmware.de/tags/gpt/Tue, 07 Nov 2023 09:50:18 +0100https://www.securefirmware.de/tags/gpt/Blackhathttps://www.securefirmware.de/tags/blackhat/Mon, 01 Aug 2022 13:37:00 +0200https://www.securefirmware.de/tags/blackhat/Arsenalhttps://www.securefirmware.de/tags/arsenal/Thu, 21 Jul 2022 09:04:51 +0200https://www.securefirmware.de/tags/arsenal/DEFCON30https://www.securefirmware.de/tags/defcon30/Thu, 21 Jul 2022 09:04:51 +0200https://www.securefirmware.de/tags/defcon30/BHASIAhttps://www.securefirmware.de/tags/bhasia/Sat, 07 May 2022 12:38:59 +0200https://www.securefirmware.de/tags/bhasia/munich edthttps://www.securefirmware.de/tags/munich-edt/Thu, 17 Mar 2022 12:55:51 +0100https://www.securefirmware.de/tags/munich-edt/v0.9.0https://www.securefirmware.de/tags/v0.9.0/Thu, 17 Mar 2022 12:55:51 +0100https://www.securefirmware.de/tags/v0.9.0/encryptedhttps://www.securefirmware.de/tags/encrypted/Tue, 08 Feb 2022 09:50:53 +0100https://www.securefirmware.de/tags/encrypted/extractorhttps://www.securefirmware.de/tags/extractor/Tue, 08 Feb 2022 09:50:53 +0100https://www.securefirmware.de/tags/extractor/qnaphttps://www.securefirmware.de/tags/qnap/Tue, 08 Feb 2022 09:50:53 +0100https://www.securefirmware.de/tags/qnap/EMBArkhttps://www.securefirmware.de/tags/embark/Tue, 01 Feb 2022 08:03:48 +0100https://www.securefirmware.de/tags/embark/reportinghttps://www.securefirmware.de/tags/reporting/Thu, 27 Jan 2022 10:04:00 +0100https://www.securefirmware.de/tags/reporting/ \ No newline at end of file diff --git a/tags/munich-edt/index.html b/tags/munich-edt/index.html index 91c3d78..dac05a6 100644 --- a/tags/munich-edt/index.html +++ b/tags/munich-edt/index.html @@ -1,5 +1,3 @@ -munich edt - EMBA BEYOND -

Entries tagged - "munich edt"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +munich edt - EMBA BEYOND +

Entries tagged - "munich edt"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/qnap/index.html b/tags/qnap/index.html index 7f4bc13..5da259f 100644 --- a/tags/qnap/index.html +++ b/tags/qnap/index.html @@ -1,5 +1,3 @@ -qnap - EMBA BEYOND -

Entries tagged - "qnap"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +qnap - EMBA BEYOND +

Entries tagged - "qnap"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/release/index.html b/tags/release/index.html index 98e9843..a507e81 100644 --- a/tags/release/index.html +++ b/tags/release/index.html @@ -1,5 +1,3 @@ -release - EMBA BEYOND -

Entries tagged - "release"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +release - EMBA BEYOND +

Entries tagged - "release"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/release/index.xml b/tags/release/index.xml index bf7967a..649cf16 100644 --- a/tags/release/index.xml +++ b/tags/release/index.xml @@ -1,4 +1,6 @@ -release on EMBA BEYONDhttps://www.securefirmware.de/tags/release/Recent content in release on EMBA BEYONDHugo -- gohugo.ioen-usThu, 06 Oct 2022 13:37:00 +0200EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. +release on EMBA BEYONDhttps://www.securefirmware.de/tags/release/Recent content in release on EMBA BEYONDHugo -- gohugo.ioen-usTue, 07 Nov 2023 09:53:24 +0100EMBA version 1.3.1 is out nowhttps://www.securefirmware.de/posts/version_131/Tue, 07 Nov 2023 09:53:24 +0100https://www.securefirmware.de/posts/version_131/What happened since the last EMBA release? +There was the absolute great #Hackersummercamp with our talks at BSidesLV, ICS Village (DEF CON) and Black Hat (Arsenal). The recording of the BSides talk is already available here. Beside this, Nate did a really great talk at BruCON – see here. +Beside a lot of code cleanup, bug fixing and some little improvements the new firmware diffing mode is one of the highlights in version 1.EMBA version 1.1.2 is out nowhttps://www.securefirmware.de/posts/version_112_knightrider/Thu, 06 Oct 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_112_knightrider/Bonnie: I have a new feature integrated into K.I.T.T. Michael: Give me more details K.I.T.T.: With my new friend EMBA I am able to find the weak spot in every firmware. 40 years later &hellip; K.I.T.T. is definitive able to analyze firmware with EMBA Beside bug fixes this release introduces many new features. Since version 1.1.1 we introduced several new features and multiple improved areas: Thx to @nuschpl the Installer supports non-english systems (see https://github.EMBA version 1.1.0 is out nowhttps://www.securefirmware.de/posts/version_110/Mon, 01 Aug 2022 13:37:00 +0200https://www.securefirmware.de/posts/version_110/In August 2020 we released EMBA to the world. 21 months or 1600 commits later version 1.0.0 was available. 1856 commits later version 1.1.0 with a huge amount of improvements and new features was released. diff --git a/tags/reporting/index.html b/tags/reporting/index.html index 5df81e4..bd602a7 100644 --- a/tags/reporting/index.html +++ b/tags/reporting/index.html @@ -1,5 +1,3 @@ -reporting - EMBA BEYOND -

Entries tagged - "reporting"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +reporting - EMBA BEYOND +

Entries tagged - "reporting"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/tags/v0.9.0/index.html b/tags/v0.9.0/index.html index 8c13c95..6dd210b 100644 --- a/tags/v0.9.0/index.html +++ b/tags/v0.9.0/index.html @@ -1,5 +1,3 @@ -v0.9.0 - EMBA BEYOND -

Entries tagged - "v0.9.0"


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +v0.9.0 - EMBA BEYOND +

Entries tagged - "v0.9.0"


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/emba/index.html b/wiki/emba/index.html index 1b43630..3a6afad 100644 --- a/wiki/emba/index.html +++ b/wiki/emba/index.html @@ -1,8 +1,6 @@ -Overview emba Wiki - EMBA BEYONDOverview emba Wiki - EMBA BEYOND + -

Overview emba Wiki

hello world

see here emba wiki content


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +see here emba wiki content">

Overview emba Wiki

hello world

see here emba wiki content


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/emba/os-support/index.html b/wiki/emba/os-support/index.html index ff0da9d..dc067fc 100644 --- a/wiki/emba/os-support/index.html +++ b/wiki/emba/os-support/index.html @@ -1,11 +1,9 @@ -OS-support.md - EMBA BEYONDOS-support.md - EMBA BEYOND + -

OS-support.md

Back to wiki menu

EMBA is able to analyze different operating systems. The main focus is on Linux-based operating systems. Although EMBA is also able to identify and analyze the following operating systems:

  • multiple Linux-based operating systems
  • FreeBSD
  • VxWorks
  • FreeRTOS
  • eCos
  • yC/OS
  • Adonis
  • Siprotec (based on VxWorks)
  • QNX
  • and others

Back to wiki menu


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +multiple Linux-based operating systems FreeBSD VxWorks FreeRTOS eCos yC/OS Adonis Siprotec (based on VxWorks) QNX and others Back to wiki menu">

OS-support.md

Back to wiki menu

EMBA is able to analyze different operating systems. The main focus is on Linux-based operating systems. Although EMBA is also able to identify and analyze the following operating systems:

  • multiple Linux-based operating systems
  • FreeBSD
  • VxWorks
  • FreeRTOS
  • eCos
  • yC/OS
  • Adonis
  • Siprotec (based on VxWorks)
  • QNX
  • and others

Back to wiki menu


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/emba/referring-sites/index.html b/wiki/emba/referring-sites/index.html index 052147a..6c9d7a7 100644 --- a/wiki/emba/referring-sites/index.html +++ b/wiki/emba/referring-sites/index.html @@ -1,8 +1,6 @@ -Referring-sites.md - EMBA BEYONDReferring-sites.md - EMBA BEYOND + - \ No newline at end of file +https://www.kitploit.com/2021/01/emba-analyzer-for-linux-based-firmware.html https://securityonline.info/emba-analyzer-for-linux-based-firmware-of-embedded-devices/ https://cert.bournemouth.ac.uk/emba-an-analyzer-for-linux-based-firmware-of-embedded-devices/ https://p4cx.medium.com/emba-b370ce503602 https://www.libhunt.com/t/embedded-linux https://www.youtube.com/watch?v=8FeSpuRXvYA https://github.com/fkie-cad/awesome-embedded-and-iot-security https://project-awesome.org/fkie-cad/awesome-embedded-and-iot-security https://pythonawesome.com/embark-the-firmware-security-scanning-environment/ https://github.com/V33RU/IoTSecurity101#Pentesting-Firmwares-and-emulating-and-analyzing Back to wiki menu"> \ No newline at end of file diff --git a/wiki/emba/systemmode-emulator/index.html b/wiki/emba/systemmode-emulator/index.html index f5cd71f..8d460c3 100644 --- a/wiki/emba/systemmode-emulator/index.html +++ b/wiki/emba/systemmode-emulator/index.html @@ -1,4 +1,5 @@ -Systemmode-Emulator.md - EMBA BEYONDSystemmode-Emulator.md - EMBA BEYOND + -

Systemmode-Emulator.md

Back to wiki menu

Warning: Currently this is an experimental module, and you need to activate it manually with the -Q switch. ~Additionally it is only supported in developer mode (-D switch).~

Warning: EMBA needs root privileges for running in emulation mode.

Idea and history

Starting with this Pull request EMBA got basic integration of the great firmadyne framework.

Firmware running in system mode emulation

The following firmware images are tested in EMBA with full system emulation. They should work to start testing full system emulation.

Netgear

  • WN604 v3.0.2
  • WN802Tv2 v3.1.1
  • WNAP210 v2.1.4
  • WNAP320 v2.1.1 / v2.0.3 / v3.7.11.4
  • WNDAP350 v2.1.7
  • WNDAP360 v2.1.7
  • DIR-615 RevQ v17.03b01
  • DAP-2230 v1.02
  • DAP-2310 v2.06
  • DAP-2330 v1.06
  • DAP-2360 v2.06
  • DAP-2553 v3.05
  • DAP-2660 v1.11
  • DAP-2690 v3.15
  • DAP-2695 v1.16
  • DAP-3662 v1.01/v1.01EU
  • DAP-3320 v1.00
  • DAP-1353 v3.15
  • DAP-2553 v1.31
  • DAP-3520 v1.16

Back to wiki menu


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Firmware running in system mode emulation The following firmware images are tested in EMBA with full system emulation.">

Systemmode-Emulator.md

Back to wiki menu

Warning: Currently this is an experimental module, and you need to activate it manually with the -Q switch. ~Additionally it is only supported in developer mode (-D switch).~

Warning: EMBA needs root privileges for running in emulation mode.

Idea and history

Starting with this Pull request EMBA got basic integration of the great firmadyne framework.

Firmware running in system mode emulation

The following firmware images are tested in EMBA with full system emulation. They should work to start testing full system emulation.

Netgear

  • WN604 v3.0.2
  • WN802Tv2 v3.1.1
  • WNAP210 v2.1.4
  • WNAP320 v2.1.1 / v2.0.3 / v3.7.11.4
  • WNDAP350 v2.1.7
  • WNDAP360 v2.1.7
  • DIR-615 RevQ v17.03b01
  • DAP-2230 v1.02
  • DAP-2310 v2.06
  • DAP-2330 v1.06
  • DAP-2360 v2.06
  • DAP-2553 v3.05
  • DAP-2660 v1.11
  • DAP-2690 v3.15
  • DAP-2695 v1.16
  • DAP-3662 v1.01/v1.01EU
  • DAP-3320 v1.00
  • DAP-1353 v3.15
  • DAP-2553 v1.31
  • DAP-3520 v1.16

Back to wiki menu


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/emba/usage/index.html b/wiki/emba/usage/index.html index 7553922..2002f2c 100644 --- a/wiki/emba/usage/index.html +++ b/wiki/emba/usage/index.html @@ -1,13 +1,12 @@ -Usage.md - EMBA BEYONDUsage.md - EMBA BEYOND + -

Usage.md

Back to wiki menu

Classic

Before running EMBA make sure that you have installed all dependencies.

Static firmware testing

  • Execute EMBA with set parameters, e.g.
    sudo ./emba.sh -l ./log -f ./firmware
    +Static firmware testing Execute EMBA with set parameters, e.g. sudo ./emba.sh -l ./log -f ./firmware Path for logs and firmware path are necessary for testing a firmware image. You can specify multiple arguments. Test kernel config Test only a kernel configuration with the kernel checker of checksec: sudo ./emba.sh -l ./logs/kernel_conf -k ./kernel.config If you add -f .">

    Usage.md

    Back to wiki menu

    Classic

    Before running EMBA make sure that you have installed all dependencies.

    Static firmware testing

    • Execute EMBA with set parameters, e.g.
      sudo ./emba.sh -l ./log -f ./firmware
       
    • Path for logs and firmware path are necessary for testing a firmware image.
    • You can specify multiple arguments.

    Test kernel config

    • Test only a kernel configuration with the kernel checker of checksec:
      sudo ./emba.sh -l ./logs/kernel_conf -k ./kernel.config
       
    • If you add -f ./firmware, it will ignore -k and search for a kernel config inside the firmware
    • You can specify some arguments.

    Good to know:

    • sudo is necessary for some modules to run properly, e.g. S115_usermode_emulator.sh
    • Currently only tested on Kali Linux (2021.02)
    • EMBA needs quite a lot of free disk space for logging
    • EMBA currently supports the following architectures: MIPS, ARM, PPC, x86 and x64

    Docker

    There is a simple docker-compose setup added, which allows you to run EMBA in a docker container.

    Run interactive docker container:

    FIRMWARE=/absolute/path/to/firmware LOG=/home/n/firmware_log/ docker-compose run emba
     

    This will drop you a shell in the folder where EMBA has been added. The firmware is located at /firmware and the log directory at /log.

    ./emba.sh -l /log -f /firmware -i
    @@ -58,5 +57,4 @@
     -h                Prints this help message
     

    Live systems (Not officially supported)

    For testing a live system with EMBA, run it as if you were testing static firmware, but with / as firmware path:

    ./emba.sh -l ./log -f /
     
    • Path for logs and firmware path are necessary for EMBA.
    • It improves output and performance, if you exclude docker with the -e switch:
      ./emba.sh -l ./log -f / -e /var/lib/docker
      -

    Back to wiki menu


      
    Build with Hugo & based on Archie Theme
    -
    \ No newline at end of file +

Back to wiki menu


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/emba/usermode-emulator/index.html b/wiki/emba/usermode-emulator/index.html index 60117f6..a7138be 100644 --- a/wiki/emba/usermode-emulator/index.html +++ b/wiki/emba/usermode-emulator/index.html @@ -1,4 +1,5 @@ -Usermode-Emulator.md - EMBA BEYONDUsermode-Emulator.md - EMBA BEYOND + -

Usermode-Emulator.md

Back to wiki menu

Warning: Currently this is an experimental module, and you need to activate it manually with the -E switch.

Warning: EMBA needs root privileges for running in emulation mode.

The idea behind the emulator is to run the identified binaries with different command line options like -V, -v, --version, --help in a simple chroot environment. After the identification of the binary architecture, it is possible to choose the correct qemu emulator. Afterwards the binary gets executed with the static compiled qemu emulator in tracing mode (--strace). If there are some files missing, they are searched through the firmware filesystem and copied to the missing location. If nothing is found, then an empty file is created. +The idea behind the emulator is to run the identified binaries with different command line options like -V, -v, --version, --help in a simple chroot environment. After the identification of the binary architecture, it is possible to choose the correct qemu emulator.">

Usermode-Emulator.md

Back to wiki menu

Warning: Currently this is an experimental module, and you need to activate it manually with the -E switch.

Warning: EMBA needs root privileges for running in emulation mode.

The idea behind the emulator is to run the identified binaries with different command line options like -V, -v, --version, --help in a simple chroot environment. After the identification of the binary architecture, it is possible to choose the correct qemu emulator. Afterwards the binary gets executed with the static compiled qemu emulator in tracing mode (--strace). If there are some files missing, they are searched through the firmware filesystem and copied to the missing location. If nothing is found, then an empty file is created. Finally, the binary gets executed in a chroot environment with the right emulator and the generated output is stored in a log file for further processing.

For example, the output of the binary busybox looks like the following:

[[images/s115_busybox.png]]

With the version detection strings from config/bin_version_strings.cfg, it is possible to identify different binary versions from the generated log files:

[[images/s115_usermode_emulator.png]]

Hint: If there are some version identification strings missing, it is easy to include them in the config/bin_version_strings.cfg configuration file. The next time you run emba they will be identified correctly. Do not forget to make a pull request with the new version identifier.

Installation: To use the emulation module, the installer of emba should be run.

Typical problems:

  • Versions are not identified:
    Check the version configuration file and include the needed version identifier.
  • Host reboots during emulation:
    Check the log file s115_usermode_emulator.txt for the last emulated process:
    [*] Initial strace run on the command XYZ to identify missing areas If the last line is something like the one shown above, then this binary probably reboots or crashes your host. Include this binary in the blacklist (config/emulation_blacklist.cfg)
  • A wrong emulation root directory is identified:
    On every emulation process, the identified root directory is shown with the following output:
    [*] Root directory detection via interpreter ... /LOG_PATH/wrong-root-directory-identified
     [*] Using the following path as emulation root path: /LOG_PATH/wrong-root-directory-identified
    -
    If EMBA fails in the detection of the correct root directory, open an issue here.

Run EMBA with emulation mode activated:

sudo ./emba.sh -z -l ./logs_mips_router -f ../testimages/MIPS_router -E

Back to wiki menu


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +If EMBA fails in the detection of the correct root directory, open an issue here.

Run EMBA with emulation mode activated:

sudo ./emba.sh -z -l ./logs_mips_router -f ../testimages/MIPS_router -E

Back to wiki menu


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/embark/index.html b/wiki/embark/index.html index b8d5a1d..2e9aad3 100644 --- a/wiki/embark/index.html +++ b/wiki/embark/index.html @@ -1,8 +1,6 @@ -EMBArk wiki content - EMBA BEYONDEMBArk wiki content - EMBA BEYOND + -

EMBArk wiki content

hello world

embark


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +embark">

EMBArk wiki content

hello world

embark


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/embark/os-support/index.html b/wiki/embark/os-support/index.html index 199ea85..ad12af6 100644 --- a/wiki/embark/os-support/index.html +++ b/wiki/embark/os-support/index.html @@ -1,11 +1,9 @@ -OS-Support.md - EMBA BEYONDOS-Support.md - EMBA BEYOND + -

OS-Support.md

Back to wiki menu

EMBArk is able to analyze different operating systems. The main focus is on Linux-based operating systems. Although EMBArk is also able to analyze the following operating systems:

  • multiple Linux-based operating systems
  • FreeBSD
  • VxWorks
  • FreeRTOS
  • eCos
  • yC/OS
  • Adonis
  • Siprotec (based on VxWorks)
  • and others

Back to wiki menu


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +multiple Linux-based operating systems FreeBSD VxWorks FreeRTOS eCos yC/OS Adonis Siprotec (based on VxWorks) and others Back to wiki menu">

OS-Support.md

Back to wiki menu

EMBArk is able to analyze different operating systems. The main focus is on Linux-based operating systems. Although EMBArk is also able to analyze the following operating systems:

  • multiple Linux-based operating systems
  • FreeBSD
  • VxWorks
  • FreeRTOS
  • eCos
  • yC/OS
  • Adonis
  • Siprotec (based on VxWorks)
  • and others

Back to wiki menu


  
Build with Hugo & based on Archie Theme
\ No newline at end of file diff --git a/wiki/index.html b/wiki/index.html index aaf111f..f1cd5a5 100644 --- a/wiki/index.html +++ b/wiki/index.html @@ -1,5 +1,3 @@ -Wikis - EMBA BEYOND -

All articles


  
Build with Hugo & based on Archie Theme
-
\ No newline at end of file +Wikis - EMBA BEYOND +

All articles


  
Build with Hugo & based on Archie Theme
\ No newline at end of file