Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Friday, September 20, 2013

Android WebView Vulnerability (Android 4.1 or older) - Hacker can install malicious software, send SMSs by javascript code.

Android WebView Vulnerability  - Android 4.1 or older


AVG Security expert reported a critical vulnerability in Android's WebView feature that allows an attacker to install malicious software, send SMSs and performing more tasks.
Android WebView - A View that displays web pages, allows the user to view a web page as a part of an ordinary Android application.The WebView class is an extension of Android’s View class that allows you to display web pages as a part of the appication’s screen layout. It uses the WebKit rendering engine to display web pages and includes methods to navigate forward and backward through a history, zoom in and out, perform text searches etc. . It does not include any features of a fully developed web browser.if the web page you plan to load in your WebView uses JavaScript, you must enable JavaScript for your WebView.Once JavaScript is enabled, you can create interfaces between your application code and your JavaScript code.


addJavascriptInterface (Object object, String name) method


  The addJavascriptInterface method injects a supplied Java object into WebView. The object is injected into the JavaScript context of the main frame, using a supplied name and this allows the Java object’s methods to be accessed from JavaScript. For applications running Android 4.1 or older, all public methods (including the inherited ones) can be accessed, so when a user’s installed application with addJavascriptInterface method loads an external webpage it can use WebView and javascript to call a java object (like a ‘Javascript pipeline’ and usage of reflection to invoke any other unregistered Java class) which allows attackers to call Android’s Java methods.

 The fix: 

 For applications running Android 4.2 all public methods that are annotated with JavascriptInterface can be accessed from JavaScript. So if you develop an application for SDK version 17 or higher, you must add the @JavascriptInterface annotation to any method that you want available to your JavaScript. If you do not provide the annotation, the method is not accessible by your web page when running on Android 4.2 or higher. What you should do? As developers you should not assign unsafe functions. As users you should try not to download suspicious mobile applications from third party markets and avoid clicking on suspicious links coming from strangers.

 Infection method:

 Users can be infected when they click on a URL link using a vulnerable application that allows opening a Java enabled browser or web page. The device will automatically perform the malicious actions that were ordered in the malicious web page that contain those JavaScript commands. The commands in the JavaScript code can enable attackers to install malicious software, send SMSs, steal personal information and more.

courtesy avg blog

Wednesday, April 10, 2013

Chinese smartphone Mi-2S- Faster than the S4 !

 Mi-2S-  Faster than the S4




Chinese smartphone manufacturer Xiaomi  founder Lei Jun (Apple of the East :) ), announced two new smartphones:  Mi-2S and  Mi-2A. Xiaomis  sold 3.5 million Mi-One(first generation smartphone from Xiaomi) phones.

  •  Mi-2S loaded with the quad-core 1.7GHz Qualcomm Snapdragon 600 processor(similar to the HTC One) - beats the Samsung Galaxy S4 in benchmarks (which has a 1.9GHz Krait 300 CPU).
  •  4.3-inch screen with 1280 x 720 pixel resolution-342 PPI .
  •  13 MP rear-facing camera (five-element lens).
  • 2000mAh battery (optional 3,000mAh battery).
  • 2GB of RAM.
  • Android 4.1.

Faster than the S4

 
Here are the benchmarks of performance tests,
  
 Bunny performance test


The Quadrant performance of testg 

 Vellamo performance testing

Price Of Xiaomi Mi-2S

  • $322-16GB version.
  • $371 for the 32GB model.


Wednesday, November 28, 2012

Apple take lead over Google in USA






The Battle never ends ,The new smartphone sales records  shows that  iOS back to the number one  in the US. Now Apple has a 48.1% share of  smartphone sales and for Android which has 46.7%  ,in USA.
courtesy :Kantar Worldpanel

Unfortunately in  Europe where Android still takes the lead.  sales in Germany 73.9%  and  81.7% in Spain. How ever in Britain where apple  holds a 32.7% share its very impressive . Germany  one of the  tough market for Apple, share falling by 5.1 percentage over the last  year.  The new  Samsung Galaxy S3 has taken  about 25 %r of the  smartphone sales its very helpful for android.  In Italy Nokia helps Windows , good sales of the Nokia Lumia 610 ( fourth best selling handset over the past 12 weeks)  and the Nokia Lumia 800 ( seventh best selling) this leads  Windows’ share up to 11.7% ( highest across Europe).



The last time iOS overtake Android in the USA  was when the iPhone 4S was released  (49.3%). This time hope  that Apple will beat  previous record and create new record in  the US smartphone market .Now Main reason  -I PHONE 5.
In  US iPhone 5 sales, 62%, have come from existing Apple users,  ie  upgrading to the latest  device, and  also   13 % of users switched from Android to I phone .people switching from BlackBerry devices- 6%,  and a very  small number  new Smartphone owners. Apple has always managed to maintain their service and quality. So  92% of existing Apple owners in the USA said they will choose an iPhone the next time they upgrade. Apples loyalty play key role, its help to  attract new customers  to Apple. approximately  60% of US iPhone 5 sales coming from existing customers and 40% from new customers it shows the  strength of the brand In  USA. main  physical changes on the iPhone 5 was a bigger 4” screen , 4G/LTE capability, both of which had a big impact on the  consumers . 

kerala Techies