# matterpreter/OffensiveCSharp

Collection of Offensive C# Tooling

Repository: https://github.com/matterpreter/OffensiveCSharp
Canonical: https://ross.abutalabs.com/products/offensivecsharp
Language: C#
License: BSD-3-Clause
License Family: permissive
Last push: 2023-02-06T14:56:26+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2766, "days_push": 1304, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1473, forks 249 (observed 2026-08-28T04:04:49.660623+00:00)

## What it is
A collection of standalone C# tools and proof-of-concept programs for offensive security operations, each compiled individually in Visual Studio with no external dependencies. Tools cover persistence, credential phishing, privilege escalation discovery, EDR detection, and post-exploitation techniques on Windows.

## Use cases
- find DLL hijacking opportunities on a Windows host
- detect hooked native API functions indicating EDR presence
- phish a user's Windows credentials with a fake prompt
- establish persistence via COM registry keys or SSP DLLs
- encrypt and exfiltrate a directory as an AES-encrypted ZIP
- track a system's GPS coordinates when location services are enabled
- enumerate COM servers and abandoned COM keys for abuse
- inspect .NET assemblies for deserialization and remoting risks

## When to choose
- you need small, dependency-free Windows post-exploitation tools you can compile yourself
- you are doing authorized red team or penetration testing on Windows environments
- you want readable C# source to learn how specific offensive techniques work

## When to avoid
- you need a maintained, supported security product rather than proof-of-concept code
- your target platform is not Windows
- you cannot compile C# projects or lack authorization to run offensive tooling

## Facets
- artifact type: library
- maturity: maintenance
- function: security, penetration-testing, developer-tools
- domain: security, penetration-testing, windows, developer-tools
- platform: windows, dotnet, cpp
- tags: red-team, offensive-security, csharp, persistence, privilege-escalation, edr-evasion, proof-of-concept

## Member repositories
- matterpreter/OffensiveCSharp (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.660623+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:38.552923+00:00, confidence not recorded.
  - readme: https://github.com/matterpreter/OffensiveCSharp (fetched 2026-08-28T04:04:49.660623+00:00, sha d5901907b629)
- Data as of 2026-08-30T08:39:29.467469+00:00.
