2014/04/09

【Android】SID,LSID権限とは一体何か調べてみた


もう一ヶ月も前のネタだけれど、MacAfee Blogにて興味深い投稿があった。

中身はとあるアプリがGoogle Playからユーザーによる権限確認を飛ばしてアプリを勝手にインストールできるという内容。

端末内アカウントを取得するための権限を持つアプリ


SID/LSIDの権限へのアクセスをリクエストする

GoogleSIDLSID2AndroidGoogleGoogle PlayGoogle

Google Play

GoogleGoogle PlayWeb
MacAfee BlogSIDLSIDGoogle
Google PlayGoogle1SIDLSID


SIDLSID調

1SIDLSID



ICS Browser + - Google Play

Plus - Google Play

My Paid Apps - Google Play

and more


2Play

Plus

GoogleSIDLSIDBookmark
SIDLSIDGoogle

2Google Developers



Search results for SID LSID  Google Developers

ClientLogin for Installed Applications - Google Accounts Authentication and Authorization  Google Developers

Google Apps Email Audit API Authentication and Public Key - Admin SDK  Google Developers

Google DevelopersSID LSIDGoogleAPIClientLogin


The ClientLogin authorization process

Google7.

HTTP/1.0 200 OK
Server: GFE/1.3
Content-Type: text/plain

SID=DQAAAGgA...7Zg8CTN
LSID=DQAAAGsA...lk8BBbG
Auth=DQAAAGgA...dk3fA5N
SIDLSIDSIDLSID

The SID is the session ID valid for the life of the session. The LSID is for APIs not using the Google Data protocol.



SIDIDID - IT

LSIDGoogle Data protocol使API


IDSIDLSIDGoogleAPI

3SIDLSID

SIDLSID

ClientLogin2015420


Changes to deprecation policies and API spring cleaning - Google Developers Blog

Google Account Authentication APIs Terms of Service - Google Accounts Authentication and Authorization  Google Developers


ClientLoginOauth 2.0Google PlayAndroidOauth 2.0


Google Play

OauthGoogleSIDLSID(^o^)

要求する権限が明示され、許可するか選択できます

iOS and Mac Sign-In Controllers graduate to OAuth 2.0(Official Google Mac Blog)より



ClientLogin終了まで後約1年。
SID・LSIDを狙う悪意のあるアプリの被害がこれ以上出ることが無いよう、他の優良アプリは一刻も早くOauth 2.0に移行してくれるといいなぁと思います。


 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Blogger Templates
Related Posts Plugin for WordPress, Blogger...