Andrax Tutorial PDF
Andrax Tutorial PDF
have the possibility to camouflage in the middle of everyone quite easily. The processor architecture
of many android phones is ARM which is a modern and robust architecture superior to the rest.
Touch screens have given us the chance to run tools with agility and take advantage of their
graphical interface. With the help of smartphones we can be anywhere we want.
ANDRAX and NetHunter should never be compared with each other, talking technically as the first
one is a penetration testing platform for this and another one is only a Debian emulator running
chroot.
• Once done, allow it superuser rights (Magisk) and proceed with Andrax install (Core Files).
• Now you can also unpack core through Busybox or Termux install.
$ pkg install busybox
$ busybox tar -xvJf andrax.r1.tar.xz -C /data/securedyou.com.andrax/ANDRAX/
Fix Andrax SELinux Error Fix
It is used to provide some more security for resources in the system, providing Mandatory Access
Control (MAC) / Discretionary Access Control (DAC). It operates in the following 3 modes:
1. Enforced: In this, the actions contrary to the police get both blocked and logged.
2. Permissive: In this actions are only logged.
3. Disabled: In this SELinux is disabled.
You shall end up with certain problems such as not being able to install the core on the first
glimpse. Try installing it automatically through the application or even manually through busybox
but keep in mind that you shall end up with the same message “INSTALL ANDRAX CORE”.
To be honest this was a never-ending nightmare for all and plus a lot of time was lost. Different
attempts were made, different versions of Andrax, manual installation we made through Andrax
recovery terminal and through Termux, permission adjustments and much more but unfortunately
nothing worked and it won’t start. We even tried re-installing and re-downloading it but it was not
worth anything.
The owner of its directory who is also a system user was not able to access it in “Andrax Recovery
Mode” but did it through Termux which was quite strange. We made wrong conclusions due to it
and took the wrong way. As a last idea, we looked into the logcat and found ourselves to be lucky.
We saw a line through which we came to know what the issue was:
adb –s ENUST10002uu43y Shell –t logcat
An SELinux violation, ANDRAX which is an untrusted application was not given access to ioctrl
permission on system_server (unix_stream_socket). SockFS – pseudo filesystem which manages
the pipe or socket syscalls.
We totally forgot about that as it did not occur to us as android security might be the reason,
especially having in mind custom ROM, rooted phone through Magisk and much more. It was
rarely mentioned on the formal documentation and public threads to put it to permissive mode.
Note: Do mind your steps with SELinux during the installation of Andrax.
Now, to circumvent this you need to connect to adb shell and then disable SELinux
(/sys/fs/selinux/enforce):
adb shell
su
setenforce 0
This is a very simple process. All you have to do is run the below command in Termux:
sudo apt-get --purge remove andrax
Conclusion
The above guide should now be enough for you to have installed and set up Andrax on a device
without root running Termux. NetHunter is your best way to get started and some basic Linux will
also help you navigate the terminal.
Developer: Official Site