New answers tagged

0

In order to get the text section of the desired dll, first you need its base address (DOS Header in other words) which leads you to its PE Header (using the e_lfanew field of IMAGE_DOS_HEADER). At the PE Header (or in it's structured name IMAGE_NT_HEADERS) you'll find a field named FileHeader that contain information regarding the number of sections exist ...


0

Pretty much, they will all eventually read the PEPROCESS object directory. Maybe not, depends on what you're trying to hide from. If it's just some basic usermode process iteration then you're probably fine. There's quite a few ways to iterate the process object directory though, such as ZwGetNextProcess. Your best bet would probably be ObRegisterCallbacks ...


2

When does the PE loader fill in the IAT? The IAT is updated at load time by the PE Loader [1], this is called Load-time dynamic linking, as opposed to Run-time dynamic linking, where LoadLibrary/GetProcAddress are necessary. Hooking an API not included in Import Address Table There are several ways to do that actually, and Export Address Table hooking is ...


0

the Apis like Sleep are documented a header file is provided in the sdk a library to link against is provided by sdk (windows.h ,kernel32.lib) api s like Zwxxx are internal or advanced user apis they or either undocumented or semidocumented or documented for usage in a kernel mode these apis are not to be taken for granted to be either forward ...


0

During Kernel Initialization ntKiSystemCallSelector is Initialized from LOADER_PARAMETER_BLOCK 0: kd> dt nt!_LOADER_PARAMETER_BLOCK Extension->VsmConfigured +0x0f0 Extension : +0x074 VsmConfigured : Pos 8, 1 Bit if SystemCallSelector is Set to True KUSER_SHARED_DATA->SystemCall is also set to true and int 2E is ...


1

It seems you're looking at a Wow64 syscall stubs in 32-bit ntdll.dll. WOW64 can use a special value in the high part of the syscall number for so-called Turbo thunks. From WoW64 internals by "wbenny": typedef struct _WOW64_SYSTEM_SERVICE { ULONG SystemCallNumber : 12; ULONG ServiceTableIndex : 4; ULONG TurboThunkNumber : 5; // Can hold ...


1

Windows Loader Knows the import is bound because bind process also writes a timestamp of the bounded module suppose x.exe is bound to y.dll y.dll has a TimeDateStamp in it peheader when bound it writes the TimeDateStamp of y.dll in the _IMAGE_BOUND_IMPORT_DESCRIPTOR 0:000> dt ole32!_IMAGE_BOUND_IMPORT_DESCRIPTOR +0x000 TimeDateStamp : ...


1

Size Of Heap by Default is 1MB Reserve and 1KB commit these can be changed by using linker option /HEAP:<reserve>,commit During Initialization of Process system/loader/os Creates a Process Heap for Each Process Changing the SizeOfHeapCommit and Reserve Changes the Size of this ProcessHeap the Address Heap Thus Allocated During Process ...


0

1) ollydbg and x64dbg are debuggers (with limited functionality to annotate knowledge).Their strength is dynamic reverse engineering. IDA and Ghidra are reverse engineering tools (IDA with some functionality for debugging). They are for static reverse engineering. Both kinds of tools are useful, both have their places. Generally, the more complex a target ...


1

Afaik the standard ZIP format does not encrypt filenames but only the files' content. So it seems that this software implemented a custom ZIP extension for encrypting filenames based on the same algorithm. It looks like you've got it very close, so now you just need to step through the code in the original binary and your algorithm working on the same data ...


1

sha256: 9dc7380aaef46e591a135c9b314cd6bb1c5b014e6b35f8ec187e090e2af66f33 md5: fd44253addf0260c33dfb504523a6ad6 When analyzing software suspected to have been designed for criminal purposes, uploading the file to VirusTotal seems to be a good first step. In this case, when this file is uploaded to VirusTotal and we click on the "Behavior" tab, there is a ...


0

Most likely the driver only monitors events and send messages to user mode. This approach is used in Microsoft driver samples. If I remember correctly - that it is: https://github.com/microsoft/Windows-driver-samples/blob/master/filesys/miniFilter/scanner I think it is good example to understand mini-filter driver and user mode app communication.


1

This is normally not possible. The icon is part of the resource section (.rsrc) which is covered by the signature so any modification will invalidate it and the binary needs to be re-signed. There may be some parts of the executable you can change without invalidating the signature, but the resource section is not one of them.


0

You can start from the message that prints the Hardware ID and work backwards from it to see how exactly it is calculated.


Top 50 recent answers are included