Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nordgaren/stealth-win
/ functions
Functions
264 in github.com/Nordgaren/stealth-win
⨍
Functions
264
◇
Types & classes
52
↓ 1 callers
Function
read_to_buffer
(file_handle: usize, buffer: *mut u8, len: u32, offset: usize)
src/std/fs.rs:111
↓ 1 callers
Function
realloc_fallback
( alloc: &NoImportAllocator, ptr: *mut u8, old_layout: Layout, new_size: usize, )
src/std/alloc.rs:78
↓ 1 callers
Function
strlenw
Need internal function for this in unmapped PE state.
src/util.rs:119
↓ 1 callers
Function
xor_encrypt_bytes
(bytes: &[u8], key: &[u8])
build_src/build_util.rs:283
Function
AllocConsole
()
src/windows/kernel32/mod.rs:727
Function
CloseHandle
(hObject: usize)
src/windows/kernel32/mod.rs:736
Function
CreateProcessA
( lpApplicationName: *const u8, lpCommandLine: *const u8, lpProcessAttributes: *const SECURITY_ATT
src/windows/kernel32/mod.rs:807
Function
CreateProcessW
( lpApplicationName: *const u16, lpCommandLine: *const u8, lpProcessAttributes: *const SECURITY_AT
src/windows/kernel32/mod.rs:842
Function
CreateRemoteThread
( hProcess: usize, lpThreadAttributes: usize, dwStackSize: usize, lpStartAddress: usize, l
src/windows/kernel32/mod.rs:877
Function
CreateToolhelp32Snapshot
(dwFlags: u32, th32ProcessID: u32)
src/windows/kernel32/mod.rs:910
Function
FreeConsole
()
src/windows/kernel32/mod.rs:928
Function
GetCurrentProcess
()
src/windows/kernel32/mod.rs:939
Function
GetFinalPathNameByHandleA
( hFile: usize, lpszFilePath: *const u8, cchFilePath: u32, dwFlags: u32, )
src/windows/kernel32/mod.rs:969
Function
GetModuleHandleW
(lpModuleName: *const u16)
src/windows/kernel32/mod.rs:1006
Function
ImageDirectoryEntryToDataEx
( Base: usize, MappedAsImage: u32, DirectoryEntry: u16, Size: *mut u32, FoundHeader: *mut
src/windows/dbghelp/mod.rs:12
Function
IsProcessorFeaturePresent
(ProcessorFeature: u32)
src/windows/kernel32/mod.rs:1114
Function
MessageBoxA
(hWnd: usize, lpText: *const u8, lpCaption: *const u8, uType: u32)
src/windows/user32/mod.rs:49
Function
NtFlushInstructionCache
(hProcess: usize, lpBaseAddress: usize, dwSize: u32)
src/windows/ntdll/mod.rs:387
Function
NtWriteFile
( FileHandle: usize, Event: usize, ApcRoutine: u32, ApcContext: u32, IoStatusBlock: *mut I
src/windows/ntdll/mod.rs:437
Function
OpenFile
(lpFileName: *const u8, lpReOpenBuff: *const OFSTRUCT, uStyle: u32)
src/windows/kernel32/mod.rs:1141
Function
OpenProcess
(dwDesiredAccess: u32, bInheritHandle: u32, dwProcessId: u32)
src/windows/kernel32/mod.rs:1154
Function
Process32First
(hSnapshot: usize, lppe: *mut PROCESSENTRY32)
src/windows/kernel32/mod.rs:1167
Function
Process32Next
(hSnapshot: usize, lppe: *mut PROCESSENTRY32)
src/windows/kernel32/mod.rs:1180
Function
ReadFile
( hFile: usize, lpBuffer: *mut u8, nNumberOfBytesToRead: u32, lpNumberOfBytesRead: *mut u32,
src/windows/kernel32/mod.rs:1193
Function
ReadFileEx
( hFile: usize, lpBuffer: *mut u8, nNumberOfBytesToRead: u32, lpOverlapped: *mut OVERLAPPED,
src/windows/kernel32/mod.rs:1218
Function
ReadProcessMemory
( hProcess: usize, lpBaseAddress: usize, lpBuffer: *mut u8, nSize: usize, lpNumberOfBytesR
src/windows/kernel32/mod.rs:1243
Function
ResumeThread
(hThread: usize)
src/windows/kernel32/mod.rs:1264
Function
SetStdHandle
(nStdHandle: u32, hHandle: usize)
src/windows/kernel32/mod.rs:1277
Function
VirtualAllocEx
( hProcess: usize, lpAddress: usize, dwSize: usize, flAllocationType: u32, flProtect: u32,
src/windows/kernel32/mod.rs:1306
Function
VirtualFreeEx
( hProcess: usize, lpAddress: usize, dwSize: usize, dwFreeType: u32, )
src/windows/kernel32/mod.rs:1338
Function
VirtualProtect
( lpAddress: usize, dwSize: usize, flNewProtect: u32, lpflOldProtect: *mut u32, )
src/windows/kernel32/mod.rs:1356
Function
VirtualQuery
( lpAddress: usize, lpBuffer: &mut MEMORY_BASIC_INFORMATION, dwLength: usize, )
src/windows/kernel32/mod.rs:1374
Function
WriteFile
( hFile: usize, lpBuffer: *const u8, nNumberOfBytesToWrite: u32, lpNumberOfBytesWritten: *cons
src/windows/kernel32/mod.rs:1404
Function
WriteProcessMemory
( hProcess: usize, lpAddress: usize, lpBuffer: *const u8, nSize: usize, lpNumberOfBytesWri
src/windows/kernel32/mod.rs:1429
Method
add_aes_iv_to_payload
(&mut self, payload: &mut Vec<u8>)
build_src/resource_gen.rs:159
Method
add_aes_key_to_payload
(&mut self, payload: &mut Vec<u8>)
build_src/resource_gen.rs:151
Method
add_dll_to_payload
(&mut self, payload: &mut Vec<u8>)
build_src/resource_gen.rs:175
Method
add_shellcode_to_payload
(&mut self, payload: &mut Vec<u8>)
build_src/resource_gen.rs:167
Method
add_string_to_payload
(&mut self, payload: &mut Vec<u8>)
build_src/resource_gen.rs:132
Method
add_target_to_payload
(&mut self, payload: &mut Vec<u8>)
build_src/resource_gen.rs:124
Method
address_of_entry_point
(&self)
src/windows/pe/mod.rs:569
Function
aes_decrypt_bytes
(bytes: Vec<u8>, key: &[u8], iv: &[u8])
build_src/build_util.rs:203
Function
aes_encrypt_bytes
(bytes: &[u8], aes_key: &[u8], aes_iv: &[u8])
src/crypto_util.rs:10
Method
alloc
(&self, layout: Layout)
src/std/alloc.rs:98
Method
alloc_zeroed
(&self, layout: Layout)
src/std/alloc.rs:105
Method
base_of_code
(&self)
src/windows/pe/mod.rs:573
Method
check_sum
(&self)
src/windows/pe/mod.rs:673
Method
clear
(&mut self)
src/svec.rs:157
Function
collect_test
()
src/svec.rs:380
Function
compare_xor_str_and_w_str_bytes
&[u8] is the second easiest way to deal with C-style strings in Rust. Here we will take in the two strings as &[u8], and will compare them byte by byt
src/util.rs:168
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
src/std/alloc.rs:112
Method
default
()
src/ptr.rs:32
Method
deref
(&self)
src/ptr.rs:26
Method
deref_mut
(&mut self)
src/ptr.rs:87
Method
dll_characteristics
(&self)
src/windows/pe/mod.rs:689
Method
dos_header
(&self)
src/windows/pe/mod.rs:190
Method
drop
(&mut self)
src/svec.rs:276
Function
drop_test
()
src/svec.rs:346
Method
eq
(&self, other: &[u8])
src/resource/strings.rs:53
Method
file_alignment
(&self)
src/windows/pe/mod.rs:593
Method
file_header
(&self)
src/windows/pe/mod.rs:506
Method
fmt
(&self, f: &mut Formatter<'_>)
src/svec.rs:212
Function
formatting_test
()
src/svec.rs:371
Method
from
(address: *const T)
src/ptr.rs:40
Method
from_address
(base_address: usize)
src/windows/pe/mod.rs:70
Method
from_address_unchecked
(base_address: usize)
src/windows/pe/mod.rs:97
Method
from_iter
(iter: I)
src/svec.rs:186
Method
from_mut_ptr
(address: *mut T)
src/ptr.rs:62
Method
from_offsets
(resource_offset: usize, key_offset: usize, len: usize)
src/resource/strings.rs:20
Method
from_ptr
(address: *const T)
src/ptr.rs:8
Method
from_ptr
(ptr: *const u8)
src/windows/pe/mod.rs:63
Method
from_ptr_unchecked
(ptr: *const u8)
src/windows/pe/mod.rs:67
Method
from_resource
( resource: u32, resource_offset: usize, key_offset: usize, len: usize, )
src/resource/strings.rs:26
Method
from_slice
(ptr: &'a [u8])
src/windows/pe/mod.rs:55
Method
from_slice_unchecked
(ptr: &'a [u8])
src/windows/pe/mod.rs:59
Method
from_usize
(address: usize)
src/ptr.rs:11
Function
geb_peb
()
src/windows/kernel32/tests.rs:14
Function
generate_random_bytes_in_range
(num_bytes: usize, value_range: Range<u8>)
build_src/build_util.rs:301
Function
generate_random_bytes_in_range_inclusive
( num_bytes: usize, value_range: Range<u8>, )
build_src/build_util.rs:307
Function
get_aes_encrypted_resource_bytes
(offset: usize, len: usize)
src/crypto_util.rs:127
Function
get_dll_base_test
()
src/util.rs:326
Function
get_entry_offset_by_name
( resource_directory_table: &RESOURCE_DIRECTORY_TABLE, name: &[u8], )
src/windows/pe/mod.rs:816
Method
get_export_rva_xor_string
(&self, xor_name: &[u8], key: &[u8])
src/windows/pe/mod.rs:283
Method
get_function_ordinal_xor
(&self, function_name: &[u8], key: &[u8])
src/windows/pe/mod.rs:451
Function
get_fwd_proc_address
()
src/windows/kernel32/tests.rs:96
Function
get_module_handle
()
src/windows/kernel32/tests.rs:23
Function
get_module_handle_x_test
()
src/windows/kernel32/tests.rs:112
Function
get_proc_address
()
src/windows/kernel32/tests.rs:31
Function
get_proc_address_by_ordinal
()
src/windows/kernel32/tests.rs:78
Function
get_proc_address_x_test
()
src/windows/kernel32/tests.rs:125
Function
get_resource
()
src/util.rs:318
Function
get_return_addr
()
src/util.rs:304
Function
get_rva
()
src/windows/pe/tests.rs:66
Function
get_rva_by_ordinal
()
src/windows/pe/tests.rs:47
Function
get_rva_by_ordinal_on_disk
()
src/windows/pe/tests.rs:114
Function
get_rva_on_disk
()
src/windows/pe/tests.rs:136
Function
get_string
()
src/resource/tests.rs:6
Function
get_system_dir_w
()
src/util.rs:287
Function
get_system_directory_a
()
src/windows/kernel32/tests.rs:144
Function
get_system_directory_w
()
src/windows/kernel32/tests.rs:154
← previous
next →
101–200 of 264, ranked by callers