# med0x2e/SigFlip

SigFlip is a tool for patching authenticode signed PE files (exe, dll, sys ..etc) without invalidating or breaking the existing signature.

Repository: https://github.com/med0x2e/SigFlip
Canonical: https://ross.abutalabs.com/products/sigflip
Language: C#
License: MIT
License Family: permissive
Last push: 2023-08-27T18:27:50+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": 1851, "days_push": 1102, "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 1290, forks 208 (observed 2026-08-28T04:04:15.419736+00:00)

## What it is
SigFlip is a red-team tool for patching Authenticode-signed PE files (exe, dll, sys) without invalidating their existing signatures, by embedding data such as encrypted shellcode. It ships as .NET assemblies and BOF scripts, with a companion SigLoader to extract and decrypt the embedded payload.

## Use cases
- change the hash of a signed PE file like msbuild.exe without breaking its signature
- bypass application whitelisting based on signed binary hashes
- embed encrypted shellcode in a signed PE for later execution via a stager
- load signed drivers with a modified hash to evade hash-list based detection
- test whether endpoint security relies solely on WinVerifyTrust signature validation
- evaluate EDR detections that trust LOLBIN hashes

## When to choose
- you need to modify signed PE files while keeping Authenticode signatures valid
- you are doing red-team persistence, lateral movement, or whitelisting bypass research
- you want BOF or .NET tooling for signature-preserving PE patching

## When to avoid
- you need general-purpose PE editing or binary patching unrelated to signature evasion
- you require a fully supported production security product rather than an offensive research tool
- your target environment is not Windows

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing, reverse-engineering
- domain: security, penetration-testing, windows
- platform: windows, cli
- tags: authenticode, signature-bypass, pe-patching, shellcode-injection, red-team, edr-bypass, bof, csharp, offensive-security

## Member repositories
- med0x2e/SigFlip (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:15.419736+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:55:39.709949+00:00, confidence not recorded.
  - readme: https://github.com/med0x2e/SigFlip (fetched 2026-08-28T04:04:15.419736+00:00, sha 8ce849477c22)
- Data as of 2026-08-30T08:39:29.467469+00:00.
