mirror of
https://github.com/S3N4T0R-0X0/APTs-Adversary-Simulation.git
synced 2026-08-04 09:41:40 +02:00
Update README.md
This commit is contained in:
@@ -38,3 +38,29 @@ If the sandbox module is not detected, it proceeds to execute the core malicious
|
||||

|
||||
|
||||
|
||||
3. Dynamic API Resolution
|
||||
|
||||
The ResolveImport function dynamically resolves Windows API functions by loading the required DLLs and identifying functions by their hashed names. This is an obfuscation and anti-analysis technique to hide API calls.
|
||||
It is specifically designed to resolve APIs like NtAllocateVirtualMemory.
|
||||
|
||||
4. Memory Allocation
|
||||
|
||||
MalwareMain uses the resolved API NtAllocateVirtualMemory to allocate memory in the process space. This allocated memory could be used for malicious purposes such as:
|
||||
Injecting malicious code.
|
||||
Executing a payload from memory.
|
||||
The allocation is made with read-write permissions (PAGE_READWRITE).
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
5. Custom Hashing
|
||||
|
||||
The fnv1a_salted function calculates a hash value using the FNV-1a algorithm, which is commonly used in malware for:
|
||||
Obfuscating strings or API names.
|
||||
Making it harder for analysts to interpret the payload.
|
||||
The provided test values demonstrate hashing of DLL and function names (ntdll and LdrLoadDll) with a specific salt.
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user