Closed TheDauntless closed 6 years ago
I think I'm seeing a similar issue. DeathStar and Empire from git from today (12/10/2017).
$ ./DeathStar.py
[*] Powering up the Death Star
[*] Created Death Star listener => {'success': 'listener DeathStar successfully started'}
[*] Polling for agents
[+] New Agent => Name: PN68UFTH IP: x.x.x.x HostName: xxx UserName: DOMAIN\bob HighIntegrity: 0
[*] Agent: PN68UFTH => Starting recon
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "./DeathStar.py", line 59, in __run
self.__run_backup()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "./DeathStar.py", line 585, in pwn_the_shit_out_of_everything
recon(agent_name)
File "./DeathStar.py", line 507, in recon
domain_sid = get_domain_sid(agent_name)
File "./DeathStar.py", line 213, in get_domain_sid
results = execute_module_with_results('powershell/management/get_domain_sid', agent_name)
File "./DeathStar.py", line 180, in execute_module_with_results
if result['taskID'] == r['taskID']:
KeyError: 'taskID'
seeing the same thing.....
launcher works flawlessly is this due to any security setting already on the windows 10 or otherwise?
] Agent: 29A46PMW => Starting recon Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner self.run() File "./DeathStar.py", line 59, in run self.run_backup() File "/usr/lib/python3.4/threading.py", line 868, in run self._target(self._args, **self._kwargs) File "./DeathStar.py", line 585, in pwn_the_shit_out_of_everything recon(agent_name) File "./DeathStar.py", line 507, in recon domain_sid = get_domain_sid(agent_name) File "./DeathStar.py", line 213, in get_domain_sid results = execute_module_with_results('powershell/management/get_domain_sid', agent_name) File "./DeathStar.py", line 180, in execute_module_with_results if result['taskID'] == r['taskID']: KeyError: 'taskID'
Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner self.run()
The two issues above are different from mine, and have already been addressed here: https://github.com/byt3bl33d3r/DeathStar/issues/29
Duplicate of #29
Version: Latest + Fix for TLS + Fix for "KeyID" bug
We acquired an agent on a system, but the script crashed:
I modified the lines 430 and 431 to account for 6 elements (instead of 5) and the script now appears to be running ok. I assume that's not a valid solution, but I don't immediately know why there are extra elements.