Giter Club home page Giter Club logo

go-mimikatz's Introduction

go-mimikatz

A Go wrapper around a pre-compiled version of the Mimikatz executable for the purpose of anti-virus evasion.

Requirements:

MemoryModule => https://github.com/fancycode/MemoryModule

This application utilizes encryption to encrypt the main mimikatz binary.

Build Process:

The build process is pretty much completely automated in the Makefile. If you want to know more about how the build, take a look at the Makefile for more details.

Otherwise, to build an encrypted executable, just run make and you should see an mk.exe file appear.

go-mimikatz's People

Contributors

vyrus001 avatar wheelerlaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

go-mimikatz's Issues

Error linking to MemoryModule

Log:

Makefile:18: warning: overriding recipe for target 'MemoryModule'
Makefile:16: warning: ignoring old recipe for target 'MemoryModule'
[ "`ls -A MemoryModule`" ] || git submodule update --init
Submodule 'MemoryModule' (https://github.com/fancycode/MemoryModule) registered for path 'MemoryModule'
Cloning into 'MemoryModule'...
remote: Counting objects: 710, done.
remote: Total 710 (delta 0), reused 0 (delta 0), pack-reused 710
Receiving objects: 100% (710/710), 235.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (390/390), done.
Checking connectivity... done.
Submodule path 'MemoryModule': checked out '55577d939c45431d37204fb711ce0b5cad1071d5'
cmake -HMemoryModule -BMemoryModule/build
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compile for x86_64 platform
-- Compile without UNICODE support
-- Compile without TESTSUITE support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wlaw/go-mimikatz/MemoryModule/build
cmake --build MemoryModule/build --target MemoryModule
make[1]: Entering directory '/home/wlaw/go-mimikatz/MemoryModule/build'
make[2]: Entering directory '/home/wlaw/go-mimikatz/MemoryModule/build'
make[3]: Entering directory '/home/wlaw/go-mimikatz/MemoryModule/build'
make[4]: Entering directory '/home/wlaw/go-mimikatz/MemoryModule/build'
Scanning dependencies of target MemoryModule
make[4]: Leaving directory '/home/wlaw/go-mimikatz/MemoryModule/build'
make[4]: Entering directory '/home/wlaw/go-mimikatz/MemoryModule/build'
[ 50%] Building C object CMakeFiles/MemoryModule.dir/MemoryModule.c.o
[100%] Linking C static library MemoryModule.a
make[4]: Leaving directory '/home/wlaw/go-mimikatz/MemoryModule/build'
[100%] Built target MemoryModule
make[3]: Leaving directory '/home/wlaw/go-mimikatz/MemoryModule/build'
make[2]: Leaving directory '/home/wlaw/go-mimikatz/MemoryModule/build'
make[1]: Leaving directory '/home/wlaw/go-mimikatz/MemoryModule/build'
CC=i686-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows GOARCH=386 go build mimikatz.go
# command-line-arguments
/tmp/go-build860687315/command-line-arguments/_obj/_cgo_main.o:_cgo_main.c:(.data+0x0): undefined reference to `MemoryDefaultLoadLibrary'
/tmp/go-build860687315/command-line-arguments/_obj/_cgo_main.o:_cgo_main.c:(.data+0x4): undefined reference to `MemoryDefaultGetProcAddress'
/tmp/go-build860687315/command-line-arguments/_obj/_cgo_main.o:_cgo_main.c:(.data+0x8): undefined reference to `MemoryDefaultFreeLibrary'
/tmp/go-build860687315/command-line-arguments/_obj/_cgo_main.o:_cgo_main.c:(.data+0xc): undefined reference to `MemoryDefaultFree'
/tmp/go-build860687315/command-line-arguments/_obj/_cgo_main.o:_cgo_main.c:(.data+0x10): undefined reference to `MemoryDefaultAlloc'
/tmp/go-build860687315/command-line-arguments/_obj/mimikatz.cgo2.o: In function `cgo_76ba4d9fdcf8_Cfunc_MemoryCallEntryPoint':
/tmp/go-build/command-line-arguments/_obj/cgo-gcc-prolog:40: undefined reference to `MemoryCallEntryPoint'
/tmp/go-build860687315/command-line-arguments/_obj/mimikatz.cgo2.o: In function `cgo_76ba4d9fdcf8_Cfunc_MemoryLoadLibraryEx':
/tmp/go-build/command-line-arguments/_obj/cgo-gcc-prolog:76: undefined reference to `MemoryLoadLibraryEx'
/tmp/go-build860687315/command-line-arguments/_obj/mimikatz.cgo2.o: In function `cgo_76ba4d9fdcf8_Cfunc_MemoryFreeLibrary':
/tmp/go-build/command-line-arguments/_obj/cgo-gcc-prolog:54: undefined reference to `MemoryFreeLibrary'
collect2: error: ld returned 1 exit status
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2

pr?

any chance of getting a pr? (nice work!)

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.