2015-07-01ãã1ã¶æéã®è¨äºä¸è¦§
x86ç°å¢ã«ããã¦Hello Worldã表示ããbootloaderãä½æããVirtualBoxã®ä»®æ³ããããã¼ãã©ã¤ãããèµ·åãã¦ã¿ãã ç°å¢ Ubuntu 14.04.2 LTS 64bitçãVirtualBox 4.3.28 $ uname -a Linux vm-ubuntu64 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:â¦
ãWindowsã§é»åãèµ·åããã·ã§ã«ã³ã¼ããæ¸ãã¦ã¿ããã§ã¯ãWindows 32bitã¢ããªã±ã¼ã·ã§ã³ç¨ã®ã·ã§ã«ã³ã¼ããä½æããã ããã§ã¯ãWindows 64bitã¢ããªã±ã¼ã·ã§ã³ããé»åãèµ·åããã·ã§ã«ã³ã¼ããæ¸ãã¦ã¿ãã ç°å¢ Windows 8.1 Pro 64 bitçãVisual Stâ¦
Wiresharkã«ã¯ãWiresharkã¨åçã®æ©è½ãæã¤CLIã³ãã³ãã¨ãã¦tsharkãä»å±ãã¦ããã tsharkã§ã¯ãªãã·ã§ã³ã¨ãã¦-T fields -e <field> [-e <field> ...]ãæå®ãããã¨ã§ãæå®ãããã£ã¼ã«ãã®ãã¼ã¿ãã¿ãåºåãã§åºåãããã¨ãã§ããã 次ã®ä¾ã§ã¯ãdump.pcapã¨ãã</field></field>â¦
LoadLibraryé¢æ°ã¯å®è¡æã«DLLããã¼ãããé¢æ°ã§ããããå¼æ°ã«UNCãã¹ãä¸ãããã¨ã«ãããSMBãããã³ã«ï¼Windowsãã¡ã¤ã«å ±æï¼ãä»ãã¦ãªã¢ã¼ããã¹ãã«ããDLLããã¼ãã§ãããã¨ãç¥ããã¦ããã ã¾ããDLLã¯ãã¼ãæã«DLLMainé¢æ°ãèªåçã«å¼ã³åºãâ¦
Metasploit Frameworkã¯ãã¨ã¯ã¹ããã¤ãã³ã¼ãå®è¡ãã¯ããã¨ãã種ã ã®ã¿ã¹ã¯ãçµ±ä¸ãããã¤ã³ã¿ãã§ã¼ã¹ã§æ±ãããã®çµ±åç°å¢ï¼ãã¬ã¼ã ã¯ã¼ã¯ï¼ã§ããã ããã§ã¯ãã¹ã¿ãã¯ãããã¡ãªã¼ãã¼ããã¼èå¼±æ§ã®ããããã°ã©ã ãç¨æããããã«å¯¾ããexploitâ¦
主ã«Windowsç°å¢ã«å¯¾ãã¦ä½¿ãããé«æ©è½ãªãªã¢ã¼ãæä½ã³ã³ã½ã¼ã«ã¨ãã¦ãMeterpreterã¨å¼ã°ãããã®ãããã ããã§ã¯ãMetasploit Frameworkã使ãMeterpreterç¨ã®ã·ã§ã«ã³ã¼ããçæãã¦ã¿ãã ããã«ãã¹ã¿ãã¯ãããã¡ãªã¼ãã¼ããã¼èå¼±æ§ãå©ç¨ãã¦ãâ¦
ã¹ã¿ãã¯ãããã¡ãªã¼ãã¼ããã¼æ»æã«å¯¾ããé²å¾¡ææ³ã®ã²ã¨ã¤ã«stack canaryãããã ããã¯é¢æ°ã®å é ã§canaryã¨å¼ã°ããã©ã³ãã ãªå¤ãã¹ã¿ãã¯ã«ç©ãã§ãããé¢æ°ã®æ«å°¾ã§ãã®å¤ãæ¸ãæãããã¦ããªãããã§ãã¯ãããã¨ã§æ»æãæ¤ç¥ããã¨ãããã®ã§ãâ¦
ãã使ããããªãã®ã®è¦æ¸ã ã·ã³ãã«ãµã¼ãã®æå® ç°å¢å¤æ°ãç¨ãã¦æå®ãã¦ããã¨ããã >set _NT_SYMBOL_PATH=srv*C:\Symbols*http://msdl.microsoft.com/download/symbols ãããã°æ å ±ä»ãã§ã³ã³ãã¤ã« ã³ã³ãã¤ã«ãªãã·ã§ã³ã¨ãã¦/Ziãä»ããã >cd /Zâ¦
ãWindowsã§Return-oriented Programmingï¼ROPï¼ã«ããDEPåé¿ããã£ã¦ã¿ããã§ã¯ãå®è¡ãã¡ã¤ã«ä¸ã§VitrualProtecté¢æ°ã使ããã¦ãããã¨ãåæã«ROPãè¡ã£ãã ããã§ã¯ãASLRãç¡å¹ãªå¤ãã·ã¹ãã DLLãå©ç¨ãããã¨ã«ãããVirtualProtecté¢æ°ãå¼ã³åºãâ¦
ãWindowsã§åç´ãªã¹ã¿ãã¯ãããã¡ãªã¼ãã¼ããã¼æ»æããã£ã¦ã¿ããã§ã¯ãDEPãç¡å¹ã«ããç¶æ ã§ã·ã§ã«ã³ã¼ãã®å®è¡ãè¡ã£ãã ããã§ã¯ãDEPãæå¹ãªç°å¢ä¸ã«ããã¦ãROPï¼Return-oriented Programmingï¼ã«ããã·ã§ã«ã³ã¼ãå®è¡ããã£ã¦ã¿ãã ç°å¢ Windoâ¦
Windowsã§å種ã»ãã¥ãªãã£æ©æ§ããªãã«ãã¦ãåç´ãªã¹ã¿ãã¯ãããã¡ãªã¼ãã¼ããã¼ã«ããã·ã§ã«ã³ã¼ãå®è¡ããã£ã¦ã¿ãã ç°å¢ Windows 8.1 Pro 64 bitçãVisual Studio Community 2013 with Update 4 >systeminfo OS å: Microsoft Windows 8.1 Pro OS â¦