Open-source project
Flangvik/SharpCollection avatar
Flangvik/SharpCollection

SharpCollection: Nightly .NET Builds of Offensive C# Tools

Nightly builds of common C# offensive tools, fresh from their respective master branches built and released in a CDI fashion using Azure DevOps release pipelines.

3,010 stars395 forksUnknownLicense varies

At a glance

What is it?
SharpCollection is a nightly-rebuilt mirror of common C# offensive tools, compiled per .NET Framework target and architecture by an Azure DevOps pipeline. It saves you a Visual Studio build, and it also asks you to trust binaries you did not compile.
Who is it for?
Use SharpCollection when you need a specific offensive C# tool compiled for a specific .NET Framework target and architecture, and you would rather not set up the build yourself. Do not use it as a substitute for reviewing code: the README says deploying anything blindly from the repo should be reserved for labs, VMs and detection mapping, and points at dnSpyEx for inspection.
Can I use it commercially?
The repository metadata does not identify a licence. Check the project’s published terms and any component-specific licences before reuse.
Is it still maintained?
Yes. The repository last received commits 23 days ago.
What is it written in?
GitHub does not report a main language for this repository.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • Flangvik/SharpCollection3,010 ★ · +28
Star history
Repository2026-09-252026-11-24
Flangvik/SharpCollection3k3k

28 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The build problem SharpCollection removes

Most offensive C# tooling is published as source. To use it you clone the upstream repository, open Visual Studio or run msbuild, pick a .NET Framework target, pick an architecture, and hope the project still compiles against the SDK you have installed. That is a poor fit for a lab or an engagement where you need a working assembly now, and it is worse when you need the same tool in three framework versions for three different targets.

SharpCollection takes that work and moves it to a nightly pipeline. The repository is organised by build target rather than by tool: NetFramework_4.0_Any, NetFramework_4.0_x64, NetFramework_4.0_x86, and the same triplet for 4.5 and 4.7. Each directory holds the compiled assemblies for that combination. If you know your target runs .NET 4.7 and is 64-bit, you go to NetFramework_4.7_x64 and take the file. No compiler, no NuGet restore, no SDK version mismatch.

The audience is narrow and specific: red teamers and detection engineers who work with C# tooling and want a prebuilt assembly without maintaining a build environment for each upstream project. It is not a general .NET package source, and it does not try to be one.

How the nightly pipeline decides what gets built

The README describes the mechanism plainly. Each night at 03:00 AM, an Azure DevOps pipeline checks every tracked repository's master branch for new commits. Only branches with changes are fetched and compiled, and the pipeline builds them for different framework targets and architectures before pushing the results into this repository. The pipeline itself is linked from the README at the FlangvikDev SharpRelease Azure DevOps project.

That design has a visible consequence in the build table. Not every tool is built for every target. A check mark means actively built, an x means not built, and a warning sign means the pipeline exists but all steps are disabled. InveighZero carries the warning state across all three framework columns, so it appears in the table without a working build behind it. The table also notes that Certify, KrbRelay, KrbRelayUp and ShadowSpray target v4.7.2 specifically, and ADCollector targets v4.6.1, which means the framework label in the folder name is not always the whole story for those tools.

Because the pipeline only rebuilds on new commits, a quiet upstream repository produces no new output. Freshness tracks the upstream project, not the calendar.

Fetching a build and loading it

There is no installer, no package manager entry and no release artefact to fetch. The README points you at the repository's own directory tree, and the top-level entries are the framework and architecture folders. Getting a build means cloning the repository, which the README links at its GitHub address, github.com/Flangvik/SharpCollection.

Once the repository is on disk, the framework and architecture folders sit at the top level, so NetFramework_4.7_x64 is the directory to look in when your target runs .NET 4.7 on 64-bit. The compiled assembly for the tool you want is the file you take from there.

One constraint deserves attention before you load anything. The README states in bold that Cobalt Strike's execute-assembly only accepts binaries compiled with the Any CPU configuration. If your toolchain is Cobalt Strike, take the assembly from an Any folder rather than an x64 or x86 one, even when the target host is 64-bit.

After that, how you run the assembly is up to the loader or framework you use. SharpCollection stops at producing the file.

The OpSec answer is the honest part of the README

The README asks whether you should blindly deploy any of these binaries during real engagements, and answers with an emphatic no. It directs readers to inspect anything they deploy on a client machine or network, naming dnSpyEx as an example decompiler, and it says deploying anything blindly from the repository should be reserved for lab environments, VMs, HackTheBox and detection mapping.

