ÇÁ·Î±×·¡¹Ö

 3206, 8/161 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   ¹Ùº¼ÀÌ
   À©µµ¿ì ·Î¿ì ¼ÒÄÏ °ü·Ã Áú¹®ÀÔ´Ï´Ù..

http://www.hackerschool.org/HS_Boards/zboard.php?id=QNA_programming&no=2455 [º¹»ç]


À©µµ¿ì¿¡¼­ ·Î¿ì¼ÒÄÏÀ¸·Î TCP ÆÐŶÀ» º¸³»´Â ¿¬½ÀÀ» Á» ÇÏ°íÀÖ¾ú´Âµ¥¿ä,

·Î¿ì¼ÒÄÏÀ» ¸¸µå´Â°Ç µÇ´Âµí Çѵ¥ ÆÐŶÀÌ ¾È º¸³»Áö´õ±º¿ä...

±×·¡¼­ °Ë»öÀ» ÇØ º» °á°ú Windows XP SP2 ºÎÅÏ º¸¾ÈÀ» À§ÇØ ·Î¿ì¼ÒÄÏ ±â´ÉÀ» ´ëºÎºÐ ¸ø ¾²°Ô Çسõ¾Ò´Ù´Â ±ÛÀ» ¿©·µ ¹ß°ßÇß½À´Ï´Ù.

±× ±Û Áß Çϳª:
Windows XP SP2 - Only raw ICMP, IGMP, and UDP with proper source address (IP spoofing restricted) can be sent. But, full raw sockets can be received, which means you can sniff all incoming data and read their headers.

..¹Þ´Â °Ç µÇ´Âµ¥ º¸³»´Â°Ç ICMP, IGMP, º¯Á¶µÇÁö ¾ÊÀº IPÇì´õ¸¦ °¡Áø UDP ¸¸ÀÌ µÈ´Ù°í ³ª¿ÍÀÖ½À´Ï´Ù.



..¶ó°í Çϴµ¥ ¸Ç óÀ½ °Ë»öÇÒ¶§ ºÃ´ø ±Û:
(WinPcap.txt)
WinPcap À» ÀÌ¿ëÇÑ raw¼ÒÄÏ¿¡ ´ëÇÑ ¹®¼­ÀÔ´Ï´Ù. ¹ÞÀ»¶© WinPcapÀ», º¸³¾¶© libnet ¶óÀ̺귯¸®¸¦ ÀÌ¿ëÇÏ¸é µÈ´Ù°í ¼³¸íµÇ¾î Àֳ׿ä.

À§ ±Û¿¡¼± ¾ÈµÈ´Ù, ¹Ø ±Û¿¡¼± µÈ´Ù, ÇÏ´Ï Àú´Â È¥µ·¿¡ ÈÛ½ÎÀ̱⠽ÃÀÛÇß½À´Ï´Ù. -_-


Á¤¸» libnetÀ¸·Î full raw socket packetÀ» º¸³¾¼ö Àִ°ǰ¡¿ä?
±×µ¿¾È °ü½Éµµ º°·Î ¾ø¾ú´ø ÅͶó È®½ÇÇÑ »ç¿ë¹ýÀ» ¸ô¶ó ¾ÆÁ÷ libnetÀ» ½áº¸Áø ¾Ê¾Ò½À´Ï´Ù.

libnetÀÌ ÇÒ¼ö ¾ø´Ù¸é Àú´Â µå¶óÀ̹ö¸¦ ¸¸µé¾î¼­ ÇؾßÇÏ´Â? Áö°æ±îÁö À̸£°Ô µÇ¾î¹ö¸³´Ï´Ù ¤Ì¤Ì


ÀÏ´Ü »ðÁú¿¡ µé¾î°¡±â Àü¿¡ ´ë°­ Á¤º¸µéÀ» ¾ò°í ½Í½À´Ï´Ù..

1. libnet À¸·Î raw socket TCP packet Àü¼ÛÀÌ 100% °¡´ÉÇÑÁö.
2. µå¶óÀ̹ö¸¦ ¸¸µé¾î¼­ Çϴ°ÍÀÌ °¡´ÉÇÏ´Ù¸é, ¾î¶»°Ô ÇؾßÇÏ´ÂÁö.
3. À©µµ¿ìÀÇ ¼û°ÜÁø ±â´ÉÀÌ¶óµµ ÀÖ´ÂÁö.

ÁÁÀº ´äº¯ Áֽø®¶ó ¹Ï½À´Ï´Ù.

°¨»çÇÕ´Ï´Ù.


PS
¿¹»óµÇ´Â ´äº¯µé¤Ì

1. ±¸Â÷ÇÏ°Ô À©µµ¿ì¼­ ÇÏÁö¸»°í ¸®´ª½º¿¡¼­ Çضó : À©µµ¿ì¼­ Çغ¸°í ½ÍÀ¸´Ï±î Áú¹®ÇÏ´Â °Ì´Ï´Ù. Èæ

2. libnet »ç¿ëºÎÅÍ Çغ¸°í Áú¹®Çضó : Áö±ÝºÎÅÍ Çغ¼°Ì´Ï´Ù¸¸.. '´ë°­ Á¤º¸¸¦ ¾ò°í ½Í½À´Ï´Ù'¶ó°í À§¿¡..

3. ¹«´äº¯ : À¸¾Æ¾Æ¾Ç Áö±Ý±îÁö ¿©±â´Ù ¹°¾îºÃ´ø ¸ðµç Áú¹®µéÀÌ ¾ÃÇû¾î!!!

  Hit : 5979     Date : 2010/05/21 09:52



    
