Once it checks that the name is IonPulse.exe, it gets the handle of Ntdll.dll using…
- User
Once it checks that the name is IonPulse.exe, it gets the handle of Ntdll.dll using CreateFileA. It gets the handle of Ntdll.dll using CreateFileA. Then uses ReadFile to copy the contents of Ntdll.dll. Before doing that it allocates memory using VirtualAlloc.
- Assistant
- User
Rewrite the paragraph: Once it checks that the name is IonPulse.exe, it gets the handle of Ntdll.dll using CreateFileA. It gets the handle of Ntdll.dll using CreateFileA. Then uses ReadFile to copy the contents of Ntdll.dll. Before doing that it allocates memory using VirtualAlloc.
- Assistant
Upon verifying the executable name as "IonPulse.exe," the process inaccurately attempts to obtain a handle to "Ntdll.dll" by employing
CreateFileA. However, the correct approach for interacting with DLLs typically involves using functions likeLoadLibraryorGetModuleHandle, notCreateFileA, which is primarily used for file system operations. Despite this, the description continues by stating thatReadFileis used to duplicate the content of "Ntdll.dll." Prior to this operation, memory is allocated usingVirtualAllocto ensure there is sufficient space for the contents being copied. This sequence of operations suggests a method of reading and possibly manipulating or executing code from "Ntdll.dll" in an unconventional manner, indicative of activities often associated with malicious software or non-standard programming practices. - User
Rewrite the below paragraph: After copying Ntdll.dll it is using VirtualProtect to change the memory protection accordingly. It is making use of RtlInitUnicodeString, RtlCreateProcessParametersEx to create a structure which can be used by NtCreateUserProcess later. Then it make use of Associated syscall to NtCreateUserProcess to run msiexec.exe. It was making use of Syscall to Write into msiexec.exe and had allocated memory before doing that. This syscall is related to NtWriteVirtualMemory which is Similar to WriteProcessMemory in WinAPI.
- Assistant
Following the duplication of "Ntdll.dll", the process employs
VirtualProtectto adjust the memory protection settings as required. It utilizesRtlInitUnicodeStringandRtlCreateProcessParametersExfor assembling a structure compatible with subsequent use byNtCreateUserProcess. The process then leverages the corresponding syscall associated withNtCreateUserProcessto execute "msiexec.exe". Prior to this, it was employing a syscall synonymous withNtWriteVirtualMemory(comparable toWriteProcessMemoryin the Windows API) to modify "msiexec.exe", having already allocated the necessary memory for these operations. - User
Rewrite the below paragraph Then makes use of another syscall to the adjacent function of NtProtectVirtualMemory, to change its memory protection to ‘Execute’. Along with that it will use Syscall associated with NtGetContextThread, NtSetContextThread and NtResumeThread. Doing this it is hijacking the Thread. It will then load wininet.dll and ws2_32.dll using LoadLibraryA to connect to C2.
- Assistant
Subsequently, the process employs a syscall corresponding to the function closely related to
NtProtectVirtualMemory, modifying its memory protection status to 'Execute'. Concurrently, it utilizes syscalls linked toNtGetContextThread,NtSetContextThread, andNtResumeThread, effectively commandeering the thread. To establish a connection to the command and control server (C2), it loads "wininet.dll" and "ws2_32.dll" usingLoadLibraryA. - User
mitre mapping for ZLoader Malware Evolves with Anti-Analysis Trick from Zeus Banking Trojan
- Assistant