Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attack 1: RID Cycling fails #22

Open
lacuta opened this issue Mar 31, 2023 · 0 comments
Open

Attack 1: RID Cycling fails #22

lacuta opened this issue Mar 31, 2023 · 0 comments

Comments

@lacuta
Copy link

lacuta commented Mar 31, 2023

udo ./icebreaker.py -l target.txt -c "net user /add User1 [email protected]"
[] Nmap running: 0.0 min
[
] Nmap running: 0.5 min
[] Nmap running: 1.0 min
[
] Nmap running: 1.5 min
[] Nmap running: 2.0 min
[
] Nmap running: 2.5 min
[*] Parsing hosts
[+] SMB open:

[] Attack 1: RID cycling in null SMB sessions into reverse bruteforce
[
] Checking for null SMB sessions
[*] Example command that will run: rpcclient -U "" 172.46.100.9 -N -c "lsaquery"
/home/menace/icebreaker/./icebreaker.py:339: RuntimeWarning: coroutine 'create_subprocess_shell' was never awaited
p = yield from asyncio.create_subprocess_shell(cmd, stdout=PIPE, stderr=PIPE)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Traceback (most recent call last):
File "/home/menace/icebreaker/./icebreaker.py", line 1603, in
main(report, args)
File "/home/menace/icebreaker/./icebreaker.py", line 1539, in main
prev_creds, prev_users, domains = smb_reverse_brute(loop, hosts, args, passwords, prev_creds, prev_users, DCs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/menace/icebreaker/./icebreaker.py", line 597, in smb_reverse_brute
rpc_output = async_get_outputs(loop, dom_cmds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/menace/icebreaker/./icebreaker.py", line 370, in async_get_outputs
output += loop.run_until_complete(asyncio.gather(*coros))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/menace/icebreaker/./icebreaker.py", line 339, in get_output
p = yield from asyncio.create_subprocess_shell(cmd, stdout=PIPE, stderr=PIPE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator

@lacuta lacuta changed the title Error cracking the AD password Attack 1: RID Cycling fails Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant