
This tool compares a targets patch levels against the Microsoft vulnerability database in order to detect potential missing patches on the target. It also notifies the user if there are public exploits and Metasploit modules available for the missing bulletins.
यह उपकरण किसी लक्ष्य के पैच स्तरों की Microsoft कमजोरी डेटाबेस से तुलना करता है ताकि लक्ष्य पर संभावित लापता पैच का पता लगाया जा सके। यह उपयोगकर्ता को सूचित करता है यदि लापता बुलेटिनों के लिए सार्वजनिक एक्सप्लॉइट और Metasploit मॉड्यूल उपलब्ध हैं।
इसे Windows होस्ट से 'systeminfo' कमांड आउटपुट की आवश्यकता होती है ताकि Microsoft सुरक्षा बुलेटिन डेटाबेस से तुलना कर सके और होस्ट के पैच स्तर का निर्धारण कर सके।
इसमें --update फ्लैग के साथ Microsoft से सुरक्षा बुलेटिन डेटाबेस को स्वचालित रूप से डाउनलोड करने की क्षमता है, और इसे Excel स्प्रेडशीट के रूप में सहेजता है।
कमांड आउटपुट को देखते समय, यह ध्यान रखना महत्वपूर्ण है कि यह सभी कमजोरियों को मान लेता है और फिर हॉटफिक्स डेटा के आधार पर उन्हें चुनिंदा रूप से हटा देता है। इसके परिणामस्वरूप कई झूठी सकारात्मकताएँ हो सकती हैं, और यह जानना महत्वपूर्ण है कि लक्ष्य होस्ट पर वास्तव में कौन सा सॉफ़्टवेयर चल रहा है। उदाहरण के लिए, यदि ज्ञात IIS एक्सप्लॉइट हैं, तो यह उन्हें चिह्नित करेगा भले ही IIS लक्ष्य होस्ट पर न चल रहा हो।
आउटपुट या तो सार्वजनिक एक्सप्लॉइट (E) या Metasploit मॉड्यूल (M) दिखाता है, जैसा कि वर्ण मान द्वारा इंगित किया गया है।
यह Pentura द्वारा Linux_Exploit_Suggester से काफी प्रेरित था।
ब्लॉग पोस्ट: "Introducing Windows Exploit Suggester", https://blog.gdssecurity.com/labs/2014/7/11/introducing-windows-exploit-suggester.html
डेटाबेस अपडेट करें
$ ./windows-exploit-suggester.py --update
[*] initiating...
[*] successfully requested base url
[*] scraped ms download url
[+] writing to file 2014-06-06-mssb.xlsx
[*] done
निर्भरताएँ स्थापित करें
(python-xlrd स्थापित करें, $ pip install xlrd --upgrade)
इसे "systeminfo" इनपुट दें, और इसे Microsoft डेटाबेस की ओर इंगित करें
$ ./windows-exploit-suggester.py --database 2014-06-06-mssb.xlsx --systeminfo win7sp1-systeminfo.txt
[*] initiating...
[*] database file detected as xls or xlsx based on extension
[*] reading from the systeminfo input file
[*] querying database file for potential vulnerabilities
[*] comparing the 15 hotfix(es) against the 173 potential bulletins(s)
[*] there are now 168 remaining vulns
[+] windows version identified as 'Windows 7 SP1 32-bit'
[*]
[M] MS14-012: Cumulative Security Update for Internet Explorer (2925418) - Critical
[E] MS13-101: Vulnerabilities in Windows Kernel-Mode Drivers Could Allow Elevation of Privilege (2880430) - Important
[M] MS13-090: Cumulative Security Update of ActiveX Kill Bits (2900986) - Critical
[M] MS13-080: Cumulative Security Update for Internet Explorer (2879017) - Critical
[M] MS13-069: Cumulative Security Update for Internet Explorer (2870699) - Critical
[M] MS13-059: Cumulative Security Update for Internet Explorer (2862772) - Critical
[M] MS13-055: Cumulative Security Update for Internet Explorer (2846071) - Critical
[M] MS13-053: Vulnerabilities in Windows Kernel-Mode Drivers Could Allow Remote Code Execution (2850851) - Critical
[M] MS13-009: Cumulative Security Update for Internet Explorer (2792100) - Critical
[M] MS13-005: Vulnerability in Windows Kernel-Mode Driver Could Allow Elevation of Privilege (2778930) - Important
[*] done
ऑपरेटिंग सिस्टम के लिए संभावित एक्सप्लॉइट का उपयोग हॉटफिक्स डेटा के बिना किया जा सकता है
$ ./windows-exploit-suggester.py --database 2014-06-06-mssb.xlsx --ostext 'windows server 2008 r2'
[*] initiating...
[*] database file detected as xls or xlsx based on extension
[*] getting OS information from command line text
[*] querying database file for potential vulnerabilities
[*] comparing the 0 hotfix(es) against the 196 potential bulletins(s)
[*] there are now 196 remaining vulns
[+] windows version identified as 'Windows 2008 R2 64-bit'
[*]
[M] MS13-009: Cumulative Security Update for Internet Explorer (2792100) - Critical
[M] MS13-005: Vulnerability in Windows Kernel-Mode Driver Could Allow Elevation of Privilege (2778930) - Important
[E] MS11-011: Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege (2393802) - Important
[M] MS10-073: Vulnerabilities in Windows Kernel-Mode Drivers Could Allow Elevation of Privilege (981957) - Important
[M] MS10-061: Vulnerability in Print Spooler Service Could Allow Remote Code Execution (2347290) - Critical
[E] MS10-059: Vulnerabilities in the Tracing Feature for Services Could Allow Elevation of Privilege (982799) - Important
[E] MS10-047: Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege (981852) - Important
[M] MS10-002: Cumulative Security Update for Internet Explorer (978207) - Critical
[M] MS09-072: Cumulative Security Update for Internet Explorer (976325) - Critical
वर्तमान में, यदि 'systeminfo' कमांड हॉटफिक्स के लिए आउटपुट के रूप में 'File 1' दिखाता है, तो यह यह निर्धारित नहीं कर पाएगा कि लक्ष्य पर कौन से स्थापित हैं। यदि ऐसा होता है, तो हॉटफिक्स की सूची लक्ष्य होस्ट से प्राप्त करके --hotfixes फ्लैग का उपयोग करके पास करनी होगी।
यह वर्तमान में Windows OS के 'editions' जैसे 'Tablet' या 'Media Center' उदाहरण के लिए, या विभिन्न आर्किटेक्चर जैसे केवल Itanium-आधारित को अलग नहीं करता है।
झूठी सकारात्मकताएँ भी होती हैं जहाँ यह मान लेता है कि लक्ष्य Windows ऑपरेटिंग सिस्टम पर सब कुछ स्थापित है। यदि आपको 'File 1' आउटपुट मिलता है, तो 'wmic qfe list full' निष्पादित करने का प्रयास करें और इसे --hotfixes फ्लैग के साथ, 'systeminfo' के साथ इनपुट के रूप में दें।
यह प्रोग्राम मुफ्त सॉफ्टवेयर है: आप इसे पुनर्वितरित कर सकते हैं और/या इसके तहत संशोधित कर सकते हैं GNU जनरल पब्लिक लाइसेंस की शर्तें जैसा कि फ्री सॉफ्टवेयर फाउंडेशन द्वारा प्रकाशित किया गया है, या तो लाइसेंस का संस्करण 3, या (आपके विकल्प पर) कोई बाद का संस्करण।
यह प्रोग्राम इस उम्मीद में वितरित किया जाता है कि यह उपयोगी होगा, लेकिन बिना किसी वारंटी के; यहां तक कि व्यापारिकता या किसी विशेष उद्देश्य के लिए उपयुक्तता की निहित वारंटी के बिना। अधिक जानकारी के लिए GNU जनरल पब्लिक लाइसेंस देखें।
आपको इस प्रोग्राम के साथ GNU जनरल पब्लिक लाइसेंस की एक प्रति प्राप्त होनी चाहिए। यदि नहीं, तो http://www.gnu.org/licenses/ देखें।