
The IKE Scanner
IKE होस्ट्स (IPsec VPN सर्वर) की खोज और फिंगरप्रिंटिंग करें
ike-scan मानक GNU autoconf और automake टूल्स का उपयोग करता है, इसलिए स्थापना सामान्य प्रक्रिया है:
git clone https://github.com/royhills/ike-scan.git चलाएं ताकि प्रोजेक्ट का स्रोत कोड प्राप्त हो सकेcd ike-scan चलाएं ताकि स्रोत निर्देशिका में प्रवेश करेंautoreconf --install चलाएं ताकि एक व्यवहार्य ./configure फ़ाइल उत्पन्न हो./configure या ./configure --with-openssl चलाएं ताकि OpenSSL लाइब्रेरीज़ का उपयोग हो सकेmake चलाएं ताकि प्रोजेक्ट बन सकेmake check चलाएं ताकि सुनिश्चित हो कि सब कुछ अपेक्षित रूप से काम करता हैmake install चलाएं ताकि स्थापित हो (इस भाग के लिए आपको रूट या sudo की आवश्यकता होगी)यदि आप प्री-शेयर्ड की क्रैकिंग करने की योजना बनाते हैं, तो आपको ike-scan को अपने बिल्ट-इन फंक्शन के बजाय OpenSSL हैश फंक्शन का उपयोग करने के लिए कॉन्फ़िगर करना चाहिए क्योंकि OpenSSL वाले सामान्यतः तेज़ होते हैं। ऐसा करने के लिए, सुनिश्चित करें कि आपके पास OpenSSL इनक्लूड फ़ाइलें और लाइब्रेरीज़ स्थापित हैं, और ./configure --with-openssl के रूप में configure चलाएं। आप OpenSSL का उपयोग करते हैं या नहीं, इससे ike-scan की कार्यक्षमता प्रभावित नहीं होगी, बस psk-crack के साथ प्री-शेयर्ड की क्रैकिंग की गति प्रभावित होगी।
कुछ ऑपरेटिंग सिस्टम डिफ़ॉल्ट रूप से OpenSSL हेडर्स और लाइब्रेरीज़ स्थापित करते हैं; दूसरों को एक वैकल्पिक पैकेज स्थापित करने की आवश्यकता होती है, उदाहरण के लिए Debian Linux पर आपको libssl-dev पैकेज स्थापित करना होगा। वैकल्पिक रूप से, आप OpenSSL टारबॉल को http://www.openssl.org/ से डाउनलोड और स्थापित कर सकते हैं।
यह अधिकांश आधुनिक Unix-समान OS पर बनना चाहिए। यह Cygwin के साथ Windows पर काम करता है और cygwin1.dll मौजूद होने पर एक स्वतंत्र Windows निष्पादन योग्य के रूप में उपयोग किया जा सकता है।
यदि आप Windows-32 बाइनरी पैकेज का उपयोग कर रहे हैं, तो कृपया README-WIN32 फ़ाइल भी पढ़ें जो Windows प्लेटफ़ॉर्म पर चलने पर अंतरों का विवरण देती है।
प्रोग्राम Linux, FreeBSD, OpenBSD, NetBSD, Win32/Cygwin, Solaris, MacOS X, HP Tru64, HP-UX, और SCO OpenServer पर बनने और चलने के लिए जाना जाता है। अधिक जानकारी के लिए नीचे "SUPPORTED PLATFORMS" अनुभाग देखें।
ike-scan IKE होस्ट्स की खोज करता है और उन्हें पुनर्प्रेषण बैकऑफ़ पैटर्न का उपयोग करके फिंगरप्रिंट भी कर सकता है।
ike-scan निम्नलिखित कार्य कर सकता है:
पुनर्प्रेषण बैकऑफ़ फिंगरप्रिंटिंग अवधारणा पर UDP बैकऑफ़ फिंगरप्रिंटिंग पेपर में अधिक विस्तार से चर्चा की गई है, जो ike-scan किट में UDP Backoff Fingerprinting Paper के रूप में शामिल होना चाहिए।
प्रोग्राम निर्दिष्ट होस्ट्स पर IKE phase-1 (मेन मोड या आक्रामक मोड) अनुरोध भेजता है और प्राप्त किसी भी प्रतिक्रिया को प्रदर्शित करता है। यह पैकेट हानि से निपटने के लिए बैकऑफ़ के साथ पुनर्प्रयास और पुनर्प्रेषण को संभालता है। यह आउटबाउंड IKE पैकेट द्वारा उपयोग किए जाने वाले बैंडविड्थ की मात्रा को भी सीमित करता है।
IKE इंटरनेट की एक्सचेंज प्रोटोकॉल है, जो IPsec द्वारा उपयोग किया जाने वाला की एक्सचेंज और प्रमाणीकरण तंत्र है। लगभग सभी आधुनिक VPN सिस्टम IPsec लागू करते हैं, और अधिकांश IPsec VPN IKE का उपयोग की एक्सचेंज के लिए करते हैं। मेन मोड IKE एक्सचेंज के phase-1 के लिए परिभाषित मोड में से एक है (दूसरा परिभाषित मोड आक्रामक मोड है)। RFC 2409 का अनुभाग 5 निर्दिष्ट करता है कि मेन मोड लागू किया जाना चाहिए, इसलिए सभी IKE कार्यान्वयन से मेन मोड का समर्थन करने की उम्मीद की जा सकती है। कई आक्रामक मोड का भी समर्थन करते हैं।
वर्तमान उपयोग जानकारी देखने के लिए, ike-scan बाइनरी को इस प्रकार चलाएं:ike-scan -h
Additional documentation is provided on the NTA Monitor Wiki
To report bugs or suggest new features, please create a GitHub issue.
The hosts to scan can be specified on the command line or read from an input file using the --file=<fn> option. The program can cope with large numbers of hosts limited only by the amount of memory needed to store the list of host_entry structures. Each host_entry structure requires 45 bytes on a 32-bit system, so a class B network (65534 hosts) would require about 2.8 MB for the list. The hosts can be specified as either IP addresses or hostnames, however the program will store all hosts internally as IP addresses and will only display IP addresses in the output (ike-scan calls gethostbyname(3) to determine the IP address of each host, but this can be disabled with the --nodns option).
The program limits the rate at which it sends IKE packets to ensure that it does not overload the network connection. By default it uses an outbound data rate of 56000 bits per second. This can be changed with the --bandwidth option.
If you want to send packets at a specific rate, you can use the --interval option.
ike-scan generates unique IKE cookies for each host, and it uses these cookies to determine which host the response packets belong to. Note that it does not rely on the source IP address of the response packets because it is possible for a response packet to be sent from a different IP address than it was originally sent to. See the PROGRAM OUTPUT section for an example of this.