xzre
Public Member Functions | Data Fields
global_context Struct Reference

Public Member Functions

 PADDING (4)
 
 PADDING (4)
 
 PADDING (4)
 
 PADDING (4)
 

Data Fields

BOOL uses_endbr64
 
imported_funcs_timported_funcs
 pointer to the structure containing resolved OpenSSL functions
 
libc_imports_tlibc_imports
 pointer to the structure containing resolved libc functions
 
BOOL disable_backdoor
 This flag gets set to TRUE by run_backdoor_commands if any of the validity checks fail, making future invocations return immediately. More...
 
sshd_ctx_tsshd_ctx
 
struct sensitive_datasshd_sensitive_data
 
sshd_log_ctx_tsshd_log_ctx
 
char * STR_ssh_rsa_cert_v01_openssh_com
 location of sshd .rodata string "ssh-rsa-cert-v01@openssh.com"
 
char * STR_rsa_sha2_256
 location of sshd .rodata string "rsa-sha2-256"
 
struct monitor ** struct_monitor_ptr_address
 
u32 exit_flag
 
sshd_offsets_t sshd_offsets
 
void * sshd_code_start
 sshd code segment start
 
void * sshd_code_end
 sshd code segment end
 
void * sshd_data_start
 sshd data segment end
 
void * sshd_data_end
 sshd data segment start
 
void * sshd_main
 
void * lzma_code_start
 liblzma code segment start More...
 
void * lzma_code_end
 liblzma code segment end More...
 
u32 uid
 
u64 sock_read_buf_size
 
u8 sock_read_buf [64]
 
u64 payload_data_size
 
u64 digest_offset
 
u8 * payload_data
 
sshd_payload_ctx_tsshd_payload_ctx
 
u32 sshd_host_pubkey_idx
 
u32 payload_state
 
u8 secret_data [ED448_KEY_SIZE]
 the secret data used for the chacha key generation
 
u8 shift_operations [31]
 the shift operation states More...
 
u32 num_shifted_bits
 number of bits copied
 

Field Documentation

◆ disable_backdoor

BOOL global_context::disable_backdoor

This flag gets set to TRUE by run_backdoor_commands if any of the validity checks fail, making future invocations return immediately.

It's likely both a safety check and an anti tampering mechanism.

It's also used to avoid running the payload more than once, if the hooks gets called multiple times

◆ lzma_code_end

void* global_context::lzma_code_end

liblzma code segment end

the shifter will use this address as the maximum search address any instruction beyond this address will be rejected

◆ lzma_code_start

void* global_context::lzma_code_start

liblzma code segment start

the shifter will use this address as the minimum search address any instruction below this address will be rejected

◆ shift_operations

u8 global_context::shift_operations[31]

the shift operation states

written by secret_data_append_singleton


The documentation for this struct was generated from the following file: