Overview
SysWhispers4 supports 64 Windows NT kernel functions spanning memory management, process/thread control, file I/O, token manipulation, and synchronization primitives. All functions are prefixed withSW4_ (customizable via --prefix flag) and return NTSTATUS codes.
Memory Management (8 functions)
Direct syscalls for virtual memory allocation, protection, and querying.NtAllocateVirtualMemory
Allocates virtual memory in a process.NtAllocateVirtualMemoryEx
Extended allocation with NUMA support (Windows 10+).NtFreeVirtualMemory
Frees allocated virtual memory.NtWriteVirtualMemory
Writes data to process memory.NtReadVirtualMemory
Reads data from process memory.NtProtectVirtualMemory
Changes memory protection flags.NtQueryVirtualMemory
Retrieves memory region information.NtSetInformationVirtualMemory
Sets virtual memory attributes (Windows 10+).Section / Mapping (4 functions)
Section objects for memory-mapped files and inter-process memory sharing.NtCreateSection
Creates a section object.NtOpenSection
Opens an existing section object.\KnownDlls\, shared sections
NtMapViewOfSection
Maps a section into process address space.NtUnmapViewOfSection
Unmaps a section view.Process Management (9 functions)
Process creation, termination, suspension, and information querying.NtOpenProcess
Opens a handle to a process.NtCreateProcess
Creates a new process (legacy).NtCreateProcessEx
Extended process creation.NtCreateUserProcess
Comprehensive process creation (Windows Vista+).NtTerminateProcess
Terminates a process.NtSuspendProcess
Suspends all threads in a process.NtResumeProcess
Resumes a suspended process.NtQueryInformationProcess
Queries process information.NtSetInformationProcess
Sets process information.Thread Management (14 functions)
Thread creation, manipulation, context control, and APC queuing.NtCreateThreadEx
Creates a thread in a process.NtOpenThread
Opens a handle to a thread.NtTerminateThread
Terminates a thread.NtSuspendThread
Suspends a thread.NtResumeThread
Resumes a suspended thread.NtGetContextThread
Retrieves a thread’s CPU context (registers).NtSetContextThread
Sets a thread’s CPU context.NtQueueApcThread
Queues an APC to a thread.NtQueueApcThreadEx
Extended APC queuing (Windows 7+).NtQueryInformationThread
Queries thread information.NtSetInformationThread
Sets thread information.NtTestAlert
Tests if APCs are pending.NtAlertThread
Alerts a thread (forces APC delivery).NtAlertResumeThread
Alerts and resumes a thread.Synchronization (10 functions)
Handles, events, timers, and wait operations.NtClose
Closes a handle.NtDuplicateObject
Duplicates a handle.NtWaitForSingleObject
Waits for an object to be signaled.NtWaitForMultipleObjects
Waits for multiple objects.NtSignalAndWaitForSingleObject
Signals one object and waits for another.NtCreateEvent
Creates an event object.NtSetEvent
Sets an event to signaled state.NtResetEvent
Resets an event to non-signaled state.NtCreateTimer
Creates a timer object.NtSetTimer
Sets a timer.File I/O (5 functions)
NT-level file operations.NtCreateFile
Creates or opens a file.NtOpenFile
Opens an existing file.NtReadFile
Reads from a file.NtWriteFile
Writes to a file.NtDeleteFile
Deletes a file.Token Manipulation (6 functions)
Token access, privilege escalation, and impersonation.NtOpenProcessToken
Opens a process token.NtOpenThreadToken
Opens a thread token.NtQueryInformationToken
Queries token information.NtAdjustPrivilegesToken
Enables or disables token privileges.NtDuplicateToken
Duplicates a token.NtImpersonateThread
Impersonates a thread’s security context.Transaction Management (3 functions)
KTM (Kernel Transaction Manager) for process doppelganging.NtCreateTransaction
Creates a transaction object.NtRollbackTransaction
Rolls back a transaction.NtCommitTransaction
Commits a transaction.Miscellaneous (5 functions)
Utility functions for delays, system information, and low-level control.NtDelayExecution
Delays execution (sleep).NtQuerySystemInformation
Queries system-wide information.NtQueryObject
Queries object information.NtFlushInstructionCache
Flushes instruction cache.NtContinue
Continues execution after exception.Function Count by Category
| Category | Count | Functions |
|---|---|---|
| Memory | 8 | Allocate, Free, Read, Write, Protect, Query |
| Section | 4 | Create, Open, Map, Unmap |
| Process | 9 | Open, Create, Terminate, Suspend, Resume, Query |
| Thread | 14 | Create, Open, Terminate, Context, APC, Alert |
| Sync | 10 | Close, Wait, Event, Timer, Duplicate |
| File | 5 | Create, Open, Read, Write, Delete |
| Token | 6 | Open, Query, Adjust, Duplicate, Impersonate |
| Transaction | 3 | Create, Rollback, Commit |
| Misc | 5 | Delay, QuerySystem, QueryObject, Flush, Continue |
| TOTAL | 64 |
Preset Mappings
SysWhispers4 provides 8 presets for common use cases:--preset common (25 functions)
General-purpose process/thread/memory operations.
--preset injection (20 functions)
Shellcode injection, APC injection, section mapping.
--preset evasion (15 functions)
AV/EDR evasion and detection bypass.
--preset token (6 functions)
Token manipulation and privilege escalation.
--preset stealth (32 functions)
Maximum evasion: injection + evasion + unhooking support.
--preset file_ops (7 functions)
File I/O via NT syscalls.
--preset transaction (7 functions)
Process doppelganging / transaction rollback.
--preset all (64 functions)
Every supported function.
Generation Examples
Minimal Memory Operations
Injection + Token Theft
All Functions, Maximum Evasion
Next Steps
API Overview
Back to API overview and usage patterns
Quickstart Guide
Get started with SysWhispers4
