Skip to main content

Overview

SysWhispers4 provides 8 function presets that group commonly-used NT functions for specific offensive security tasks. Each preset is optimized for a particular technique or workflow.

Available Presets

List All Presets

Output:

Preset: common

Description: General process/thread/memory operations — the recommended starting point. Use cases:
  • Memory allocation and manipulation
  • Thread creation and management
  • Process querying
  • General-purpose NT API operations
Generate:

Included Functions (25)

Memory Operations (6)

  • NtAllocateVirtualMemory — Allocate memory in process
  • NtFreeVirtualMemory — Free allocated memory
  • NtWriteVirtualMemory — Write to process memory
  • NtReadVirtualMemory — Read from process memory
  • NtProtectVirtualMemory — Change memory protection
  • NtQueryVirtualMemory — Query memory region information

Thread Operations (7)

  • NtCreateThreadEx — Create thread in process
  • NtOpenThread — Open handle to thread
  • NtSuspendThread — Suspend thread execution
  • NtResumeThread — Resume suspended thread
  • NtGetContextThread — Get thread context (registers)
  • NtSetContextThread — Set thread context
  • NtTerminateThread — Terminate thread

Process Operations (4)

  • NtOpenProcess — Open handle to process
  • NtTerminateProcess — Terminate process
  • NtQueryInformationProcess — Query process information
  • NtSetInformationProcess — Set process information

Section/Mapping (3)

  • NtCreateSection — Create section object
  • NtMapViewOfSection — Map section into process
  • NtUnmapViewOfSection — Unmap section

Synchronization (3)

  • NtClose — Close handle
  • NtDuplicateObject — Duplicate handle
  • NtWaitForSingleObject — Wait for object signal

Miscellaneous (2)

  • NtQuerySystemInformation — Query system information
  • NtDelayExecution — Sleep/delay execution

Example Usage


Preset: injection

Description: Functions for process injection via threads, APC, and section mapping. Use cases:
  • Classic shellcode injection (VirtualAlloc → WriteProcessMemory → CreateRemoteThread pattern)
  • APC injection
  • Section-based injection (manual mapping)
  • Thread hijacking
Generate:

Included Functions (20)

Memory (5)

  • NtAllocateVirtualMemory
  • NtFreeVirtualMemory
  • NtWriteVirtualMemory
  • NtReadVirtualMemory
  • NtProtectVirtualMemory

Thread (6)

  • NtCreateThreadEx — Create remote thread
  • NtOpenThread
  • NtSuspendThread
  • NtResumeThread
  • NtGetContextThread
  • NtSetContextThread

Process (2)

  • NtOpenProcess

Section/Mapping (3)

  • NtCreateSection
  • NtMapViewOfSection
  • NtUnmapViewOfSection

APC Injection (4)

  • NtQueueApcThread — Queue user-mode APC
  • NtQueueApcThreadEx — Extended APC queuing
  • NtAlertResumeThread — Resume and alert thread (execute APC)
  • NtTestAlert — Test and execute pending APCs

Handle (1)

  • NtClose

Example: Classic Injection


Preset: evasion

Description: Functions useful for AV/EDR evasion, process querying, and detection bypass. Use cases:
  • Querying process/thread information to detect EDR presence
  • Memory manipulation for evasion
  • Dynamic unhooking support
  • Anti-analysis techniques
Generate:

Included Functions (15)

Process Querying (4)

  • NtQueryInformationProcess — Query process info (PEB, debug port, etc.)
  • NtSetInformationProcess — Set process info
  • NtQueryInformationThread — Query thread info
  • NtSetInformationThread — Set thread info

System/Memory Querying (3)

  • NtQuerySystemInformation — Query system info (processes, modules)
  • NtQueryVirtualMemory — Query memory regions
  • NtSetInformationVirtualMemory — Set memory info

Memory Protection (1)

  • NtProtectVirtualMemory — Change protection (for unhooking)

