Git Product home page Git Product logo

Comments (8)

ly4k avatar ly4k commented on July 24, 2024

Yes, you can remove the CA officer afterwards with -remove-officer. The request fails because you're trying to connect to the DC. You should connect to the CA

from certipy.

jsdhasfedssad avatar jsdhasfedssad commented on July 24, 2024

I actually tried connecting to the ADCS server when I tested this but that failed as well :)
esc7_server2

from certipy.

ly4k avatar ly4k commented on July 24, 2024

The second image makes more sense to me. It's a mistake in my implementation. I accidentally assumed the CA and the DC was on the same server, which results in Certipy trying to connect to LDAP on the CA, or connecting to the CA DCOM on the DC. Thanks for reporting this. I'll look into a fix soon

from certipy.

ly4k avatar ly4k commented on July 24, 2024

Should be fixed in 2.0.8. Can you please verify?

from certipy.

jsdhasfedssad avatar jsdhasfedssad commented on July 24, 2024

Using 2.0.8 I can now add the officer. Good!
esc7_3

The next step in my case is to enable the certificate template SubCA but that fails for me.
esc7_2

from certipy.

ly4k avatar ly4k commented on July 24, 2024

Should be fixed in 2.0.9. The new LDAP DNS resolution was not applied for the -enable-template. Can you verify that it is working now? I really appreciate that you report these issues. Thanks!

from certipy.

jsdhasfedssad avatar jsdhasfedssad commented on July 24, 2024

Great! This works now. I actually managed to execute the complete ESC7 attack this time. Don't worry about asking me to verify fixes, I will have so much fun owning my client's infrastructure using your tool :D No more hassle having to own a domain-joined machine, bypass AV, AMSI, Applocker, execution policies, language constrained mode and what not then having to upload and import powershell scripts! All I need now is essentially Responder, Hashcat, Bloodhound, BloodyAD, Impacket and Certipy :D

from certipy.

ly4k avatar ly4k commented on July 24, 2024

Great. Haha yes, Active Directory itself is full of attack vectors

from certipy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.