AndroRAT - Android Remote Administration Tool Setup Tutorial
Prerequisites
Getting Started
![[Image: mHkTc79.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sH623tUa2SGYtmahlgVUGFCIxonvgSfnHi_U_R7fjFti5gYZGKaCT4al-RYnhhUxzAr2vUflOjXZ3yXLkK5wCtpw=s0-d)
Preparing the SDK
The SDK comes with the basic tools & libraries, but we need to download more packs to compile AndroRAT.
![[Image: Q5wXPaw.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sNm9qSq9JwD3xdpL4NULZws8VvhJmJCDzsOQRm2V8ezwQQOuzlGw1IRNi8bueWWV92590RlstgnfbtNjMcRJHg=s0-d)
![[Image: NWa1Hyz.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uz_36DDkrrJWJ0Fr7fWIypUnqjwj9KH1icdO_bLek29wggw_i5hB8yy2ZMHPcpiyZP-2c2dRkjltYKdkJDA6gH=s0-d)
Compiling the APK
![[Image: gxZqAFB.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_s0vvSj2J_Kvw2HOGORMD1G0_7aEP4scVE-6RpF47yinHv996XbpAZM7O4BJKQrOJh4kKaOvFPeIv5w_Ez-HMNu=s0-d)
![[Image: zvpwVMW.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sySUXJwi68BRzNFnnmoIcppjQacSA-DM3rwp8VlJ2Mb7jqnFyqi0rMWLZ1nDUgMRbeOaz7FWveeLRrYzVSKJCvTA=s0-d)
![[Image: LVY0mvI.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vhkLxvJvMfD6T2PPlrR3ZkiHjYgU2dUkszPr-OHDbgoNEvgjQvQAnln-cbCrsBuNCIAWVONizT5nI56X_u-_CS=s0-d)
If you'd like to, you can compile the APK right now.
![[Image: tHbnGLY.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uahB1BJLe9QzmlN4GMEmFq3mCMlPGwpNHzKvh3yIG0wa6Ekp3pe1II1_kUoCCtW6GpY9GZ6rWszoFVpYXcFEU1=s0-d)
Compiling the Server
![[Image: 5qBrZ40.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uFp0OnbgOC3Ci9mO71UA_IgRbREM1RbVjgN9ZEj-boP-qXDy7dt9Uk0R_e_MDgVmp31-FBjgRXiiDknIE8a7-AJg=s0-d)
![[Image: trQFY7I.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vIeZKdP7jpNFLMjQWqbH3niAA1Xfb3HaTYApb2fJtvCVAMzzEcpFxyvykjhjogAa8ecqMxdYwB_k3-KpvZlRTH=s0-d)
![[Image: 9JUaeL3.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_ueItNyU28ZGJ4Rn_1A9MUNu41e3rqs79TdIrU-1PO-uxXlD14lAGJjmyfl1H8OfvkNugh8RxlbdjWJsrCEGnFOZQ=s0-d)
![[Image: gqzErWE.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uuVgJEU7DsnUxbsHBOpsqV2i50jAEz6oXJMBT9jjVYgpTlWZTzVEoE5Ah4PSEyXy4FMJ_yBvq7DCIXCk9bsdm6Qg=s0-d)
![[Image: 3E5pNhK.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sMypwhUulKVcVWX7Ln7XJSA-ofVkBqafB1ujsLHBp2dbMouYNBznx3PhkvRN_N3DYERS2QDhXxSQb4IdvuMnRN=s0-d)
Now we're going to run the applet once, so we can compile it in a second:
Now we're going to compile our RAT client into a .JAR: (so we can run it whenever)
![[Image: awEZqhG.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vQjmW_11c1W2G21Qw3fcIPSWoN2nQAd-A_QyXaf6hj5NrfMvvtxn8qJXj9mrpbnhLPJr0NM_3xB_vX2RTFnP-YdQ=s0-d)
![[Image: DcrkaZt.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_tWjlN0eFg5bL83ZekRqXggCh6qagSYaO9fX3BoMOP0o-gABl44ZhsbsT2wA38OB_lr38M8xPcswUs5RMf_5hDcpA=s0-d)
Modifying the APK to auto-configure our server on startup
![[Image: IF5HA3f.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_tP01qY0bfLefsto4ZRwweN2sq63c1YXawzUs2-6uyRvq7nazsF7XqmOArPJ5Z3__OHb3Xg_rhkv23GuG4tQdRLFA=s0-d)
![[Image: oqBiAtO.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vsaKkcwUjBXrushlzJcZ62NvjCpji8DSJZMau_-9D-g5zpmolbN6bwwwoxlB6X1k5e861zzQYnxKhEYpIY9Vx-=s0-d)
![[Image: tHbnGLY.png]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uahB1BJLe9QzmlN4GMEmFq3mCMlPGwpNHzKvh3yIG0wa6Ekp3pe1II1_kUoCCtW6GpY9GZ6rWszoFVpYXcFEU1=s0-d)
Prerequisites
- Android Developer Tools [here]
- Java Runtime Environment [here]
- AndroRAT Source [here]
- I recommend you have some previous experience with PC RATs before getting into this. I recommend following this first
- keep your phone plugged into your PC via USB & make sure you're phone has USB debugging enabled
Getting Started
- extract and run eclipse, which is inside the Android SDK:
Code:
\eclipse\eclipse.exe- choose "use this default workspace and don't ask again" when eclipse runs
- should look like this:
Preparing the SDK
The SDK comes with the basic tools & libraries, but we need to download more packs to compile AndroRAT.
- In eclipse, click: window -> android SDK manager
- this should open:
- note: The Android app says it needs API level 2.2; this does not mean it's only for 2.2! This is the minimum requirement. It will run in GingerBread 2.2 & up! (2.3, HC, ICS, JB)
- select these:
- click install packages
- accept anything that pops up
- wait for the download to finish
- close & re-open eclipse
Compiling the APK
- go to file -> new -> project
- select this:
- click browse & select this:
- click OK, this should appear:
- make sure the project is checked
- click finish; it should load the project into eclipse
- note: you can compile this app right now, but it will ask you on startup (on the phone, when launched) for the IP address of your NO-IP host (since you will use that I assume). We will change this source later on to make it automatically configure itself on startup & go to background
If you'd like to, you can compile the APK right now.
- click the drop-down button to compile the APK (when asked what you would compile it as, select "Android Application")
- note: the APK will be built to the bin folder inside the project's folder: (the one we downloaded)
Code:
androrat-master\src\Androrat\binCompiling the Server
- go to: file -> import
- select this:
- click browse when the new window shows up. select this:
- make sure the project is checked, click finish
- our project will have an error-like icon:
- right click on the project folder (the icon with the "!" sign) & click properties
- click "Java Build Path" & click the "Libraries" tab:
- the libraries with the "x" icons aren't recognized by eclipse, so delete them. select them all & click "Remove"
- the project still needs those libraries. on the same window, click this:
- navigate to:Code:
androrat-master\src\api
- select all and of the files & click open
- click OK
Now we're going to run the applet once, so we can compile it in a second:
- click on "Androrat Server" in the package explorer window
- click the drop-down arrow next to the green "play" button -> run as -> Java application -> "Server - server" -> OK
- AndroRAT Project (our client window) should run. if so, great!
- close AndroRAT Project
Now we're going to compile our RAT client into a .JAR: (so we can run it whenever)
- click: file -> export; select:
- set the options in the next screen as shown:
- click finish
- note: you will get a few warnings; click OK on each
Modifying the APK to auto-configure our server on startup
- open LauncherActivity.java
- delete all of it's content & replace with this:
Spoiler (Click to View)
- edit the obvious parts:
- you can put your NO-IP address here, if you'd like (alternatively, you can use your IP)
- compile & you're done
fd
ReplyDeleteLatest Extratorrent Proxy
ReplyDeleteHomepage
Learn More
The most interesting text on this interesting topic that can be found on the net ... apk for android
ReplyDelete