Indeed, sadly the same for 2.0:
Code:
root@kali:~# wget http://cdimage.kali.org/kali-2.0/kali-linux-light-2.0-armhf.img.xz
Saving to: `kali-linux-light-2.0-armhf.img.xz'
100%[==========================================================================>] 615,093,060 359K/s in 29m 17s
2015-08-18 17:39:59 (342 KB/s) - `kali-linux-light-2.0-armhf.img.xz' saved [615093060/615093060]
root@kali:~# xz --decompress kali-linux-light-2.0-armhf.img.xz
root@kali:~# mkdir rootfs
root@kali:~# kpartx -v -a kali-linux-light-2.0-armhf.img
add map loop1p1 (254:0): 0 3880960 linear /dev/loop1 2048 <- success
root@kali:~# mount -v -t ext4 /dev/mapper/loop1p1 rootfs/
/dev/mapper/loop1p1 on /tmp/rootfs type ext4 (rw) <- successful ext4 mount
root@kali:~# ls rootfs/bin -1 | wc -l
143 <- /bin is populated; shows 143 files
root@kali:~# find rootfs/ -type l | wc -l
0 <- but none of the expected symlinks are there
root@kali:~# vdir rootfs/bin | grep "\->"
<- no output
root@kali:~#
On any debian system I would expect to see some symlinks at least:
Code:
.:[17:54|root|debian:~]:. vdir /bin | grep "\->"
lrwxrwxrwx 1 root root 4 Mar 1 2012 ash -> dash
lrwxrwxrwx 1 root root 6 Jul 29 2012 bzcmp -> bzdiff
lrwxrwxrwx 1 root root 6 Jul 29 2012 bzegrep -> bzgrep
lrwxrwxrwx 1 root root 6 Jul 29 2012 bzfgrep -> bzgrep
lrwxrwxrwx 1 root root 6 Jul 29 2012 bzless -> bzmore
lrwxrwxrwx 1 root root 8 Jun 10 2012 lessfile -> lesspipe
lrwxrwxrwx 1 root root 4 Apr 7 2013 lsmod -> kmod
lrwxrwxrwx 1 root root 20 Apr 9 2014 mt -> /etc/alternatives/mt
lrwxrwxrwx 1 root root 20 Apr 9 2014 nc -> /etc/alternatives/nc
lrwxrwxrwx 1 root root 24 Apr 9 2014 netcat -> /etc/alternatives/netcat
lrwxrwxrwx 1 root root 6 Apr 29 2012 open -> openvt
lrwxrwxrwx 1 root root 3 Jun 7 2012 paxcpio -> pax
lrwxrwxrwx 1 root root 3 Jun 7 2012 paxtar -> pax
lrwxrwxrwx 1 root root 14 Jul 14 2013 pidof -> /sbin/killall5
lrwxrwxrwx 1 root root 4 Sep 25 2014 rbash -> bash
lrwxrwxrwx 1 root root 4 Jun 22 2012 rnano -> nano
lrwxrwxrwx 1 root root 4 Apr 28 2014 sh -> bash
lrwxrwxrwx 1 root root 4 Apr 9 2014 sh.distrib -> dash
And that's just /bin... It also means that there is no /bin/sh in the image, nothing in /etc/rc*.d, nothing in /etc/alternatives, etc
Any input welcome -- thanks