Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Sunday, 25 May 2014

QTADB Android Device Manger : GUI form of ADB use in Forensics

In My previous article Install ADB (Android Debug Bridge) in Windows  and Some Useful Commands for ADB in Windows . If you think you don't understand command or whatever try these tool. This is Full GUI form of ADB command tool.

 If you're not in love with the command line, though, QtADB brings ADB's file management, app installation, and more to a friendly GUI.
QTADB use in Android Forensics.

Whether you're tweaking a few system files on your phone or trying to root it, sometimes you have no other choice but to run some commands in an ADB shell. The command line can be intimidating, though, not to mention slow and arduous if you haven't beefed up your command line ninja skills. If you just need to perform a couple quick tasks, qtADB makes the process easy by bringing tons of ADB's most common uses�from file management to app installation to backups�to a friendly desktop program. It even contains a built-in ADB shell if you find you need to run a manual command or two. You can simply connect your phone to pc with Qtadb.
QTADB also use for android forensics ,example see a logcat.

My Phone Explorer :Control & Share Your Android Phone�s Screen from a PC

QTADB Download Link 


1. File manager

-copying files and dirs between phone and computer
-removing files and dirs
-creating new dir
-and other


2. App manager

-installing apps
-removing apps
-creating backup of apps with data
-restoring backups of apps with data


3. Shell

-opens android shell


4. Screenshot

-take screenshot of your device
-save screenshot to png file


5. Fastboot

-flash bootloader, radio and recovery
-boot recovery


6. Recovery

-nandroid backup/restore
-wipe data
-flash rom
-wipe battery stats
-fix uid mismatches

7. Reboot

-to bootloader
-to recovery
-normal reboot


8. Settings

-set font used by app
-set starting paths (or remember paths on exit)
-and other

9. Automatically detects phone (device, fastboot and 

recovery mode)


it requires installed AndroidSDK and busybox on phone (so and root)
linux and macOS version reguires installed Qt libraries(libqtgui4, libqt4-declarative and libqt4-network 4.7 version)(install it from synaptic or some similar app)

if you have connected phone but the file list is empty run with root permisions:
1)adb kill-server
2)adb start-server
or:
create file:
gksudo gedit /etc/udev/rules.d/51-android.rules
and insert this line:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

Ive got Xolo a500S with Cyan6 and im testing everything on this. QtADB should work with every phone with busybox












Related Articles


Monday, 16 December 2013

Genymotion: Fast, Easy To Use Android (x86) Emulator With OpenGL Hardware Acceleration Support

Genymotion is a fast Android emulator which comes with pre-configured Android (x86 with OpenGL hardware acceleration) images, great for application testing. The project has evolved from the old AndroidVM and compared to it, Genymotion comes with a new player design, installer and more.


According to its developers, "the product is aimed at replacing the Android Emulator from Google not only for Android developers but also for people making Android apps demonstrations".

Genymotion (currently in beta) is available for Linux, Windows and Mac OS X and requires VirtualBox. The virtual images code is open source (available HERE) however, the software that runs on the host (the "player") is not, but it is free to use. In the future, Genymotion will continue to have a free to use version with many advanced features but there will also be paid versions, "mainly for large companies needing collaboration on Genymotion".

Genymotion features:
  • Easily download and run pre-configured virtual images: Android 4.1.1, 4.2.2 and 4.3 (with x86 support): Nexus 7, Nexus S, Nexus One, Galaxy Nexus, Galay S4, HTC One, Xperia Z, WXGA 10.1'' Tablet and WSVGA 7.0'' Tablet;
  • Networking: Ethernet (emulates WiFi connection);
  • GPS (with configurable coordinates) and battery (with configurable battery levels) emulation widgets;
  • Display: OpenGL hardware acceleration, multiscreen, full screen display;
  • Genymotion shell which allows you to interact with your VM using a command line;
  • ADB support;
  • Eclipse and Android Studio plugins;
  • Supports Linux, Windows and Mac.

More sensors are expected in future releases: gyroscope, light, temperature, rotation vector and so on.

Please note that since this is beta software, you might find bugs or incomplete features. In my test, things have worked pretty well: the Internet connection has worked out of the box and I was able to play games like Angry Birds or Fruit Ninja without any lag (but this obviously depends on your hardware):

Genymotion Android x86


Here are a few more screenshots:

Genymotion Android x86

Genymotion Android x86

Genymotion Android x86

Genymotion Android x86
Networking
  • Wi-Fi
  • 3G
  • Bluetooth
  • GPS
Display
  • Open GL acceleration
  • Multiscreen
  • Full screen display
