Hacking with ARM Mobile Devices on Linux 1

Total Page:16

File Type:pdf, Size:1020Kb

Hacking with ARM Mobile Devices on Linux 1 Hacking with ARM Mobile devices on Linux 1 1、 Self introduction 2、Introduction with ARM devices 3、Customized of Linux Mobile ARM devices ・Customized of Android devices(Nexus7) About Netwalker ・x86 Emulation on ARM Mobile devices ・Chromebook Crouton & ChrUbuntu 4、Thinclient LinuxOS OpenCocon 5、Customized 「End of Life」 ARM Devices ・Chroot ・PKGSRC ・Mainline Linux Kernel Compile ・NetBSD This Presentation: Slideshare & PDF files publication of my HP http://kapper1224.sakura.ne.jp MOPCON 2015/10/31 16:15~二廳 (R2) Place:International Convention Center Speaker: Kaohsiung 高雄國際會議中心 Kenji Shimono Yancheng, Kaohsiung, Taiwan Tokaido Linux Uses Group 2 Self Introduction ● My name: Kenji Shimono ● Pseudonym(Pen name):Kapper ● Twitter account:@kapper1224 ● HP:http://kapper1224.sakura.ne.jp ● Slideshare: Kenji Shimono ● My Hobby:Linux、*BSD、and Mobile ARM Devices ● My favorite words:Record than experiment important ● Test Model:Netwalker(PC-Z1,T1)、Nokia N900、DynabookAZ、RaspberryPi Nexus7(2012、2013)、Hercules eCAFE EX HD、Jetson TK-1、 OpenPandora、ARM Chromebook、ZTE OPEN C(FirefoxOS) Taiwan Android Electronic Dictionary 無敵CD-920、CD-928 ● Recent Activity: Netwalker on the Linux from Scratch. Hacking of Android Nexus7. I have recently often use the ARM Chromebook. Today Session 3 Easy Application Difficult only X86 emu Windows app Mikutter OS Change RemoteDesktop Root Bootloader Debian Noroot Linux MultiROM Kernel SoC OpenCocon Distributions Pkgsrc chroot NetBSD (root) Target Users Mikutter Haking developer Desktop,server Distributer Office 「End of Life」extended My Activity of ARM Devices 4 ● Linux Zaurus~RaspberryPi and Chromebook 2002 2009 2010 2012 2014 Linux Zaurus(Xscale) Netwalker CortexA8 Dynabook AZ(AC100) Tegra2 Nexus7 Tegra3 Raspberry Armel(EABI) Armhf Pi ARM11 Debian 6 Ubuntu ARM Ubuntu 9.04 12.04 Chromebook Exynos5250, Tegra K-1 My Activity OpenSourceConference in Japan 5 and Tokaido Linux Uses Group Once it is held in one month Sapporo Hokkaido Niigata Shimane Nagoya Kawagoe(Tokyo) Kyoto Hiroshima Tokyo Hakata Hamamatu Tokushima Osaka Oita (KOF) Okinawa My point of view about ARM Linux 6 1,Custmized ARM Linux OS,Applications ⇒ARM Linux had limited software and CPU ago. 2,Customized ARM Android and Chromebook devices ⇒Many ARM devices used on Android in 2010. SmartPhone, Tablet. I want to use Linux Distributions on Android. 3,Customized 「End of Life」 ARM devices ⇒Not supporsed ARM devices are increasing. But ARM devices 「End of Life」 is too shorts. About mainly Linux Kernel and Distributions. 7 My first proposal ● Bluetooth keyboard and mouse. If you would like to use libreoffice on Android, You can easy to use it. About ARM devices on Linux 8 OS can switch in the bootloader Multi-Platform Browser Extention Java,html5 Android-apk Android *BSD FirefoxOS Other OS U-boot Coreboot Linux (Bootloader) Linux Windows Distribution MacOSX (x86 Only) ARM devices on PC Market 9 Google Glass $1000 Mac Mac book PC Apple Watch iPad iPhone $500 Windows Windows Notebook PC PC Smart Android Watch Android $200 Smart Windows Chromebook ChromeBox Phone Tablet Android Stick Chinese $149~$350 1board PC $100 RaspberryPi Tablet Desktop PC Mobile PC 0 inch 6 inch 10 inch Display Size 1,000 2,000 3,000 4,000 5,000 6,000 7,000 8,000 9,000 0 1 2 3 4 5 6 7 8 9 0 Raspberry Raspberry Pi 233 ARM11 ARM devices Benchmark score Broadcom Cortex-A8 1.0GHz 934 BCM2835 integer MIPS (Dhrystone) per CPU per (Dhrystone) MIPS integer CPU per (Whetstone) MIPS point floating 0.7GHz Relative single frequency same The Netwalker http://community.arm.com/groups/processors/blog/2013/11/19/a-walk-through-the-cortex-a-mobile-roadmap Reference 80 Cortex-A8 1,245 0.8GHz : A Walk Through the Cortex-A Mobile Roadmap Mobile Cortex-A the Through Walk A Raspberry Raspberry Pi2 ARM 439 Cortex-A9 Cortex-A7 1.6GHz 1,701 Broadcom performance thread BCM2836 ARM ARM Cortex-A ARM Cortex-A 0.9GHz devices Dynabook AZ Dynabook 571 Cortex-A9 2,051 Tegra2 1.0GHz BOINC 711 Cortex-A15 Nexus7 1.9GHz (2012) Cortex-A9 2,495 Tegra3 1.3GHz 1,193 Chromebook Samsung roadmap benchmark Cortex-A15 4,918 Exynos 5 Dual 1.7 GHz 1,000 Cortex-A57 Jetson TK-1 Jetson 2.2GHz Cortex-A15 7,313 Tegra K-1 2.3GHz 872 Reference CF-T8 3,166 Core2Duo x86 1.2GHz Estimation Cortex-A72 : Xeon 2,197 2.5GHz Kapperblog ≒ Core i7-920 7,364 E5520 2.26GHz 2,941 CF-S10 Core i5-2540M 8,064 2.60GHz ARM devices Linux & *BSD distro 11 Recently ARM Based on Linux & *BSD Distrobutions Distribution Ubuntu Debian Fedora Open Gentoo Arch Open Android Free Net Suse Cocon BSD BSD version 9.04〜 2.2〜 20~ 12.2~ v8~ 1.5~ 1.6~ LinuxZaurus △ ◎ ? △ △ ◎ Nokia N900 ◎ ◎ ◯ ? ◯ △ ◯ ? ◎ Netwalker ◎ ○ △ △ △ ◎ DynabookAZ ◎ ○ ◯ ◎ ◎ ◎ ◎ Nexus7 ◎ ? ◯ ◎ (excpt chroot) RaspberryPi ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ MK802 ◎ ○ ○ ◯ △ ○ ◎ △ ? USBAndroid Samsung ◎ ◎ ◎ ◎ ◎ ◎ △ ◎ △ Chromebook comment Refer A lot of RasPi RasPi A lot of RasPi Thin Smart board Over40 ence Device Support Support Device Supp client Phone PC Device model ort Tablet main support Kapper's survey results on the Internet(If I will be modified once this is wrong) ◎:Official Support、◯:Official Install report、△:User install report only 12 Customized Android Hacking Android easy history 13 Android~2.3 No root devices Webkit had security bug Rooted ↓ Android~4.2 hacking Nexus7 comming Bootloader is easy to unlocked ↓ Android ~4.x Easy to Root Many Chinese Tablet Many Rooted app ↓ Only install applications Easy to root Difficult everyone Install app only 14 Remote monitor instead in VNC and RDP viewer ● Use the first basic monitor Instead, remote control ● Use RaspberryPi and Windows VNC terminal ● It is not limited to Android, but let's use if I left over the model BlackberryQ5 Nexus7+Bluetooth keyboard Chinese Smartwatch Debian Noroot on Android 15 ● Debian Noroot can be installed in a chroot without taking root privileges Android apps Debian ● You can use a Bluetooth keyboard, a simple notebook PC ● Contents to build a chroot environment in the normal user privileges use the fakechroot, are viewing the Xorg in Xserver-SDL ● There are challenges to capacity because storage is based on the premise visceral / sdcard Taiwan Electronic Dictionary 無敵CD-920 ● The ease popular anyone can be introduced ● Recent Ver corresponding with Android4.0 later ● Difficulties in compatibility that does not move Xserver-SDL with the old OS Debian Kit and Complete Linux 16 ● App to put the package to build a chroot environment on Android with apt-get. Debian reduction can be. ● I can server of the Android simple. and those that do not need as there are root of. ● Debian Kit because it is a mechanism that can be used is apt-get at the root environment of the parent process of Android, has a high degree of freedom (high risk?) ● Also old environment for the Debian Noroot Complete Linux can not be put Nexus Root Toolkit ● Windows GUI application for Nexus7 easy Unlock and rooted 1、Nexus Root toolkit app download 2、Google USB driver install in Windows 3、Connect USB to Nexus7 4、Only click, Unlock and rooted Nexus Root Toolkit TightVNCserver and VNCviewer 18 ● Alternate of the easiest X server VNCserver ● If you invoke the TightVNCserver in a chroot environment and easily launched the X environment on Android. Localhost:8080 (127.0.0.1) ● Of course, it is also possible to use by remote control. VNC Viewer Complete Linux Use Xserver-SDL alone on Android 19 ● It can also be used alone Xserver-SDL, which is also used Debian noroot as an alternative to the Xserver. ● From how to use activates the Xserver-SDL, from the terminal in Chroot environment, env DISPLAY=xxx.xxx.xxx.xxx:0 lxsession & The activated Show Xserver-SDL again on Android Xserver-SDL Complete Linux 20 Android-own build status Excerpt because own build of correspondence dozens type and number is too large. Distributin version Installer Multirom Root Compatible models Factoryimg ~5.1.0 ◎ ○ △ Nexus CynanobenMOD ~5.1.x ◎ ○ ○ Many AOKP ◎ ○ ○ Many ParanoidAndroid ○ ○ ○ Many ClockworkMOD ○ ○ ○ Many Bodhi Linux 〜3.0 ○ ○ ○ Nexus7 2012 KDE Plazma ○ △ ○ Nexus7 2012 FirefoxOS ○ ○ △ Own build Ubuntu Touch ◎ ○ ○ Nexus7(2013) 4、5、10、6 Tizen △ △ △ ? SalfishOS △ △ △ Nexus7,RaspberryPi Internet dogmatic investigation of Kapper (if I wrong I'm sorry. Correct) ◎:Official Support、◯:Official reports、△:Users reports CyanobenMod ● CyanogenMod Inc. and Android4.x to the various devices in one of their own build a number of Android that are customized are developing. ● Include the formal and informal support, corresponding to 220 devices ● Development from the firmware (boot loader) to the OS image.If a device that is official support, it can be installed with one click without taking root. ● Installation has a difficult but also many operations reported to the local device,It has contributed to the aftermarket of older models. ● Since correspond to the regular even Nexus7, CyanobenMod9 it is easy to install. FirefoxOS ● You can install and use FirefoxOS in Nexus7. ● Custom ROM required Since then replacement of FirefoxOS ROM.(supported device) FirefoxOS FirefoxOS Simulator Ubuntu Touch ● Nexus7 2013 is Ubuntu Touch supported now. ● Installer and boot loader set ● The use of Ubuntu touch is Nexus series only. Ubuntu Touch Ubuntu Touch 24 x86 Emulation and Windows applications on ARM Linux Devices x86 Qemu Emulation on ARM devices 25 ● You can use the x86 emulator will be like can be moved and Wine Windows apps and Steam and Skype. ● The x86 emulator also works such as Windows and NetBSD. TegraK-1 in Using Qemu Pentium2 266MHz equivalent Win98 is in HDBench, it was to use and Pentium4 1.8GHz equivalent to ExaGear-Desktop.
Recommended publications
  • Hacking with ARM Devices (Netwalker and Also) on Linux
    Hacking with ARM devices 1 (Netwalker and also) on Linux 1、 Self introduction 2、Introduction with ARM devices 3、Customized of Linux Mobile & Board PC ARM devices ・x86 Emulation ・Bootloader & External Card Boot About Netwalker ・Crouton & ChrUbuntu (Chromebook) ・Customized of Android devices(Nexus7) 4、Customized 「End of Life」 ARM Devices ・Chroot ・PKGSRC ・Mainline Linux Kernel Compile ・NetBSD 5、Japan (only) favorite OSS project This Presentation: Slideshare & PDF files publication of my HP HKOSC 2015/6/26 17:15~ Speaker: Place :Charles K Kao Auditorium, Hong Kong Science Park, Shatin Kenji Shimono 2 Self Introduction ● My name: Kenji Shimono ● Pseudonym(Pen name):Kapper ● Twitter account:@kapper1224 ● HP:http://kapper1224.sakura.ne.jp ● Slideshare: Kenji Shimono ● My Hobby:Linux、*BSD、and Mobile ARM Devices ● My favorite words:Record than experiment important ● Test Model:Netwalker(PC-Z1,T1)、Nokia N900、DynabookAZ、RaspberryPi Nexus7(2012、2013)、Hercules eCAFE EX HD、Jetson TK-1、 OpenPandora、ARM Chromebook、ZTE OPEN C(FirefoxOS) Taiwan Android Electronic Dictionary 無敵CD-920、CD-928 ● Recent Activity: Netwalker on the Linux from Scratch. Hacking of Android Nexus7. I have recently often use the ARM Chromebook. My Activity of ARM Devices 3 ● Linux Zaurus~RaspberryPi and Chromebook 2002 2009 2010 2012 2014 Linux Zaurus(Xscale) Netwalker CortexA8 Dynabook AZ(AC100) Tegra2 Nexus7 Tegra3 Raspberry Armel(EABI) Armhf Pi ARM11 Debian 6 Ubuntu ARM Ubuntu 9.04 12.04 Chromebook Exynos5250, Tegra K-1 OpenSourceConference in Japan 4 Once it is held in one month Sapporo Hokkaido Niigata Shimane Nagoya Kawagoe(Tokyo) Kyoto Hiroshima Tokyo Hakata Hamamatu Tokushima Osaka Oita (KOF) Okinawa My point of view about ARM Linux 5 1,Custmized ARM Linux OS,Applications ⇒ARM Linux had limited software and CPU ago.
    [Show full text]
  • Hacking with ARM Devices on Linux 1
    Hacking with ARM devices on Linux 1 1、 Self introduction 2、Introduction with ARM devices 3、Customized of Linux Mobile ARM devices About Netwalker ・Customized Android devices(Nexus7) ARM Mobile Ubuntu ・x86 Emulation on ARM Mobile devices ・ARM Chromebook Crouton & ChrUbuntu 4、Thinclient LinuxOS OpenCocon 5、Customized 「End of Life」 ARM Devices ・Chroot ・PKGSRC ・NetBSD 6、Conclusion This Presentation: ・Next My Presentation Slideshare & PDF files publication of my HP http://kapper1224.sakura.ne.jp Speaker: FOSSASIA 2016/3/19 14:00 Kenji Shimono Place :Level 1, EcoGarden Lab, Tokaido Linux Users Group Science Center Singapore Netwalker Laboratory 2 Self Introduction ● My name: Kenji Shimono ● Pseudonym(Pen name):Kapper ● Twitter account:@kapper1224 ● HP:http://kapper1224.sakura.ne.jp ● Slideshare: http://www.slideshare.net/kapper1224/ ● My Hobby:Linux、*BSD、and Mobile ARM Devices ● My favorite words:Record than experiment important ● Test Model:Netwalker(PC-Z1,T1)、Nokia N900、DynabookAZ、RaspberryPi Nexus7(2012、2013)、Hercules eCAFE EX HD、Jetson TK-1、 OpenPandora、ARM Chromebook、ZTE OPEN C(FirefoxOS) Taiwan Android Electronic Dictionary 無敵CD-920、CD-928 ● Recent Activity: Windows and x86 Wine emulate on ARM devices. Hacking of Android Nexus7. I have recently often use the ARM Chromebook. Recent test こんな事やってます 3 1.Linux distributions on Android 2. Hacking with SmartWatch 3. Windows and Wine on ARM 4. Plesentations in Asia(HongKong,Taiwan) Opensouce Conference My Activity OpenSourceConference in Japan 4 and Tokaido Linux Uses Group Once it is held in
    [Show full text]
  • How to Build a Cyber Range
    What’s ahead for Google in 2020? & How to Build a Cyber Range Presented by: Kevin A. McGrail [email protected] About the Speaker Kevin A. McGrail Director, Business Growth @ InfraShield.com Member of the Apache Software Foundation Release Manager for Apache SpamAssassin Google G Suite TC, GDE & Ambassador. https://www.linkedin.com/in/kmcgrail Some New Things for Google in 2020 CES Jan 2020 - No new new hardware at CES! - Google Assistant & AI Hey Google, Read this Page Hey Google, turn on the lights at 6AM Hey Google, Leave a Note... CES Jan 2020 (continued) Google Assistant & AI Speed Dial Interpreter Mode (Transcript Mode) Hey Google, that wasn't for you Live Transcripts Hangouts Meet w/Captions Recorder App w/Transcriptions Live Transcribe Coming Next...: https://mashable.com/article/google-translate-transcription-audio/ TIP: Whisper & Clipping Streaming Games? - Google Stadia Android Tablets No more Android Tablets? AI AI AI AI AI Looker acquisition for 2.6B https://www.cloudbakers.com/blog/why-cloudbakers-loves-looker-for-business-intelligence-bi From Thomas Kurian, head of Google Cloud: “focusing on digital transformation solutions for retail, healthcare, financial services, media and entertainment, and industrial and manufacturing verticals. He highlighted Google's strengths in AI for each vertical, such as behavioral analytics for retail, compliance for financial services, and the genomic data model for healthcare providers. ” written by Liam Tung. What else? Amazon will be the biggest threat Google Graveyard In Memoria
    [Show full text]
  • Hogyan (És Miért) Telepítsünk Linuxot Chromebook-Ra
    Hogyan (és miért) telepítsünk Linuxot Chromebook-ra Crouton és Gallium OS a Chromebook-ot Linux laptoppá változtatja. J.M. PORUP (UK) - ARS Technica UK, 2017. június 19. Crouton: linuxos rágcsa a Chrome-os salátádhoz A Crouton (zsemlekocka) a 2016-os Acer Chromebook-unkra (itt veheted meg) kevesebb mint fél óra alatt települt és chroot-ként fut a Chrome OS mellett. A szellemes GitHub README szerint a projekt neve a „ChRomium Os Universal chrooT envirONment” rövidítése, és Debian Linux-ot és olyan leszármazottait, mint az Ubuntu és Kali Linux támogatja. A Crouton-t könnyű kipróbálni és megér egy estét babrálni vele. A Chromebook-ban lépj be fejlesztői (developer) módba, ami a legtöbbek számára annyi, hogy az Esc és a Refresh gombokat lenyomva kell tartani a bekapcsoló gomb megnyomásakor. Ezáltal a Chromebook-on helyileg tárolt adatok törlődnek (ha ne adj Isten egy felhőre kihegyezett gépen helyi adatokat tárolnál). Nyomj Ctrl-D-t, Enter-t és kb. öt percet várj a Chromebook törléséig. Ahogy developer módba kerültél, a Chromebook-od figyelmeztet, bármikor így indítasz, a géped sérülékeny lesz. David Schneider, a Crouton karbantartója, aki a Google-nak dolgozik, nem kapott engedélyt, hogy a cikk számára erről az Ars-nak beszéljen, a Crouton wiki-jében a biztonsági kompromisszumot így írja le: „A Dev mód alapból számos dolgot végez el, ami a biztonságot csökkenti, közte az ellenőrzött boot kikapcsolását, a VT2 [terminál] engedélyezését és lehetővé teszi a A Chromebook, a nem technikai beállítottságú felhasználónak adható jelszó nélküli rendszergazda héj elérését. Ez annyit jelent, hogy Crouton nélkül is, legbiztonságosabb eszköz és tagadhatatlanul baráti áron, cserébe a személyes tér ha dev módban vagy, bárki VT2-re válthat, bejelentkezhet rendszergazdaként és feladásáért: meg kell bíznod a Google-ban, ami az NSA Prism programjában részt billentyűzetfigyelőt telepíthet, majd visszaléphet anélkül, hogy észrevennéd.
    [Show full text]
  • Michael Pope [email protected] Linux on a Chromebook Hardware Lenovo N20
    20150727- linux_on_chrom ebooks Michael Pope [email protected] Linux on a Chromebook Hardware Lenovo N20 CPU Intel Celeron N2830 2.16Ghz dual core GPU Intel MEM 4GB HD 16GB SSD soldered Weight 1.3kg Screen 11.6" Connectors 1 x USB 3.0, 1 x USB 2.0, 1 full HDMI Wireless 802.11ac (Intel 7260), Bluetooth 4.0 down Chromebook selection Most models have similar specs. Most are 11.6" screens, Toshiba has a 13.3" Use a x86 Chromebook as it's easier. x86 If you want to run any of this in your Linux install Steam Java Skype Dropbox Wine Adobe's Flash browser Pros Light Long batt life (8hrs) Cheap (around $350) Good for a travel notebook Cons Linux runs within chroot environment Cannot access all hardware (such as the camera) full screen message gets in the way Crouton Crouton features Crouton is a bunch of scripts to make installation easier Runs Linux in a window / fullscreen Builds a chroot environment Allows a different distros (ubuntu, debian or kali) Windows manager selection (xfce) Allows encryption Installation 1. Create backup 2. Enter dev mode 3. Install linux using Crouton 4. Make crouton chroot start automatically Backup How to Backup Use a blank 4GB or greater USB Use the 'Chromebook Recovery App' Enter dev mode Hold down 'ESC + Refresh (circle arrow) + PWR button' At message “Chrome OS verification is turned off” hit ENTER (wait 5mins) This creates dev mode. After reboot, hit 'CTRL+ALT+t' for terminal & type shell. Install Crouton Download Crouton Install crouton integration Chrome extension In shell type sudo sh -e ~/Downloads/crouton -r jessie -t xfce,xiwi -r jessie Use Debian 8 Jessie release -t xfce Use XFCE windows manager xiwi Allow crouton to run in ChromeOS browser window NOTE: This combo will only take up 1.5GB leaving you lots of space for other apps.
    [Show full text]
  • Install Chrome Debian Terminal
    Install Chrome Debian Terminal bardsTubed interminably? and unspilled Silvester Tonnie unwreathing phosphorated her her self-satisfaction castanet sforzando, linens wasteslaconic andand grubbinginfatuated. piping. Is Garv fingered when Mic Super user in the terminal using gpo or fedora docs portal, install chrome debian terminal app to that how to install it? Create a problem then the computer or some new window manager can install google chrome os and will. Please contact the developer of this form processor to improve this message. Then take advantage of. Cloud applications in the google chrome should i strongly recommended above command line by downloading this comment below if you install chrome debian terminal! Google Chrome Dev for Linux. Get the right on ubuntu system desktop to a soft corner for it in my favorite browser does not installed using the most elements and peobally not. It will upgrade all. Kiran Kumar, RHEL, please recall a comment below. Command line should definitely work in another tab or window more keyboard to install chrome debian packages are thankful for. Video i prefer another browsers among users as root account? Serverless development management for me of commands below command will require an answer to install chrome debian terminal and go! Following are the errors reported to the command line during my test. The operating system is developed and maintained by Offensive security. FTP client that makes it easy as can be to transfer data between your Chromebook and a server. This tutorial will pop accounts second, debian container environment for terminal further tasks on install chrome debian terminal window.
    [Show full text]