Ricardo J. Ruiz Fernández

Pentester | OffSec instructor | OSCE3 OSCP GX-PT

Blog Categories About

Dumping Jenkins credentials

March 12, 2024 Credential Access

A very dumb way to access Jenkins protected credentials which I have not found documented anywhere.

Continue reading →

C# implementation of GetModuleHandle for remote processes

March 8, 2024 Malware Development

GetModuleHandle implementation for remote processes in C# using only NTAPIs: NtQueryInformationProcess, NtReadVirtualMemory and NtOpenProcess.

Continue reading →

Porting pinvoke.net - A gitbook for P/Invoke definitions

March 6, 2024 Malware Development

This website contains most of the P/Invoke definitions from the now offline pinvoke.net, adding the link to the Microsoft documentation for each one.

Continue reading →

MinidumpParser

February 25, 2024 Credential Access

C# program to parse Microsoft Minidump files.

Continue reading →

SharpObfuscate - Payload obfuscation in C#

February 18, 2024 Malware Development

SharpObfuscate transforms a payload into a list of IPv4, IPv6, MAC or UUID strings. It takes the bytes from a hexadecimal string, a file in the system, a file downloaded from a URL or an ordinary string.

Continue reading →

SharpProcessDump - Dump processes using C#

February 15, 2024 Credential Access Malware Development

Dump memory regions of a process which are readable (no PAGE_NOACCESS protection) and are commited (MEM_COMMIT state) using only native API calls.

Continue reading →

SharpNtdllOverwrite - API Unhooking overwriting ntdll.dll

February 9, 2024 Malware Development

Overwrite ntdll.dll’s “.text” section using a clean version of the DLL. It can help to evade security measures that install API hooks such as EDRs.

Continue reading →

Persistence using Startup Folder II - Using Alternate Data Streams

February 1, 2024 Persistence

Following the previous post where we used a shortcut in the Startup Folder to execute files with the hidden attribute, I did some tests using Alternate Data Streams to store all payloads inside a seemingly benign file.

Continue reading →


« Prev 1 2 3 4 5 6 7 8 9 10 11 12 Next »

© 2026 Ricardo J. Ruiz Fernández