Ricardo J. Ruiz Fernández

Pentester | OSCE³ OSAI GSP

Blog Categories About

Get process handles from process name in Go

December 8, 2023 Malware Development Tools

Get process(es) from the process name using NtGetNextProcess and GetProcessImageFileName API calls, a stealthier alternative and written in Go this time.

Continue reading →

Get process handles from process name in C#

November 17, 2023 Malware Development Tools

Get process(es) from the process name using NtGetNextProcess and GetProcessImageFileName API calls, a stealthier alternative and written in C#.

Continue reading →

CESP-ADCS Course Cheatsheet

November 15, 2023 Active Directory

Cheatsheet I created while completing the CESP-ADCS course by Altered Security, focused in Active Directory Certificate Services (ADCS) attacks

Continue reading →

Calling C# code from Powershell

November 14, 2023 Malware Development

One of the reasons why I like programming some PoCs using C# is the possibility to later run the code in Powershell. In this post we will see some basic examples and how to prepare your C# code to run it using Powershell.

Continue reading →

Alternatives to whoami

November 9, 2023 Malware Development Tools

Some experiments to retrieve the current username without calling whoami.exe or similar binaries, all of them using C# (and P/Invoke).

Continue reading →

StealthyEnv - Get environment variables from PEB structure

November 2, 2023 Malware Development Tools

Alternative to whoami.exe or other well-known binaries to get the environment variables. It is written in C# and I guess it is stealthier because it gets the values parsing the PEB structure.

Continue reading →

Guard Pages Hooking

September 8, 2023 Malware Development Tools

C# PoC of Guard Pages hooking. It is a type of API hooking which can be achieved from userland and does not require patching functions.

Continue reading →

SharpEA - Playing with Extended Attributes (EAs) using C#

August 29, 2023 Malware Development Tools

C# program to read, write and delete Extended Attributes (EAs) to “hide” malicious payloads within NTFS filesystems.

Continue reading →


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

© 2026 Ricardo J. Ruiz Fernández