Repository navigation
Agent KB_win_rootkit
grisun0 edited this page Oct 12, 2026
·
2 revisions
- Layer: utility
- Language: c
- Symbols:
-
Command(struct, line 27) -
VirtualFile(struct, line 33) -
elp(function, line 66)void elp() -
ensure_pid_file_exists(function, line 86)void ensure_pid_file_exists() -
ensure_key_file_exists(function, line 123)void ensure_key_file_exists() -
ensure_hide_file_exists(function, line 150)void ensure_hide_file_exists() -
infect_command(function, line 179)void infect_command() -
handle_client(function, line 204)DWORD WINAPI handle_client(LPVOID client_socket) -
monitor_shell(function, line 430)DWORD WINAPI monitor_shell(LPVOID data) -
main(function, line 540)int main() -
PORT(macro, line 17)#define PORT -
BUFFER_SIZE(macro, line 18)#define BUFFER_SIZE -
MAX_COMMANDS(macro, line 19)#define MAX_COMMANDS -
PID_FILE(macro, line 20)#define PID_FILE -
HIDE_FILE(macro, line 21)#define HIDE_FILE -
KEY_FILE(macro, line 22)#define KEY_FILE -
PASSWORD(macro, line 24)#define PASSWORD
-
- Doc: RunExperiment: Define the RunExperiment function
- Layer: utility
- Language: c
- Symbols:
-
RunExperiment(function, line 19)void __cdecl RunExperiment() -
load_hidden_pids(function, line 24)void load_hidden_pids() -
load_hidden_files(function, line 47)void load_hidden_files() -
FindProcessId(function, line 89)DWORD FindProcessId(const char* processName) -
HideProcessByPID(function, line 115)void HideProcessByPID(DWORD pid) -
search_pid(function, line 137)BOOL search_pid() -
should_hide_pid(function, line 147)BOOL should_hide_pid(DWORD pid) -
should_hide_file(function, line 161)BOOL should_hide_file(const char* filename) -
HookedFindFirstFile(function, line 171)HANDLE WINAPI HookedFindFirstFile(LPCSTR lpFileName, LPWIN32_FIND_DATA lpFindFileData) -
HookedFindNextFile(function, line 180)BOOL WINAPI HookedFindNextFile(HANDLE hFindFile, LPWIN32_FIND_DATA lpFindFileData) -
HookedCreateToolhelp32Snapshot(function, line 189)HANDLE WINAPI HookedCreateToolhelp32Snapshot(DWORD dwFlags, DWORD th32ProcessID) -
HookedProcess32First(function, line 198)BOOL WINAPI HookedProcess32First(HANDLE hSnapshot, LPPROCESSENTRY32 lppe) -
HookedProcess32Next(function, line 210)BOOL WINAPI HookedProcess32Next(HANDLE hSnapshot, LPPROCESSENTRY32 lppe) -
HookFunctions(function, line 222)void HookFunctions() -
DllMain(function, line 272)BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) -
MAX_HIDE_PIDS(macro, line 7)#define MAX_HIDE_PIDS -
PID_FILE_PATH(macro, line 8)#define PID_FILE_PATH -
FILE_HIDE_PATH(macro, line 9)#define FILE_HIDE_PATH
-
- Layer: utility
- Language: cs
- Symbols:
-
WinRing3Rootkit(class, line 32) -
WIN32_FIND_DATA(class, line 47) -
SECURITY_ATTRIBUTES(class, line 64) -
TOKEN_USER(class, line 123) -
SID_AND_ATTRIBUTES(class, line 129) -
SID(class, line 136) -
GetUsernameFromPid(method, line 145) -
ShouldHidePid(method, line 203) -
HookFindFirstFile(method, line 214) -
HookCreateFile(method, line 226)
-
- Doc: initPIDArray: Función para inicializar el arreglo de PIDs
- Layer: utility
- Language: c
- Symbols:
-
Command(struct, line 28) -
VirtualFile(struct, line 34) -
PIDArray(struct, line 40) -
DownloadDLL(function, line 79)BOOL DownloadDLL(const char* url, PBYTE* buffer, DWORD* size) -
ReflectiveLoadDLL(function, line 99)BOOL ReflectiveLoadDLL(PBYTE dllBuffer, DWORD dllSize) -
initPIDArray(function, line 146)void initPIDArray(PIDArray *array) -
addPID(function, line 153)void addPID(PIDArray *array, DWORD pid) -
freePIDArray(function, line 162)void freePIDArray(PIDArray *array) -
getPIDsFromTasklist(function, line 166)void getPIDsFromTasklist(PIDArray *pidArray) -
AddDllToAppInitDLLs(function, line 191)BOOL AddDllToAppInitDLLs(const char* dllPath) -
GetProcessIdByName(function, line 240)DWORD GetProcessIdByName(const char* processName) -
Gifted(function, line 270)BOOL Gifted(DWORD processId, const char* dllPath) -
elp(function, line 362)void elp() -
ensure_pid_file_exists(function, line 382)void ensure_pid_file_exists() -
ensure_key_file_exists(function, line 419)void ensure_key_file_exists() -
ensure_hide_file_exists(function, line 446)void ensure_hide_file_exists() -
giveGift(function, line 475)BOOL giveGift() -
handle_client(function, line 526)DWORD WINAPI handle_client(LPVOID client_socket) -
monitor_shell(function, line 755)DWORD WINAPI monitor_shell(LPVOID data) -
main(function, line 865)int main() -
PORT(macro, line 18)#define PORT -
BUFFER_SIZE(macro, line 19)#define BUFFER_SIZE -
MAX_COMMANDS(macro, line 20)#define MAX_COMMANDS -
PID_FILE(macro, line 21)#define PID_FILE -
HIDE_FILE(macro, line 22)#define HIDE_FILE -
KEY_FILE(macro, line 23)#define KEY_FILE -
PASSWORD(macro, line 25)#define PASSWORD
-
- Layer: utility
- Language: cpp
- Symbols:
-
get_username_from_pid(function, line 42)char* get_username_from_pid(DWORD pid) -
should_hide_pid(function, line 65)int should_hide_pid(const char* pid) -
hook_FindFirstFile(function, line 75)HANDLE WINAPI hook_FindFirstFile(CONST char* path, WIN32_FIND_DATA* find_data) -
hook_CreateFile(function, line 85)HANDLE WINAPI hook_CreateFile(CONST char* path, DWORD access, DWORD share, LPSECURITY_ATTRIBUTES ... -
DllMain(function, line 94)BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) -
HIDDEN_DIR(macro, line 32)#define HIDDEN_DIR -
HIDDEN_FILE(macro, line 33)#define HIDDEN_FILE -
HIDE_USER(macro, line 34)#define HIDE_USER -
MAX_HIDE_PIDS(macro, line 35)#define MAX_HIDE_PIDS
-
Generated offline by readmenator from commit bb49626e7e46. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_opsec_scorer
- community_11_modules_finding_lifecycle
- community_12_modules_kerberos_core
- community_13_modules_saas_attacks
- community_14_modules_polymorphic_engine
- community_15_contrib_legacy
- community_16_scripts_journal
- community_17_modules_backdoor
- community_18_poc_tui
- community_19_scripts_check_contract_manifest
- community_1_modules_lazyc2
- community_20_scripts_migrate_lazyown
- community_21_tools
- community_22_orphans
- community_2_cli
- community_3_modules_autonomous_daemon
- community_4_modules_lazy_loop
- community_5_lazygui_panels
- community_6_skills_claude_md_orchestrator
- community_7_static_js
- community_8_modules_llm_budget
- community_9_modules_atomic_exploit_bridge
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_rootkit
- KB_scripts
- KB_security
- KB_services
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p2
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes