Lab 6 Advanced Encryption
Today we are going to see the solution of basic encryption post in that no encryption was used for sensitive info. The solution is implementing the encryption and that we will try to bypass the encryption implementation as some times the developers store the hardcoded encryption key in the app itself.
For this you need to install the BasicEncryptionSolution.apk.
Now start this app and configure the credentials.
Now app is configured and credentials are also stored as per design in preferences.xml but I am expecting some sort of encryption now as we have installed solution for this flaw.
Browse to the
/data/data/com.securitycompass.androidlabs.basicencryptionsolution/shared_prefs
as you can see that all the credentials are encrypted.
So now we go and disassemble the app and try to figure out is there any key hardcoded key in the app.
You can disassemble the app by using EasyApkDisassembler tool as i did
or else you can use apktool for disassembling the apk file by using below commands
apktool d BasicEncryptionSolution.apk export
for more information on apktool click here.
I am interested in smali files which will be in the disassembled app folder.
I browsed through the smali files and found something relevant to encryption, its CryptoTool.smali file
I opened it in notepad
and found this hardcoded encryption key.
Solution:
Developers should not keep the encryption keys in the app binary, it should be on server side.
Where can i download all these apk files?
ReplyDeleteThe post is written in very a good manner and it contains many useful information for me.
ReplyDeletegexton cctv monitiring
Sunrise Techs is a leading mobile app development company in Australia, specializing in custom iOS and Android applications. Our expert team delivers scalable, secure, and user-friendly apps tailored to your business needs. From startups to enterprises, we transform ideas into high-performing digital solutions. Discover more at Mobile app development company in australia.
DeleteWorking with app developers in Perth has been a game-changer. They bring professionalism, creativity, and technical expertise to every project. Highly recommend for digital transformation.
ReplyDeleteBest App Developers Perth
top AI companies Australia
ReplyDeleteExplore the top AI companies in Australia known for delivering cutting-edge artificial intelligence solutions across industries. This list features leading AI development firms specializing in machine learning, automation, and data-driven innovations.
ChatGPT app development cost
ReplyDeleteDiscover the real ChatGPT app development cost in this in-depth guide that outlines the essential components involved in building a high-functioning AI chatbot. From NLP integration and cloud infrastructure to UI/UX and post-launch support, understand how these factors influence overall AI chatbot app pricing.
Your work in AI app development is shaping the future of intelligent solutions. Great to see companies delivering both technical excellence and user-focused design—well deserved recognition!
ReplyDeleteBest AI Application Development Company
This comprehensive breakdown of 2025 software development costs is a game-changer for tech budgeting! Essential reading for any business planning digital projects. Explore more with the A Complete Guide to the Software Development Cost 2025
ReplyDeleteBuild a seamless banking app with Brisbane’s top developers. Features include mobile wallets, P2P transfers, bill splitting, and FDIC/APRA compliance. Ideal for banks, credit unions, and neobanks. Start your project now!
ReplyDeleteApp Developers Brisbane
Build sleek, scalable, and high-performing iOS apps with Sunrise Technologies. Our Sydney-based team delivers custom iPhone and iPad app solutions tailored to your business goals—combining innovative design with powerful functionality.iOS Mobile App Development Company Sydney
ReplyDelete