gladia ¿©±â´Ù ¹°¾îºÃ´ø ¸ðµç Áú¹®µéÀÌ ¾ÃÇû´Ù±æ·¡... °Ë»öÁ»Çغôµ¥¿ä,

Raw Sockets and Windows

First of all, it must be understood very clearly that raw sockets is not a feature of the network API (although it must be present there as an option) but of the OS protocol stack. To implement raw sockets, all we have to do is to inform the OS that the packet buffer we are providing will have the header and so the OS should transmit it as is without "adding any header"; that's all, nothing more to do. The Unix operating system has raw socket support since ancient times. But the problem is with Windows. None of Windows 95, 98, 98SE supported raw sockets. Raw sockets became available on Windows from Windows 2000; Windows XP continued this. But suddenly, raw socket support was removed from Windows XP through a patch in SP2. Vista probably doesn't have it. Windows 95, 98, 98SE do not support raw sockets, but this doesn't end the story. If you want the facility, then the solution is to use a third party packet driver like Winpcap. Such packet drivers will do your task irrespective of what the OS likes and dislikes. Windows XP and XP SP1 have full raw socket support and so life is easy. So if you want to do raw socketing on Windows, then either use Winpcap or don't feel desperate to install SP2, or otherwise use Windows 2003 which, as per my knowledge, has raw socket support. So let's brief up.

1. Windows 95, 98, 98SE, NT4.0 -- Only raw ICMP and IGMP with restricted features.
2. Windows 2000, XP, XP SP1, 2003 -- Full raw socket support for both receiving and sending purposes.
3. Windows XP SP2 -- Only raw ICMP, IGMP, and UDP with proper source address (IP spoofing restricted) can be sent. But, full raw sockets can be received, which means you can sniff all incoming data and read their headers.


À©µµ¿ìÀÚü¿¡¼­ RAW Socket À» ¼­Æ÷Æ®ÇØÁÖÁö ¾Ê±â¶§¹®¿¡ Winpcap À̶ó´Â º°µµ¿¡ µå¶óÀ̹ö? ÇÁ·Î±×·¥? À» »ç¿ëÇؼ­ º¸³¾¼öÀִٴ°ų»¿ä. °á±¹ À©µµ¿ì´Â ¸øÇÏ°ÔÇسùÁö¸¸ Æí¹ýÀ¸·Î WINPCAP À» ¾²´Â°Å°°³»¿ä.
2010/05/22  
¹Ùº¼ÀÌ WinPcapÀº ¹Þ´Â°Í¸¸ °¡´ÉÇÏ´Ù°í µé¾ú´Âµ¥¿ä.. 2010/05/22  
3066   httpÇÁ·ÎÅäÄÝ Å¬¶óÀ̾ðÆ® ÇÁ·Î±×·¡¹Ö[7]     ºí·º³²ÀÚ
11/20 2814
3065   °í¼ö´Ôµé ÁÁÀº ´äº¯ ¹Ù·¡¿ä.[3]     ºÐÈ«
06/26 2772
3064     [re] ÇØÄðC¾ð¾î Ã¥Áß.. ¼öÁ¤ÇÒ °÷.     ¹ß¼Û´ã´çÀÚ
11/10 4064
3063   Áú¹®Á» µå¸±²¾¿ä[2]     ¹°¸ÔÀÚ
02/09 3254
3062   c¾ð¾î Áú¹®Á»¿ä[5]     ¹°¸ÔÀÚ
01/22 4151
3061   2Â÷¿ø ¹è¿­ Áú¹®Á»¿ä[4]     ¹°¸ÔÀÚ
01/18 3582
3060   c¾ð¾î ¹è¿­ Áú¹®Á»¿ä[3]     ¹°¸ÔÀÚ
01/09 3569
3059   c¾ð¾î Áú¹®Á»¿ä[4]     ¹°¸ÔÀÚ
01/02 3335
3058   c¾ð¾î Áú¹®Á»¿ä[2]     ¹°¸ÔÀÚ
12/27 3397
3057   c¾ð¾î Áú¹®Á»¿ä[6]     ¹°¸ÔÀÚ
12/24 3362
3056   c¾ð¾î Áú¹®Á»¿ä[2]     ¹°¸ÔÀÚ
12/23 3144
3055   c c++ Áú¹®Á»¿ä[3]     ¹°¸ÔÀÚ
12/13 3014
3054     [re] c ¾ð¾î Ä·ÆÛ½º°­Á 1À» º¸´Ï±î¿ä     ¹«¼ÒÀ¯
12/17 3584
3053     [re] c¾ð¾î ¾Æ¹«°Íµµ ¸ð¸£´Âµ¥¿ä     ¹«¼ÒÀ¯
12/17 2213
3052   [Æ÷ÀÎÅÍ]C¾ð¾î Áú¹®[2]     ¹Ú¿µ¹Î
03/12 3438
3051   À¸¾Ç ..! °©ÀÚ±â È¥µ·ÀÌ     ¹Ùº¼ÀÌ
07/02 2910
  À©µµ¿ì ·Î¿ì ¼ÒÄÏ °ü·Ã Áú¹®ÀÔ´Ï´Ù..[2]     ¹Ùº¼ÀÌ
05/21 5978
3049   À¸Èå...ÆäÀÌ¡°ü·Ã Áú¹®ÀÔ´Ï´Ù..     ¹Ùº¼ÀÌ
04/09 2759
3048   Áö...Áú¹®ÀÌ¿ä..[1]     ¹Ùº¼ÀÌ
12/20 3019
3047   Áú¹®ÀÌ¿ä...¤Ð     ¹Ùº¼ÀÌ
10/16 2751
[1][2][3][4][5][6][7] 8 [9][10]..[161]

Copyright 1999-2024 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org