This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
Converts nxc file share spider_plus json output to csv, for better grepping. | |
''' | |
import json | |
import csv | |
import os | |
import argparse | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Original: https://snovvcrash.rocks/2021/05/21/calculating-kerberos-keys.html | |
Kerberos Key Calculator - Generates Kerberos encryption keys for machine and user accounts. | |
Uses multiple encryption types including RC4-HMAC-NT, AES128-HMAC, and AES256-HMAC. | |
""" | |
import argparse | |
from binascii import unhexlify, hexlify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[ | |
PoC for hooking advapi32!LogonUserW to log credentials | |
Patch and restore the function when called, original credit for 99% of the code is here: https://github.com/byt3bl33d3r/OffensiveNim/blob/master/src/Hook.nim | |
Log to a named pipe server (must be started/managed by separate listener), and/or log to a file | |
by default, just logs to C:\users\public\log.txt | |
Compile: | |
nim c -d=mingw --app=lib -d:release --nomain LogonUserSpy.nim |