GithubHelp home page GithubHelp logo

acagasbi's Introduction

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Version 2, December 2004

Copyright (C) 2004 Sam Hocevar [email protected]

Everyone is permitted to copy and distribute verbatim or modified

copies of this license document, and changing it is allowed as long

as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.

AcaGasbi

                                      +            o                           
           +              o       x                                      .     
      x             .                                   x    o    +            
   _____      o           ________       +      ___.   .__                     
  /  _  \   ____ _____   /  _____/_____    _____\_ |__ |__|           x        
 /  /_\  \_/ ___\\__  \ /   \  ___\__  \  /  ___/| __ \|  |                    
/    |    \  \___ / __ \\    \_\  \/ __ \_\___ \ | \_\ \  |     +      o       
\____|__  /\___  >____  /\______  (____  /____  >|___  /__|         .          
        \/     \/     \/        \/     \/     \/     \/                        
Autonomous      CA       Generator  And  Signatory of Binary       x              
                      o                                               o        
      .                                    +           o                       
           +            x           o                                          
_ __ ___ ____ _ _ ____________________________ ______ __ _ ____ _____ _

AcaGasbi has no relation with Gatsby ;-). My joke is zero... next time, i will generate a random name !

AcaGasbi auto-generate a CA installed in LocaleMachine\Root, auto-generate a Signing certificate installed in LocalMachine\Root, auto-compile a C# base service, auto-sign this binary, auto-install it as a service and auto-run it. Enjoy \o/.

PoC PoC PoC

Beware, it's a PoC, working PoC, but still a PoC.

Why not using makecert.exe ?

Firstly, have you ever seen a normal enduser workstation including Windows SDK ?

Secondly, i could have included the binary like invoke-mimikatz, but it would have involved an explosion in the size of the script.

Finaly, makecert is deprecated ;-)

https://blogs.technet.microsoft.com/askds/2012/08/14/rsa-key-blocking-is-here/

No makecert, just Posh (looks like a publicity slogan or a punchline ^_^)

You dumb, use certreq.exe !

Well... I wanted a 100% Posh 2.0 tool

Powershell 2.0 ?

By default, if you wanna have compatility you'll have to use v2.0, as it's the case for PowerShell Empire.

Functions

As always, my code can be used as a lib, to do atomic (specific) stuff.

To do

To do:

  • In GetCertInformations, handle the case when a Subject fo not begin with CN= ($aAttributes = $aCerts[$iMagic].Subject.split("=");)
  • Clean the code, add try{}catch{}
  • Modify the code to be usable as a lib
  • Leet way: do all the compilion and signature stuff in memory, without touching the disk

Last word ?

         ///\\\  ( Have Fun )
        / ^  ^ \ /
      __\  __  /__
     / _ `----' _ \
     \__\   _   |__\
      (..) _| _ (..)
       |____(___|     Mynameisv_ 2016
_ __ _ (____)____) _ _________________________________ _'

acagasbi's People

Contributors

mynameisv avatar

Watchers

 avatar

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.