
Explore Termux basics, security features, shell concepts, and why we use Termux, then learn its installation, F-Droid, usage, and package management, followed by a Q&A.
Explore Termux, a Linux terminal emulator for Android, and learn its secure, feature-packed capabilities, from Perl and Python to Node.js, with GDB debugging and keyboard and display support.
Explore what a shell is, a command line interface that takes user commands to instruct the operating system to perform tasks, with shells like Bourne shell and bash as defaults.
Why Termux?
Now we know that termux is a Linux Terminal Emulator. But why it is so famous and sometimes called a hacking machine. Well, that’s somehow true and sometimes a piece of false information also. Termux is not a standalone hacking application. As we discussed, it’s a program that takes instructions and runs scripts. In some Linux distributions like Kali, Parrot OS, we find a lot of tools for penetration testing. Most of them are CLI based and run through the terminal. We can also install various other tools and run different scripts made for Pentesting.
So on Android, obviously you get a complete GUI environment. Where these tools won’t work without any command line utility. That is where termux is used to install such tools on your Android Platform. Our Android is also based on a modified Linux kernel. That’s why we can use Bash scripting in it. That’s why termux can easily connect to the file system to perform the majority of the set of features. Which allows you to use the Linux command line to install and run various scripts.
So that was a wrap on introduction to Termux. Let’s move to installation and basic usage.
Learn how to install Termux on Android devices using Google Play or F-Droid. Follow the straightforward download, install, and run process.
Explore f-droid, a community maintained android repository similar to Google Play Store that hosts only free apps and flags non-free dependencies.
Learn package management in Termux with APT and dpkg, mirroring Ubuntu and Debian usage, and note the missing filesystem hierarchy standard while practicing essential commands.
Discover Termux, an Android terminal emulator and Linux environment, installable from Google Play Store, requiring no root, with an APT package manager and a minimum Lollipop device for setup.
learn how to set up termux storage and grant permissions, then update and upgrade termux to resynchronize package indices and install the latest packages for Android ethical hacking practice.
Learn how to use apt and alternatives like pkg to list, install, and verify packages, view versions and architecture, and run the cmatrix screensaver in the terminal.
Stop cmatrix with ctrl+c, exit the Termux terminal, and uninstall a package using apt remove, then verify removal from the list.
Explore the apt show command to reveal package details such as version, maintainer, installable size, install size, dependencies, conflicts, and description with vim or zip examples.
Explore how to reveal hidden files, recognize dotfiles such as .bash_history, and use ls -a and cd to navigate directories while checking package versions with --version.
Install nano in Termux via apt install nano, use ls to list files, and use cat (concatenate) to view and create files, then edit net.txt with nano and save.
Use pwd to print the current directory path, change directories with cd, and create or edit files with touch, nano, and view content with cat.
Learn to create directories using the mkdir command in the sd card, verify with ls, and refresh the file manager to see the new folder.
Navigate directories using the cd command to move between folders, list contents with ls, and verify your path with pwd. Practice moving from home to sd card, dcim, and notes.
Use the mv command to move files and folders from one directory to another, removing them from the source and placing them in the destination, with verbose examples.
Learn how to use the rm command to remove a file or folder, including rm -r and rm -rf for directories, demonstrated with new age traveller.txt in the debian folder.
Learn to create a directory, make text files with touch, and copy a file into the folder using cp, while navigating with cd and verifying with ls.
Learn to use the uname command to identify your device's architecture (uname -m) and kernel details (uname -a) from any directory, yielding consistent Linux architecture 64 Android results.
Learn how to use the ifconfig command, a Linux utility for configuring, assigning and querying network interfaces, including enabling or disabling interfaces and viewing wlan0.
Discover your public IP address using Google or Termux, and verify with curl ipconfig.me; install curl with pkg install curl if needed.
Learn how to use the Linux ping command to verify network availability and host reachability, test internet connectivity, and diagnose issues such as dropped packets or high latency.
Learn how to use the Linux echo command to display text and chmod to change file permissions, including plus, minus, and equal operators with read, write, execute modes.
Explore essential linux commands such as cal for the calendar, df for disk space, and the proc filesystem that powers data for ps and reveals cpu details with cat /proc/cpu.
Learn how to install git, clone a GitHub repository with git clone, verify the clone with ls, view readme files, and download from the web using wget.
Penetration testing identifies vulnerabilities by evaluating systems or networks with malicious techniques to secure data from outsiders, protect government data during transfer, and preserve brand trust by fixing application vulnerabilities.
Explore the metasploit framework, an open source security project and modular penetration testing platform that tests vulnerabilities, enumerates networks, and executes exploits, evading detection, including its acquisition by Rapid7.
Define vulnerability as a weakness in a computer system that a threat actor can exploit using tools and techniques, forming the attack surface.
Explore how an exploit code leverages software vulnerabilities to gain remote access and elevated privileges, enabling multi-component attacks that drop backdoor trojans and spyware.
Explore payloads, malicious code that exploits vulnerabilities to hack Android devices, delivered via embedded apps or social engineering, granting access to cameras, microphones, and other data.
Explore the basic architecture of metasploit, Rex as the core library, MSF core for the API, MSF base for a friendly API, and modules like exploits, payloads, encoders, and Nops.
Explore the Metasploit architecture module, focusing on encoders that evade antivirus and firewalls without affecting exploit functionality, and review payload types singles and stages.
Understand that a shell is a program enabling code execution on devices, with bind shell where the victim's listener awaits the attacker, and reverse shell where the victim connects back.
This lecture introduces the metasploit framework and its practical setup, then highlights prevention strategies—avoid unknown sources, keep software updated, and resist social engineering—for educational purposes.
Install Cpu-z to view your device's hardware information, including name, architecture, clocks, core speed and multiplier, make and model, screen resolution, RAM, and battery details, without special permissions.
Install metasploit on an android device using termux by updating termux, enabling the unstable repo, and running the install, with a 357 MB download and step-by-step guidance.
Metasploit setup guide highlights the database server command, instructing you to copy and save it for use while generating the payload.
Navigate to the Metasploit Framework on Android, open the MSF console, and explore exploits, auxiliaries, payloads, encoders, and other options via a centralized interface.
Learn to navigate the MSF console by using the help command to view available commands and applying the banner command to customize the banner.
Demonstrate the show command with no audio in the Android ethical hacking practical course, focusing on hands-on command-based techniques for security testing.
Show information, search info, and use commands. Apply these actions to Android ethical hacking scenarios to build practical cybersecurity skills.
Demonstrates metasploit exploits and payloads over a local area network, showing the attacker and victim must share the same LAN, and mentions a WAN attack in the upcoming lecture.
Explore payload generation for android with msf venom, set up a reverse tcp handler in the metasploit framework, and manage LAN-based exploitation sessions.
Learn to perform a wide area network attack by using port forwarding with ngrok to expose a local server, generate android meterpreter payloads with Metasploit, and deploy a signed apk.
This lecture demonstrates reestablishing a ngrok session after hotspot failures, then building and delivering an android meterpreter payload via msfvenom and metasploit, including lhost and lport configuration.
Navigate wifi-based ngrok setup and MSF venom payload creation, clarifying lhost and lport choices and avoiding confusion between 4444 and 4040 ports.
Learn from our mistakes to achieve a perfectly working wifi setup, with no audio during the session.
Explore how a backdoor on Android becomes persistent, using a Metasploit-based lab demo, bash scripts, and payload deployment to maintain a session across device reboots and locks.
Explore how encryption and decryption protect files in Linux, using three practical tools to encrypt, decrypt, and password-protect data with plaintext and ciphertext concepts.
Learn to use secret, a replacement for Unix crypt, to encrypt and decrypt files with the Rajinder cipher and the advanced encryption standard; install via a script and run encryption.
Install and use zip to create password-protected archives from the sd card. Encrypt files from the sd card with a password and unzip them by entering the correct password.
Learn to use the OpenSSL command line tool to encrypt and decrypt files with aes-256-cbc, install OpenSSL, and run enc commands with input and output paths.
This lecture explains how salt protects passwords in storage and demonstrates decrypting data with openssl using aes-256-cbc, including providing a password to view the output.
Learn what phishing is, explore its types, and see how attackers use hosted links and spoofed apps to harvest credentials. Emphasize ethical, legal use and caution against unsafe links.
Phishing is a fraudulent attempt to obtain usernames, passwords, and credit card details by deceiving users through emails, fake websites, and social engineering tactics like spearfishing and whaling.
Explore mirroring a website with web copy tools, cloning a MediaFire login, and editing a php file to illustrate how credentials are captured and how to mitigate such sites.
Install PHP on your machine, start the local server with localhost on port 4444, and verify the site by loading the edited index file.
Demonstrates building a local bhp script to capture a username and password from a form, saving them to a file on localhost for educational purposes.
Sign up for a free hosting platform, verify your email, and upload files to the public directory. The lecture warns about phishing risks and emphasizes ethical, educational use.
Discover how to convert a website into an android app with appsgeyser, including login, URL input, naming, images, and publishing, plus security tips to avoid phishing.
Learn how a tool uses port forwarding and getUserMedia to access a victim's camera via a malicious link, and review the legal boundaries.
This lecture demonstrates how attackers use a say cheese tool to establish remote access, capture images, and reveal a victim's IP location, while stressing legal and ethical consent.
Learn to uninstall the tool by removing packages with rm -r, relocating folders to the SD card, and deleting them from internal storage for clean uninstalls.
Examine a phishing tool that creates phishing links and custom sites, captures camera images, and reveals target IPs; the video shows updating and cloning the tool from GitHub.
Apply chmod +x to make all files and folders executable, verify the current directory and file list, then run the script, noting case sensitivity and its successful execution.
Explore two android security tool options, install required components, access localhost, manage browser permissions, capture back-camera images, and move files to sd card for sharing.
Demonstrates clearing previously captured files, selecting the Engelke option, generating a direct link, and verifying newly captured images in an android ethical hacking workflow.
Learn to install and use aircrack-ng on rooted android devices to test wifi security. Explore monitoring mode, packet capture, injection, and dictionary attacks for WPA/WPA2 networks.
learn to install kali linux on a non rooted android device using the userland app, running an arm 64 debian environment alongside android, with galley tool repositories and monitor-mode limitations.
Learn the concept of Augmented Reality in Depth
Complete Android Ethical Hacking Practical Course (CAEHP)
Course Update: Metasploit Issue Resolved
Welcome to CAEHP – The Complete Android Ethical Hacking Practical Course.
This course is designed for learners who want to understand how Android devices can be used in cybersecurity, ethical hacking, penetration-testing labs and defensive security learning.
A key feature of the course is accessibility: many of the practical exercises can be followed directly from an Android device, without requiring a traditional desktop or laptop setup for every activity.
The course focuses on:
Android-based cybersecurity tools
Termux
Linux fundamentals
Networking concepts
Metasploit in controlled environments
Encryption and cryptography
Phishing awareness
Social engineering awareness
Android security
Kali Linux on Android
Defensive cybersecurity practices
Throughout the course, the teaching team will guide you through the concepts step by step.
All demonstrations should only be carried out in controlled environments, on systems you own, or on systems where you have explicit permission to perform testing.
Why Learn Ethical Hacking on Android?
Modern smartphones are powerful computing devices.
With the right tools and a proper training environment, Android devices can be used to explore:
Linux commands
Networking concepts
Security tools
Scripting
Encryption
Penetration-testing environments
Cybersecurity awareness
Defensive security techniques
This makes Android a useful platform for learners who want to explore cybersecurity without always relying on a traditional computer.
Practical Learning
The course is designed around hands-on learning.
You will work through practical demonstrations, exercises, quizzes and supporting resources.
Depending on the section, you may use:
Android
Termux
Linux tools
Git
Metasploit
Encryption utilities
Kali Linux
Network commands
Security-testing labs
The objective is not simply to learn tools, but to understand how cybersecurity techniques work and how they can be recognised, tested and defended against.
Course Structure
The course includes multiple core sections, optional content and bonus material.
New lessons may also be added over time as tools and technologies evolve.
Section 1: Meet, Setup and Introduction to Termux
We begin by setting up the mobile cybersecurity environment.
Topics include:
Introduction to the course
What is Termux?
Understanding the command shell
Why Termux is useful
Installing Termux
Understanding F-Droid
Package management
Preparing the Android environment
Course Q&A and supporting resources
The goal is to make sure your Android environment is ready for the practical exercises that follow.
Section 2: Termux Basics
In this section, you will become more comfortable using Termux and Linux-style commands on Android.
Topics include:
Installing and configuring Termux
Storage setup
Updating and upgrading packages
Understanding package managers
Hidden files
Checking software versions
Text editors
Checking IP information
Network-related commands
Working with Git repositories
File and directory management
Command-line navigation
Supporting quizzes and exercises
These foundations will be used throughout the rest of the course.
Section 3: Metasploit Framework
This section introduces the Metasploit Framework in authorised cybersecurity labs.
You will explore concepts such as:
Understanding Metasploit
How penetration-testing frameworks are structured
Payload concepts
Local and remote lab scenarios
Networking concepts
Port forwarding
Persistence concepts from a defensive perspective
Basic Bash scripting
Understanding how compromised-device behaviour may appear
Analysing security risks associated with remote access
Defensive considerations and detection
The purpose is to understand how penetration-testing frameworks operate so that learners can better recognise and defend against similar techniques.
All exercises must remain within controlled and authorised training environments.
Section 4: Encryption and Decryption
Cryptography is fundamental to cybersecurity.
This section introduces key concepts around protecting information.
Topics include:
What is encryption?
What is decryption?
File encryption
File decryption
Protecting files and folders
Password-based protection
Installing encryption tools
Understanding cryptographic salt
Practical encryption exercises
Understanding secure data storage
Defensive use of cryptography
The focus is on understanding how encryption helps protect information and why strong cryptographic practices matter.
Section 5: Phishing and Social Engineering Awareness
Phishing remains one of the most common cybersecurity threats.
This section explores phishing from an awareness and defensive perspective using controlled demonstrations.
Topics include:
What is phishing?
Understanding social engineering
Recognising deceptive websites
Understanding website cloning concepts
Localhost demonstrations
Basic PHP concepts
Understanding how fraudulent pages may be constructed
Recognising suspicious links
Identifying social engineering techniques
Defensive awareness
Protecting users from phishing attacks
Any demonstrations involving cloned or simulated pages should only be performed locally or in authorised training environments.
The goal is to understand how phishing works so that it can be recognised and prevented.
Section 6: Camera Permissions, Links and Mobile Security Awareness
In this section, we explore how device permissions, browser features and links can potentially expose sensitive functionality.
Topics include:
Understanding permissions
Port-forwarding concepts
HTTP and HTTPS links
Browser/device permission behaviour
Camera-access risks
Understanding how malicious links can abuse permissions
Recognising suspicious behaviour
Removing unwanted packages
Protecting Android devices
Security awareness for family and colleagues
Defensive mobile-security practices
The emphasis is on helping learners understand how permission-based attacks can work and how to protect against them.
Optional Section: Rooted Android Devices
For learners with an appropriate dedicated training device, an optional section explores additional networking concepts.
Topics may include:
Understanding Wi-Fi networks
Wireless security concepts
Introduction to Aircrack-ng
Understanding monitoring tools
Wireless adapter concepts
Security-testing terminology
Defensive Wi-Fi security
This section should only be used with networks and devices that you own or have explicit permission to test.
Bonus Section: Kali Linux on Android
Explore how Kali Linux can be used from an Android environment for cybersecurity learning.
Topics include:
Understanding Kali Linux on Android
Installing a supported environment
Working with SSH
Accessing Linux tools
Using Android as a portable cybersecurity lab
Understanding the limitations of mobile penetration-testing environments
Defensive and ethical use of security tools
This section provides another way to experiment with cybersecurity concepts using a mobile device.
Learning Resources
Across the course, you will find:
Quizzes
Assignments
Reading materials
Practical exercises
Step-by-step demonstrations
Security-awareness content
Defensive recommendations
These resources are designed to reinforce what you learn in the video lessons.
Course Updates
Cybersecurity changes quickly.
The course may therefore receive updates covering:
New Android security tools
Updated Termux workflows
New security demonstrations
Updated lab instructions
Additional defensive techniques
New quizzes
Emerging threats
New mobile-security examples
You can return to the course periodically to refresh and expand your knowledge.
Who Is This Course For?
This course may be suitable for:
Cybersecurity beginners
Ethical hacking learners
Android enthusiasts
IT students
Computer science students
Security analysts
SOC learners
Mobile-security learners
Anyone interested in learning cybersecurity using Android
No advanced cybersecurity experience is required.
What Do You Need?
For most sections, you should have:
An Android device
Internet access
Termux or a similar supported environment
A dedicated testing environment where appropriate
Permission to perform every security exercise you undertake
Some optional or advanced sections may require additional tools or a separate lab setup.
Important Ethical and Legal Notice
This course is provided strictly for educational, ethical and defensive cybersecurity purposes.
Only perform security testing on:
Devices you own
Systems you control
Dedicated cybersecurity labs
Training environments
Systems where you have explicit authorisation to test
Do not:
Access someone else's device without permission
Attempt to collect private information
Use phishing techniques against real users
Access cameras or microphones without explicit permission
Interfere with systems you do not own
Deploy security-testing tools outside authorised environments
The purpose of this course is to understand how attacks work so that individuals and organisations can recognise, prevent and defend against them.
Need Help?
If you have questions, experience difficulties with the practical exercises or need clarification on a concept, use the course Q&A area.
The teaching team will do our best to support you throughout your learning journey.
Ready to Begin?
Your Android device can be much more than a communication tool — it can also become a portable environment for learning about cybersecurity.
Explore the tools.
Understand the techniques.
Practise responsibly.
Learn how attacks work.
And use that knowledge to help protect yourself, your organisation and others.
Welcome to the Complete Android Ethical Hacking Practical Course.
The Teaching Team