"Starting Point" Tutorial Issue

Hi Guys, following the exact steps in the starting point tutorial and running into an issue running the mssqlclient.py script. When I try the command "./mssqlclient.py ARCHETYPE/[email protected] -windows-auth" it prompts for the password, in which I enter the previous steps discovered credentials. I get the below output. Any idea where the error lies?

Password:
[*] Encryption required, switching to TLS
[-] [('SSL routines', 'SSL_CTX_set_cipher_list', 'no cipher match')]

Comments

  • Depending on the version of Impacket you have, you may need to edit tds.py to make the changes shown here: https://github.com/SecureAuthCorp/impacket/commit/754ee112e525ec1842115b9001fa5535e31e403d

  • Though i have the same version of impacket's shown in the tutorial and still i am having an issue. it is as bellow. Any idea with the issue??

    [email protected]:~/impacket/examples# python mssqlclient.py ARCHETYPE\[email protected] -windows-auth
    Impacket v0.9.19 - Copyright 2019 SecureAuth Corporation

    Password:
    [*] Encryption required, switching to TLS
    [-] ERROR(ARCHETYPE): Line 1: Login failed for user 'ARCHETYPE\Guest'.

  • You should use a forward slash /, not a backslash \ to separate domain and user name ;)
    ... ARCHETYPE/sql_svc ...


    Hack The Box
    GREM | OSCE | GASF | eJPT

  • Thank you. But it worked after updating python3

  • Hello world

    I'm blocked on the last action, the upload does'nt work probelly :(

    How can i solve this ?

    ====================================================

    [email protected]:~/impacket/examples$ ./psexec.py [email protected]
    Impacket v0.9.22.dev1+20200513.101403.9a4b3f52 - Copyright 2020 SecureAuth Corporation

    Password:
    [] Requesting shares on 10.10.10.27.....
    [] Found writable share ADMIN$
    [*] Uploading file UgmBhFGY.exe
    [-] Error uploading file UgmBhFGY.exe, aborting.....
    [-] Error performing the installation, cleaning up: [Errno 32] Broken pipe

    =======================================================

    Best regards

  • Type your comment> @HomeSen said:

    You should use a forward slash /, not a backslash \ to separate domain and user name ;)
    ... ARCHETYPE/sql_svc ...

    this did not work

  • I get the following error

    Password:
    [*] Encryption required, switching to TLS
    [-] ERROR(ARCHETYPE): Line 1: Login failed for user 'ARCHETYPE\Guest'

  • @parry9 said:
    Depending on the version of Impacket you have, you may need to edit tds.py to make the changes shown here: https://github.com/SecureAuthCorp/impacket/commit/754ee112e525ec1842115b9001fa5535e31e403d

    Checked my tds.py and it looks correct.

  • I got it to work by adding -p 1433 parameter in mssqlclient.py, so it goes like this:
    "python3 mssqlclient.py -p 1433 ARCHETYPE/[email protected] -windows-auth"

  • Had this identical issue using the pwk version of kali - none of the above suggestions appeared to work so grabbed the latest Impacket v0.9.22.dev

    git clone https://github.com/SecureAuthCorp/impacket.git

    cd impacket

    pip install .

  • Type your comment> @protopet said:

    I got it to work by adding -p 1433 parameter in mssqlclient.py, so it goes like this:
    "python3 mssqlclient.py -p 1433 ARCHETYPE/[email protected] -windows-auth"

    it worked !

  • ./mssqlclient.py ARCHETYPE\[email protected] -windows-auth
    Impacket v0.9.15 - Copyright 2002-2016 Core Security Technologies

    Password:
    [*] Encryption required, switching to TLS
    [-] [('SSL routines', 'SSL_CTX_set_cipher_list', 'no cipher match')]

    error please hlep slove this

  • HOW CAN START?

Sign In to comment.