Windows C / Checking Pipe

Author HoIIovv
Platform Windows
Language C
Technique Checking Pipe

Code

#include <stdio.h>
#include <Windows.h>

int main() {
    const char *pipeName = "\\\\.\\pipe\\cuckoo";

    BOOL pipeExists = WaitNamedPipeA(pipeName, 10000);

    if (pipeExists) {
        printf("Cuckoo Sandbox detected via named pipe.\n");
        return 1;
    } else {
        printf("No Cuckoo pipe found. Proceeding..\n");
    }

    return 0;
}

Created

September 20, 2025

Last Revised

September 20, 2025