Learning about cameras
I'd like to explore bypassing camera logins, is it possible to run the firmware in a VM? This would be a safe environment to learn in without buying a camera or illegally hunting on shodan.
Posted Dec 10, 2019, 4:42 AM UTC
I'd like to explore bypassing camera logins, is it possible to run the firmware in a VM? This would be a safe environment to learn in without buying a camera or illegally hunting on shodan.
Posted Dec 10, 2019, 4:42 AM UTC
You can get these things for cheap on newegg once you figure out what vendors to buy
I should have been more specific, my target is commercial grade cameras. Axis, Avigilon, etc. Even with dealer pricing that gets pricey.
Google their manuals and try to find out if they use the ONVIF protocol. If they do, they you can attack that, and it's a standard so you can try to attack it on any onvif camera. This isn't a whole solution at all but it's something to consider. I just found some axis cams on newegg for $300-$350.
I was thinking "just buy the cheapest model" but often with these ip cams a vendor will use different firmware for different budget tiers of their cameras.
There's a defcon talk on how to hack video cameras like a hollywood actor, it's on youtube.
Hadn't thought about ONVIF, good call. I'll check out the defcon video. Thanks for the help!
You will need to look into ARM emulation. Unicorn or Qemu come to mind, but I've never tried specifically with any of these firmware images. Just go download the firmware updates for some of these devices from manufacturer sites. You can get firmware dumps on various blogs as well. There is one firmware that is common to almost ALL of the cheap Chinese manufactured cameras out there - so you don't have to explore much variation. I don't remember the name of it off the top of my head.
In all reality, you may not even need to emulate the firmware (which may be error prone due to attached devices and kernel modules failing to load). If you are looking for auth bypass, you are likely looking higher in the stack. You could basically set up a really stripped down x86 linux VM with matching kernels and kernel modules (for services, not hardware) and then just use the configs from the firmware. Most of these firmwares are simply a .tar (or some other similar blob) of the file system and easily extractable and manipulable.
Feel free to PM me if you run into issues.