Closed Ourithi closed 1 year ago
crackmapexec --verbose smb 10.129.244.119 -u 'htb-student' -p 'HTB_@cademy_stdnt!' --pass-pol
DEBUG:root:Passed args: {'aesKey': None, 'amsi_bypass': None, 'clear_obfscripts': False, 'codec': 'utf-8', 'computers': None, 'connectback_host': None, 'content': False, 'continue_on_success': False, 'cred_id': [], 'darrell': False, 'depth': None, 'disks': False, 'domain': None, 'enabled': False, 'exclude_dirs': '', 'exec_method': None, 'execute': None, 'export': None, 'fail_limit': None, 'force_ps32': False, 'gen_relay_list': None, 'get_file': None, 'gfail_limit': None, 'groups': None, 'hash': [], 'jitter': None, 'kdcHost': None, 'kerberos': False, 'laps': None, 'list_modules': False, 'local_auth': False, 'local_groups': None, 'loggedon_users': False, 'loggedon_users_filter': None, 'lsa': False, 'module': None, 'module_options': [], 'no_bruteforce': False, 'no_output': False, 'ntds': None, 'obfs': False, 'only_files': False, 'pass_pol': True, 'password': ['HTB_@cademy_stdnt!'], 'pattern': None, 'port': 445, 'protocol': 'smb', 'ps_execute': None, 'put_file': None, 'regex': None, 'rid_brute': None, 'sam': False, 'server': 'https', 'server_host': '0.0.0.0', 'server_port': None, 'sessions': False, 'share': 'C$', 'shares': False, 'show_module_options': False, 'smb_server_port': 445, 'smb_timeout': 2, 'spider': None, 'spider_folder': '.', 'target': ['10.129.244.119'], 'threads': 100, 'timeout': None, 'ufail_limit': None, 'use_kcache': False, 'username': ['htb-student'], 'userntds': None, 'users': None, 'verbose': True, 'wmi': None, 'wmi_namespace': 'root\\cimv2'} DEBUG Passed args: {'aesKey': None, 'amsi_bypass': None, 'clear_obfscripts': False, 'codec': 'utf-8', 'computers': None, 'connectback_host': None, 'content': False, 'continue_on_success': False, 'cred_id': [], 'darrell': False, 'depth': None, 'disks': False, 'domain': None, 'enabled': False, 'exclude_dirs': '', 'exec_method': None, 'execute': None, 'export': None, 'fail_limit': None, 'force_ps32': False, 'gen_relay_list': None, 'get_file': None, 'gfail_limit': None, 'groups': None, 'hash': [], 'jitter': None, 'kdcHost': None, 'kerberos': False, 'laps': None, 'list_modules': False, 'local_auth': False, 'local_groups': None, 'loggedon_users': False, 'loggedon_users_filter': None, 'lsa': False, 'module': None, 'module_options': [], 'no_bruteforce': False, 'no_output': False, 'ntds': None, 'obfs': False, 'only_files': False, 'pass_pol': True, 'password': ['HTB_@cademy_stdnt!'], 'pattern': None, 'port': 445, 'protocol': 'smb', 'ps_execute': None, 'put_file': None, 'regex': None, 'rid_brute': None, 'sam': False, 'server': 'https', 'server_host': '0.0.0.0', 'server_port': None, 'sessions': False, 'share': 'C$', 'shares': False, 'show_module_options': False, 'smb_server_port': 445, 'smb_timeout': 2, 'spider': None, 'spider_folder': '.', 'target': ['10.129.244.119'], 'threads': 100, 'timeout': None, 'ufail_limit': None, 'use_kcache': False, 'username': ['htb-student'], 'userntds': None, 'users': None, 'verbose': True, 'wmi': None, 'wmi_namespace': 'root\\cimv2'} DEBUG:asyncio:Using selector: EpollSelector DEBUG Using selector: EpollSelector DEBUG:root:Running DEBUG Running DEBUG:root:Started thread poller DEBUG Started thread poller DEBUG:root:Stopped thread poller DEBUG Stopped thread poller
5.4.0
kali 2022.4
After running the command, crackmapexec just terminates without producing any output or error
Verify that you can ping 10.129.244.119 and port 445 is open :)
Steps to reproduce
Command string used
crackmapexec --verbose smb 10.129.244.119 -u 'htb-student' -p 'HTB_@cademy_stdnt!' --pass-pol
CME verbose output (using the --verbose flag)
DEBUG:root:Passed args: {'aesKey': None, 'amsi_bypass': None, 'clear_obfscripts': False, 'codec': 'utf-8', 'computers': None, 'connectback_host': None, 'content': False, 'continue_on_success': False, 'cred_id': [], 'darrell': False, 'depth': None, 'disks': False, 'domain': None, 'enabled': False, 'exclude_dirs': '', 'exec_method': None, 'execute': None, 'export': None, 'fail_limit': None, 'force_ps32': False, 'gen_relay_list': None, 'get_file': None, 'gfail_limit': None, 'groups': None, 'hash': [], 'jitter': None, 'kdcHost': None, 'kerberos': False, 'laps': None, 'list_modules': False, 'local_auth': False, 'local_groups': None, 'loggedon_users': False, 'loggedon_users_filter': None, 'lsa': False, 'module': None, 'module_options': [], 'no_bruteforce': False, 'no_output': False, 'ntds': None, 'obfs': False, 'only_files': False, 'pass_pol': True, 'password': ['HTB_@cademy_stdnt!'], 'pattern': None, 'port': 445, 'protocol': 'smb', 'ps_execute': None, 'put_file': None, 'regex': None, 'rid_brute': None, 'sam': False, 'server': 'https', 'server_host': '0.0.0.0', 'server_port': None, 'sessions': False, 'share': 'C$', 'shares': False, 'show_module_options': False, 'smb_server_port': 445, 'smb_timeout': 2, 'spider': None, 'spider_folder': '.', 'target': ['10.129.244.119'], 'threads': 100, 'timeout': None, 'ufail_limit': None, 'use_kcache': False, 'username': ['htb-student'], 'userntds': None, 'users': None, 'verbose': True, 'wmi': None, 'wmi_namespace': 'root\\cimv2'} DEBUG Passed args: {'aesKey': None, 'amsi_bypass': None, 'clear_obfscripts': False, 'codec': 'utf-8', 'computers': None, 'connectback_host': None, 'content': False, 'continue_on_success': False, 'cred_id': [], 'darrell': False, 'depth': None, 'disks': False, 'domain': None, 'enabled': False, 'exclude_dirs': '', 'exec_method': None, 'execute': None, 'export': None, 'fail_limit': None, 'force_ps32': False, 'gen_relay_list': None, 'get_file': None, 'gfail_limit': None, 'groups': None, 'hash': [], 'jitter': None, 'kdcHost': None, 'kerberos': False, 'laps': None, 'list_modules': False, 'local_auth': False, 'local_groups': None, 'loggedon_users': False, 'loggedon_users_filter': None, 'lsa': False, 'module': None, 'module_options': [], 'no_bruteforce': False, 'no_output': False, 'ntds': None, 'obfs': False, 'only_files': False, 'pass_pol': True, 'password': ['HTB_@cademy_stdnt!'], 'pattern': None, 'port': 445, 'protocol': 'smb', 'ps_execute': None, 'put_file': None, 'regex': None, 'rid_brute': None, 'sam': False, 'server': 'https', 'server_host': '0.0.0.0', 'server_port': None, 'sessions': False, 'share': 'C$', 'shares': False, 'show_module_options': False, 'smb_server_port': 445, 'smb_timeout': 2, 'spider': None, 'spider_folder': '.', 'target': ['10.129.244.119'], 'threads': 100, 'timeout': None, 'ufail_limit': None, 'use_kcache': False, 'username': ['htb-student'], 'userntds': None, 'users': None, 'verbose': True, 'wmi': None, 'wmi_namespace': 'root\\cimv2'} DEBUG:asyncio:Using selector: EpollSelector DEBUG Using selector: EpollSelector DEBUG:root:Running DEBUG Running DEBUG:root:Started thread poller DEBUG Started thread poller DEBUG:root:Stopped thread poller DEBUG Stopped thread poller
CME Version (cme --version)
5.4.0
OS
kali 2022.4
Target OS
Detailed issue explanation
After running the command, crackmapexec just terminates without producing any output or error