Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 105 lines (66 sloc) 3.731 kb
9797ccb @kosborn Added auto-checking for local temp folder.
authored
1 p2p-adb Framework
8d23277 @kosborn initial commit
authored
2 =======
3
9797ccb @kosborn Added auto-checking for local temp folder.
authored
4 **Phone-2-Phone adb Framework - A project for "debugging" phones... from other phones.**
c4e1b2c @kosborn Why u no push modified file git?
authored
5
9797ccb @kosborn Added auto-checking for local temp folder.
authored
6 A loose framework to assist in pulling data, making system changes, etc, with minimal user input.
c4e1b2c @kosborn Why u no push modified file git?
authored
7
5071081 @kosborn Added links to Hak5 & DerbyCon videos and slides
authored
8 **Media**
9
10 * Featured on [Hak5](http://hak5.org/episodes/hak5-1205) (hak5.org)
11 * Presented at [DerbyCon 2012](http://www.irongeek.com/i.php?page=videos/derbycon2/1-2-9-kyle-kos-osborn-physical-drive-by-downloads) (irongeek.com)
12 * DerbyCon 2012 [slides](kyleosborn.com/android/AndroidPhySec.pdf) (kyleosborn.com) (PDF)
13
c4e1b2c @kosborn Why u no push modified file git?
authored
14 Goal/Reason
15 -----------
16
17 Attacking another device by plugging directly into it has always been something I thought would be movie hacker cool.
18
aa348d0 @kosborn Further updated readme
authored
19 The real idea is that: Someone leaves their phone at the table, locked, and only for a few minutes. You pull your phone out, plug them together, and hope to god that have USB debugging enabled (all custom ROMs do.) Slurp down their files, stick your own backdoors there, and you're set to go!
c4e1b2c @kosborn Why u no push modified file git?
authored
20
aa348d0 @kosborn Further updated readme
authored
21 Took me about 45 seconds to copy over 62MB of com.android.google.\* databases and user\_prefs files (from encrypted Galaxy Nexus to unencrypted Galaxy Nexus, but running AOKP Milestone 5).
c4e1b2c @kosborn Why u no push modified file git?
authored
22
9797ccb @kosborn Added auto-checking for local temp folder.
authored
23 A Framework?
24 ------------
25
26 Yes, because as devious as I might think I am (an I am), I'm certain others have more clever ideas than mine.
27
28 As this project develops, it will form more into a framework, providing tools necessary to quickly, and sanely, allow users (i.e. you) to create scripts as easily as possible.
29
c4e1b2c @kosborn Why u no push modified file git?
authored
30 Requirements
31 ------------
32
33 Most of the scripts should be doable by both PC and an Android phone.
34
4419060 @kosborn Turns out the version of sh I'm testing against doesn't support read -p
authored
35 __Note:__ This was designed for sh (not bash/dash/ksh/etc). I can't guarentee functionality will work across the shells.
36
c4e1b2c @kosborn Why u no push modified file git?
authored
37 Android requires:
9797ccb @kosborn Added auto-checking for local temp folder.
authored
38 * An install has/supports adb (I believe stock comes with adb, otherwise you could probably add it)
c4e1b2c @kosborn Why u no push modified file git?
authored
39 * An install that supports USB host mode
40 * A phone that supports USB host mode (hardware support)
9797ccb @kosborn Added auto-checking for local temp folder.
authored
41 * **Root**
42 * **Busybox**
c4e1b2c @kosborn Why u no push modified file git?
authored
43 * A terminal emulator
44 * Probably a [USB On the Go cable](http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=usb+otg)
d28b789 @kosborn Updated readme to reflect how support should be reached.
authored
45 * **Check out Hak5's micro-micro USB cable: [Hak5 Shop](http://hakshop.myshopify.com/products/micro-to-micro-otg)**
c4e1b2c @kosborn Why u no push modified file git?
authored
46
47 PC requires
9797ccb @kosborn Added auto-checking for local temp folder.
authored
48 * Android SDK (specifically, you nee adb)
c4e1b2c @kosborn Why u no push modified file git?
authored
49 * adb needs to be in $PATH
9797ccb @kosborn Added auto-checking for local temp folder.
authored
50 * Something that will interpret shell scripts (I'm looking at you, Windows users. cygwin should work)
c4e1b2c @kosborn Why u no push modified file git?
authored
51
7a458cc @kosborn Updated with running info
authored
52 Running
53 ------
54
55 * Copy to phone
56 * `su`
57 * `sh ./run.sh`
58 * profit
59
9797ccb @kosborn Added auto-checking for local temp folder.
authored
60 Targets known to be working:
7a458cc @kosborn Updated with running info
authored
61 * AOKP Milestone 5
9797ccb @kosborn Added auto-checking for local temp folder.
authored
62 * CyanogenMod
7a458cc @kosborn Updated with running info
authored
63
9797ccb @kosborn Added auto-checking for local temp folder.
authored
64 Targets that still have some issues:
65 * Stock Android (Still figuring out the best methods to re-implement everything with a limited shell environment)
546398b @kosborn Fixed issue #2 by Hackrylix. Now gets JB user's accounts.db
authored
66 * **Note! Stock Android is now working, busybox is now PUSHED to the device**
9797ccb @kosborn Added auto-checking for local temp folder.
authored
67
68 As necessary, I'll start expanding and building checks against certain ROMs/toolkit versions to create maximum damage.
c4e1b2c @kosborn Why u no push modified file git?
authored
69
24d8562 @kosborn Added "AntiGuard" - An app that is to be installed via ADB, which allows...
authored
70
71 AntiGuard
72 ---------
73 AntiGuard is an Android app I wrote that will assist you in unlcoking a phone.
e5bc6c2 @kosborn Fixed line breaks... stupid markdown =)
authored
74
24d8562 @kosborn Added "AntiGuard" - An app that is to be installed via ADB, which allows...
authored
75 Since ADB doesn't always give you root, you might be limited in what you can do. However, the standard ADB shell user is also very powerful.
76
9797ccb @kosborn Added auto-checking for local temp folder.
authored
77 * AntiGuard is now built into the regular toolset!
78
24d8562 @kosborn Added "AntiGuard" - An app that is to be installed via ADB, which allows...
authored
79 * To install AntiGuard, you simply need to run
80 * `adb install AntiGuard/AntiGuard.apk`
81
82 * To unlock the screen once install
83 * `adb shell am start -S io.kos.antiguard/.unlock`
84
85 * To uninstall, hit the uninstall button, or run this command
86 * `adb ununinstall io.kos.antiguard`
87
88
9797ccb @kosborn Added auto-checking for local temp folder.
authored
89
24d8562 @kosborn Added "AntiGuard" - An app that is to be installed via ADB, which allows...
authored
90
91
c4e1b2c @kosborn Why u no push modified file git?
authored
92 Credits
93 -------
94
d28b789 @kosborn Updated readme to reflect how support should be reached.
authored
95 **Note**: If you're looking to report a bug, please use the issue tracker in GitHub. Support can also be found that way.
e5bc6c2 @kosborn Fixed line breaks... stupid markdown =)
authored
96
9797ccb @kosborn Added auto-checking for local temp folder.
authored
97 Me, you're welcome. [@theKos](https://twitter.com/#!/thekos)
e5bc6c2 @kosborn Fixed line breaks... stupid markdown =)
authored
98
c4e1b2c @kosborn Why u no push modified file git?
authored
99 [Email](mailto:kyle@kyleosborn.com)
100
101 License
102 -------
103
546398b @kosborn Fixed issue #2 by Hackrylix. Now gets JB user's accounts.db
authored
104 GPLv3
Something went wrong with that request. Please try again.