ãLMããã·ã¥ã®èå¼±æ§ãã¨å¼ã°ãããã®
question:1270750577 ã®åçã§ãOphcrack 㧠4 åã§è§£æã§ããçµæããã£ã¦ãLM ããã·ã¥ãä¿åããã¦ããªãã¦ãåããã¨èª¤è§£ãããããªé°å²æ°ããã£ãã®ã§ãã¡ãã£ã¨è§£èª¬ãã¦ã¿ã¾ãã
LM ããã·ã¥ã®è¨ç®æ¹æ³
詳細ãªè¨ç®æ¹æ³ã¯ä¸è¨ã®ãã¼ã¸ã«ããã11 ã¹ãããã® LM ã¬ã¹ãã³ã¹ã®è¨ç®æ¹æ³ã®ãã¡ã7 ã¹ãããç®ã¾ã§ã®è¨ç®ã§å¾ãããå¤ã«ãªãã¾ãã
http://www.monyo.com/technical/samba/translation/ntlm.html#theLmResponse
ãã¹ã¯ã¼ã解æã½ããã®å¦çå 容
æ¬æ¥ããã¹ã¯ã¼ãããä¸æ¹åé¢æ°ã§å¤æãããå¤ï¼ããã·ã¥å¤ï¼ãããç´æ¥ãå ã®ãã¹ã¯ã¼ããè¨ç®ããæ¹æ³ã¯ããã¾ãããã¨ããããè¨ç®åºæ¥ãªããããä¸æ¹åé¢æ°ããªè¨³ã§ãã
ããã·ã¥å¤ã®è¨ç®æé ãå®è£ ä¸ã®åé¡ãããå ã®ãã¹ã¯ã¼ããè¨ç®ãããããªããã¨ããäºã¯ç¡ãããã§ã¯ãªãã§ãããå¤ãã®ãã¹ã¯ã¼ã解æã½ãããå®éã«è¡ã£ã¦ããå¦çã¯ããã¹ã¯ã¼ãã®åè£ã¨ãªãæååããããã·ã¥å¤ãè¨ç®ãã解æ対象ã®ããã·ã¥å¤ã¨ä¸è´ããããã¨ããå¦çãã²ãããè¡ã£ã¦ããã«éãã¾ãã*1ã
ãã®ããã¹ã¯ã¼ãã®åè£ãããä¾ãã°è¾æ¸ã«ããåèªããã®å¤å½¢ãã¨ãã人éãä»ãããã¹ã¯ã¼ãã®çãå©ç¨ãã¦ããå½ããããããã¹ã¯ã¼ãã®åè£ãã試ããã¨ãããã¨ããã¾ãããã¹ã¯ã¼ããè¨å®ããéã«ããåèªããã®ã¾ã¾ä½¿ããªãããã«ãã¨ããè±æ°è¨å·ãå¿ ãæ··ãã¦ãã¨ããã®ã¯ããã¹ã¯ã¼ã解æã½ãããçã£å ã«è©¦ããããªãã¹ã¯ã¼ããé¿ããã°è¦ã¤ããã¥ãããã¨ãããã¨ã§ãã
ããªããã ãåã«è¦ã¤ããã¥ããããããã®æé稼ããããã¨æãããããã¾ããããå®ã¯ããã®æé稼ãã¯é常ã«éè¦ã§ããå ¥åå¯è½ãªãã¹ã¦ã®ãã¹ã¯ã¼ãã試ãã°ãå¿ ããã¹ã¯ã¼ãã¯è¦ã¤ããã¾ããèªè»¢è»ã®ã¯ã¤ã¤ã¼ããã¯ã§ãã¤ã¢ã«å¼ã®ãã®ãããã¾ããããã¹ã¯ã¼ãã¯ããã«ä¼¼ã¦ãã¾ãããã¹ã¦ã®ãã¿ã¼ã³ã試ãã°å¿ ãéãã¾ãã
ãããå®å ¨ã«ã©ã³ãã ãªãã¹ã¯ã¼ãã§ããã°ãå¹³åçãªç¢ºçã¨ãã¦ã¯ãå ¥åå¯è½ãªãã¹ã¦ã®ãã¹ã¯ã¼ãã®ããªã¨ã¼ã·ã§ã³æ°ã®ï¼åã®ï¼ãå試ãã°ããã¹ã¯ã¼ããè¦ã¤ãããã¨ã«ãªãã¾ãã
ã§ã¯ããã¹ã¯ã¼ãã®ããªã¨ã¼ã·ã§ã³ããå®éã«ã©ã®ãããã«ãªããè¦ã¦ã¿ã¾ãã
LM ããã·ã¥ã®ããªã¨ã¼ã·ã§ã³
ãã¤ã¢ã«å¼ã®ããã¯ã ã¨ãä¾ãã°ãï¼ã¤ã®ãã¤ã¢ã«ã§åãã¤ã¢ã«ãï¼ãï¼ã ã£ãå ´åã4,096éãï¼ï¼ã«ãªãã¾ããææªã§ã 4,096 åç®ãå¹³å㧠2,048 åç®ã«ã¯ãããã¯ãå¤ããäºãæå¾ ããã¾ãã
ã§ã¯ããã¹ã¯ã¼ãã®å ´åã¯ã©ãã§ãããã
å ã® LM ããã·ã¥ã®è¨ç®æé ãè¦ãã¨ãåãå ¥ããããæ大ã®ãã¹ã¯ã¼ãé·ã¯ 14 æåã§ããå ¨ã¦ã® ASCII å³å½¢æåï¼ããããè±æ°åè¨å·ã0x21-0x7e ã®ç¯å²ã®æåï¼ã¨åè§ã¹ãã¼ã¹ã® 95 æåã使ããã¨ããã¨ã
ãã¹ã¯ã¼ãé· | è¨ç®å¼ | ããªã¨ã¼ã·ã§ã³ã®æ° |
---|---|---|
0 | - | 1 |
1 | - | 95 |
2 | 9,025 | |
3 | 857,375 | |
.. | ...... | ...... |
13 | 51,334,208,327,950,511,474,609,375 | |
14 | 4,876,749,791,155,298,590,087,890,625 | |
åè¨ | 4,928,630,108,082,482,617,642,017,121 |
ã¤ã¾ããæé· 14 æåã®ãã¹ã¯ã¼ããè¨å®å¯è½ã§ããã°ã4,928,630,108,082,482,617,642,017,121 éãã®ãã¹ã¯ã¼ãã®ããã·ã¥å¤ãæ±ãã¦ä¸è´ãããã©ããããã§ãã¯ããã°ãå¿ ããå ã®ãã¹ã¯ã¼ããè¦ã¤ãããã¨ã«ãªãã¾ãã
ã¨ããããLM ããã·ã¥ã®å ´åããã®æ°ãããã¯ããã«å°ãªãæ°ã§ä¸è´ãããã®ãè¦ã¤ãã£ã¦ãã¾ãã¾ãã
ã¾ããå°æåã¯å ¨ã¦å¤§æåã«å¤æããã¦å¦çããããã¨ã«ãªã£ã¦ãã¾ãããã£ã¦ããã¹ã¯ã¼ã解æã½ããã¯å°æåã¯ç¡ããã®ã¨ãã¦è¨ç®ããã°è¯ãã®ã§ãï¼æå辺ãã®ããªã¨ã¼ã·ã§ã³ã¯ 95 - 26 = 69 æåã«ãªãã¾ãã
ãã¹ã¯ã¼ãé· | è¨ç®å¼ | ããªã¨ã¼ã·ã§ã³ã®æ° |
---|---|---|
0 | - | 1 |
1 | - | 69 |
2 | 4,761 | |
3 | 328,509 | |
.. | ...... | ...... |
13 | 803,596,764,671,634,487,466,709 | |
14 | 55,448,176,762,342,779,635,202,921 | |
åè¨ | 56,263,591,126,494,879,335,720,611 |
ãã®æç¹ã§ããã¹ã¯ã¼ãåè£ã¯ 100 åã® 1 è¿ãã«æ¸å°ãã¦ãã¾ãã
ãã ãNT 系㮠OSï¼NTã2000ãXPãVistaã7 ãªã©ï¼ã§ã¯ãå®éã«ãã°ãªã³ããã«ã¯ NT ããã·ã¥ã使ãã®ã§ããã¹ã¯ã¼ãã®å¤§æåå°æåã¯åºå¥ããã¾ããLM ããã·ã¥ãä¿åããã¦ããç¶æ ã§ããã°ã
- ã¾ããLM ããã·ã¥ã¨åè´ãããã¹ã¯ã¼ããè¦ã¤ããã
- LM ããã·ã¥ã«åè´ãããã¹ã¯ã¼ãããã大æåå°æåã®ããªã¨ã¼ã·ã§ã³ãä½ã£ã¦ãNT ããã·ã¥ã¨åè´ãããã®ãè¦ã¤ããã
ã¨ããã°ãå¹çããããã¹ã¯ã¼ããè¦ã¤ããäºãã§ãã¾ããã²ã¨ã¾ãããã®ç¹ã¯å¾åãã«ãã¾ãã
次ã«èã«ãªã£ã¦ããã®ã¯ãï¼æåãã¤ã«åãã¦è¨ç®ãããé¨åã§ãã
ä¾ãã°ããã¹ã¯ã¼ãããABCD1234ãã§ãã£ãå ´åããABCD123ãã®ããã·ã¥å¤ã¨ã4ãã®ããã·ã¥å¤ãè¨ç®ãããã®ï¼ã¤ã®å¤ãä¿åãã¦ãã¾ããã¨ãããã¨ã¯ããã¹ã¯ã¼ãã解æããå´ã¨ãã¦ã¯ãï¼æåã®ãã¹ã¯ã¼ãã«å¯¾ããããã·ã¥å¤ãæ±ããå¦çããååï¼æåç¨ãå¾åï¼æåã®ï¼åº¦å®è¡ããã°è¯ããã¨ã«ãªãã¾ãã
69 ã®æå種㧠7 æåã®ãã¹ã¯ã¼ãé·ã¨ãªãã¨ããã®ããªã¨ã¼ã·ã§ã³ã¯ä¸è¨ã®ããã«ãªãã¾ãã
ãã¹ã¯ã¼ãé· | è¨ç®å¼ | ããªã¨ã¼ã·ã§ã³ã®æ° |
---|---|---|
0 | - | 1 |
1 | - | 69 |
2 | 4,489 | |
3 | 300,763 | |
.. | ...... | ...... |
6 | 107,918,163,081 | |
7 | 7,446,353,252,589 | |
åè¨ | 7,555,858,447,480 |
æç´ãªããã°ã©ã ãæ¸ãã°ã7,555,858,447,480 à 2 åã®ããã·ã¥å¤è¨ç®ãè¡ãã°ãåè´ãããã¹ã¯ã¼ããè¦ã¤ãããããã¨ã«ãªãã¾ãããï¼æåã®ãã¹ã¯ã¼ãåè£ããè¨ç®ããããã·ã¥å¤ï¼ã¤ã«å¯¾ãã¦ãååã«åè´ããã®ããå¾åã«åè´ããã®ããå¤å®ãã¦ããã°ã7,555,858,447,480 éãã®ãã¹ã¯ã¼ãã試ããã¨ãã«ã¯ãååé¨ãå¾åé¨ã®æååãå¤æãã¾ãã
ããã§ãNT ããã·ã¥ã§ã¯å¤§æåå°æåãåºå¥ãããç¹ãèæ ®ãã¾ãã
ä¾ãã°ãååï¼æåã® LM ããã·ã¥ã«åè´ããå ã®æååããABC#%12ãã ã£ãã¨ãã¾ãããã®æã大æåå°æåãããªã¨ã¼ã·ã§ã³ãèããã¨ãå®éã®ãã¹ã¯ã¼ãã®åè£ã¯ã
- ABC#%12
- aBC#%12
- AbC#%12
- abC#%12
- ABc#%12
- aBc#%12
- abc#%12
ã®ï¼éãã«ãªãã¾ã
NT ããã·ã¥ã§ã¯ 7 æåã«åå²ãããã¨ã¯ãã¦ããªãã®ã§ã14 æåå
¨ã¦ãã¢ã«ãã¡ãããã ã£ãå ´åã
大æåå°æåã®ããªã¨ã¼ã·ã§ã³ éãã«å¯¾ãã¦ãNT ããã·ã¥ã¨ä¸è´ãããã確èªããå¿
è¦ãããã¾ãã
ãã£ã¦ãLM ããã·ã¥ãä¿åããã¦ããæã«ãã¹ã¯ã¼ãã解æããããã°ã©ã ããå ã®ãã¹ã¯ã¼ãã«ãã©ãçãææªã®ã±ã¼ã¹ã§ã
- ï¼æåã®ãã¹ã¯ã¼ãã7,555,858,447,480 éãã®æå¾ã§ãLM ããã·ã¥å¤ã«åè´ãããã®ãè¦ã¤ããã
- ãã®è¦ã¤ãã£ããã¹ã¯ã¼ããå ¨ã¦ã¢ã«ãã¡ãããã ã£ãå ´åã16,384 éãã®ä¸çªæå¾ã§ãNT ããã·ã¥ã¨åè´ãããã®ãè¦ã¤ããã
ã¨ãããã¨ã«ãªããLM ããã·ã¥ãNT ããã·ã¥åããã¦ã7,555,858,463,864 éãã®ããã·ã¥å¤ãæ±ããã°ãå¿ ãå ã®ãã¹ã¯ã¼ããè¦ã¤ãããã¨ã«ãªãã¾ãã
ä¸æ¹ãLM ããã·ã¥ãç¡ããã°ãNT ããã·ã¥ãè¨ç®ãã¦ä¸è´ãããã調ã¹ããã¨ã«ãªãã¾ããNT ããã·ã¥ã§ã¯å¤§æåå°æåã¯åºå¥ãã¾ããã7 æåã§åå²ãã¨ãã£ããã¨ãããªãã®ã§ãåã 14 æå以ä¸ãASCII å³å½¢æåã®æ¡ä»¶ã§ããã°ãæåã«è¨ç®ãã4,928,630,108,082,482,617,642,017,121 éãã®ãã¹ã¯ã¼ããå ¨ã¦è¨ç®ããã¨ããã¹ã¯ã¼ããå¤æãããã¨ã«ãªãã¾ãã
ãã®å·®ãããã 650 å åã«ãªãã¾ãã
ã¤ã¾ãã仮㫠LM ããã·ã¥ãä¿åããã¦ããç¶æ ã§ãææªã®å ´åã§ã 1 ç§ã§ãã¹ã¯ã¼ãã解æåºæ¥ãã¨ãã¦ããNT ããã·ã¥ã ãã®å ´åã§ããã°ãããã 2000 ä¸å¹´ããããã¨ã«ãªãã¾ãã
ãã¹ã¯ã¼ã解æã½ããã§ãã¹ã¯ã¼ããåããçç±
Ophcrack 㧠Windows 7 ã®ãã¹ã¯ã¼ãã解æåºæ¥ããã¨ã§ãLM ããã·ã¥ã®åé¡ãç¡ããªã£ã¦ããªããã¨èª¤è§£ãããã§ãããOphcrack 㯠LM ããã·ã¥ãç¡ãã¦ã NT ããã·ã¥ã ãã§è§£æå¦çãè¡ãã¾ãããªã®ã§ãLM ããã·ã¥ãä¿åããã¦ããªãç¶æ ã§ã Ophcrack ã¯ä½¿ãã¾ãã
ãã ãLM ããã·ã¥ãæãã¨ç¡ãã¨ã§ã¯ãã®è§£ææéã«ã¯å¤§ããªå·®ãããããã¨ã LM ããã·ã¥æãã§æ°ç§ã§ãã¹ã¯ã¼ããåãã£ãã¨ãã¦ããç¡ããã°äººé¡ãçã延ã³ã¦ãããã©ããããåãããªããããªæªæ¥ã«ãªã£ã¦ãã¾ãã¾ããè¨ç®æ©ã®è½åã 10 åã100 åã¨ãªã£ãã¨ããã§ãç¼ãç³ã«æ°´ãªäºãåããã¾ãã
ããããå®éã« LM ããã·ã¥ãç¡ãã¦ã解æçµæãå¾ãããäºã¯ããã¾ãã
Vista 以éã§ããã°ãããã©ã«ã㧠LM ããã·ã¥ã¯ä¿åããã¾ãããããã¨ãã£ã¦ã10 æåã§è±æ°è¨å·å¤§æåå°æåãæ··å¨ããããã¹ã¯ã¼ããè¨å®ãã¦ãã人ãã©ã®ãããããã§ããããï¼ çµå±ãããã·ã¥å¤ã®ä¿åæ¹æ³ãå®å ¨ã«ãªã£ãã¨ãã¦ããå®æãªãã¹ã¯ã¼ãã¯è§£æã½ãããçã£å ã«è©¦ãã®ã§ãããã«è¦ã¤ãã£ã¦ãã¾ãã¾ãã
LM ããã·ã¥ã®åé¡ã¯ãé©åãªãã¹ã¯ã¼ããè¨å®ãã¦ãã¦ããã©ã³ãã 㪠7 æåã®ãã¹ã¯ã¼ããããä½ããã¨ãããã¨ã§ãã
.... ã¨çè«çãªäºãæ¸ãã¾ããããæéããã£ãããå®éã«ããããªãã¹ã¯ã¼ãã解æã½ããã«ããã¦ã試ãã¦ã¿ããã¨æãã¾ãã
2010-05-17 追è¨ï¼
使ããæåæ°ã®æ°ãééã£ã¦ããï¼ï¼åå°ãªãã£ãï¼ã®ã§ä¿®æ£ãã¾ããã
*1:ãããããããã®ããã·ã¥å¤ã®æã¯å ã®ãã¹ã¯ã¼ãã¯ãããã¨ãã表ãä½ã£ã¦ãããã¨ããäºãããã¾ãããã®è¡¨ã®äºããRainbow Tableãã¨è¨ãã¾ããOphcrack ã§ãææã§è¡¨ãã¼ã¿ãåå¾ããäºãã§ããããã«ãªã£ã¦ãã¾ããå®éã«è¡¨ãä½ãã¨ããä½æåã¾ã§ãã¨å¶éãä»ããªãã¨ç¾å®çãªãµã¤ãºã«åã¾ããªãã®ã§ãããLM ããã·ã¥ã®å ´åãäºå®ä¸ 7 æåã¾ã§ã®ãã¹ã¯ã¼ãã«å¯¾å¿ãã表ãä½ãã¨è¯ãã®ã§ãå®éã« Ophcrack ã§ä½¿ãã LM ããã·ã¥ç¨ã®è¡¨ã¯ 7.5GBããããã¾ãããããã LM ããã·ã¥ã®åé¡ã®ä¸ã¤ã§ããã¾ããWindows ã®ãã¹ã¯ã¼ãã®å ´åããã½ã«ããã¨å¼ã°ããããã¹ã¯ã¼ãã«ä»å ããä¹±æ°ãç¡ãã®ã§ãåããã¹ã¯ã¼ãããå¿ ãåãããã·ã¥å¤ãå¾ããããã¨ããå´é¢ãããã¾ããUNIX ç³» OS ã§ã¯ãã½ã«ãããä»å ãããã®ã§ãRainbow Table ãä½ãã¥ãããªã£ã¦ãã¾ãã