- Open Access
- Total Downloads : 8
- Authors : Dr. M Hanumanthappa, Manish Kumar, Dr. T V Suresh Kumar
- Paper ID : IJERTCONV2IS02007
- Volume & Issue : NCSE – 2014 (Volume 2 – Issue 02)
- Published (First Online): 30-07-2018
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Secure Mobile Application Development’s Critical Issues and Challenges
Dr. M Hanumanthappa1, Manish Kumar2, Dr. T V Suresh Kumar3
-
Associate Professor, Dept. of Computer Science and Applications, JnanaBharathi Campus, Bangalore University,Bangalore -560 056, INDIA
-
Assistant Professor, Dept. of Computer Applications, M S Ramaiah Institute of Technology, and Research Scholar, Department of Computer Science and Applications, Bangalore
University, Bangalore-560 056,INDIA
-
Professor and Head of the Department, Dept. of Computer Applications, M S Ramaiah Institute of Technology, MSRIT Post, Bangalore-560 054,INDIA
E-mail:- hanu6572@hotmail.com1, manishkumarjsr@yahoo.com2, hod_mca@msrit.edu3
Abstract
The rapid proliferation of smartphones, tablets, and other mobile devices has completely changed our daily life. With the use of personal mobile devices now mainstream, users of software increasingly expect to get things done on their smartphones. The time has come for IT managers to put measures in place that ensure mobile data security across the enterprise. Security issues throughout the enterprise mobile ecosystem, from physical devices to app distribution to the actual code being executed on smartphones, must be systematically addressed. Depending on the industry, mobile app developers may be completely accountable if any security issues happen on an app that they develop. In this paper we are discussing the issues and challenges for secure mobile apps development.
-
Introduction
Smartphones and tablets are powerful and popular. More than thousand new mobile apps hitting the market every day. In this fast-moving technological era, is security keeping up? Apps and mobile devices often rely on consumer data including contact information, photos, and location to name a few and can be vulnerable to digital snoops, data breaches, and real-world thieves.
The recent security reports from around the world has expressed their serious concern about mobile device apps. According to malware analyst, while there have been no major targeted attacks on mobile devices as has been the case with desktop platforms in recent years it is clear that cybercriminals are focusing their attention on smartphones. It's also clear that the cybercriminals are using social networks to get an 'in' on to users' smartphones.
Google, has done a lot to make Android more secure than earlier versions of the OS, but there is much more to be done. Users should also consider using encryption for their data, and only store the data that they really need to access on the smartphone
or tablet itself. In this paper we are discussing some tips and measures which can improve the security of mobile apps development.
-
Challenges of Secure Mobiles Apps Development
Developing a secure mobile application for smartphones or tablets is like running through a technology minefield. If developers are not careful, something is likely to blow up. The devices are inherently vulnerable to hacking, theft or loss and can serve as on-ramps into enterprise and/or home networks. Wireless network connections may not be encrypted properly. The use of non-standard API libraries, patches and shared code found on developer forums, GitHub, Stack Overflow or from third-party companies may introduce vulnerabilities and privacy issues into your app. Cross-platform development tools can themselves introduce security problems[1][2].
Given this backdrop, the stakes have never been higher for developers to know how to build security into their applications from the very start. There is no checklist for securing all apps[4]. Different apps have different security needs. For example, an alarm clock app that collects little or no data will likely raise fewer security considerations than a location- based social network. Apps that are more complex may rely on remote servers for storing and manipulating users data, meaning that developers must be familiar with securing software, securing transmissions of data, and securing servers. Some of the issues which should be critically observed and handled for mobile apps development are as follows:-
-
Secure Data Storage
Insecure data storage is one risk area in mobile security. When sensitive data stored locally or on the cloud are left unprotected, i.e. unencrypted, short- term cached, or with weak permission, confidentiality of data is lost. For some organizations, this also means non-compliance and privacy violations. Preventive measures of insecure data storage include
refraining from using public storage areas, leveraging file encryption APIs provided by secure containers and platforms, and not granting files world readable or writeable permissions.
-
Secure Session Handling
To achieve convenience and usability, mobile app sessions are generally maintained longer via HTTP cookies, OAuth tokens and SSO authentication services. When a mobile app uses the device identifier as the session token, it could expose to risks such as unauthorized access, privilege escalation, and circumvent licensing and payments. Recommended practices include ensuring tokens can be revoked quickly in an event of a lost or stolen device, and utilizing high entropy and tested token generation resources.
-
Side Channel Data Leakage
Side channel data leakage is usually caused by not properly disabling platform features as well as programmatic flaws. Sensitive data, as a result, ends up in unintended places such as web caches, keystroke logging, screenshots (e.g. iOS back grounding), system logs and temp directories. In order to minimize this risk, mobile apps developers are advised adopt good practices such as 1) never log credentials, PII, or other sensitive data to system logs,
-
remove sensitive data before screenshots are taken,
-
disable keystroke logging per field, and utilize anti-caching directives for web content, 4) debug apps before releasing them to observe files created, 5) review third party libraries introduced and the data they consume, and 6) test applications across as many platform versions as possible.
-
-
Security Testing for Mobile Apps
In order to assist mobile application developers and security testers to detect and mitigate risks associated with mobile apps, OWASP has developed a Mobile Application Testing Guide. The Guide covers Static Analysis, which involves analyzing raw mobile source code, as well as Dynamic Analysis, which involves executing an application either on the device itself or within a simulator/emulator and interacting with the remote services with which the application communicates.
-
Static Analysis: – The primary goal of a Static Analysis is to identify programmatic examples of security flaws by analyzing the source code. OWASP recommends having access to either a development or production instance of web services, so to include both source code and a working test environment to perform the assessment within in order to expedite understanding of the code.
-
Dynamic Analysis: – Dynamic Analysis includes assessing the mobile applications local inter-process communication surface, performing forensic analysis of the local file system, and assessing remote service dependencies. Dynamic Analysis is conducted against the backend services and APIs. The type of tests varies depending on mobile application type.
-
-
-
Understand differences between mobile platforms
Research the moble platforms you work with. Each mobile operating system uses different application programming interface (APIs), provides you with different security-related features, and handles permissions its own way. Dont expect that one platform works exactly like another. Do your research and adapt your code accordingly.
-
Dont rely on a platform alone to protect your users
– Mobile platforms often provide helpful security features. But its your job to understand those features (and their limitations), implement them properly, and take other measures necessary to protect your users. In addition, while platform-based permissions might be helpful in conveying security information to your customers, theyre no substitute for your own effective communication. Talk to your users in your own words.
-
Generate credentials securely
If you create credentials for your users (like usernames and passwords), create them securely. For example, a short number string might be an appropriate token for authenticating a user on a game score board, but the same credential wouldnt be appropriate for a social networking app.
-
Use transit encryption for usernames, passwords, and other important data: –
Anytime your app transmits usernames, passwords, API keys, or other types of important data, use transit encryption. Mobile devices commonly rely on unsecure Wi-Fi access points at coffee shops, airports, and the like and its easy for troublemakers to snoop and intercept connections.To protect users, developers often deploy SSL/TLS in the form of HTTPS. Consider using HTTPS or another industry-standard method. Theres no need to reinvent the wheel. If you use HTTPS, use a digital certificate and ensure your app checks it properly. A no-frills digital certificate from a reputable vendor is inexpensive and helps your customers ensure theyre communicating with your servers, and not someone elses. But standards
change, so keep an eye on current technologies, and make sure youre using the latest and greatest security features.
-
Use due diligence on libraries and other third- party code
Before using someone elses code to build or augment your app, do your research. Does this library or SDK have known security vulnerabilities? Has it been tested in real-world settings? Have other developers reported problems? Third-party libraries can save time, but make sure you stay accountable for your app.
-
Protect your servers
If you maintain a server that communicates with your app, take appropriate security measures to protect it. If you rely on a commercial cloud provider, understand the divisions of responsibility for securing and updating software on the server. While some commercial services will monitor and update your servers security, others leave you in control. Server security is its own complex topic, so do some research. Take steps to protect yourself from common vulnerabilities, including injection attacks, cross-site scripting, and other threat
-
Stay aware and communicate with users
Even after you ship your app, stay involved. New vulnerabilities arise daily, and even the most reputable software libraries require security updates. Follow general and library-specific mailing lists and have a plan for shipping security updates if needed. Check your inbox, too. User feedback can help you spot and fix security vulnerabilities. When they discover vulnerabilities, researchers often try to resolve the issue with developers before publishing their findings. Its best to be part of that discussion early on.
If youre dealing with financial data, health data, or kids data, make sure you understand applicable standards and regulations: – If your app deals with kids data, health data, or financial data, ensure youre complying with relevant rules and regulations, which are more complex.
As the above mentioned points are important for secure apps development there is also need of proper approach for secure apps development. In the next section we are discussing those stages which can be considered as standard approach for a secure apps development.
-
-
Stages of Secure Mobile Apps Development
-
Preliminary Analysis
Most app security flaws can be prevented by seamlessly integrating security processes right from the earliest stages of app development. Planning out
your initial app design strategy, keeping security in mind all the time, will far reduce the chances of security risks cropping up during the later stages of app development. Incorporating the right security measures earlier on, hence, saves you much time, money and effort, which you may have to invest later. In case you are designing an app for a particular company, you additionally need to take into account several other aspects such as the companys privacy policy, the industry policy (as and when applicable), regulatory requirements, confidentiality and so on[4][5].
-
App Design Stage
The next step, the app design stage, can give rise to multiple security issues as well. Of course, these issues can also be dealt with relatively easily, when they are caught early enough. The actual problem, though, arises during the implementation of the app design. Security issues arising during this phase are the ones that are the most difficult to spot and resolve. The best way to minimize the risk factor here would be to create a list of all the potential traps, well in advance, also planning your course of action to avoid each of them. This is followed by performing a detailed security design review, which is usually handled by a security expert, authorized to carry out this particular check.
-
App Development Stage
It is vital to ensure maximum possible app security during this particular phase. Of course, you have readymade, automated tools, to help you fish out issues within the source code. The major issue cropping up at this time would be finding and fixing bugs and tracking other security vulnerabilities. While these tools are effective to tackle common security issues, they may sometimes not be able to detect more complicated issues. This is where a peer review can come of use to you. You could ask a fellow developer to review your code and provide feedback on your app. Approaching a third party helps, as they may be able to find and fix some flaws which you left out during any of the above stages.
-
App Testing and Deployment
Next, you need to test your app thoroughly, to ensure that it is completely free of security and other issues. Neatly document all processes and build security test cases, prior to testing the app. A professional test team uses these test cases to create a systematic analysis of your app. The last stage involves deployment of the app, wherein it is finally installed, configured and made available for users.
-
-
Conclusion
While it has never been overtly stated that app developers should have the necessary training in maintaining app security, it is only fair that developers achieve a basic level of knowledge in the field of mobile app security. Developers who are part of companies should receive mandatory security training, so that they can understand and follow the best practices for developing quality apps. In general, app developers should ideally have a grasp on the basic terminology, security processes and the knowledge of implementing appropriate strategies to effectively tackle issues relating to app security. The bottom line is that you cannot trust that all eyes have vetted all security issues in the open source software your application is built on. Both applications and their components need to be tested by the developers for security flaws. Open source software design choices may have been made that are not secure enough for your environment, and the security tradeoffs of these choices may not even be mentioned in the projects documentation. A huge benfit of open source software is that you can review the security of the code itself; take advantage of that opportunity to ensure you understand the risks that are present in your code.
-
References
-
Android Security Overview, http://source.android.com/devices/tech/security/
-
Anthony I. Wasserman, Software engineering issues for mobile application development. In Proceedings of the FSE/SDP workshop on Future of software engineering research (FoSER '10). ACM, New York, NY, USA, 397-400. DOI=10.1145/1882362.1882443 http://doi.acm.org/10.1145/1882362.1882443
-
Premkumar T. Devanbu and Stuart Stubblebine. 2000. Software engineering for security: a roadmap. In Proceedings of the Conference on The Future of Software Engineering (ICSE '00). ACM, New York, NY, USA, 227-239. DOI=10.1145/336512.336559 http://doi.acm.org/10.1145/336512.336559.
-
Priya Viswanathan, Software Security: Creating a Secure Mobile App, Steps to Maintain Security during Mobile App
Development,http://mobiledevices.about.com/od/Mobi le-Security/tp/Software-Security-Creating-A-Secure-
Mobile-App.htm
-
Security Concern of Mobile Applications, Article Published by Hong Kong Software Testing and Certification Centre (HKSTCC), 9th May 2013.