Hacking Articles Tips Tricks Videos Tutorials
470 subscribers
65.9K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Beethoven X Joins Balancer Labs’ Bug Bounty Program

In April 2021, Balancer Labs decided to go big in pursuit of uncovering vulnerabilities in their V2 Vault architecture with the launch of…Continue reading on Balancer Protocol »
Read more...
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Top 10 Online Scam Frauds In India

https://cdn-images-1.medium.com/max/795/1*uhJIfjpVS4yXqitEwb30YQ.jpeg
फ्रेंड्स अगर आप आर्टिकल को पूरा पढना चाहते हें तो निचे दिए लिंक को copy करें और अपने ब्राउज़र में पेस्ट करे ,या आप मेरी वेबसाइट पर सीधा…

Continue reading on Medium »
wmiexec-RegOut - Modify Version Of Impacket Wmiexec.Py, Get Output(Data,Response) From Registry, Don'T Need SMB Connection, Also Bypassing Antivirus-Software In Lateral Movement Like WMIHACKER

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, wechat: _xiangshan Overview In original wmiexec.py, it get response from smb connection (port 445,139). Unfortunately, some antivirus software 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, which I picked the vbs template from it. Attacker can use it to do lateral movement 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 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 Usage wmiexec-wip.py usage: With cleartext password Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Configuration Name: EnableAt Type: REG_DWORDValue: 1 With NTLM hashes python3 wmiexec-reg.py administrator:111qqq...@192.168.10.90 'whoami' 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' With NTLM hashes python3 wmipersist-wip.py administrator:111qqq...@192.168.10.20 'command' With output python3 wmipersist-wip.py -hashes e91d2eafde47de62c6c49a012b3a6af1:e91d2eafde47de62c6c49a012b3a6af1 administrator@192.168.10.90 'whoami' Under Huorong antivirus-software (Using WMIHACKER VBS template!!!) Cheatsheet Do not forget to clean up temp directory after run command with out put. Command: del /q /f /s C:\windows\temp\* Command include double quotes. Make double quotes inside single quotes wevtutil cl '"security"' Todo Optimize code (In bad code now.) Add more functions References https://github.com/SecureAuthCorp/impacket/blob/master/examples/wmiexec.py https://github.com/360-Linton-Lab/WMIHACKER https://github.com/FortyNorthSecurity/WMIOps https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/operating-system-classes Download wmiexec-RegOut
Read more...
Hacking Articles Tips Tricks Videos Tutorials
Photo
KitPloit - PenTest Tools!
wmiexec-RegOut - Modify Version Of Impacket Wmiexec.Py, Get Output(Data,Response) From Registry, Don'T Need SMB Connection, Also Bypassing Antivirus-Software In Lateral Movement Like WMIHACKER

http://2.bp.blogspot.com/-GL2EQ1Qe_3g/Yd0N7sgsdvI/AAAAAAAA8Bc/dXLQpCbOrqQLU_qqPvMPvLuyYsPXSRODgCK4BGAYYCw/w588-h640/wmiexec-RegOut_6-773981.png 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, wechat: _xiangshanOverviewIn original wmiexec.py, it get response from smb connection (port 445,139). Unfortunately, some antivirus software 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, which I picked the vbs template from it. Attacker can use it to do lateral movement 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 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! RequirementsGenerally, you just need to install official impacket.

* Portal 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
http://2.bp.blogspot.com/-Y_akxGXZ6vM/Yd0N5z1f9oI/AAAAAAAA8A0/Zjy-YaxeVDMl5JmvlWGssjkltFt2D2-ogCK4BGAYYCw/w640-h156/wmiexec-RegOut_1-767589.png With NTLM hashes python3 wmiexec-reg.py administrator:111qqq...@192.168.10.90 'whoami'http://4.bp.blogspot.com/-gtG5y0ed7c4/Yd0N6ajbTDI/AAAAAAAA8A8/Q7tQUNu1hAsM0Hg6r19hAtuhTb-wDyH9wCK4BGAYYCw/w640-h216/wmiexec-RegOut_2-768850.png * 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'http://4.bp.blogspot.com/-GhLISOio0DA/Yd0N6jv2KyI/AAAAAAAA8BE/qWVBetp9X2QRszDWhtlmYmnooLWUoslvACK4BGAYYCw/w640-h210/wmiexec-RegOut_3-770101.png With NTLM hashes python3 wmipersist-wip.py administrator:111qqq...@192.168.10.20 'command'http://3.bp.blogspot.com/-rib347oxFog/Yd0N6ySUiSI/AAAAAAAA8BM/4F9sWYu8h80x7Lfjle2Q6BcvijcDxVOdgCK4BGAYYCw/w640-h144/wmiexec-RegOut_4-771415.png With output python3 wmipersist-wip.py -hashes e91d2eafde47de62c6c49a012b3a6af1:e91d2eafde47de62c6c49a012b3a6af1 administrator@192.168.10.90 'whoami'http://4.bp.blogspot.com/-4208dmA_5SU/Yd0N7ZljyOI/AAAAAAAA8BU/k7c95nLcG5cz8EkUVT9AHIrUt[...]
Hacking Articles Tips Tricks Videos Tutorials
KitPloit - PenTest Tools! wmiexec-RegOut - Modify Version Of Impacket Wmiexec.Py, Get Output(Data,Response) From Registry, Don'T Need SMB Connection, Also Bypassing Antivirus-Software In Lateral Movement Like WMIHACKER http://2.bp.blogspot.com/-GL2EQ1Qe_…
Dark Reading: Attacks/Breaches
Big Pharma Finds Patch Management a Bitter Pill

One-quarter of pharmaceutical manufacturers received a failing grade on patch management, which is a vital step in heading off ransomware attacks.
Dark Reading: Attacks/Breaches
Simplifying Zero Trust Security in Healthcare Organizations

Healthcare organizations are increasingly looking at zero trust to help deter ransomware attacks, safeguard PHI, and prevent downtime.
Dark Reading: Attacks/Breaches
Microsoft: Multifactor Adoption Remains Low

New data shows a slow roll to strong authentication for most enterprise Windows systems.
wmiexec-RegOut - Modify Version Of Impacket Wmiexec.Py, Get Output(Data,Response) From Registry, Don'T Need SMB Connection, Also Bypassing Antivirus-Software In Lateral Movement Like WMIHACKER
http://www.kitploit.com/2022/02/wmiexec-regout-modify-version-of.html

___________________________
@hacking_Attack
@Hacking_Video
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