WordPress database error: [Table 'img_wp793.wpt1_rank_math_redirections_cache' doesn't exist]
SELECT * FROM wpt1_rank_math_redirections_cache WHERE ( object_id = 6369 and object_type = 'post' ) OR BINARY from_url = 'getting-root-on-a-chinese-ip-camera.html' ORDER BY object_id DESC

WordPress database error: [Table 'img_wp793.wpt1_rank_math_redirections' doesn't exist]
SELECT * FROM wpt1_rank_math_redirections WHERE status = 'active' AND ( sources like '%a:2:{s:7:\"pattern\";s:40:\"getting-root-on-a-chinese-ip-camera.html\";s:10:\"comparison\";s:5:\"exact\";}%' or sources like '%getting%' or sources like '%root%' or sources like '%on%' or sources like '%a%' or sources like '%chinese%' or sources like '%ip%' or sources like '%camera%' or sources like '%html%' ) ORDER BY updated DESC

WordPress database error: [Table 'img_wp793.wpt1_rank_math_redirections' doesn't exist]
SELECT * FROM wpt1_rank_math_redirections WHERE status = 'active' ORDER BY updated DESC

Getting Root On A Chinese IP Camera - 24img
December 4, 2023

24img

Welcome to World technology

Getting Root On A Chinese IP Camera

Getting Root On A Chinese IP Camera

With so many cheap network-connected devices out there being Linux-powered, it’s very tempting to try and hack into them, usually via a serial interface. This was the goal of [Andrzej Szombierski] when he purchased a cheap Chinese IP camera using an XM530 ARM-based SoC to explore and ultimately get root access on. This camera’s firmware provides the usual web interface on its network side, but it also has a UART on its PCB, courtesy of the unpopulated four-pin header.

Merely firing up a serial terminal application and connecting to this UART is not enough to get access, of course. The first obstacle that [Andrzej] struggled with was that U-Boot was configured to not output Linux kernel boot messages. After tackling that issue with some creative hacking, the next challenge was to figure out the root password, using a dump of the firmware image, which led to even more exploration of the firmware and the encoding used for the root password.

Even if some part of these challenges were possibly more accidental than on purpose by the manufacturer, it shows how these SoC-based Linux devices can put up quite a fight. This then leaves the next question, of what to do with such an IP camera after you have gained root access?