MCPcopy Create free account

hub / github.com/Kudaes/Elevator / functions

Functions50 in github.com/Kudaes/Elevator

↓ 25 callersFunctionget_module_base_address
Retrieves the base address of a module loaded in the current process. In case that the module can't be found in the current process, it will return 0
Elevator/hidden/src/lib.rs:180
↓ 10 callersFunctionget_function_address
Retrieves the address of an exported function from the specified module. This functions is analogous to GetProcAddress from Win32. The exported funct
Elevator/hidden/src/lib.rs:216
↓ 6 callersFunctionclose_handle
Closes a HANDLE object. It will return either a boolean value or an Err with a descriptive error message. If the function fails the bool value return
Elevator/hidden/src/lib.rs:975
↓ 6 callersFunctionfind_syscall_address
Retrieves the memory address of a syscall instruction. It expects the memory address of the function as a parameter, and it will iterate over each fo
Elevator/hidden/src/lib.rs:86
↓ 5 callersFunctionset_hardware_breakpoint
It sets a hardware breakpoint on a certain memory address. # Examples ``` let ntdll = dinvoke::get_module_base_address("ntdll.dll"); let nt_open_pro
Elevator/hidden/src/lib.rs:51
↓ 3 callersFunctionget_function_address_by_ordinal
Retrieves the address of an exported function from the specified module by its ordinal. In case that the function's address can't be retrieved, it wi
Elevator/hidden/src/lib.rs:784
↓ 3 callersFunctionnt_protect_virtual_memory
Dynamically calls NtProtectVirtualMemory. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1091
↓ 3 callersFunctionnt_write_virtual_memory
Dynamically calls NtWriteVirtualMemory. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1022
↓ 2 callersFunctionget_api_mapping
()
Elevator/hidden/src/lib.rs:365
↓ 2 callersFunctionload_library_a
Loads and retrieves a module's base address by dynamically calling LoadLibraryA. It will return either the module's base address or 0. # Examples `
Elevator/hidden/src/lib.rs:883
↓ 2 callersFunctionmanually_map_module
Manually maps a PE into the current process. It will return either a pair (PeMetadata,isize) containing the mapped PE metadata and its base address o
Elevator/manualmap/src/lib.rs:61
↓ 2 callersFunctionnt_allocate_virtual_memory
Dynamically calls NtAllocateVirtualMemory. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1059
↓ 2 callersFunctionnt_query_information_process
Dynamically calls NtQueryInformationProcess. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1187
↓ 1 callersFunctionadd_runtime_table
(pe_info: &PeMetadata, image_ptr: *mut c_void)
Elevator/manualmap/src/lib.rs:549
↓ 1 callersFunctionclean_dos_header
This method is reponsible of cleaning IOCs that may reveal the pressence of a manually mapped PE in a private memory region. It will remove PE magic b
Elevator/manualmap/src/lib.rs:522
↓ 1 callersFunctionget_forward_address
(function_ptr: *mut u8)
Elevator/hidden/src/lib.rs:281
↓ 1 callersFunctionget_pe_metadata
Retrieves PE headers information from the module base address. It will return either a data::PeMetada struct containing the PE metadata or a String w
Elevator/manualmap/src/lib.rs:129
↓ 1 callersFunctionget_rpc_stub
()
Elevator/rpcclient/src/lib.rs:247
↓ 1 callersFunctionldr_get_procedure_address
Retrieves the address of an exported function from the specified module either by its name or by its ordinal number. This functions internally calls
Elevator/hidden/src/lib.rs:813
↓ 1 callersFunctionmain
()
Elevator/src/main.rs:7
↓ 1 callersFunctionmap_module_to_memory
Maps a module to a valid memory space in the current process. The parameters required are a vector with the module content, the base address where th
Elevator/manualmap/src/lib.rs:184
↓ 1 callersFunctionnt_duplicate_object
Dynamically calls NtDuplicateObject. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1128
↓ 1 callersFunctionprint_help
()
Elevator/src/main.rs:37
↓ 1 callersFunctionrelocate_module
Relocates a module in memory. The parameters required are the module's metadata information and a pointer to the base address where the module is map
Elevator/manualmap/src/lib.rs:243
↓ 1 callersFunctionrewrite_module_iat
Rewrites the IAT of a manually mapped module. The parameters required are the module's metadata information and a pointer to the base address where t
Elevator/manualmap/src/lib.rs:311
↓ 1 callersFunctionset_module_section_permissions
Sets correct module section permissions for a manually mapped module. The parameters required are the module's metadata information and a pointer to
Elevator/manualmap/src/lib.rs:583
↓ 1 callersFunctionspawn_elevated_process
(command: String, new_console: bool)
Elevator/rpcclient/src/lib.rs:13
↓ 1 callersFunctionstart
()
Elevator/src/main.rs:12
FunctionDllMain
RPC_Stub/dllrs/dllmain.cpp:5
FunctionProc0_RAiLaunchAdminProcess
RPC_Stub/dllrs/appinfo_c.cpp:79
Function__RPC_USER midl_user_allocate
RPC_Stub/dllrs/appinfo_c.cpp:2197
Function__RPC_USER midl_user_free
RPC_Stub/dllrs/appinfo_c.cpp:2202
Functionbreakpoint_handler
This function acts as an Exception Handler, and should be combined with a hardware breakpoint. Whenever the HB gets triggered, this function will be
Elevator/hidden/src/lib.rs:110
Functioncall_module_entry_point
Calls the module's entry point with the option DLL_ATTACH_PROCESS. # Examples ```ignore let pe = manualmap::read_and_map_module("c:\\some\\random\\f
Elevator/hidden/src/lib.rs:735
Methoddefault
()
Elevator/data/src/lib.rs:124
Functionget_ntdll_eat
Returns a BTreeMap<isize,String> composed of pairs (memory address, function name) with all the Nt exported functions on ntdll.dll. This functions wi
Elevator/hidden/src/lib.rs:514
Functionget_syscall_id
Returns the syscall id that correspond to the function specified. This functions will return -1 in case that the syscall id of the specified function
Elevator/hidden/src/lib.rs:593
Functionmain
()
Elevator/build.rs:1
Functionnt_create_thread_ex
Dynamically calls NtCreateThreadEx. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1273
Functionnt_open_file
Dynamically calls NtOpenFile. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1253
Functionnt_open_process
Dynamically calls NtOpenProcess. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1147
Functionopen_process
Opens a HANDLE to a process. If the function fails, it will return a null HANDLE. # Examples ``` let pid = 792u32; let handle = dinvoke::open_proce
Elevator/hidden/src/lib.rs:938
Functionprepare_syscall
Given a valid syscall id, it will allocate the required shellcode to execute that specific syscall. This functions will return the memory address whe
Elevator/hidden/src/lib.rs:632
Functionread_and_map_module
Manually maps a PE from disk to the memory of the current process. It will return either a pair (PeMetadata,isize) containing the mapped PE metadata
Elevator/manualmap/src/lib.rs:38
Functionrtl_adjust_privilege
Dynamically calls RtlAdjustPrivilege. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1206
Functionrtl_init_unicode_string
Dynamically calls RtlInitUnicodeString. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1225
Functionrtl_zero_memory
Dynamically calls RtlZeroMemory. It will return the NTSTATUS value returned by the call.
Elevator/hidden/src/lib.rs:1239
Functionset_unhandled_exception_filter
Dynamically calls SetUnhandledExceptionFilter.
Elevator/hidden/src/lib.rs:856
Functionuse_hardware_breakpoints
Enables or disables the use of exception handlers in combination with hardware breakpoints.
Elevator/hidden/src/lib.rs:33
Functionvirtual_free
Dynamically calls VirtualFree.
Elevator/hidden/src/lib.rs:1001