Thursday, February 7, 2019

Kali Linux on the Viliv S5 Update 2

In the middle of my exploration into running Kali on the Viliv S5.
Turned off the wifi chip to find alternative driver because libertas was freezing the system hard by default. Unfortunately made the bluetooth stop working.
Working on getting the touchscreen working still,  working with original publisher of driver to get sources for psmouse.ko.
Working on a fun project, mapping all of the hidden machine instructions on the Viliv's Intel Atom processor. Maybe I'll find something fun.


Here are some notes I have so far. These are unorganized, random, and may only make sense to me, but I hope they will be helpful to some.
Known glitches:
Freezes at random, possibly due to low memory, but I made sure to give it at least 2gb of swap space, so...?
Sometimes doesn't recognize the hardware clock
GPS stops working at random
Don't hard shut it off, it'll do an fsck on boot

VILIV SERVICE
reinstall install.sh - done
recompile viliv-ec - done
local-fs.target - done
change mac address - unnecessary for now, standard mac, only change in real attack scenario
install build-essential, you forgot  - done
install qemu - done
change DNS to 1.1.1.1 and 9.9.9.9 in /etc/dhcp/dhclient.conf
turn on ufw - ufw enable - done
change default desktop environment to lxde - update-alternatives –config x-session-manager - you want startlxde - after installing lxde - done
ndiswrapper - don't write about it, but insert it - done
torghost - from github - git clone https://github.com/susmithHCK/torghost.git && cd torghost && sh install.sh - done
rerun apt upgrade at this point
turn systemctl graphical back oCoand change clipit history to 100 - systemctl set-default graphical.target
PS-2 Mouse driver is what is stopping your touchscreen from being recognized as touchscreen (psmouse.ko) - recognized as mouse
event0
Change to lubuntu background (because no sysadmin wants to see kali on their system) pcmanfm --set-wallpaper="/your/background/file"
Change lockscreen wallpaper - https://null-byte.wonderhowto.com/forum/kali2-0-change-boot-and-login-background-image-0164443/

Install
Retdec - solid decompiler - https://github.com/avast-tl/retdec

Change clipit history

add xfce4-power-manager as a default application
add Ctrl-t as keybinding to gnome-terminal to lxde-rc.xml

Fix exim4
apt-get --purge remove exim4 exim4-base exim4-config exim4-daemon-heavy
apt-get install exim4-daemon-heavy

GPS:
cat /dev/tty reveals a string of coordinates
/etc/basic/gpsd - write your options
Gpsd service temporarily disabled for testing, reboot

Wifi:
Purge firmware-libertas
Wifi and bluetooth confirmed same chip, both stop working if you do this, sd8686

Package installs:

apt-get update
apt-get upgrade -y
Lxde
florence
qemu
gpsd-clients
gpsd
wine
watch
build-essential
alien
kali-linux-all
python3-pip
python-pip
inspectrum
gnuradio
bluetooth
blueman
bless
ndiswrapper
bluez-cups
arduino
putty
falkon - Firefox is too heavy for most tasks - No good for video viewing, great for web browsing and downloading
filezilla
firezilla-common
htop
nethogs
gdebi
remmina
virtualbox
tree
xfce4-power-manager


apt-get update && apt-get upgrade -y && apt autoremove && apt-get clean

torghost - from github

openvas setup

Verify event handlers are still the same

Create scripts that turn on and off the touchscreen by modprobe -r and modprobe loading the psmouse module - done - one of them is in the startup service (offtouch)

Bluetooth:
enables - viliv-ec -e 3
installs - bluetooth blueman bluez-cups
services - systemctl enable bluetooth
bluetooth.service bluetoothd --noplugin=sap

Uninstall: Midori and epiphany-browser

Emergency Driver to Try: DebEm
- Instructions: https://forum.xda-developers.com/showthread.php?t=1598207


Things to Remember:
-Ensure wifi is enabled at boot time, as with other SDIO
-Jaunty is the ubuntu os, meaning 3D graphics is supported
-If all else fails try ubuntu

No comments:

Post a Comment

Finding Undocumented Intel Atom MSR's in the Viliv S5 Pt 2: Software RE

Sandsifter  logs were a bust, was unable to get the summarize started so I decided to try other  means of finding MSR's. I decided ...