Section/Mapping (3)

  • NtOpenSection — Open existing section (e.g., \KnownDlls\ntdll.dll)
  • NtMapViewOfSection — Map clean ntdll for unhooking
  • NtUnmapViewOfSection — Unmap section

Handle Operations (2)

  • NtDuplicateObject — Duplicate handles
  • NtClose

Process Control (2)

  • NtOpenProcess
  • NtTerminateProcess — Terminate detected EDR process
  • NtFlushInstructionCache — Flush I-cache after unhooking

Example: Detect Debugger


Preset: token

Description: Token manipulation functions for privilege escalation and impersonation. Use cases:
  • Token duplication
  • Privilege escalation (SeDebugPrivilege, etc.)
  • Thread impersonation
  • Token querying
Generate:

Included Functions (6)

  • NtOpenProcessToken — Open process token
  • NtOpenThreadToken — Open thread token
  • NtQueryInformationToken — Query token information
  • NtAdjustPrivilegesToken — Enable/disable privileges
  • NtDuplicateToken — Duplicate token
  • NtImpersonateThread — Impersonate thread’s security context

Example: Enable SeDebugPrivilege


Preset: stealth

Description: Maximum evasion — combines injection, evasion, and unhooking support functions. Use cases:
  • Red team operations requiring maximum stealth
  • Advanced malware analysis evasion
  • Combined injection + evasion workflows
Generate:

Included Functions (31)

Combines:
  • All injection preset functions
  • All evasion preset functions
  • Additional helper functions:
    • NtContinue — Exception handling
    • NtDelayExecution — Sleep
    • NtWaitForSingleObject — Synchronization

Example: Maximum Stealth Workflow


Preset: file_ops

Description: File I/O operations via NT syscalls. Use cases:
  • Reading/writing files without Win32 API
  • Bypassing file access hooks
  • Low-level file manipulation
Generate:

Included Functions (7)

  • NtCreateFile — Create or open file
  • NtOpenFile — Open existing file
  • NtWriteFile — Write to file
  • NtReadFile — Read from file
  • NtDeleteFile — Delete file
  • NtQueryObject — Query object information
  • NtClose — Close handle

Example: Write File via Syscall


Preset: transaction

Description: Transactional NTFS functions for process doppelganging and hollowing. Use cases:
  • Process doppelganging (create process from transacted file)
  • Transactional file operations (rollback on failure)
  • Advanced process creation evasion
Generate:

Included Functions (7)

Transaction (3)

  • NtCreateTransaction — Create TxF transaction
  • NtRollbackTransaction — Rollback transaction
  • NtCommitTransaction — Commit transaction

Process Creation (3)

  • NtCreateSection — Create section from transacted file
  • NtCreateProcessEx — Create process from section
  • NtCreateThreadEx — Create initial thread

Handle (1)

  • NtClose

Example: Process Doppelganging Flow


Preset: all

Description: All 64 supported functions. Use cases:
  • Maximum flexibility
  • Framework development
  • Complete NT API syscall coverage
Generate:

Included Functions (64)

All functions from all presets, plus:
  • NtAllocateVirtualMemoryEx — Extended allocation
  • NtSuspendProcess / NtResumeProcess — Process suspension
  • NtWaitForMultipleObjects — Wait for multiple objects
  • NtSignalAndWaitForSingleObject — Atomic signal+wait
  • NtCreateEvent / NtSetEvent / NtResetEvent — Event objects
  • NtCreateTimer / NtSetTimer — Timer objects
  • NtAlertThread — Alert thread
  • And more…
Binary size: Larger due to all 64 function stubs.

Combining Presets

Merge multiple presets:
This includes:
  • All 25 common functions
  • All 6 token functions
  • Duplicates automatically removed

Adding Custom Functions

Combine preset with specific functions:
Result: All injection functions + the 2 additional functions.

Red Team Shellcode Injection

Token Abuse + Evasion

File Operations + Anti-Debug

Maximum Stealth Everything


Next Steps

Basic Usage

Learn basic workflows and patterns

Advanced Evasion

Explore all evasion configurations