ç§ã®ã¨ããã«æ¥ãè¿·æã¡ã¼ã«ã®ãã«ã¦ã§ã¢apkã§éãã§ã¿ã
æè¿ãLINEãæµåºæºã¨è¦ãããè¿·æã¡ã¼ã«ãç¸æ¬¡ãã§ãã¾ãã
ãã¿ã¼ã³ã¯æ±ºã¾ã£ã¦ãã¦ãã¾ãã¯ããã«ã[email protected]ã¨ããã¢ãã¬ã¹ãã次ã®ãããªç©ºã¡ã¼ã«ãæ¥ã¾ãã
From:[email protected] Subject:ç¡é¡
ãã®ã¡ã¼ã«ããæ°æéå¾ã次ã®ã¡ã¼ã«ãå±ãã¾ãã
From:ã¢ã³ããã¤ãã¢ãããã¬ã¸ã³äºåå±([email protected]) Subject:ãã¬ãã§ç´¹ä»ããã人æ°ã®é»æ± æã¡æ¹åã¢ããªãç¡æãã¦ã³ãã¼ãï¼
ãã®ã¡ã¼ã«ã«ã¯ããã«ã¦ã§ã¢ã®ãã¦ã³ãã¼ããµã¤ãã®URLãæ¬æä¸ã«è¨è¼ããã¦ãã¾ãã
ãã®å¾ããã«ããã®ãããªã¡ã¼ã«ãå±ãã¾ãã
From:nov.9602.qr.1ll.iqr@ezweb.ne.jp Subject:(空ç½) Text: çªç¶ãé£çµ¡ããä¸ãã¦ç³ã訳ããã¾ããã ããªãããããåç¥ã®ãããæ¹ã®ãç´¹ä»ã§ããé£çµ¡ããã¦é ãã¦ããã¾ãã ï¼ä»¥ä¸ç¥ï¼
æ¬ã¨ã³ããªã¯ããã®ãé»æ± æã¡æ¹åã¢ããªãã¨ç§°ãããã«ã¦ã§ã¢ã®æåãè¦ã¦ã¿ãã¨ããã¨ã³ããªã«ãªãã¾ãã
å
æ¥ãç§ã®auã±ã¼ã¿ã¤ã«ãã®ãããªã¡ã¼ã«ãæ¥ã¾ããã
ãã¾ãã«ãæå³ããããã¾ããããéãå
èãã¾ãããï¼ã£ã¦æãã§ãã
ãã¦ããã®ã¡ã¼ã«ãéããã¦ããåå ã§ãããæ
å ±æµåºã§ç¢ºå®ã ã¨æãã¾ãã
ããããç§ã¯GRâEãMâbageã«ã¯ç»é²ãã¦ã¾ããããmâxiããã½ã³ã³ã®ã¢ãã¬ã¹ã§ç»é²ãã¦ããã¾ãã
å¯ä¸ãå¿ããããããã®ã¯â¦LINEã§ãã
ç§ã®èº«ã®åãã§ã¯ããLINEã«ããã³ãã¥ãã±ã¼ã·ã§ã³ãåºãã£ã¦ãã¦ãåæã®å人æ
å ±ããæ¼ãã®é ããå人éã使ã£ã¦ããã®ãè¨æ¶ãã¦ãã¾ãã
å½ç¶ãç§ã®ã±ã¼ã¿ã¤ã®é»è©±çªå·ãã¡ã¼ã«ã¢ãã¬ã¹ã¯ç»é²ããã¦ããã®ã§ãæµåºæºã¯ããã§ããããã
ãããNHN(Korea Corporation)ã§ãã
æç´ã¯ã¨ãããã¨ãã¦ããã£ãããããããé¤ãéãã§ãã¦ãããã®ã§ãéãã§ã¿ã¾ããã
"ãã®ãµã¤ããããã¦ã¢ããªã¯ãªã«ããã¦ããã®ãã"
Step.1:é å¸Webãµã¤ã
ã±ã¼ã¿ã¤ããã§ã¯æã足ãåºãªãã®ã§ãã¾ãã¯iPhoneããè¦ã¦è¦ããã¨ã«ãã¾ãã
ç§ã¯auã®ã±ã¼ã¿ã¤ãå©ç¨ãã¦ããã®ã§ãauone ã¡ã¼ã«ã«ãã®ã¾ã¾è»¢éãã¦ãiPhoneã§åä¿¡ã§ããããã«ãã¦ãã¾ããauone ã¡ã¼ã«ãããããµã¼ãã¹çµäºãããã§ããã
ãé»æ± åãããé²æ¢ããããã®ç»æçãªã¢ããªï¼ï¼ã¨ãããé
å¸ãã¦ãããããã®ã§ããã¦ã³ãã¼ããã¯ãã¡ããããã®ãªã³ã¯ãè¸ãã§ã¿ãã¨ããâ¦
403 Forbiddenãã¤ã¾ãå®è¡æå¦ã§ããã
å¤åiPhoneã ããæªãã®ã ããã¨æããUAãAndroidã«å½è£
ãã¦è¡¨ç¤ºãã¦ã¿ã¾ããã
ããã¶ãã¨Play Storeã«ä¼¼ãããµã¤ãã§ããã
ãã¦ã³ãã¼ããæ¼ãã¨ãAndroidã®ã¢ããªã§ã馴æã¿ã®*.apkãã¡ã¤ã«ããã¦ã³ãã¼ãããã¾ãã
ããèããããæ®éã«ä½¿ã£ã¦ãã人ã¯ãUnknown source installã許å¯ãã¦ããªãã¯ããªãã§ããã©ãããã¤ãããªãã§ããããã
ãã¼ã¸ã®ã©ãã«ããä¸æãªã½ã¼ã¹ããã®ã¤ã³ã¹ãã¼ã«ã許å¯ãã¦ãã ããã¨ããè¨è¼ããªãã£ãã®ã§ããï¼ç¬ï¼
Step.2: .apkå±é
ããããã¯iPhoneã§ã¯æã«è² ããªãã®ã§ããã½ã³ã³ã使ããã¨ã«ãã¾ãã
.apkãã¡ã¤ã«ã¯ãæ¡å¼µåã.zipã«å¤ããã¨ããã±ã¼ã¸ãå±éã§ãããã¿ã¼ã³ããããããªã®ã§è©¦ããã¨ãããç°¡åã«åºã¦ãã¦ããã¾ããã
ããã¨ããããã®ãã¡ã¤ã«ãå±éããã¾ãã
ãã®ä¸ã®ãclasses.dexã¨ãããã¡ã¤ã«ãdalvik VMã®ä¸éè¨èªãã¡ã¤ã«ã®ããã§ãã
ç§ã¯ãã¤ããªã¢ã³ã§ã¯ãªãã®ã§ããããã½ã¼ã¹ã³ã¼ãã«å¤æãã¦è§£æãããã¨æãã¾ãã
ãã®ãã¡ã¤ã«ããdex2jarã¨jadã¨ããã½ãããéããã¨ã§ã.javaãã¡ã¤ã«ãçæãããã¨ãã§ãã¾ãã
ã¤ã¾ãã§ã³ãã³ããã¡ã¢ããã¨ã
sh dex2jar.sh classes.dex åºåãããclasses_dex2.jar.jarã.zipã«ãå±é jad -8 -d src -s .java -r ~ **/*.class
ããã§ãBuildConfig.java, MainActicity.java, R.javaã¨ãã3ã¤ã®ã½ã¼ã¹ãã¡ã¤ã«ãå ¥æã§ãã¾ããããã¨ã¯Javaãèªãã ãã§ãã
Step.3:ã½ã¼ã¹ã³ã¼ããªã¼ãã£ã³ã°
ä¸å¿ããã®ã¢ããªã®å©ç¨è¦ç´ã¯Webãã¼ã¸ã«ãã£ãã®ã§ãããããã«ããªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ãã¡ããã¼ãã£ï¼ã¯ãã¨ãã¿ãããªæã¯ãªãã£ãã®ã§ãå°ãèªã¾ãã¦ããã ãã¾ããã
ã©ãããããã®ã¢ããªã¯"index.html"ã¨"error.html"ã¨ãã2ã¤ã®htmlãã¡ã¤ã«ã¨å¿
è¦ãªç»åãassetsã«ç½®ãã¦ãããã¢ããªãèµ·åããæã«WebViewã«ãã¼ããããã®éã«ç«¯æ«ã®é£çµ¡å
ãããååã¨ã¦ã¼ã¶åããã¹ã¦æãåã£ã¦éä¿¡ããã¢ããªã®ããã§ãã
ã¾ããæãåã£ããã¼ã¿ã¯microSD(/mnt/sdcard/)ã«ä¿åãã¦ããããã§ãã
Step.4:éä¿¡ãã¼ã¿è§£æ
ãã®ã¾ã¾ã§ã¯ã¡ãã£ã¨ããããããªãã®ã§ãããå°ãæå解æãã¦ã¿ã¾ãã
AVDãæ°è¦ã«ä¸ã¤ä½ããadbã§apkãã¤ã³ã¹ãã¼ã«ãã¾ãã
Permissionã確èªããã¨ã以ä¸ã®ãã®ãè¦æ±ãã¦ãã¾ããã
å®é¨ã®ããã«ãé£çµ¡å
ã«ããã¼ã®ãã¼ã¿ã1件ä½ãã¾ãã
ããã§ãã¢ããªãlaunchããã¨ããã®ããã«åä½å¯¾è±¡å¤ã¨ããã¡ãã»ã¼ã¸ã表示ããã¾ãã
ãããerror.htmlã§ããå®æ
ã¯.gifãã¡ã¤ã«ã表示ãã¦ããã ãã®htmlã§ãã...
ãã®æã®HTTPéä¿¡ãè¦ã¦ã¿ãã¨ã以ä¸ã®æ§ãªHTMLãªã¯ã¨ã¹ããããã¾ããã
ãªããããã®GETãã©ã¡ã¼ã¿ã§ããid?=以å¾ã®æååã¯ãAndroid_IDã¨å¼ã°ããåºæå¤ã§ãã
Content-Typeãmultipart/form-data;ã§ããéããå
ã»ã©åå¾ããã¢ãã¬ã¹å¸³ã®ãã¼ã¿ï¼list.logï¼ãã¢ãããã¼ããã¦ããããã§ããï¼å½ç¶Not SSLï¼
転éæååãè¦ãã¨ãã¡ã¼ã«ã¢ãã¬ã¹ã¨ã³ã³ã¿ã¯ãåã®ãã¢ã«ãªã£ã¦ãããã¨ããããã¾ãã
転éã«æåããã¨ãHTTP Status Code:200ã帰ã£ã¦ãã¦çµäºã¨ããå½¢ã§ããã
ã¡ãªã¿ã«ãlist.logã®ãã¼ã¿ã¯ãã®ãããªä¸èº«ã§ãã
ã½ã¼ã¹ã³ã¼ããåã³Burpã«ããHTTPéä¿¡ãã£ããã£ã§ã¯ããã以å¤ã®æ
å ±ã®éåä¿¡ã¯è¦³æ¸¬ããã¾ããã§ããã
çµè«ã¨ãã¦ããã®ã¢ããªã¯é£çµ¡å
ã«ããã¡ã¼ã«ã¢ãã¬ã¹ã¨ååããã¹ã¦éä¿¡ãã¦ãã¾ãã¢ããªã ã¨èãããã¾ãã
ãªããã¡ã¼ã«æ¬æã«ç´¹ä»ããã¦ããã¢ããªã¯ãã¹ã¦åãæåã示ãã¦ãã¾ãã
Step.5:ä½è«
ãã®ã¢ããªãLog.dã«ããããã¨åºåãã¦ãã¦é¢ç½ãã§ãã
ä»åã®å®é¨ã§ã¯ã
D/xxx ( 1687): start D/xxx ( 1687): [email protected] D/xxx ( 1687): mailaddress get!/mnt/sdcard D/xxx ( 1687): java.net.SocketTimeoutException D/xxx ( 1687): post end
ã¨ãããã°ãåºåããã¦ãã¾ããã
startã¨ãendã¨ããmailaddress get!ãªãã¦åºåãã¦ãã¦å¯æãããã§ãã
ã¾ãããªãã¡ã¼ã«ã¢ãã¬ã¹ã ããªã®ãé常ã«æ°ã«ãªãã¾ãã
é»è©±çªå·ã¯ä¸è¦ãªã®ã§ããããï¼
æ¨æ¸¬ã¨ãã¦ã¯ãè¿·æã¡ã¼ã«ã®éä¿¡å
確ä¿ãçããªã®ããªãã¨æãã¾ãã
ä¸äººå¼ã£ãããã°ã100åè¿ãã¢ãã¬ã¹ã«ãªã£ã¦å¸°ã£ã¦ããããã§ãã®ã§ï¼çè«ä¸ï¼ã
ã¨ãããã¨ã§ãæ¥ææ¥ã®æ©æããå§ãããã¡ãã£ã¨æ¥½ãããéã³ã§ããã