GithubHelp home page GithubHelp logo

sharpazbelt's Introduction

SharpAzbelt

Overview

This is an attempt to port Azbelt by Leron Gray from Nim to C#. It can be used to enumerate and pilfer Azure-related credentials from Windows boxes and Azure IaaS resources (VM, VMSS, WVD, etc).

When using Azbelt from the Sliver Armory it would crash and kill my implants, so I wanted to fix that. I'm definitely not great with C#, but I had no desire to work with Nim either, and I wanted to be able to use in-process execute-assembly to run it.

Modules

  • aadjoin - Gets info about machine AAD status via NetGetAadJoinInformation
  • credman - Gets credentials from Credential Manager
  • env - Looks for Azure/AAD specific environment variables that may contain secrets
  • managed - Calls IMDS endpoint to get info about machine with managed identity
  • msal - Looks in various MSAL caches for tokens. Tokens are parsed to display scope and validity
  • sso - If machine is AAD joined, get signed PRT cookie
  • tbres - Gets tokens from Token Broker cache
  • all - Runs all enumeration except SSO

Acknowledgements

The project is a port of MC Ohm-I's azbelt. It makes use of code from:

Licence

Respect the licenses of any code used, adapted or otherwise from the original projects above.

For my own code, it's provided under #YOLO Public License

sharpazbelt's People

Contributors

redskal avatar

Stargazers

Craig Wright avatar  avatar hirak0 avatar  avatar  avatar David Barnett avatar  avatar  avatar well.james avatar  avatar UIWP0 avatar  avatar decart avatar  avatar xzxx0z avatar Life avatar  avatar A avatar  avatar Jim avatar th3k3ymak3r avatar James Yeung avatar Tomas Rzepka avatar  avatar Tobias Mccurry avatar Amarjit Labhuram avatar

Watchers

 avatar  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.