Skip to main content

Damn Vulnerable Android Application by Security Compass - Lab 4 Secure Logging

Lab 4 Secure Logging

Welcome back friends, Today we're gonna have a look on lab 4 Secure Logging from Damn Vulnerable Android Application by Security Compass series.

Some times developers log the info about application to the android log, this some times contains sensitive information of an application.

So in this lab we are gonna test this flaw on the vulnerable app, for this we have use adb logcat.


Now after starting the logcat we have to browse through the app or have to make some activity like fund transfer etc. and then we need to check the logs for some sensitive info.

We juz tried to check the account balance.


and we got this in logs


After this we tried for fund transfer





We got this in Logs


Solution:

Developer should be very carefull about what he is logging about the app. He should refrain from logging any sensitive information like session keys etc.

Comments

  1. Casinos Near Casinos Near Casinos Near Me in Las Vegas, NV
    A map showing casinos and 삼척 출장샵 other gaming 전라남도 출장샵 facilities located 영주 출장샵 near Casinos Las Vegas, 목포 출장샵 NV, from Mapyro, 춘천 출장샵 guide to casinos and travel sites,

    ReplyDelete
  2. A future-ready Human Resource Management Software solution that harmonizes people processes with business strategy. From recruitment analytics to career development plans, HR teams can align skills with demand. Payroll Management Software handles payroll runs, tax withholdings, and benefits integration with precision. The platform’s AI-driven insights identify retention risks and training opportunities, enabling targeted interventions that boost engagement, productivity, and organizational resilience.

    ReplyDelete
  3. Focused on scalable quality, DevstringX Technologies offers comprehensive testing programs that adapt to evolving project needs. Their engineers implement robust automation, cross-platform validation, and security assessments to safeguard applications from early stages through production. Clients benefit from proactive risk mitigation, fast feedback loops, and clear collaboration across teams. DevstringX Technologies consistently delivers predictable outcomes, helping enterprises achieve higher user satisfaction and stronger market confidence. Software Testing Services in India

    ReplyDelete

Post a Comment

Popular posts from this blog

Android Damn Vulnerable App by Security Compass

Tutorial of Android Damn Vulnerable App by Security Compass Introduction: Hi folks, today I am gonna show you some hands on or tutorial of the android app testing which I done during my R&D of android app security testing. Here I will show you from scratch setting up of Lab Server to testing of application. In this you will learn on below topics: 1)Insecure Connection (Traffic over HTTP) 2)Server Side Authorization Issue 3)Insecure File Storage 4)Insecure Logging 5)Encryption of data on device 6)Memory Protection Setting-up of lab (App & Server) First of all you have to download the base app which is damn vulnerable from here . After downloading zip and extracting it you have to build it in .apk format using Eclipse IDE. Now you have to install the app in the emulator before that you have to make sure that you installed SDK and its packages. To install the app you have to start emulator using AVD and clicking on "Start" or by command line emul...

Damn Vulnerable Android Application by Security Compass - Lab 6 Advanced Encryption

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 to...

Damn Vulnerable Android Application by Security Compass - Lab 2 Server Side Authorization Issue

 Lab 2 Server Side Authorization Issue Welcome back my friends now we are gonna have hands on on server side authorization issue in this lab we will use burp proxy try to manipulate the parameters and will see the impact. The server side authorization issue is in bank transfer function of an app as now a days some android apps rely on traditional architecture like REST interfaces to perform the functions. We can intercept the server client communication in 2 ways: 1) Go to settings -->more -->mobile networks --> Access point names create one new access point change proxy option to your proxy IP and change the port to port of proxy and save it. now your communication will be intercepted by proxy. 2)Another way is to start the emulator in proxy mode by giving below command emulator.exe @[AVD name] -http-proxy [proxy IP]:[proxy port] so now we are ready to intercept the communication. Lets launch the app Now as I said the server s...