Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to emulate IP cameras #59

Open
josephKhoury95 opened this issue Nov 4, 2020 · 4 comments
Open

Trying to emulate IP cameras #59

josephKhoury95 opened this issue Nov 4, 2020 · 4 comments

Comments

@josephKhoury95
Copy link

josephKhoury95 commented Nov 4, 2020

Hello,

I am interested in using firmware-analysis-toolkit to emulate IP cameras, is it possible using this tool?
If yes can you please suggest some firmware to test, because I am still not able to emulate IP cameras...

The firmware that I am testing for IP cameras, FAT is not able to extract their images, and sometimes after extracting the image, it is not assigning an IP.

I appreciate any help and guidance
Thank you

@extremecoders-re
Copy link
Collaborator

It should be possible to firmware emulate of IP camera. However it's not always a straightforward process.

Did you try to extract the firmware using binwalk?

@josephKhoury95
Copy link
Author

Yes, I know it is not a straight forward process.

Yes, I did use Binwalk to extract the firmware binary file. But also Attify has Binwalk in its steps, right?

@extremecoders-re, since you are a contributor to this project. I also have a question for you. Is it possible to emulate multiple firmware at the same time using Attify? I know I need to edit a lot of files to make it work, but is it possible from your point of view?

Thank you

@extremecoders-re
Copy link
Collaborator

Yes, firmadyne and fat does use binwalk. My point was to try out binwalk separately and check the files it extracts. If binwalk doesn't work proper in the first place, firmadyne won't work too.

Emulating multiple firmware's is possible. Each firmware get's a different tap interface. As long as this condition is satisfied it should work.

To test, you can also try emulating the same firmware twice at the same time. FAT doesn't use the SQL database, so they will be assigned different ID's even if they are the same files.

@extremecoders-re
Copy link
Collaborator

Another possible issue that just came to my mind is conflict of IP address. By default most of the firmware use the 192.168.0.0/24 address. Firmadyne set's up a route so that the traffic gets routed properly to the tap interface. The same address cannot route to multiple interfaces. This issue has to be sorted out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants