Commit Graph

485 Commits

Author SHA1 Message Date
Cooper Quintin
e47d4dacc4 raise error on non nas message 2024-12-17 14:46:31 -08:00
Cooper Quintin
4009e3d1ed fix nits 2024-12-17 14:46:31 -08:00
Cooper Quintin
b2cd735a07 proof of concept pcap reader for nas heuristic 2024-12-17 14:46:31 -08:00
Cooper Quintin
94e9a88a91 PoC of python nas heuristic 2024-12-17 14:46:31 -08:00
Cooper Quintin
f4a6c834d2 remove false positive IMSI heuristic until we get a NAS parser v0.2.3 2024-12-09 10:53:58 -08:00
Cooper Quintin
95e8f846d3 propegate colorblind mode beyond start/stop 2024-11-26 11:05:13 -08:00
Cooper Quintin
15f128add1 remove unneeded import 2024-11-26 11:05:13 -08:00
Cooper Quintin
87f9cc403b add colorblind mode. Fixes #77 2024-11-26 11:05:13 -08:00
Cooper Quintin
7addf3a67f fix reboot timeout v0.2.2 2024-11-18 17:10:16 -08:00
Cooper Quintin
4d8cc9b738 Revert "name binary rayhunter-daemon"
This reverts commit 9cd5ce3394.
2024-11-18 16:16:43 -08:00
Cooper Quintin
b0d797d206 name binary rayhunter-daemon 2024-11-18 16:16:43 -08:00
Will Greenberg
1ae3b5020b fix installer script
With the odd permissions issues we've been seeing, we should use
AT_SYSCMD for all mv operations into /data
2024-11-18 16:16:43 -08:00
Cooper Quintin
a23df84848 workaround for root not being root permissions issue (#72)
* workaround for root not being root permissions issue

* update setup_rootshell()
v0.2.1
2024-10-24 12:02:47 -07:00
Will Greenberg
4e862841b3 serial: use vendored rusb v0.2.0 2024-10-22 14:46:40 -07:00
Will Greenberg
2cc8404b13 rm unused windows build 2024-10-22 14:35:48 -07:00
Will Greenberg
35ae2962f2 fix build script 2024-10-22 14:35:48 -07:00
Will Greenberg
1134361cca fix build-release 2024-10-22 13:30:34 -07:00
Cooper Quintin
bec680f93d fix release script 2024-10-22 12:51:40 -07:00
Cooper Quintin
968af93b69 fix nits (#68) 2024-10-22 12:43:11 -07:00
Cooper Quintin
ee75326912 Fix macos install (#67)
* update shell path and some docs

* download ADB if not present

* big O not little o

* bugfix

* bugfix

* silence errors for macos developers

* Update dist/install-common.sh

Co-authored-by: Will Greenberg <willg@eff.org>

---------

Co-authored-by: Will Greenberg <willg@eff.org>
2024-10-22 12:21:27 -07:00
will
3b9a001e88 Update readme to ensure adb is in PATH 2024-10-18 11:49:47 -07:00
will
78d33b2cff serial: claim USB interface
Without doing this, it seems macOS can't use any interface endpoints.
Also disconnect any kernel extensions that're using the interface,
since that can cause issues on macOS as well.
2024-10-18 09:43:12 -07:00
Will Greenberg
6c237e884c lib: rm duplicate TestAnalyzer 2024-10-10 12:41:25 -07:00
Will Greenberg
f3e4091e1d daemon: fix some bugs in the frontend js 2024-10-08 14:58:46 -07:00
Will Greenberg
16f705f29c Add the test analyzer entirely via daemon flags
Also consolidate the duplicate AnalysisWriter implementation
2024-10-08 14:58:46 -07:00
Cooper Quintin
a6fce6d568 fix bug where warnings not displayed 2024-10-08 14:58:46 -07:00
Will Greenberg
fcac6fdf16 Fix broken yaml 2024-10-08 14:58:46 -07:00
Will Greenberg
df84faa1f9 On-demand analysis of past recordings
* rayhunter-daemon: API for triggering and reading analysis
* rayhunter-daemon: rename readonly mode to debug mode
* rayhunter-daemon: debug mode allows live-loading frontend files
* rayhunter-check: rework to handle directories
* rayhunter-check: better output
* CI: build rayhunter-check
2024-10-08 14:58:46 -07:00
Cooper Quintin
c59fb7c013 Fix UI and add more logging (#61)
* add some more logging

* WIP attempt to fix async on update_ui

* fix async for update_ui
2024-10-03 13:32:59 -07:00
Cooper Quintin
ca4f49b15f Framebuffer update (#60)
* first pass at changing the UI color based on state

* adding flag to qmdl metadata for when hueristic is triggered

* update style for web page to match UI and have color alert on heuristic trigger

* add test analyzer

* rename example_analyzer to test_analyzer

* refactor ui update to not depend on server

* refactor to pass around color instead of display state for framebuffer channel

* add debug feature flag for test analyzer

* remove warning status from qmdl manifest

* dont keep has warning around
2024-10-03 10:41:59 -07:00
Will Greenberg
861aaedd47 rayhunter-check improvements 2024-08-19 16:49:01 -07:00
Will Greenberg
f6681a3703 Merge pull request #54 from EFForg/mac-bugfix
bugfix for mac install process
v0.1.2
2024-08-05 10:11:59 -07:00
Cooper Quintin
d6bc307a81 bugfix for mac install process 2024-08-05 10:10:41 -07:00
Will Greenberg
7cbb3369d8 serial: when rooting, don't panic if device is already rooted 2024-08-05 09:57:09 -07:00
Will Greenberg
cb3dbff54a install-common: wait for atfwd_daemon to startup
We can't successfully run any AT commands until it has.
2024-08-05 09:57:09 -07:00
Will Greenberg
65e1cd4967 serial: split out --root process, don't wait for reboot, update usage text
We need to wait for atfwd_daemon to startup before sending any AT
commands, and I can't think of a way to reliably do that within rust.
So, instead of trying to switch the device to command mode before
executing a command, require the user to run the "--root" step
beforehand, and then start executing AT commands.
2024-08-05 09:57:09 -07:00
Will Greenberg
d6fb54afb3 lib: rm unused imports 2024-08-05 09:57:09 -07:00
Will Greenberg
bc93c01890 bin: rm deprecated tempdir crate 2024-08-05 09:57:09 -07:00
Will Greenberg
be2d70325d Merge pull request #52 from EFForg/update-docs
fix timeout bug in rooting script and update docs
v0.1.1
2024-08-02 14:46:51 -07:00
Cooper Quintin
5c4bd161fa fix timeout bug in rooting script and update docs 2024-08-02 14:45:55 -07:00
Will Greenberg
3006871c27 rootshell: add some more comments explaining the magic GIDs v0.1.0 2024-08-02 12:42:32 -07:00
Will Greenberg
fd1879d70a rm debug print from install script 2024-08-02 12:42:32 -07:00
Will Greenberg
f18b993df3 Cleanup rootshell, add better setup/testing to install script 2024-08-02 12:42:32 -07:00
Will Greenberg
8e256b6455 rootshell: use seteuid/setegid instead
This is also what sshell does.
2024-08-02 12:42:32 -07:00
Will Greenberg
a5b784c259 release: make the daemon executable 2024-08-02 12:42:32 -07:00
Will Greenberg
0237cb799b rootshell: use magic Android GIDs to access sockets
Android kernels with CONFIG_ANDROID_PARANOID_NETWORK extensions set
require users to have a few special group IDs before getting network
access. Unfortunately, we need to use nightly to get access to the
.groups() method.
2024-08-02 12:42:32 -07:00
Will Greenberg
25fa4aa0c1 release: make serial binaries executable 2024-08-02 12:42:32 -07:00
Will Greenberg
08698e27da Run build-release on release-* branches 2024-08-02 12:42:32 -07:00
Will Greenberg
dc84238b1e tools: gitignore python detritus 2024-08-02 12:42:32 -07:00
Will Greenberg
ff1f9a6857 Release fixes 2024-08-02 12:42:32 -07:00