Raphael Mudge
@raphaelmudge.bsky.social
📤 344
📥 20
📝 330
Riding around in the breeze. Security Thinker. Hacker. USAF Veteran.
https://aff-wg.org
reposted by
Raphael Mudge
_RastaMouse
3 days ago
I've been pondering the pros and cons of a pure PIC agent vs a COFF agent with a PIC loader. Pure PIC sounds better on paper but I'm not convinced. Here's why I like the loader approach 🧵
1
1
1
reposted by
Raphael Mudge
Calzone
6 days ago
Taking a break from other projects, so just a small one for now: I made a little proof-of-concept HTML smuggling implementation using Rust's web assembly support:
github.com/ofasgard/smu...
loading . . .
GitHub - ofasgard/smuggle-rs: PoC for WASM HTML smuggling, written in Rust.
PoC for WASM HTML smuggling, written in Rust. Contribute to ofasgard/smuggle-rs development by creating an account on GitHub.
https://github.com/ofasgard/smuggle-rs
1
1
2
VIA:
x.com/NationalCCDC...
Congratulations to Dakota State University--the 2026 National Collegiate Cyber Defense Competition champions. A huge congrats to University of Virginia on 2nd and Western Washington University on 3rd.
8 days ago
0
4
1
reposted by
Raphael Mudge
20 days ago
Released Reflectra - modular UDRL on Crystal Palace. Built to replace default C2 DLL loaders and work well with AdaptixC2. • Stack spoofing • Indirect syscalls • Sleep Mask • ETW patch • DLL masking + Free & Run Feedback welcome 👇
github.com/k1ng0fn0th1n...
loading . . .
GitHub - k1ng0fn0th1ng/reflectra: Modular User-Defined Reflective Loader (UDRL) built on Crystal Palace for controlled DLL execution and evasion research.
Modular User-Defined Reflective Loader (UDRL) built on Crystal Palace for controlled DLL execution and evasion research. - k1ng0fn0th1ng/reflectra
https://github.com/k1ng0fn0th1ng/reflectra
0
0
1
reposted by
Raphael Mudge
_RastaMouse
10 days ago
Atomic BOFs
rastamouse.me/atomic-bofs/
0
2
2
I added Astral Projection by KuwaitiSt to the Community Pavilion too. It's a UDRL implementation of an Advanced Module Stomping.
kuwaitist.github.io/posts/Astral...
github.com/KuwaitiSt/As...
loading . . .
GitHub - KuwaitiSt/Astral_Projection
Contribute to KuwaitiSt/Astral_Projection development by creating an account on GitHub.
https://github.com/KuwaitiSt/Astral_Projection
13 days ago
1
1
0
I did some garden tending: Updated the TCG community pavilion. Added some projects and posts. Re-organized the projects section. I also added a note about ground truth curation vs. provenance for red team use. Something I wrestled with/put some thought into.
tradecraftgarden.org/references.h...
14 days ago
0
7
4
Small PIC Energy
aff-wg.org/2026/04/13/s...
11th release. JSON-over-HTTP API.
loading . . .
Small PIC Energy
I have a challenge for you: How much beaconing agent functionality can you fit into 4KB PIC? How do you do it? This isn’t a shellcode golf challenge. It’s about elegant ways to build common agent s…
https://aff-wg.org/2026/04/13/small-pic-energy/
22 days ago
0
8
6
reposted by
Raphael Mudge
_RastaMouse
24 days ago
I've added the sleepmask COFF to my Crystal-Loaders repo.
github.com/rasta-mouse/...
add a skeleton here at some point
0
3
2
Great blog post by
@rastamouse.me
on how to use Crystal Palace with Cobalt Strike's BeaconGate. The post compares+contrasts this approach with Crystal Kit lessons learned applying 'no knowledge' evasion via a DLL loader.
add a skeleton here at some point
26 days ago
1
7
2
@badsectorlabs.com
Just saw your taking a break post:
blog.badsectorlabs.com/taking-a-bre...
Thank you for what you did. I agree no 1:1 replacement. Your curation and capture of under-the-radar stuff was excellent. Enjoy the break and thank you again!
28 days ago
0
4
0
TinyC2 uses CPL to build PIC C2 channels for use with a demo payload "I got inspired by recent features in Havoc Pro (Runtime Channel Switching) and Cobalt Strike (UDC2). so i tried reimplementing them, and as a result i made TinyC2." Source:
x.com/cr4ckeddd/st...
Repo:
github.com/0xPrimo/TinyC2
about 1 month ago
0
4
1
Congratulations Daniel. You've created something very special in the red teaming space. ""Feedback from training can even flow back into the product design."" This. 100%. Build training for a process and what a product needs to support that process becomes obvious. It's a super-power insight.
add a skeleton here at some point
about 1 month ago
0
10
1
If you're a C2 engineer, I encourage you to watch
@rastamouse.me
's expanding Crystal C2 docs. It's a World-of-tomorrow exhibit for what C2 architecture could be. Use-time capability composition, radical instrumentation opportunity, & reducing agent's burden
rasta-mouse.gitbook.io/crystalc2/do...
loading . . .
Welcome | Documentation | CrystalC2
https://rasta-mouse.gitbook.io/crystalc2/documentation
about 1 month ago
1
10
2
reposted by
Raphael Mudge
_RastaMouse
about 1 month ago
Added initial SOCKS support to CrystalC2. Keeping modularity in mind, the 'extension' needs to be enabled when building a payload. Note that it's the CrystalC2 client that acts as the SOCKS server (rather than the C2 server). Just point tools at your localhost and away you go.
0
6
2
reposted by
Raphael Mudge
_RastaMouse
about 1 month ago
There's now a little bit of documentation:
rasta-mouse.gitbook.io/crystalc2
add a skeleton here at some point
0
4
2
reposted by
Raphael Mudge
_RastaMouse
about 1 month ago
Published the source if anyone fancies a look.
github.com/crystal-c2
No docs or pre-built releases yet, so expect to be confused :)
add a skeleton here at some point
1
6
3
@pyr0.bsky.social
started a History of Hacking conference called NaClCon (May 31-Jun 2 in NC). Happy to see speaker list tilts to the 1990s. Keynote by
en.wikipedia.org/wiki/Lee_Fel...
(designer of Osborne 1 computer). I smile as I type that: capital "H" hackers. Nice lineup.
naclcon.com/speakers
loading . . .
NaClCON - The History of Hacking/Cybersecurity Conference - Speakers | NaClCON
Meet the experts shaping cyber security today
https://naclcon.com/speakers
about 2 months ago
0
6
2
If anyone wanted to play with (or look at) the source to the latest Crystal Palace, the cpsrc20260303.tgz archive I shipped had contents from an out of date branch. Oops :) Source for the 20260303 release is on TCG now. Validated it builds what shipped. Thanks
@shogunlab.bsky.social
for heads up
about 2 months ago
0
6
0
Bypassing EDR in a Crystal Clear Way by
x.com/LorenzoMeacci
Blog:
lorenzomeacci.com/bypassing-ed...
Project:
github.com/kapla0011/Ka...
loading . . .
Bypassing EDR in a Crystal Clear Way | Lorenzo Meacci
Most operators spend days engineering the perfect shellcode loader and ship the payload naked. This blog takes you from how C2 payloads actually work under the hood all the way to building a fully eva...
https://lorenzomeacci.com/bypassing-edr-in-a-crystal-clear-way
about 2 months ago
0
7
2
reposted by
Raphael Mudge
Calzone
about 2 months ago
Still very much an early WIP, but the Crystal Palace-based Mythic agent I'm working on can be found here:
github.com/ofasgard/cel...
loading . . .
GitHub - ofasgard/celebi: A WIP Mythic agent that uses Crystal Palace to build its payloads.
A WIP Mythic agent that uses Crystal Palace to build its payloads. - ofasgard/celebi
https://github.com/ofasgard/celebi
2
3
2
reposted by
Raphael Mudge
_RastaMouse
2 months ago
I've added some YARA rules to the Crystal-Kit repo, covering both the loader and the tradecraft PICO. I was pleasantly surprised to see the generator target aspects like heap obfuscation, call stack spoofing, CFG bypass, and memory cleanup.
github.com/rasta-mouse/...
loading . . .
Crystal-Kit/crystalkit.yar at main · rasta-mouse/Crystal-Kit
Evasion kit for Cobalt Strike. Contribute to rasta-mouse/Crystal-Kit development by creating an account on GitHub.
https://github.com/rasta-mouse/Crystal-Kit/blob/main/crystalkit.yar
0
5
1
So, when I was writing my latest blog post, a few typos got in there. It's how you know I wrote it. :) I really wanted to ship that day. The engineering was solid though. I put serious tortured (over-)thinking into the design & impl. decisions. I'm thrilled with the result.
vimeo.com/1170068618
loading . . .
Breaking content signatures with 'ised'
This is "Breaking content signatures with 'ised'" by AFF-WG on Vimeo, the home for high quality videos and the people who love them.
https://vimeo.com/1170068618
2 months ago
1
8
1
reposted by
Raphael Mudge
_RastaMouse
2 months ago
[BLOG] Islands of Invariance
rastamouse.me/islands-of-i...
0
4
2
A Scalpel, A Hammer, and a Foot Gun
aff-wg.org/2026/03/03/a...
loading . . .
A scalpel, a hammer, and a foot gun
Last month, I released a Yara signature generator for Crystal Palace. AKA, an invariant content observation tool. I then used the feature to document the physics of various content-signature parame…
https://aff-wg.org/2026/03/03/a-scalpel-a-hammer-and-a-foot-gun/
2 months ago
0
5
3
reposted by
Raphael Mudge
Calzone
2 months ago
Started working on a Mythic agent that uses Crystal Palace to generate its shellcode. So far I've just got it to emit some generic shellcode - it doesn't talk to Mythic yet. I'm hoping to make a fully modular agent that you can patch your tradecraft into when you generate a payload :)
1
2
2
Punching Sideways
aff-wg.org/2026/02/23/p...
loading . . .
Punching Sideways
While I no longer work in the C2 space and I don’t consider myself up on the operations side of red teaming, I watch the space closely to see where it’s going. In this post, I want to write about a…
https://aff-wg.org/2026/02/23/punching-sideways/
2 months ago
0
11
4
reposted by
Raphael Mudge
_RastaMouse
2 months ago
This is now committed along with a few other changes like using the newer CPL Java API.
add a skeleton here at some point
0
4
2
reposted by
Raphael Mudge
_RastaMouse
3 months ago
I've been playing with a C2 built around PIC modularity for the last few weeks. C2 comms are merged into the agent at link time and output as shellcode. COFFs are transformed into PICOs for postex. Evasion tradecraft can be woven in via spec files. Very scriptable using Sleep.
1
7
2
The Islands of Invariance More than I ever thought I'd write about Yara signatures. Oh also, Crystal Palace has a Yara rule generator too.
aff-wg.org/2026/02/02/t...
loading . . .
The Islands of Invariance
Crystal Palace now has a Yara rule generator. In this blog post, I’ll walk you through the design and evaluation of this feature. rule PageStream_rDLL_03495de1 { meta: description = “PageStre…
https://aff-wg.org/2026/02/02/the-islands-of-invariance/
3 months ago
0
7
4
Cobalt Strike blog ppost by
x.com/joehowwolf
on using Crystal Palace to mash-up Page Streaming and Draugr Call Stack Spoofing into a Cobalt Strike UDRL. (Again, I really love the comics. They are perfect).
add a skeleton here at some point
3 months ago
1
9
2
Georgia Weidman has posted some December 2010 NovaHackers talks, including my first talk on Armitage.
x.com/georgiaweidm...
Video link:
www.youtube.com/watch?v=ZtnK...
loading . . .
Georgia Weidman on X: "A few of you asked if I had the old @novahackers videos. Yes, I do, and I'm rereleasing them! Here are the talks from December 2010, including what is possibly the very first demo of Armitage (before Cobalt Strike, there was Armitage) from @armitagehacker, a talk on hacking" / X
A few of you asked if I had the old @novahackers videos. Yes, I do, and I'm rereleasing them! Here are the talks from December 2010, including what is possibly the very first demo of Armitage (before Cobalt Strike, there was Armitage) from @armitagehacker, a talk on hacking
https://x.com/georgiaweidman/status/2014769592837586998
3 months ago
0
4
1
reposted by
Raphael Mudge
_RastaMouse
3 months ago
A nice workaround against my YARA rule.
kuwaitist.github.io/posts/Patchi...
add a skeleton here at some point
0
9
2
"By releasing these tables, Mandiant aims to lower the barrier for security professionals to demonstrate the insecurity of Net-NTLMv1."
add a skeleton here at some point
4 months ago
0
4
0
I pushed a 1-change update to Crystal Palace. linkfunc now works with make coff. link (in a make coff context) merges the linked data into the .rdata section. Both are to support the BOF cocktails idea.
rastamouse.me/bof-cocktails/
loading . . .
BOF Cocktails
Crystal Palace is a PIC framework that can be used to write, among other things, prepended DLL loaders. The philosophy of the project is to apply evasion tradecraft (also written as PIC), to a capabil...
https://rastamouse.me/bof-cocktails/
4 months ago
0
9
1
Keeping bin2bin out of the bin
aff-wg.org/2026/01/13/k...
Another TCG update. +shatter, +regdance, and -O1 MinGW support. Bigger emphasis in this cycle was hardening the binary transformation foundation--which led to some adventures (details in the post)
loading . . .
Keeping bin2bin out of the bin
Happy New Year. I’ve got another Crystal Palace and Tradecraft Garden update for you. My focus this development cycle was making Crystal Palace’s binary transformation framework more robust. …
https://aff-wg.org/2026/01/13/keeping-bin2bin-out-of-the-bin/
4 months ago
0
10
3
TCG's vision is to separate tradecraft from capability and encourage an ecosystem of ground truth research. I started w/ UDRLs because the need & interfaces are there. This post applies the same ideas to BOFs. Each working tradecraft/capability pairing is a win. Some caveats (see post), exciting.
add a skeleton here at some point
4 months ago
1
4
1
reposted by
Raphael Mudge
_RastaMouse
4 months ago
I managed it:
marketplace.visualstudio.com/items?itemNa...
add a skeleton here at some point
0
4
3
This is fork&run to execute BOFs in a remote process, same API, and get output back over a pipe--demonstrated with Havoc. Same arch could support explicit injection. Add-in an injector artifact + psexec, could remotely run a BOF without an agent and get output back too. bofexec? :)
add a skeleton here at some point
4 months ago
0
6
1
reposted by
Raphael Mudge
4 months ago
To wrap up the year, I've published this Havoc extension that enables remote execution of Beacon Object Files (BOFs) using a PIC loader built with Crystal Palace.
github.com/pard0p/Remot...
loading . . .
GitHub - pard0p/Remote-BOF-Runner: Remote BOF Runner is a Havoc extension framework for remote execution of Beacon Object Files (BOFs) using a PIC loader made with Crystal Palace.
Remote BOF Runner is a Havoc extension framework for remote execution of Beacon Object Files (BOFs) using a PIC loader made with Crystal Palace. - pard0p/Remote-BOF-Runner
https://github.com/pard0p/Remote-BOF-Runner
0
5
3
reposted by
Raphael Mudge
Henri Nurmi
5 months ago
WinAPI DFR remaps for Crystal Palace to automatically convert Func() to Module$Func(). Goodbye preprocessor macros 👋.
github.com/Henkru/cp-df...
loading . . .
GitHub - Henkru/cp-dfr-defs: Dynamic Function Resolution (DFR) definitions for Crystal Palace
Dynamic Function Resolution (DFR) definitions for Crystal Palace - GitHub - Henkru/cp-dfr-defs: Dynamic Function Resolution (DFR) definitions for Crystal Palace
https://github.com/Henkru/cp-dfr-defs
0
10
3
My open source projects server is down. I got a ticket in with the provider as I believe it's something on their end. Hopefully a short outage. I'm engaged with it and will post a reply here when it's back up or if there's a pressing and exciting update.
5 months ago
1
6
0
Discovering Tradecraft Garden by
x.com/jjavierolmedo
hackpuntes.com/posts/explor...
A gentle introduction to the project and specifically using the ./link command & running examples. I'm glad the guardrails example (now follow-on loader agnostic) was called out. It's a waiting gem in the corpus.
5 months ago
0
4
2
"emerald-template is a CMake-based project template designed for developing and debugging Reflective DLL Loaders using the Crystal Palace linker." "This allows for source-code level debugging of your loader logic from Windows (and theoretically Linux) systems"
github.com/0xTriboulet/...
add a skeleton here at some point
5 months ago
0
5
1
Interesting project. Reimplements TCG example loaders in Rust and demonstrates Rust patterns for TCG and Crystal Palace. One note: my scope, dev, tests, and unit tests are limited to MinGW. Binary transforms act on patterns gcc generates and moving away from that, you're gonna hit gaps faster.
add a skeleton here at some point
5 months ago
0
2
1
reposted by
Raphael Mudge
Calzone
5 months ago
My PICOs and unit testing library have been updated for the newest version of Crystal Palace and LibTCG :)
0
1
1
reposted by
Raphael Mudge
_RastaMouse
5 months ago
Pushed a big update to Crystal Kit.
github.com/rasta-mouse/...
loading . . .
GitHub - rasta-mouse/Crystal-Kit: Evasion kit for Cobalt Strike
Evasion kit for Cobalt Strike. Contribute to rasta-mouse/Crystal-Kit development by creating an account on GitHub.
https://github.com/rasta-mouse/Crystal-Kit
0
10
2
Re: the new TCG release. I updated the Simple Hooking example into an empty base architecture and made XOR hooks and Stack Cutting into .spec modules for it:
tradecraftgarden.org/simplehook.h...
Thanks to redirect and foreach, I was able to layer these modules together to compose a tradecraft too.
5 months ago
1
2
0
reposted by
Raphael Mudge
5 months ago
LibPicoManager is a unified PICO management framework that provides centralized control over PICOs in memory, enabling dynamic code loading, runtime PICO substitution, and advanced evasion techniques like sleep masking through a single RWX code block.
github.com/pard0p/LibPi...
loading . . .
GitHub - pard0p/LibPicoManager: LibPicoManager is a unified PICO management framework that provides centralized control over Position Independent Code Objects in shared memory, enabling dynamic code l...
LibPicoManager is a unified PICO management framework that provides centralized control over Position Independent Code Objects in shared memory, enabling dynamic code loading, runtime PICO substitu...
https://github.com/pard0p/LibPicoManager
0
4
3
reposted by
Raphael Mudge
_RastaMouse
5 months ago
[BLOG] This update solved a big issue I had with merging raw assembly into PIC. I cover the new linkfunc command and the updated addhook command.
rastamouse.me/pic-symphony/
add a skeleton here at some point
0
3
2
Load more
feeds!
log in