ASAT
Senior Member
I managed to get a root shell on my NVR video surveillance system. Found the CPU to be a dual-core ARMv7, the same as the ASUS RT-AC68U router, except I see that this one here has more CPU features than the ASUS ARM-based routers. This NVR is essentially a router without the Wi-Fi, as it is an Ethernet switch for 16x IP HD cameras.
I imagine these additional SoC features are used for video-related processing. Interesting...
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 2387.14
processor : 1
BogoMIPS : 2393.70
Features : swp half fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
Hardware : STMicroelectronics B2020 - STiH416 MBoard
Revision : 0000
Serial : 0000000000000000
cat /proc/version
Linux version 3.4.7_stm24_0304-4.4-b2020-h416_a9 (jenkins@localhost.localdomain) (gcc version 4.6.3 20120301 (STMicroelectronics/Linux Base 4.6.3-113) (GCC) ) #1 SMP PREEMPT Sat Apr 19 18:51:13 CST 2014 , svn: 3226
Only 4x IP cameras are connected.
netstat -a -n
The 2TB hard drive is apparently a large block device without a filesystem.
fdisk -l
df
blkid
I imagine these additional SoC features are used for video-related processing. Interesting...
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 2387.14
processor : 1
BogoMIPS : 2393.70
Features : swp half fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
Hardware : STMicroelectronics B2020 - STiH416 MBoard
Revision : 0000
Serial : 0000000000000000
cat /proc/version
Linux version 3.4.7_stm24_0304-4.4-b2020-h416_a9 (jenkins@localhost.localdomain) (gcc version 4.6.3 20120301 (STMicroelectronics/Linux Base 4.6.3-113) (GCC) ) #1 SMP PREEMPT Sat Apr 19 18:51:13 CST 2014 , svn: 3226
Only 4x IP cameras are connected.
netstat -a -n
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:42323 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3800 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:554 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8686 0.0.0.0:* LISTEN
tcp 0 0 10.1.1.1:50686 10.1.1.132:35000 ESTABLISHED
tcp 0 0 10.1.1.1:45595 10.1.1.131:35000 ESTABLISHED
tcp 0 0 10.1.1.1:44646 10.1.1.133:35000 ESTABLISHED
tcp 0 0 10.1.1.1:50688 10.1.1.132:35000 ESTABLISHED
tcp 0 0 10.1.1.1:45598 10.1.1.131:35000 ESTABLISHED
tcp 0 0 10.1.1.1:57037 10.1.1.134:35000 ESTABLISHED
tcp 0 0 10.1.1.1:44656 10.1.1.133:35000 ESTABLISHED
tcp 0 0 10.1.1.1:45597 10.1.1.131:35000 ESTABLISHED
tcp 0 0 10.1.1.1:57045 10.1.1.134:35000 ESTABLISHED
tcp 0 0 10.1.1.1:57036 10.1.1.134:35000 ESTABLISHED
tcp 0 0 10.1.1.1:45594 10.1.1.131:35000 ESTABLISHED
tcp 0 0 10.1.1.1:44651 10.1.1.133:35000 ESTABLISHED
tcp 0 0 10.1.1.1:57041 10.1.1.134:35000 ESTABLISHED
tcp 0 0 10.1.1.1:57040 10.1.1.134:35000 ESTABLISHED
tcp 16851 0 10.1.1.1:50690 10.1.1.132:35000 ESTABLISHED
tcp 0 0 10.1.1.1:50687 10.1.1.132:35000 ESTABLISHED
tcp 0 0 10.1.1.1:44649 10.1.1.133:35000 ESTABLISHED
tcp 0 0 10.1.1.1:45596 10.1.1.131:35000 ESTABLISHED
tcp 0 0 10.1.1.1:44645 10.1.1.133:35000 ESTABLISHED
tcp 0 0 10.1.1.1:50683 10.1.1.132:35000 ESTABLISHED
tcp 0 0 :::23 :::* LISTEN
tcp 0 0 :::35000 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 727 ::ffff:192.168.1.166:23 ::ffff:192.168.1.77:1518 ESTABLISHED
udp 0 0 239.255.255.251:37810 0.0.0.0:*
udp 0 0 0.0.0.0:35001 0.0.0.0:*
udp 0 0 0.0.0.0:5050 0.0.0.0:*
udp 0 0 0.0.0.0:5570 0.0.0.0:*
udp 0 0 0.0.0.0:55613 0.0.0.0:*
udp 0 0 0.0.0.0:67 0.0.0.0:*
udp 0 0 0.0.0.0:36682 0.0.0.0:*
udp 0 0 :::123 :::*
raw 43520 0 ::%1:58 :::* 58
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 734 /var/tmp/wireless_server_socket
The 2TB hard drive is apparently a large block device without a filesystem.
fdisk -l
Code:
Disk /dev/mtdblock0: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock0 doesn't contain a valid partition table
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda doesn't contain a valid partition table
df
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 32460 32460 0 100% /
devtmpfs 112760 0 112760 0% /dev
tmpfs 112840 0 112840 0% /root
/dev/mtdblock2 3540 3540 0 100% /mnt/web
/dev/mtdblock3 12 12 0 100% /mnt/custom
/dev/mtdblock4 120 120 0 100% /mnt/logo
/dev/mtdblock5 1280 508 772 40% /mnt/mtd
blkid
Code:
/dev/mtdblock4: LABEL="Compressed"
/dev/mtdblock3: LABEL="Compressed"
/dev/mtdblock2: LABEL="Compressed"
/dev/mtdblock1: LABEL="Compressed"
Last edited: