From fb1742130f83a418f360a907e7de3aa5c14434eb Mon Sep 17 00:00:00 2001 From: server Date: Thu, 20 Jan 2022 18:26:04 -0700 Subject: [PATCH] split out system notes --- HARDWARE.md | 40 ++++++++++++++++++++++++++ OS.md | 15 ++++++++++ README.md | 82 ++++------------------------------------------------- SEC.md | 17 +++++++++++ 4 files changed, 77 insertions(+), 77 deletions(-) create mode 100644 HARDWARE.md create mode 100644 OS.md create mode 100644 SEC.md diff --git a/HARDWARE.md b/HARDWARE.md new file mode 100644 index 0000000..1ac8916 --- /dev/null +++ b/HARDWARE.md @@ -0,0 +1,40 @@ +# Hardware +``` +root@ngl:/ # free + total used free shared buffers +Mem: 940616 788688 151928 0 31220 +-/+ buffers: 757468 183148 +Swap: 524284 16972 507312 + +root@ngl:/ # cat /proc/cpuinfo +Processor : AArch64 Processor rev 0 (aarch64) +processor : 0 +processor : 1 +processor : 2 +processor : 3 +Features : fp asimd evtstrm crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd03 +CPU revision : 0 + +Hardware : Qualcomm Technologies, Inc APQ8016 + +root@ngl:/ # df +Filesystem Size Used Free Blksize +/dev 459.3M 52.0K 459.2M 4096 +/sys/fs/cgroup 459.3M 12.0K 459.3M 4096 +/mnt/asec 459.3M 0.0K 459.3M 4096 +/mnt/obb 459.3M 0.0K 459.3M 4096 +/system 1.2G 1008.2M 172.7M 4096 +/data 4.8G 151.7M 4.7G 4096 +/cache 248.0M 152.0K 247.8M 4096 +/persist 27.5M 168.0K 27.3M 4096 +/firmware 64.0M 19.0M 44.9M 16384 +/storage/extsdcard 14.4G 49.5M 14.4G 4096 +/mnt/media_rw/sdcard0 15.0G 28.9M 15.0G 8192 +/mnt/secure/asec 15.0G 28.9M 15.0G 8192 +/storage/sdcard0 15.0G 28.9M 15.0G 8192 +``` + diff --git a/OS.md b/OS.md new file mode 100644 index 0000000..ce5001f --- /dev/null +++ b/OS.md @@ -0,0 +1,15 @@ +# Operating System +Android. Kernel 3.10.49 dates to 2014, but it looks it is running their own patch/fork. +There is android kernel source available from SciAps. Haven't check if it is +complete/corresponding. + +* https://github.com/SciAps/android-kernel + +Appears to have stuff it doesn't need (e.g. PS/2). + + +``` +root@ngl:/ # uname -a +Linux localhost 3.10.49-g98ce14e #7 SMP PREEMPT Tue Sep 14 14:29:56 EDT 2021 aarch64 GNU/Linux +``` + diff --git a/README.md b/README.md index 3fde415..d8304fc 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ To view debug logs in realtime: debian@workstation:~$ adb shell tail -f /storage/sdcard0/ngl.log ``` + # SciAps Analyzers In sum, they are Android-derived 64-bit ARM systems. So they interact with standard free software Android @@ -71,83 +72,6 @@ X-555 XRF Analyzer * https://sciaps.com/xrf-handheld-x-ray-analyzers/x-555-xrf-gun/ -# Unofficial -This repository, documentation and code is -unofficial, unaffiliated with SciAps. - - -## Hardware -``` -root@ngl:/ # free - total used free shared buffers -Mem: 940616 788688 151928 0 31220 --/+ buffers: 757468 183148 -Swap: 524284 16972 507312 - -root@ngl:/ # cat /proc/cpuinfo -Processor : AArch64 Processor rev 0 (aarch64) -processor : 0 -processor : 1 -processor : 2 -processor : 3 -Features : fp asimd evtstrm crc32 -CPU implementer : 0x41 -CPU architecture: 8 -CPU variant : 0x0 -CPU part : 0xd03 -CPU revision : 0 - -Hardware : Qualcomm Technologies, Inc APQ8016 - -root@ngl:/ # df -Filesystem Size Used Free Blksize -/dev 459.3M 52.0K 459.2M 4096 -/sys/fs/cgroup 459.3M 12.0K 459.3M 4096 -/mnt/asec 459.3M 0.0K 459.3M 4096 -/mnt/obb 459.3M 0.0K 459.3M 4096 -/system 1.2G 1008.2M 172.7M 4096 -/data 4.8G 151.7M 4.7G 4096 -/cache 248.0M 152.0K 247.8M 4096 -/persist 27.5M 168.0K 27.3M 4096 -/firmware 64.0M 19.0M 44.9M 16384 -/storage/extsdcard 14.4G 49.5M 14.4G 4096 -/mnt/media_rw/sdcard0 15.0G 28.9M 15.0G 8192 -/mnt/secure/asec 15.0G 28.9M 15.0G 8192 -/storage/sdcard0 15.0G 28.9M 15.0G 8192 -``` - - -## Operating System -Android. Kernel 3.10.49 dates to 2014, but it looks it is running their own patch/fork. -There is android kernel source available from SciAps. Haven't check if it is -complete/corresponding. - -* https://github.com/SciAps/android-kernel - - -``` -root@ngl:/ # uname -a -Linux localhost 3.10.49-g98ce14e #7 SMP PREEMPT Tue Sep 14 14:29:56 EDT 2021 aarch64 GNU/Linux -``` - -## Security -Quick evaluation is it is basically and older Android device, likely -vulnerable to a wide range of older attacks. Has wifi, bluetooth, -maybe even GSM... - - -The process table shows it's ready to send SMS... `:)` - -``` -root@ngl:/ # ps a -USER PID PPID VSIZE RSS WCHAN PC NAME -root 126 2 0 0 002366ec 00000000 S apr_driver -system 328 1 16956 4044 ffffffff a548fa20 S /system/bin/audiod -root 2528 1 5868 368 ffffffff 00434a84 S /sbin/adbd -u0_a70 4397 302 1257352 23972 ffffffff a66719c0 S com.android.smspush -``` - - ## SciAps Resources SciAps sites. @@ -156,6 +80,10 @@ SciAps sites. * https://github.com/SciAps +# Unofficial +This repository, documentation and code is +unofficial, unaffiliated with SciAps. + # License GPLv3+. diff --git a/SEC.md b/SEC.md new file mode 100644 index 0000000..f7b2418 --- /dev/null +++ b/SEC.md @@ -0,0 +1,17 @@ +# Security +Quick evaluation is it is basically and older Android device, likely +vulnerable to a wide range of older attacks. Has wifi, bluetooth, +maybe even GSM... + + +The process table shows it's ready to send SMS... `:)` + +``` +root@ngl:/ # ps a +USER PID PPID VSIZE RSS WCHAN PC NAME +root 126 2 0 0 002366ec 00000000 S apr_driver +system 328 1 16956 4044 ffffffff a548fa20 S /system/bin/audiod +root 2528 1 5868 368 ffffffff 00434a84 S /sbin/adbd +u0_a70 4397 302 1257352 23972 ffffffff a66719c0 S com.android.smspush +``` +