More sensors to come
  • Battery
  • Gyroscope
  • Light
  • Temperature
  • Rotation Vector
YOU NEED

  • VirtualBox
  • Genymotion app (Windows, Linux or MAC version)
 

STEP 1 Go to Genymotion, register and download appropriate version. If you are using Windows 32/64 bit you can download ready-to-run Genymotion installer for Windows. This version includes Oracle VirtualBox 4.2.12 dependency, so that you don�t need to download and install VirtualBox manually. 
I am using Linux 64 bit version on Ubuntu 13.04, and the installation is a little different for me then it is for Windows users.
Windows users can just run genymotion-1.0-vbox.exe after they download it and continue with step 3.

STEP 2
Place genymotion-1.0_x64.bin in your home folder and open terminal window then just type following commands.
  • chmod +x ./genymotion-1.0_x64.bin
  • ./genymotion-1.0_x64.bin
After the second command it�s going to ask you: Installing to folder /home/name/genymotion. Are you sure [y/n] ?
Just press Y and Enter
Installation done successfully.
You can now use these tools from /home/name/genymotion:
- genymotion
- genymotion-shell
STEP 3
  • This is the part where we setup the app for the first time. 
Genymotion1

  • The application will ask you your Genymotion credentials that you used to download the app from Genymotion cloud
Genymotion2

  • You can choose from multiple devices like Nexus 7 and HTC Nexus One, and even Galaxy devices. Select your device and download will start. 

Genymotion3

  • Information about device you select will be displayed like this. Just follow on screen instructions.
Genymotion4

  • At the end just press Finish and you are ready to run your virtual Android device with Genymotion. 
Genymotion5

  • This is how the app screen looks like after you download and setup your device. To start your device you just need to press Play button.
Genymotion6

  • Nexus 7 with Google apps running on Ubuntu 13.04 in virtual environment. For the first time when device is started you need to set it up just like any other Android device, and after that play with it. 
Genymotion7

Genymotion8

This is a great way for developers to test apps and for users to play with Android. Be sure to tell us what you think about virtual Andorid on PC in the comments below.
ADB
ADB can be used for various purposes like copying a file to VM, installing apps, debugging, etc.
For more info check this out.

Sunday, 15 December 2013

Install BackTrack on Android Mobile

What is BackTrack 5

Backtrack is a very popular linux distribution for penetration testing. It has hundreds of tools for pentesting and hacking. BackTrack provides users with easy access to a comprehensive and large collection of security-related tools ranging from port scanners to Security Audit.

BackTrack includes many well known security tools including:
- Metasploit for integration
- RFMON, injection capable wireless drivers
- Aircrack-ng
- Gerix Wifi Cracker
- Kismet
- Nmap
- Ophcrack
- Ettercap
- Wireshark (formerly known as Ethereal)
- BeEF (Browser Exploitation Framework)
- Hydra
- OWASP Mantra Security Framework, a collection of hacking tools, add-ons and scripts based on Firefox
- Cisco OCS Mass Scanner, a very reliable and fast scanner for Cisco routers with telnet and enabling of a default password.
- A large collection of exploits as well as more commonplace software such as browsers.

BackTrack arranges tools into 12 categories:
- Information gathering
- Vulnerability assessment
- Exploitation tools
- Privilege escalation
- Maintaining access
- Reverse engineering
- RFID tools
- Stress testing
- Forensics
- Reporting tools
- Services
- Miscellaneous

What you will need

- Backtrack 5 ARM
- Free space on the root of you device for backtrack 5
- A rooted device
 How to root Android Device
- Busybox
- SuperUser
- Terminal Emulator
- AndroidVNC
 First thing all of these are free on Google play

First you download  compressed Backtrek arm image for android Backtrack-;armv.10 Download
The Second thing is install Zararchiever for extract compressed backtrek image file Zararchiever Download

OK are you ready to install backtrek on android ,Now you install Busybox ,BusyBox is installer and uninstaller Android program Busybox Download

Now you install Linux Installer ,linux installer is a main application in this process Linux Installer Download
Open Linux Installer and click on Launch button,on your right side
 click on Setting > Edit then change the file path there to your backtrack image, the .img file that you extracted.
Now you need a Terminal Emulator 
Terminal Emulator will open, you just have to proceed with the installation steps, ask you for a new password, and some preferences. When it's done you will get a red "root@localhost~#" like the picture bellow:

You are now in backtrack! Now if you want backtrack in GUI , go to Google Play and install Android VNC
Open It when it finishes installing, and it will look like this
Now lets run Backtrack GUI with VNC viewer
startvnc
 To connect wth VNC we must know the port where VNC listening. Run netstat -anpt and remember the port where VNC listening. In this case the port is 5901
