nt!RajKit (@NtRajkit) header
nt!RajKit (@NtRajkit) profile picture

Reengineering command and control for the next generation of Red Team operations.

Vasque Country, Spain
Joined February 2023
Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)Photo by nt!RajKit (@NtRajkit)
🐝🪼🧪 PIC-based pipe redirectors #injected into legitimate Windows processes, then the shellcode jump across the pipes to finally execute with #callstack spoofing based on synthetic frames, a new feature I added to Jellybee #research system. 👾 Mario bros injection??
683
🐝 🪼 Elastic EDR detected and removed a BOF loader while the JellyBee session stayed active on the same Windows host. I implemented an SSPI-based UAC bypass in C and built it with JBKORE as a position-independent binary. The resulting binary was stored in Warehouse. Launched from ControlCenter in an active JellyBee session. It obtained NT AUTHORITY\SYSTEM privileges on the Windows host monitored by Elastic Security. 📽️ Full demo: lnkd.in/dKQnPYEi 🕵‍♂️ Credit to Antonio Cocomazzi for the research behind the SSPI-based UAC bypass technique. #JellyBee #CyberSecurity #RedTeam #ElasticEDR
2
26
160
5,837
nt!RajKit retweeted
🐝🪼 In this demo, I inspect the inline-amsi PIC module in Control Center. Before using it to load Seatbelt and Rubeus, I reopen the project in SwarmFactory, where it was previously built, to demonstrate that we can also edit, export and debug it. Loading a complete tool such as Rubeus.exe is not recommended in a real engagement. With this video, I simply want to demonstrate the agility and versatility of JELLYBEE, which allows operators to do practically anything they want. These tools still depend on the .NET Framework CLR and JIT compilation for managed execution. The PIC module acts as a host: it loads mscoree.dll, selects the runtime and creates an AppDomain in which it loads the assembly from memory and invokes its entry point. Using a PIC loader does not remove those dependencies or prevent the process from loading the libraries required by the runtime and the tools it executes. .NET Framework integrates with AMSI to inspect assemblies loaded from memory. At the API level, AmsiScanBuffer returns an HRESULT indicating the call’s status and provides the scan result through an AMSI_RESULT output parameter. The runtime evaluates that information to determine whether the assembly’s loading should be blocked. #JellyBee #RedTeam #CyberSecurity #SecurityResearch #Rubeus #Amsi #JIT
1
1
3
35,882
🐝🪼 In this demo, I inspect the inline-amsi PIC module in Control Center. Before using it to load Seatbelt and Rubeus, I reopen the project in SwarmFactory, where it was previously built, to demonstrate that we can also edit, export and debug it. Loading a complete tool such as Rubeus.exe is not recommended in a real engagement. With this video, I simply want to demonstrate the agility and versatility of JELLYBEE, which allows operators to do practically anything they want. These tools still depend on the .NET Framework CLR and JIT compilation for managed execution. The PIC module acts as a host: it loads mscoree.dll, selects the runtime and creates an AppDomain in which it loads the assembly from memory and invokes its entry point. Using a PIC loader does not remove those dependencies or prevent the process from loading the libraries required by the runtime and the tools it executes. .NET Framework integrates with AMSI to inspect assemblies loaded from memory. At the API level, AmsiScanBuffer returns an HRESULT indicating the call’s status and provides the scan result through an AMSI_RESULT output parameter. The runtime evaluates that information to determine whether the assembly’s loading should be blocked. #JellyBee #RedTeam #CyberSecurity #SecurityResearch #Rubeus #Amsi #JIT
1
1
3
35,882
Elastic Defend blocked bof-ldr.exe. JellyBee returned service data through a PIC module. Windows 11 25H2 Lab: execution paths and endpoint response in 67 seconds. #CyberSecurity #RedTeam
1
1
174
nt!RajKit retweeted
Replying to @NtRajkit
Really looking forward to the release and getting hands-on with JellyBee 👀
1
1
112
🐝 🪼 Inside BOFs, Crystal Palace, and JellyBee PIC (1/3): How the Loader Prepares and Executes a COFF Object in Memory What happens between compiling a BOF and executing it in memory? The compiler produces a COFF object. The implant’s loader still has work to do. 🎥 Watch the first episode: lnkd.in/evrzdM2f The release of the first JellyBee components is approaching. One will be released under GPLv3, while the others will be available free of charge under a license provided upon request. Before the first release, this technical series explores the architectural differences behind how implant capabilities are built, loaded, and executed. JellyBee is the only command-and-control ecosystem built around a modular, position-independent implant architecture with an integrated environment for building its capabilities directly from C projects and repositories. Swarm Factory makes this architecture practical for operators by handling PIC complexity through an advanced compilation driver integrated into its build environment. Capabilities are built as independent modules within the same ecosystem that manages their execution, allowing JellyBee to maintain a small implant core. Craft & Control. To explain this architecture and how it differs from other approaches, the series examines three models: ① BOF / COFF Compilation produces the object, but loading still requires work such as applying relocations and resolving symbols and dependencies. In the Beacon BOF model, the implant provides the loading infrastructure. Modules can also use Beacon’s internal APIs and Dynamic Function Resolution (DFR) for Windows API imports. The first video follows this process in memory. ② Crystal Palace Linker The second episode explores linking and composing capabilities for position-independent execution, examining where loading and resolution responsibilities reside in the resulting design. ③ JellyBee’s Modular PIC Architecture The third episode presents the build workflow integrated into Swarm Factory, from C projects to position-independent modules. Instead of continually expanding a single implant binary, JellyBee keeps capabilities in separate modules. Its base implant currently ranges from approximately 23 to 45 KB and does not require a separate stager. Code originally developed as a BOF can also be adapted to conventional C and built through Swarm Factory into a position-independent module. Start with Chapter 1 to see what the BOF loader does in memory and understand the foundation for the next two episodes. 🧪 lnkd.in/eWxWaHjS #Cybersecurity #RedTeam #BOF #Offensive #PIC
2
10
31
30,031