Modify version of impacket wmiexec.py,wmipersist.py. Got output(data,response) from registry, don't need SMB connection, but I'm in the bad code :(
Specially Thanks to: @rootclay (https://github.com/rootclay), wechat: _xiangshan Overview In original wmiexec.py, it get response from smb connection (port 445,139). Unfortunately, some antivirus software (https://www.kitploit.com/search/label/Antivirus%20Software) are monitoring these ports as high risk.
In this case, I drop smb connection function and use others method to execute command. wmiexec-reg-sch-UnderNT6-wip.py: Executed command by using win32-scheduledjob class. According to xiangshan, win32-scheduledjob class only works under windows NT6 (windows-server 2003).
BTW, win32_scheduledjob has been disabled by default after windows NT6. Here is the way how to enable it. Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Configuration Name: EnableAt Type: REG_DWORD Value: 1 wmipersist-wip.py (Highly recommend, !!!only works on impacket v0.9.24!!!): A Python version of WMIHACKER (https://github.com/rootclay/WMIHACKER), which I picked the vbs template from it. Attacker can use it to do lateral movement (https://www.kitploit.com/search/label/Lateral%20Movement) safety under antivirus-software running. wmiexec-regOut.py: Just a simple Win32_Process.create method example . How it works? wmiexec-wip.py workflow: Step 1: WMIC authenticated remotly Step 2: Use win32process class and call create method to execute command. Then, write down the result into C:\windows\temp directory (https://www.kitploit.com/search/label/Directory) named [uuid].txt Step 3: Encode the file content to base64 strings (need to wait a few seconds) Step 4: Add the converted base64 string into registry, and key name call [uuid] Step 5: Get the base64 strings remotly and decode it locally. wmipersist-wip.py workflow: Step 1: Add custom vbs script into ActiveScriptEventConsumer class. Step 2: Creating an Event Filter. Step 3: Trigger FilterToConsumerBinding class to PWNED! Requirements Generally, you just need to install official impacket. Portal (https://github.com/SecureAuthCorp/impacket) Usage wmiexec-wip.py usage: With cleartext password Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Configuration
Name: EnableAt
Type: REG_DWORD
Value: 1
___________________________
@hacking_Attack
@Hacking_Video
Specially Thanks to: @rootclay (https://github.com/rootclay), wechat: _xiangshan Overview In original wmiexec.py, it get response from smb connection (port 445,139). Unfortunately, some antivirus software (https://www.kitploit.com/search/label/Antivirus%20Software) are monitoring these ports as high risk.
In this case, I drop smb connection function and use others method to execute command. wmiexec-reg-sch-UnderNT6-wip.py: Executed command by using win32-scheduledjob class. According to xiangshan, win32-scheduledjob class only works under windows NT6 (windows-server 2003).
BTW, win32_scheduledjob has been disabled by default after windows NT6. Here is the way how to enable it. Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Configuration Name: EnableAt Type: REG_DWORD Value: 1 wmipersist-wip.py (Highly recommend, !!!only works on impacket v0.9.24!!!): A Python version of WMIHACKER (https://github.com/rootclay/WMIHACKER), which I picked the vbs template from it. Attacker can use it to do lateral movement (https://www.kitploit.com/search/label/Lateral%20Movement) safety under antivirus-software running. wmiexec-regOut.py: Just a simple Win32_Process.create method example . How it works? wmiexec-wip.py workflow: Step 1: WMIC authenticated remotly Step 2: Use win32process class and call create method to execute command. Then, write down the result into C:\windows\temp directory (https://www.kitploit.com/search/label/Directory) named [uuid].txt Step 3: Encode the file content to base64 strings (need to wait a few seconds) Step 4: Add the converted base64 string into registry, and key name call [uuid] Step 5: Get the base64 strings remotly and decode it locally. wmipersist-wip.py workflow: Step 1: Add custom vbs script into ActiveScriptEventConsumer class. Step 2: Creating an Event Filter. Step 3: Trigger FilterToConsumerBinding class to PWNED! Requirements Generally, you just need to install official impacket. Portal (https://github.com/SecureAuthCorp/impacket) Usage wmiexec-wip.py usage: With cleartext password Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Configuration
Name: EnableAt
Type: REG_DWORD
Value: 1
___________________________
@hacking_Attack
@Hacking_Video
GitHub
rootclay - Overview
A man who wants to be a ... rootclay has 47 repositories available. Follow their code on GitHub.
With NTLM hashes python3 wmiexec-reg.py administrator:111qqq...@192.168.10.90 'whoami'
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
wmipersist-wip.py usage (Default is no output): With cleartext password (without output) python3 wmiexec-reg.py -hashes e91d2eafde47de62c6c49a012b3a6af1:e91d2eafde47de62c6c49a012b3a6af1 administrator@192.168.10.90 'whoami'
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
With NTLM hashes python3 wmipersist-wip.py administrator:111qqq...@192.168.10.20 'command'
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
With output python3 wmipersist-wip.py -hashes e91d2eafde47de62c6c49a012b3a6af1:e91d2eafde47de62c6c49a012b3a6af1 administrator@192.168.10.90 'whoami'
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
Under Huorong antivirus-software (Using WMIHACKER (https://www.kitploit.com/search/label/WMIHACKER) VBS template!!!)
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
KitPloit - PenTest & Hacking Tools
Leading source of security tools, hacking tools, cybersecurity and network security. Learn about new tools and updates in one place.
Cheatsheet Do not forget to clean up temp directory after run command with out put.
Command: del /q /f /s C:\windows\temp\*
___________________________
@hacking_Attack
@Hacking_Video
Command: del /q /f /s C:\windows\temp\*
___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
Brute force with only password field! \determined-newbie
I am trying to write a python script that takes password entries from a file, paste it on the password field, run it and go on to the next one if its wrong (usual brute force sitch). My problem being all the prebuilt scripts ask for username input which I cannot use here and also how I cant give the tool an url to work with as its a proper one protected with a session ID, using the url elsewhere will just redirect to the homepage. I'M CLUELESS. SEND HELP.
submitted by /u/Puddin2yerHarley
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
Brute force with only password field! \determined-newbie
I am trying to write a python script that takes password entries from a file, paste it on the password field, run it and go on to the next one if its wrong (usual brute force sitch). My problem being all the prebuilt scripts ask for username input which I cannot use here and also how I cant give the tool an url to work with as its a proper one protected with a session ID, using the url elsewhere will just redirect to the homepage. I'M CLUELESS. SEND HELP.
submitted by /u/Puddin2yerHarley
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
Brute force with only password field! \determined-newbie
I am trying to write a python script that takes password entries from a file, paste it on the password field, run it and go on to the next one if...
hacking: security in practice
Use remote VM on local network?
So basically I am trying to pentest a server using a windows 10 laptop in which i cannot install kali, but i do have ssh access to a remote kali which has all the pentesting tools. The goal is to use hydra to crack a ssh server using the remote kali, can I somehow forward stuff on the kali to my windows 10 laptop, so I am using a cloud kali to attack my internal network?
Context: my network, my server, laptop has no virtualization.
submitted by /u/bootsareme
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
Use remote VM on local network?
So basically I am trying to pentest a server using a windows 10 laptop in which i cannot install kali, but i do have ssh access to a remote kali which has all the pentesting tools. The goal is to use hydra to crack a ssh server using the remote kali, can I somehow forward stuff on the kali to my windows 10 laptop, so I am using a cloud kali to attack my internal network?
Context: my network, my server, laptop has no virtualization.
submitted by /u/bootsareme
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
Use remote VM on local network?
So basically I am trying to pentest a server using a windows 10 laptop in which i cannot install kali, but i do have ssh access to a remote kali...
hacking: security in practice
Hashcat Combination Attack - Separator Unmatched
I'm trying to crack a AES-256 hash with acombination attack of two dictionarylists in hashcat. I put the following things in the command line:
... hashcat.exe -a 1 -m 23003 [directorypath]\hash.txt [directorypath]\list1.txt [directorypath]\list2.txt
It returns "Hasfile on line 1 [$zip2$*0*3*0*1 ... $/zip2$] : separator unmatched"
Why do I get this error message?
NOTE: I am not familiar with programming and programming terminology at all. It already took me a whole while to get to this point.
submitted by /u/Ancestral_Recall
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
Hashcat Combination Attack - Separator Unmatched
I'm trying to crack a AES-256 hash with acombination attack of two dictionarylists in hashcat. I put the following things in the command line:
... hashcat.exe -a 1 -m 23003 [directorypath]\hash.txt [directorypath]\list1.txt [directorypath]\list2.txt
It returns "Hasfile on line 1 [$zip2$*0*3*0*1 ... $/zip2$] : separator unmatched"
Why do I get this error message?
NOTE: I am not familiar with programming and programming terminology at all. It already took me a whole while to get to this point.
submitted by /u/Ancestral_Recall
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
Hashcat Combination Attack - Separator Unmatched
I'm trying to crack a AES-256 hash with acombination attack of two dictionarylists in hashcat. I put the following things in the command...
hacking: security in practice
How to learn hacking into my old accounts?
When I don’t remember the email or password. And i don’t have the number associated with those accounts anymore.
Youtube mainly
submitted by /u/alexzyczia
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
How to learn hacking into my old accounts?
When I don’t remember the email or password. And i don’t have the number associated with those accounts anymore.
Youtube mainly
submitted by /u/alexzyczia
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
How to learn hacking into my old accounts?
When I don’t remember the email or password. And i don’t have the number associated with those accounts anymore. Youtube mainly
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
The Great Instagram Runaround
https://cdn-images-1.medium.com/max/2600/1*lljBOZwEXmN2Z3Cqwu6GfQ.jpeg
Your IG account got hacked? Good luck with that, bucko!
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
The Great Instagram Runaround
https://cdn-images-1.medium.com/max/2600/1*lljBOZwEXmN2Z3Cqwu6GfQ.jpeg
Your IG account got hacked? Good luck with that, bucko!
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
The Great Instagram Runaround
Your IG account got hacked? Good luck with that, bucko!