# mgeeky/ShellcodeFluctuation

An advanced in-memory evasion technique fluctuating shellcode's memory protection between RW/NoAccess & RX and then encrypting/decrypting its contents

Repository: https://github.com/mgeeky/ShellcodeFluctuation
Canonical: https://ross.abutalabs.com/products/shellcodefluctuation
Language: C++
License: MIT
License Family: permissive
Last push: 2022-06-17T18:07:33+00:00

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

## Adoption (not part of the score)
Stars 1127, forks 163 (observed 2026-08-28T04:03:41.532776+00:00)

## What it is
A C++ proof-of-concept implementing an in-memory evasion technique that encrypts shellcode and fluctuates its memory protection between RW/NoAccess and RX while it sleeps. It hooks kernel32!Sleep to hide Cobalt Strike Beacon implants from memory scanners like Moneta and pe-sieve.

## Use cases
- evade memory scanners detecting shellcode in RWX regions
- encrypt beacon payload while sleeping
- hide shellcode memory pages from pe-sieve and Moneta
- implement sleep-time shellcode encryption in red team tooling
- study in-memory evasion techniques
- flip shellcode memory protection between RW and RX

## When to choose
- you need a reference implementation of sleep-time shellcode encryption
- you're building red team tooling that must evade memory scanners
- you want to learn how memory protection fluctuation works

## When to avoid
- you need a weaponized production implant
- you target non-Windows platforms
- you need a maintained tool with ongoing support

## Facets
- artifact type: library
- maturity: maintenance
- function: security, cryptography
- domain: security, penetration-testing
- platform: windows, cpp
- tags: shellcode, memory-evasion, red-team, cobalt-strike, sleep-encryption, poc

## Member repositories
- mgeeky/ShellcodeFluctuation (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:41.532776+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-30T06:38:49.724391+00:00, confidence not recorded.
  - readme: https://github.com/mgeeky/ShellcodeFluctuation (fetched 2026-08-28T04:03:41.532776+00:00, sha 90e04e7bd330)
- Data as of 2026-08-30T08:39:29.467469+00:00.