That is the correct posture for a project like this, and it is also the main limitation. You are consuming assemblies built by someone else's pipeline from someone else's upstream branches. The trust boundary runs through the Azure DevOps pipeline, the upstream projects and the repository itself. Nightly rebuilds mean the content of a given path can change without any version number changing, so a hash you recorded last week does not tell you what is at that path today.

The build table adds a second failure mode: assuming a tool is available. A missing check mark for your framework means the pipeline does not produce that combination, and the warning state means the pipeline exists but every step is disabled. Both are easy to miss when you are scanning a long table for a familiar name.

SharpCollection compared with building upstream yourself

The obvious alternative is to clone each upstream tool and build it locally. That gives you a binary you compiled from source you can read, at the exact commit you chose, with your own compiler and signing setup. It also gives you the maintenance burden SharpCollection exists to remove: a .NET build environment per project, and a rebuild every time upstream changes.

A second alternative is a collection that ships prebuilt binaries as versioned releases. SharpCollection does not do that. The repository has no published GitHub releases, and the README's model is a rolling nightly push into the directory tree rather than tagged artefacts. If your workflow needs a pinned, versioned binary, this is the wrong shape of project, and you should either build upstream yourself or snapshot specific files into your own storage with recorded hashes.

The trade-off is therefore straightforward. You exchange provenance and version pinning for convenience and breadth. The breadth is real: the table covers dozens of tools across three framework targets and three architectures, which is a large amount of build configuration you do not have to reproduce.

Maintenance, licensing and what the repository does not say

The repository is not archived, and the last push was on 2026-09-23, which is consistent with the nightly cadence the README describes. The maintenance you inherit is not code maintenance, it is pipeline maintenance performed by the project owner, plus the ongoing job of tracking which upstream tools still compile. When an upstream project breaks or changes its build, the corresponding row in the table is where that shows up.

The repository does not state a licence, and the README does not discuss licensing at all. That matters because SharpCollection redistributes compiled binaries from many upstream projects, each of which may carry its own licence terms. Whatever terms apply to a given tool come from that tool's own repository, not from this one, and the repository does not enumerate them. If you plan to redistribute or bundle any of these assemblies, check the upstream project's licence directly. This is a description of what the repository does and does not say, not legal advice.

Upgrade cost is close to zero in the conventional sense. You pull the repository again and the newest builds are there. The cost you do pay is verification: because paths are overwritten rather than versioned, any assurance you want about a specific binary has to be produced by you.

Editorial conclusion

Use SharpCollection when you need a specific offensive C# tool compiled for a specific .NET Framework target and architecture, and you would rather not set up the build yourself. Do not use it as a substitute for reviewing code: the README says deploying anything blindly from the repo should be reserved for labs, VMs and detection mapping, and points at dnSpyEx for inspection. Before you deploy a binary, verify that the tool's row in the build table shows a check mark for the framework you need, that the architecture folder matches your target, and that the assembly is compiled as Any CPU if you intend to load it through Cobalt Strike's execute-assembly.

Frequently asked questions

What is SharpCollection?

It is a repository of nightly builds of common C# offensive tools, compiled from their respective master branches by an Azure DevOps pipeline and pushed into framework and architecture folders such as NetFramework_4.7_x64.

Which .NET Framework version should I pick from SharpCollection?

Match the folder to the framework your target runs, choosing among NetFramework_4.0, 4.5 and 4.7. Note that the README says Certify, KrbRelay, KrbRelayUp and ShadowSpray target v4.7.2, and ADCollector targets v4.6.1.

Why does a SharpCollection tool show as not built for my framework?

The build table uses a check mark for actively built, an x for not built and a warning sign for a pipeline whose steps are all disabled. A missing check mark for your framework means the pipeline does not produce that combination.

Can I use SharpCollection binaries with Cobalt Strike execute-assembly?

The README states that execute-assembly only accepts binaries compiled with the Any CPU configuration, so take the assembly from an Any folder rather than an x64 or x86 one.

Official sources

  1. Flangvik/SharpCollection on GitHub
  2. Issues
  3. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/flangvik-sharpcollection.svg)](https://hysenlabs.com/projects/flangvik-sharpcollection)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/flangvik-sharpcollection.svg)](https://hysenlabs.com/projects/flangvik-sharpcollection)

Was this useful?