Giter VIP home page Giter VIP logo

whataboutsam's Introduction

CICD AssemblyScript C C++ Visual Studio Windows

"Buy Me A Coffee"

WhatAboutSAM

WhatAboutSAM is my custom Windows SAM dumper, reading it from the registry. So, SYSTEM privileges are needed. I wanted to study at a low level how Windows stores local user credentials in the Security Account Manager (SAM). As a Cybersecurity Engineer with a mostly offensive mindset, I have used many times the tools we all know: mimikatz, secretsdump (impacket), pwdump, hashdump (metasploit), crackmapexec (--sam parameter), LaZAgne...

Also, I wanted to practice some malware development techniques (enumerated below) and I needed an excuse for it. That is why I decided to implement my custom SAM Dumper.

It is currently in development.

Please, take a look at the credits because without these projects this would not have been possible.

Sample execution

TODO List

  • PEB Walking (avoid GetModuleHandle + GetProcAddress)
  • Call Stack Spoofing with Custom Callbacks (Thread Pools)
  • Native Functions
  • API Hashing
  • Travis CI (Finally done with Github Actions)
  • Debug Branch vs Release Branch
  • Shadow Snapshot Method
  • Test Old Algorithm. What a bummer. Microsoft Changed storage in SAM in Windows 10 1909
  • Command Line Parameters
  • Add more comments :)
  • Debug prints
  • Elevate to SYSTEM

Credits

Please, take a look to this project, without them I could not have developed WhatAboutSAM.

whataboutsam's People

Contributors

petergabaldon avatar

Stargazers

 avatar

Watchers

 avatar

whataboutsam's Issues

Todo

  • Enhance data handling of registry. Better dynamic memory. Strings are not null terminated. Check all NtQueryKey and so on

TODO

Remember :)

API Hashing
Travis CI
Debug branch vs Release Branch
Shadow Snapshot Method
Test old method on Windows 8 (Microsoft changed SAM encryption in Windows 10 1909)

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.