
माइक्रोसॉफ्ट विंडोज़ के लिए केवल WMI का उपयोग करने वाला एक कमांड शेल रैपर
कम प्रभाव वाली जाँच (low impact investigations) और अन्य समान गतिविधियाँ करते समय आप यह न्यूनतम करना चाह सकते हैं कि डिस्क पर क्या लिखा जा रहा है / क्या स्पष्ट दिखाई देता है।
यह टूल हमें WMI के माध्यम से कमांड निष्पादित करने और ऐसी जानकारी प्राप्त करने की अनुमति देता है जो अन्यथा इस चैनल के माध्यम से उपलब्ध नहीं होती।
एक छोटी उपयोगिता जो केवल WMI का उपयोग करती है:
टूल निम्न से मिलकर बना है:
C:\Data\NCC\!Code\Git.Public\WMIcmd\WMIcmd\bin\Debug>WMIcmd.exe --help
NCC Group WMIcmd 1.0.0.0
Released under AGPL
-h, --host Host (IP address or hostname - default: localhost)
-u, --username Username to authenticate with
-p, --password Password to authenticate with
-d, --domain Domain to authenticate with
-v, --Verbose (Default: False) Prints all messages to standard
output.
-c, --Command (Default: ) Command to run e.g. "nestat-ano"
-s, --CommandSleep (Default: 10000) Command sleep in milliseconds -
increase if getting truncated output
--help Display this help screen.
नोट: प्रशासनिक क्रेडेंशियल का उपयोग करें
WMIcmd.exe -h 192.168.1.165 -d hostname -u localadmin -p theirpassword -c "netstat -an"
नोट: प्रशासनिक क्रेडेंशियल का उपयोग करें
WMIcmd.exe -h 192.168.1.165 -d domain -u domainadmin -p theirpassword -c "netstat -an"
नोट: प्रशासनिक क्रेडेंशियल का उपयोग करें
C:\Data\NCC\!Code\Git.Public\WMIcmd\WMIcmd\bin\Debug>WMIcmd.exe -d win10host -h win10host -u superuser -p password -c "netstat -an"
[!] Connecting with superuser
[i] Connecting to win10host
[i] Connected
[i] Command: netstat -an
[i] Running command...
[i] Getting stdout from registry from SOFTWARE\
[i] Full command output received
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5985 0.0.0.0:0 LISTENING
TCP 0.0.0.0:7680 0.0.0.0:0 LISTENING
TCP 0.0.0.0:18800 0.0.0.0:0 LISTENING
TCP 0.0.0.0:47001 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49664 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49665 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49666 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49667 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49668 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49669 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49671 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49713 0.0.0.0:0 LISTENING
.. snip ..