我正在尝试提取 IP 摄像机固件。我正在寻找可能是主要威胁的睡眠服务。根据nmap
没有正在运行的服务,如 telnet、SSH、FTP 或类似的;只有很少的开放端口,如 HTTP、RSTP 和unknown
. 固件是来自 Jovision 的jvs3516cs-7601.bin(我的 ipcam 是克隆版),它来自该公司的德国分公司。我已经尝试了所有通常的分析步骤,但没有取得太大的成功。我已经安装了所有常用的固件分析工具(lzmao,壁球,的cpio,CRAMFS),并试图用,提取的固件gzip
,unzip
,7z
和binwalk
没有运气。
# binwalk -Bv jvs3516cs-7601.bin
Scan Time: 2018-06-13 17:52:52
Target File: /root/jvs3516cs-7601.bin
MD5 Checksum: 8903156ca04081c393e16d6dff1580a0
Signatures: 344
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
# binwalk -EJ jvs3516cs-7601.bin
DECIMAL HEXADECIMAL ENTROPY
--------------------------------------------------------------------------------
0 0x0 Falling entropy edge (0.316584)
270336 0x42000 Rising entropy edge (0.993798)
1904640 0x1D1000 Falling entropy edge (0.724715)
2031616 0x1F0000 Rising entropy edge (0.993043)
7753728 0x765000 Falling entropy edge (0.362255)
Entropy Exception: 'float' object cannot be interpreted as an integer
# xxd -a jvs3516cs-7601.bin | head
00000000: 5c1b 44f5 50ef dbfa 50ef dbfa 50ef dbfa \.D.P...P...P...
00000010: 50ef dbfa 50ef dbfa 50ef dbfa 50ef dbfa P...P...P...P...
00000020: 040c c49f e40c c49f 440b c49f 240b c49f ........D...$...
00000030: 840b c49f 640a c49f c40a c49f 3c49 700d ....d.......<Ip.
00000040: 441f 473f 441f 440e 441f 441f b91f 441f D.G?D.D.D.D...D.
00000050: 401f 473f 2a2f 2c1f 441f 441f b91f 441f @.G?*/,.D.D...D.
00000060: 4c1f 473f 441f 440d 441f 441f b91f 441f L.G?D.D.D.D...D.
00000070: 481f 473f 273f 381f 441f 441f b91f 441f H.G?'?8.D.D...D.
00000080: 541f 473f 441f 440e 441f 441f b91f 441f T.G?D.D.D.D...D.
00000090: 501f 473f 2a2f 2c1f 441f 441f b91f 441f P.G?*/,.D.D...D
# fdisk -l jvs3516cs-7601.bin
Disk jvs3516cs-7601.bin: 7,4 MiB, 7798784 bytes, 15232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
有没有人有比我更好的想法?提前致谢。
PS里面还有一个jvs3516cs-7601-ver.bin whit:
#####################3
#file format:
#module=name, the name want to update. such as boot,kernel,fs,config ...
#ver=3, version of the module
#offset=0, offset in the file
#size=0x100000, size in byte
#dev=/dev/mtdblock/0, dev used to update
#
module=uboot
ver=20
offset=0
size=0x40000
dev=/dev/mtdblock0
module=kernel
ver=3
offset=0x40000
size=0x1B0000
dev=/dev/mtdblock1
module=fs
ver=5608
offset=0x1F0000
size=0x580000
dev=/dev/mtdblock2
product=JVS-HI3516CS-7601
fileSize=0x770000
checksum=0x4b0163fa