<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Security Engineering Research Group</title>
	<atom:link href="http://imsciences.edu.pk/serg/feed/" rel="self" type="application/rss+xml" />
	<link>http://imsciences.edu.pk/serg</link>
	<description>Security Engineering Research Group</description>
	<lastBuildDate>Fri, 04 Nov 2011 21:12:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DBAMP Readme</title>
		<link>http://imsciences.edu.pk/serg/2011/06/dbamp-readme/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/dbamp-readme/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 11:37:22 +0000</pubDate>
		<dc:creator>Waqar Afridi</dc:creator>
				<category><![CDATA[Access Control]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC on mobile platform]]></category>
		<category><![CDATA[OpenMoko]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Trusted Computing]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1322</guid>
		<description><![CDATA[The DBAMP Project Hosted on sourceforge (http://sourceforge.net/projects/sergdbamp/) contains all the deliverables (also linked from the Milestone chart), Follow the Following steps to Run each of them on your Mobile (Neo FreeRunner).
1. Milestone 6 contains openmoko rootfs along with all the required libraries, Flash it to your device or Copy it to the memory card.
2. Milestone [...]]]></description>
			<content:encoded><![CDATA[<p>The DBAMP Project Hosted on sourceforge <strong>(http://sourceforge.net/projects/sergdbamp/)</strong> contains all the deliverables (also linked from the Milestone chart), Follow the Following steps to Run each of them on your Mobile <strong>(Neo FreeRunner)</strong>.</p>
<p style="padding-left: 30px;">1. Milestone 6 contains openmoko rootfs along with all the required libraries, Flash it to your device or Copy it to the memory card.</p>
<p style="padding-left: 30px;">2. Milestone 5 contains the kernel (<strong>uImage.bin</strong>),  Flash it to your device or Copy it to the First (FAT partition) partition of your memory card.</p>
<p style="padding-left: 30px;">3. Milestone 3 contains the Userspace libraries and binaries for selinux, copy the contents of lib to <strong>/usr/</strong>lib folder of device and contents of bin to <strong>/usr/bin</strong> of device.</p>
<p style="padding-left: 30px;">4. Milestone 8 contains MTM emulator and required utilities, use the Following method to install MTM emulator on openmoko.</p>
<p style="padding-left: 60px;">a. Extract <strong>tpm-binaries.tar.bz2</strong></p>
<p style="padding-left: 90px;">i.	Copy <strong>*.h</strong> files to <strong>/usr/include</strong> folder of Device</p>
<p style="padding-left: 90px;">ii.	<strong>*.so</strong>, <strong>*.l</strong> and <strong>*.la</strong> to <strong>/usr/lib</strong> folder of Device</p>
<p style="padding-left: 90px;">iii.	The rest of Binaries to <strong>/usr/bin</strong> folder folder of Device</p>
<p style="padding-left: 90px;">iv.	Copy <strong>tpmd_dev.ko</strong> from milestone 5 to <strong>/lib/modules/&lt;kernel_version&gt;/kernel/drivers/char/tpm</strong> on device</p>
<p style="padding-left: 60px;">b.	Install the IPKs using the following command</p>
<p style="padding-left: 90px;"><strong>$opkg install tpm-tools-1.2.5.1_0.1_armv4t.ipk</strong></p>
<p style="padding-left: 90px;"><strong>$opkg install trousers-0.3.4_0.1_armv4t.ipk</strong></p>
<p style="padding-left: 30px;">5.	Milestone 10 contains ucon, the verifier module and the tpm&#8217;s pcr read utility, use the following method to make it operational on Mobile device</p>
<p style="padding-left: 60px;">a.	Copy <strong>UCON_Final.tar.bz2</strong> and <strong>verification_jar.tar.bz2</strong> and <strong>pcr_reader_java.zip</strong> to your home folder on device.</p>
<p style="padding-left: 60px;">b.	Extract them</p>
<p style="padding-left: 60px;">c.	To run ucon, change your directory to ucon_final and run the following command</p>
<p style="padding-left: 90px;"><strong>$java -jar ucon.jar</strong></p>
<p style="padding-left: 60px;">Note:</p>
<p style="padding-left: 90px;">It will execute and will take some time, it will produce two types of logs, the more detail xml log (<strong>meta/log/usage_log.xml</strong>) and the log containing hashes (<strong>/var/ucon_hashes</strong>)</p>
<p style="padding-left: 60px;">d.	Run the verifier, change the directory to verification and run the following command</p>
<p style="padding-left: 90px;"><strong>$java -jar verifier.jar</strong></p>
<p style="padding-left: 90px;">It will execute and recalculate the hashes from the <strong>ucon_hashes</strong> file in <strong>/var/</strong> and it will give u a final hash.</p>
<p style="padding-left: 60px;">e.	Now we have to compare this hash store in PCR 11 of the TPM, to see that, change your directory to <strong>pcr_reader_java</strong> and run the following command</p>
<p style="padding-left: 90px;"><strong>$java -jar pcr_reader_java.jar</strong></p>
<p style="padding-left: 90px;">Read the value of PCR11 and compare it with hash produced by verifier, if they are the same means that the log isn&#8217;t tampered.</p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/dbamp-readme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git Fast, scalable, distributed revision control system</title>
		<link>http://imsciences.edu.pk/serg/2011/06/git-fast-scalable-distributed-revision-control-system/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/git-fast-scalable-distributed-revision-control-system/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 11:11:11 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[EASIP-Research]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1319</guid>
		<description><![CDATA[This presentations cover the topic :Git  Fast, scalable, distributed revision control system presented by Jawad.
The presentation includes: version control system, the repository,  file sharing problem, Lock-Modify-Unlock Solution, Drawbacks of  Lock-Modify-Unlock Solution, Copy-Modify-Merge Solution, Git and its  protocols, performance and Subversion-Style Workflow, Integration  Manager Workflow, Dictator and Lieutenants Workflow, staging and Getting [...]]]></description>
			<content:encoded><![CDATA[<p>This presentations cover the topic :Git  Fast, scalable, distributed revision control system presented by Jawad.</p>
<p>The presentation includes: version control system, the repository,  file sharing problem, Lock-Modify-Unlock Solution, Drawbacks of  Lock-Modify-Unlock Solution, Copy-Modify-Merge Solution, Git and its  protocols, performance and Subversion-Style Workflow, Integration  Manager Workflow, Dictator and Lieutenants Workflow, staging and Getting  a repository, commits and naming them , heads and tags, Checking out  different versions of project, Manipulating branches, Understanding  History, patches and branching and much more. …</p>
<p><a href="http://engrshahrs.files.wordpress.com/2011/06/git-presentation.ppt">download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/git-fast-scalable-distributed-revision-control-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DALVIK AND ITS INTERNALS</title>
		<link>http://imsciences.edu.pk/serg/2011/06/dalvik-and-its-internals/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/dalvik-and-its-internals/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 11:09:33 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[EASIP-Research]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1317</guid>
		<description><![CDATA[Abstract: This is a short presentation about Dalvik virtual machine   and its internal class path libraries. It covers the types of virtual  machnices, Dalvik VM and its attributes, dalvik file format, A GENERAL  COMPARISON OF JAR FILE WITH DEX FILE, and some other details about  Dalvik which is the build in [...]]]></description>
			<content:encoded><![CDATA[<p>Abstract: This is a short presentation about Dalvik virtual machine   and its internal class path libraries. It covers the types of virtual  machnices, Dalvik VM and its attributes, dalvik file format, A GENERAL  COMPARISON OF JAR FILE WITH DEX FILE, and some other details about  Dalvik which is the build in recommended virtual machine for Android.</p>
<p><a href="http://engrshahrs.files.wordpress.com/2011/06/presentation.ppt">download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/dalvik-and-its-internals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usage Control in Android</title>
		<link>http://imsciences.edu.pk/serg/2011/06/usage-control-in-android/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/usage-control-in-android/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 11:05:33 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[EASIP-Research]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1315</guid>
		<description><![CDATA[This presentation gives the idea of usage control for Android that is our proposed model and includes the following contents:
Resources
Attributes
Policy Repository
Attributes Repository
PDP
Central PEP
Distributed PEPs
Levels of usage control
System level
Application level
download
]]></description>
			<content:encoded><![CDATA[<p>This presentation gives the idea of usage control for Android that is our proposed model and includes the following contents:</p>
<p>Resources<br />
Attributes<br />
Policy Repository<br />
Attributes Repository<br />
PDP<br />
Central PEP<br />
Distributed PEPs<br />
Levels of usage control<br />
System level<br />
Application level</p>
<p><a href="http://engrshahrs.files.wordpress.com/2011/06/usage-control.pptx">download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/usage-control-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Runtime Security Policy Enforcement Framework</title>
		<link>http://imsciences.edu.pk/serg/2011/06/android-runtime-security-policy-enforcement-framework/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/android-runtime-security-policy-enforcement-framework/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 05:39:29 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[EASIP-Research]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1293</guid>
		<description><![CDATA[Published at:  The 2010 International Workshop on Smartphone  Applications and Services (Smartphone 2010) will be held in Gwangju,  Korea, December 9-11, 2010.
Title: Android Runtime Security Policy Enforcement Framework
Authors: Hammad Banuri1 · Masoom Alam1 · Shahryar Khan1 · Jawad Manzoor1 · Bahar Ali1 · Yasar Khan1 · Mohsin Yaseen1 · Mir Nauman
Tahir1 · 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Published at:  The 2010 International Workshop on Smartphone  Applications and Services (Smartphone 2010) will be held in Gwangju,  Korea, December 9-11, 2010.</p>
<p>Title: Android Runtime Security Policy Enforcement Framework</p>
<p>Authors: Hammad Banuri1 · Masoom Alam1 · <strong>Shahryar Khan1</strong> · Jawad Manzoor1 · Bahar Ali1 · Yasar Khan1 · Mohsin Yaseen1 · Mir Nauman<br />
Tahir1 · 1 Tamleek Ali · Xinwen Zhang2</p>
<p>Abstract: Today smart phone’s malwares are deceptive enough to spoof  itself as a legal mobile application. The front end service of Trojans  is attractive enough to deceive mobile users. Mobile users download  similar malwares without knowing their illegitimate background threat.  Unlike other vendors, Android is an open source mobile operating system  and hence it lacks a dedicated team to analyze the application code and<br />
decide its trustworthiness. We propose an augmented framework for  Android that monitors the dynamic behavior of application during its  execution. Our proposed architecture called Security Enhanced Android  Framework (seaf) validates the behavior of an application through its  permissions exercising patterns. Based on the exercised permissions’  combination, the mobile user is intimated about the dangerous behavior  of an application. We have implemented the proposed framework within  Android software stack and ported it to device. Our initial  investigation shows that our solution is practical enough to be used in  the consumer market.</p>
<p><a href="http://engrshahrs.files.wordpress.com/2011/06/dileverable-6white-paper-on-policy-enforcement-framework.pdf">download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/android-runtime-security-policy-enforcement-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Idea of Semantically Rich Application Centric Security in Android</title>
		<link>http://imsciences.edu.pk/serg/2011/06/1290/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/1290/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 05:36:24 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[EASIP-Research]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/2011/06/1290/</guid>
		<description><![CDATA[ Idea of Semantically Rich Application Centric Security in Android 
by engrshahrs
Title: Semantically Rich Application Centric Security in Android
Contents:This presentation is based on the idea given in the research  paper “Semantically Rich Application Centric Security in Android”.   This presentation contains the following contents:
Smart Phones
Android Security
Saint Architecture
Features Of Saint Model
Conclusion
Download here
]]></description>
			<content:encoded><![CDATA[<h2><a title="Permalink to Idea of Semantically Rich Application Centric Security in Android" rel="bookmark" href="http://engrshahrs.wordpress.com/2011/06/23/idea-of-semantically-rich-application-centric-security-in-android/"> Idea of Semantically Rich Application Centric Security in Android </a></h2>
<p>by engrshahrs</p>
<p>Title: Semantically Rich Application Centric Security in Android</p>
<p>Contents:This presentation is based on the idea given in the research  paper “Semantically Rich Application Centric Security in Android”.   This presentation contains the following contents:</p>
<p>Smart Phones</p>
<p>Android Security</p>
<p>Saint Architecture</p>
<p>Features Of Saint Model</p>
<p>Conclusion</p>
<p><a href="http://engrshahrs.files.wordpress.com/2011/06/semantic-rich-appplication-presentaion-for-android-security.ppt">Download here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/1290/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Literature review: A Survey, On Android Security</title>
		<link>http://imsciences.edu.pk/serg/2011/06/literature-review-a-survey-on-android-security/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/literature-review-a-survey-on-android-security/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 05:33:14 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[EASIP-Research]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1287</guid>
		<description><![CDATA[Abstract: Smartphones with open operating systems are getting popular  with the passage of time. Increased exposure of open source smartphones  also increased the security risk. Android is one of the most popular  open source operating system for mobile platforms. Android provide a  base set of permissions to protect phone resources. But [...]]]></description>
			<content:encoded><![CDATA[<p>Abstract: Smartphones with open operating systems are getting popular  with the passage of time. Increased exposure of open source smartphones  also increased the security risk. Android is one of the most popular  open source operating system for mobile platforms. Android provide a  base set of permissions to protect phone resources. But still the  security area is underdeveloped. This survey is about the current work  done on the Android<br />
operating system. Some of the techniques, which can give a positive edge  to the security area, are analyzed in the present survey paper. These  techniques are basically to provide a better security and to make the  Android security mechanism more flexible. As the current security  mechanism is too rigid. User does not have any control over the usage of  an application. User has only two choices, a) allow all permissions and  application will<br />
install, b) deny all permissions and installation will fail.</p>
<p><a href="http://engrshahrs.files.wordpress.com/2011/06/a_survey__on_android_security.pdf">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/literature-review-a-survey-on-android-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Milestones of EASIP</title>
		<link>http://imsciences.edu.pk/serg/2011/06/milestones-of-easip/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/milestones-of-easip/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 04:38:29 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[easip-web]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1190</guid>
		<description><![CDATA[No.     Milestone
1.         Completion of Hardware acquisition and Android Virtual Machine and library analysis.
2.         Completion of analysis of Android Application framework and Security Architecture.
3.         Completion of Implementation of a rudimentary “Selective Permission Mechanism for Android”.
4.         Completion of analysis of current policy enforcement  mechanisms for open source mobile platforms and current potential [...]]]></description>
			<content:encoded><![CDATA[<p>No.     Milestone<br />
1.         Completion of Hardware acquisition and Android Virtual Machine and library analysis.<br />
2.         Completion of analysis of Android Application framework and Security Architecture.<br />
3.         Completion of Implementation of a rudimentary “Selective Permission Mechanism for Android”.<br />
4.         Completion of analysis of current policy enforcement  mechanisms for open source mobile platforms and current potential target  Android.<br />
5.         Design of a new/customized Policy Language.<br />
6.         Completion of the design of a Policy Enforcement Framework.<br />
7.          Implementation of the Policy Enforcement Framework.<br />
8.         Incorporation of Policy Enforcement Framework in Existing  Android Architecture and  testing.</p>
<p>9.         Completion of Design and Implementation of Policy writing  tool.    A package containing the new policy writing tool including  usage doc.</p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/milestones-of-easip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is EASIP ?</title>
		<link>http://imsciences.edu.pk/serg/2011/06/what-is-easip/</link>
		<comments>http://imsciences.edu.pk/serg/2011/06/what-is-easip/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 04:33:36 +0000</pubDate>
		<dc:creator>Engineer@IMS</dc:creator>
				<category><![CDATA[easip-web]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=1187</guid>
		<description><![CDATA[What is EASIP ?
Extending Android Security for Intent Policies is a Govt funded  research project approved by National Information and Communication  Technologies Research and Development (Ministry of Information and  Technology) Govt of Pakistan. (ICT R&#38;D)
When it started ?
The project has been started sooner its approval for funded agency  since 15 of [...]]]></description>
			<content:encoded><![CDATA[<p>What is EASIP ?</p>
<p>Extending Android Security for Intent Policies is a Govt funded  research project approved by National Information and Communication  Technologies Research and Development (Ministry of Information and  Technology) Govt of Pakistan. (ICT R&amp;D)</p>
<p>When it started ?</p>
<p>The project has been started sooner its approval for funded agency  since 15 of August 2009. Its two years project which will reach its  completion on 15th August 2011.</p>
<p>Who are working on EASIP  ?</p>
<p>The EASIP project is assigned to Security Engineering Research Group  (SERG) having 6 developers and 3 research associates, some internees and  lead by Dr. Muhammad Masoom Alam as  a Project Director.</p>
<p>What is aim of EASIP ?</p>
<p>To develop a comprehensive access control framework and a policy language for the Android platform.</p>
<p>To implement :</p>
<p>A policy enforcement framework</p>
<p>A policy writing tool to facilitate the policy writing for the application owners and developers.</p>
<p>What can be found on this page related to EASIP ?</p>
<p>This page includes articles on the project covering deliverables,  milestones, links to useful sites , viewers comments and suggestions  etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2011/06/what-is-easip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>easip-web2</title>
		<link>http://imsciences.edu.pk/serg/2010/10/easip-web2/</link>
		<comments>http://imsciences.edu.pk/serg/2010/10/easip-web2/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 09:49:28 +0000</pubDate>
		<dc:creator>Owais</dc:creator>
				<category><![CDATA[easip-web]]></category>

		<guid isPermaLink="false">http://imsciences.edu.pk/serg/?p=890</guid>
		<description><![CDATA[Analysis report on Android Application Framework and existing Security Architecture  
  
ABSTRACT 
Android is the first comprehensive open source mobile software stack, destined towards consumer market. It consists of complete mobile operating system supported by Linux kernel, a newly built Dalvik virtual machine, and some smart mobile applications. Android systemarchitecture is composed of applications, its framework,native c/c++ [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong>Analysis report on Android Application Framework and existing Security Architecture </strong><strong> </strong></p>
<p style="text-align: left;"><strong> </strong><strong> </strong></p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">ABSTRACT</span> </strong><strong></strong></p>
<p style="text-align: left;">Android is the first comprehensive open source mobile software stack, destined towards consumer market. It consists of complete mobile operating system supported by Linux kernel, a newly built Dalvik virtual machine, and some smart mobile applications. Android systemarchitecture is composed of applications, its framework,native c/c++ libraries, Android runtime (which is further consist of Dalvik virtual machine and Android core libraries which reflects the functionality of core libraries written in java), and at last the Linux kernel use to managethe low level resources. The Android application architecture has four basic components; these are activities, services, broadcast receivers,and content providers. Every Android application may comprise of one or more such components. The purpose of this report is to discussthe application components and their life cycle in detail. Moreover, the permission model and security architecture of Android are explained separately in this report. Android system implements security at process level. Variables, such as user IDs and group IDs are use to identify the  applications, which in turn use to control access of that application. The components of one application could access the services provided by other application&#8217;s components, this inter component communication is controlled through permissions assigned in AndroidManifest.xml file. The URI based security permissions further refines the control access to any application&#8217;s component. Some security holes were found in  Android; in response Google has suggested some remedies to such security bugs. The report also incorporates a case study to elaborate the application&#8217;s component life cycle.</p>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong>OBJECTIVES</strong></span></p>
<p style="text-align: left;">This document is written as part of the research project EASIP (Extending Android Security for Intent Policies) funded by ICT R&amp;D. It has mainly three objectives. Firstly, we present the application components and their life cycle. Secondly, we present the existing Android security mechanisms to elaborate what is going on within Android at the moment. Finally, this report will lead us to complete EASIP&#8217;s next milestone, i.e. the implementation of a rudimentary &#8216;Selective Permission Mechanism for Android&#8217;.</p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">INTRODUCTION</span> </strong></p>
<p style="text-align: left;">Android is the first comprehensive open source mobile platform, equipped with operating system, a Dalvik middleware, Linux kernel and with some rich modern day handset applications. The open source licensing of Android, gives freedom to developers to develop applications without concerning the royalty and licensing cost. There is no such cost of membership, testing, and digital certification fees involved in the development of Android application. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language. Developers mostly choose the popular Eclipse Integrated Development Environments for development. The innovative Android is positioned well to confront the current challenge of mobile market place<strong>.</strong></p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">Features of Android</span> </strong><strong></strong></p>
<ol style="text-align: left;">
<li>Android Software Development Kit:  The android SDK includes an emulator, some tools for performance profiling and debugging.</li>
<li>Dalivik Virtual Machine: It is specifically designed for Anroid platform and optimized for mobile devices, where resource constraints is an issue<br />
(like low memory, small size, and lower processing power). Dalvik is capable of executing programs written in Java.</li>
<li>Graphics Support: Android have support for both 2D and high performance 3D graphics where the OpenGL is used to provide support for 3D graphics.</li>
<li>SQLite:  Android use small sized SQLite as an RDMS(Relational DataBase management System)</li>
<li>Connectivity: Android is provided with modern day communication technologies. It supports Bluetooth, WiFi, UMTS, CDMA, EDGE and 3G.</li>
<li>Media Support: Android has got support for different picture formats, including JPEG, BMP, GIF, PNG etc. H.263 and H.264 are video coding techniques supported by Android. H.263 is specialized for video conferencing, H.264 is basically MPEG-4 standard, use to offer high video compression.</li>
</ol>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">Android System Architecture</span> </strong><strong></strong></p>
<p style="text-align: left;">The Android system architecture comprise of four layers. The lowest of all is Linux kernel layer, used as an abstraction between hardware and the remaining software stack of Android. The basic reason to choose Linux 2.6 as kernel, as it is an open source and has proven driver model. It makes Android a robust operating system structure. Android rely on kernel for memory management, security model, network stack and process management. The Android current architecture relies on MSM7200A Qualcomm chipset for following features<span style="text-decoration: underline;">.</span><strong> </strong></p>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong>Libraries </strong></span><strong></strong></p>
<p style="text-align: left;">The native libraries of Android are written in C/C++, used by various components of Android. They act as point of contact between higher abstract layers and lower level components. They provide implementation of services provided by android to various applications.</p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">Android Runtime</span> </strong><strong></strong></p>
<p style="text-align: left;">Along with native libraries, the Android runtime is on second layer right above the Linux kernel. The Android runtime consist of Dalvik virtual machine and some core libraries (it inherit almost all features provided by the core libraries of Java programming language).<strong> </strong></p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">Application Framework</span> </strong><strong></strong></p>
<p style="text-align: left;">Application Framework is on third layer going from bottom to top. It is basically a built-in toolkit, use to provide different set of services to Android applications. All those services which utilizes by core applications are make available for the Android developers to build innovative and rich Android applications. The application architecture is designed to simplify the reuse of components; any application can publish its capabilities and any other application may then make use of those capabilities (subject to security constraints enforced by the framework) through underlying components of application framework layer. <strong></strong></p>
<p style="text-align: left;"><strong></strong><a href="http://imsciences.edu.pk/serg/wp-content/uploads/2010/10/2.png"><strong><img class="alignnone size-medium wp-image-891" title="2" src="http://imsciences.edu.pk/serg/wp-content/uploads/2010/10/2-300x215.png" alt="" width="415" height="277" /></strong></a><strong> </strong><strong></strong></p>
<p style="text-align: left;">The Activity Manager manages the lifecycle of the applications and provides a common navigation backstack of applications that are running in different processes The Package Manager maintain track of all applications that are installed in the device. The Telephony Manager support applications to access the information regarding telephony servicesContent Providers supports the sharing and accessing of data among applications; suppose the messaging service is an application that can access the data of other application contacts. time. Android supports a number of different kindsof resource files, including XML (use to store anything, other than bitmaps andRaw), Bitmap (Use to store images), and Raw files (other resources such as sound, string, etc).</p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">ANDROID SECURITY ARCHITECTURE</span> </strong><strong></strong></p>
<p style="text-align: left;">Security is implemented at process level in Android. It implements security procedures through different mechanisms at different levels. This includes implementing security at application level through user and group ID&#8217;s. At component level it makes usebof permission mechanism to restrict access to specific component while at data level it implements security through per URI basis permissions. Android architecture is defined such that no application can perform an operation on any other application, its components or its data, such as, Reading and/or writing. The only way to get access to any component or data is to explicitly declare the permissions it needs for that specific additional capabilities. It is implemented on two levels; Application level security and components and  data level security.</p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">Application Level Security</span> </strong><strong></strong></p>
<p style="text-align: left;">Android is a multi-process system, in which each application (and parts of the system) runs in its own process. Most security between applications and the system is enforced at the process level through standard Linux facilities, such as user and group IDs that are assigned to applications. Additional finer-grained security features are provided through a &#8220;permission&#8221; mechanism that enforces restrictions on the specific operations that a particular process can perform, and per-URI permissions for granting ad-hoc access to specific pieces of data.</p>
<p style="text-align: left;">Mechanism employed are:</p>
<ul style="text-align: left;">
<li>Security implemented by Application Signing using Certificates mechanisms</li>
<li>Security enforcement using USER ID</li>
<li>Security enforced on File</li>
</ul>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">Components Level Security</span> </strong><strong></strong></p>
<p style="text-align: left;"><strong></strong>Each application runs as a unique user identity, which lets Android limit the potential damage of programming flaws.</p>
<div class="mceTemp">
<div>
<dl id="attachment_892"><a href="http://imsciences.edu.pk/serg/wp-content/uploads/2010/10/2.1.png"><strong><img title="2.1" src="http://imsciences.edu.pk/serg/wp-content/uploads/2010/10/2.1-300x117.png" alt="" width="352" height="155" /></strong></a><strong> </strong></dl>
<dl>Figure 1 Example: Protection. Security enforcement in Android occurs in two places: </dl>
</div>
</div>
<p><strong></strong></p>
<ul style="text-align: left;">
<li>Core idea of Android security enforcement &#8211; labels assignment to applications and components</li>
<li>A reference monitor provides mandatory access control (MAC) enforcement of how applications access components.</li>
<li>Access to each component is restricted by assigning it an access permission label; applications are assigned collections of permission labels.</li>
</ul>
<p style="text-align: left;">When a component initiates ICC, the reference monitor looks at the permission labels assigned to its containing application and— if the target component’s access permission label is in that collection— allows ICC establishment to proceed.<strong> </strong></p>
<div class="mceTemp">
<div>
<dl id="attachment_893"><a href="http://imsciences.edu.pk/serg/wp-content/uploads/2010/10/2.2.png"><img title="2.2" src="http://imsciences.edu.pk/serg/wp-content/uploads/2010/10/2.2-300x68.png" alt="" width="334" height="100" /></a> </dl>
<dl>Figure 2 Access permission logic</dl>
</div>
</div>
<p><strong></strong></p>
<p><strong>To view a detailed report </strong><a title="2nd_Android-application-framework-and-security-architecture.pdf" href="http://imsciences.edu.pk/serg/wp-content/uploads/2010/10/2nd_Android-application-framework-and-security-architecture.pdf" target="_blank"><strong>click here</strong></a><strong> </strong><strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://imsciences.edu.pk/serg/2010/10/easip-web2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