Open AndroidVNC and fill the form like this:
Nickname : BT5
Password : toortoor
Address : 127.0.0.1
Port : 5901
Connect it and you will see Backtrack 5 interface :-)

You Download  & install more linux distribution by these same trick .
All Android  Linux Distribution Download Link
























Saturday, 7 December 2013

Installing Compiz & Emerald in Linux for 3D Effects

Here, I'll tell you as requested by some visitors that how can you make boring Linux distributions much eye-candy. Don't you worry this isn't going to make your system much slower as compared to those third party softwares which may be used under windows .are you ready to decorate your linux party.                                                     

                                                                                                                                                                Installing Compiz and Emerald in Linux to Enable all 3D Effects specially Backtrack 5 r1


What we need is this that just open up the terminal and write down the following commands:-
    If you are logged in as root then use following commands:-

    apt-get install compiz compiz-fusion-plugins-extra emerald simple-ccsm fusion-icon

    If logged in under ubuntu,fedora,opensuse etc. not as a root then use:-

    sudo apt-get install compiz compiz-fusion-plugins-extra emerald simple-ccsm fusion-icon

If you want compiz-fusion-plugins-unsupported to be installed and on including this command in above written long command, gives an error during the terminal installation, then kindly download compiz-fusion-plugins-unsupported from here (Third Party Download Site Link). It will be located here in Download. So, to make it install open up terminal and write down the following commands one by one:-
    1. cd /root/Downloads

    2. dpkg -i compiz-fusion-plugins-unsupported.deb
    Note:- {to read what these plugins do read wiki.compiz.org.Also you need a working internet connection}

After compiz and emerald installation what to do next!


Just go to System>Preferences>Appearence>Visual Effects (Tab) and then select custom or else ultimate graphics. Woa! Your linux is just tuned up now. Now next step is to go to System>Preferences>Simple Compiz Cofig. Setting Manager and then select those animation which you want to load. And tuneup every bits of your very own Linux with many animations and effects present in compiz.

                                                    Emerald


Launch the Emerald theme Manager from the same preferences located under system in the main panel. And then select which theme you want to choose. You will notice that on loading your default theme has already changed. Now, next step is to download more emerald themes and to import them in Emerald.

Some Troubleshooting:-


If you are using Intel graphics chipset then there are chances that you may have crashes on your system concerned with X0rg. To avoid this keep your drivers up to date. Plus! theres a little trick to avoid this. Load the Compiz Fusion Icon from the start panel. It may be in System Tools under Applications or else find it your self. Here a run key for that also which you may like to add at startup fusion-icon --no-start. Now once it loads then right click on its icon placed at the upper panel's corner and then select Reload Windows Manager. Screen may flicker and every thing will work fine. This trick will work specially if you get following errors:-

bo map failed to access (In x0rg.log)
You find more themes at here

Make VLC run in Backtrack 5 - Fix for running VLC Under root

Was playing with some weird things under backtrack and when installed a good player named as VLC for playing some songs formatted as .flv , I got amused that it wasn't running and nothing happened also not a single error. Just a peaceful screen on clicking the VLC player under the application menu. Some entertainment was necessary so this made me feel angry that's why I started to search out for a fix to made it run. Then I came up to terminal and tried to run that without graphical interface and came with an error which had a theme like this:-

    "Unable to run VLC under the root, Try other way to run as unprivileged user."

Thus, I thought to tried to sort this problem. Lets go with step by step process. Don't panic there is not much tedious process to follow. As most of the common users find linux to be weird than Windows.
How to Install VLC under Linux:-

Go to terminal and type this command:-

sudo apt-get install vlc

If it asks for password then write and press enter. Under the same terminal it will start installing vlc media player. (You need to be connected to internet. If not then download the vlc media player and place that in that pc where there is no internet) when you type the password there will be no characters shown so don't worry just write and hit enter.
Fix to make vlc run under Bactrack - Making VLC run under the root:-

    Open the terminal.
    Write this command and hit enter

        hexedit /usr/bin/vlc

    Press tab and you will see that blinker has been shifted to the 2nd group.
    Find this geteuid._libc_start_man by scrolling the mouse wheel or else pushing the down button; and replace with this getppid.libc_start_man(i-e you just have to change the word take the pointer there and then just write; and you will see that alphabets different from the already there will start getting replaced by newly typed)
    After done press ctrl+s and type y (means yes). You are done.

    In the same terminal type vlc and hit enter. Woa! It runs now. Tune the speakers and let rocks