Core Rootkit Technology-use nt! _ MDL (memory descriptor linked list) breaks through the SSDT (System Service Descriptor Table) read-only access restriction Part I, _ mdlssdt
--------------------------------------------------------
A basic requirement for rootkit and malware development is to hook the system service Descriptor Table (SSDT) of the Windows Kernel
Replace specific system service functions with our own malicious routines. Of course, to ensure the normal operation of the system, we
Highlights in version 6.12.2.633
This is the latest version of Windows debugging tool, which is provided in the Windows Driver Toolkit (WDK .. This version of Windows debugging tool contains many bug fixes and new enhancements. The debugger is more stable and reliable than the previous version. We recommend that you upgrade to this version.
Some key changes to the Windows debugging tool are described below:
1. Fixed some bugs in the extension so that only public symbols are used.
2. General
finding the root of the problem. Check that this issue requires spcollect on both sides of the SP, must be collected after the problem occurs (make sure that the problem event is included), and then upload the log to service center or Powerlink.
Case 3:storage Processor dials home ' A23 ' event code
B 11/04/12 06:42:55 sp A A23 Peer sp down. 3 0 0
This error indicates a peer SP failure, possibly due to suspension, downtime, bugcheck (equivalent to
usersymbols**************************************** **************************************** ** Bugcheck analysis ************************************ **************************************** ******Use! Analyze-V to get detailed debugging information.Bugcheck 7f, {0, 0, 0, 0}
In general, the version of the crash system is prompted. If the symbolic file cannot be found, the system prompts "unable to load image. If the following error is returned, the
" dialog box, enter SRV * c:/temp * http://msdl.microsoft.com/download/symbolshere to allow windbgto automatically download the signed information.
After completing the settings, you can start debugging. open "File"> "Open Crase Dump" and select. when the dmp file appears, windbg starts to download the symbol library and perform preliminary analysis.
**************************************** ****************************************** Bugcheck Analysis
can be set by: *
* Using the _NT_SYMBOL_PATH environment variable. *
* Using the-y argument when starting the debugger. *
* using. Sympath and. sympath+ *
*********************************************************************
Unable to load image Ntoskrnl.exe, Win32 error 0N2
Warning:unable to verify timestamp for Ntoskrnl.exe
Error:module load completed but symbols could not is loaded for Ntoskrnl.exe
Loading Kernel Symbols
..............................................................
Recently, the blue screen analysis team has received a lot of user feedback about the wdf01000.sys blue screen. Wdf01000.sys is the Kernel Mode Driver Framework Runtime provided by Microsoft for Framework-based drivers. Is there a problem with this file or a third-party Driver? I searched the internet and found that many users encountered the same problem, but the specific cause is not very clear. So I decided to analyze the blue screen problem.The Windbg analysis result is as follows:
0: kd> !a
normal shutdown, and the most effective API, which calls the Bois routine directly, and then the system shuts down.Furthermore5.Kebugcheck (power_failure_simulate);Maybe you'll think it's bugcheck, then you're wrong, and it's not going to trigger bugcheck.This will actually call the Halreturntofirmware (halrebootmachine)When the bugcheck callback is executed, no BSOD, no crash dump, only very clean, simple
Both mmgetsystemaddressformdlsafe and mmgetsystemaddressformdl are macros, which call the mmmaplockedpagesspecifycache kernel functions directly or indirectly.The mmmaplockedpagesspecifycache statement is as follows:
Ntkernelapi pvoid
Mmmaplockedpagesspecifycache (
In pmdl memorydescriptorlist,
In kprocessor_mode accessmode,
In memory_caching_type cachetype,
In pvoid baseaddress,
In ulong bugcheckonfailure,
In mm_page_priority priority
);
CopyCode
Note that the penultimat
driver can be loaded ). if you use 64-bit. you can place a boot start driver here. and then take out patch guard.
Next is CI. DLL. this is much more troublesome .. it is easier to judge than the startup process. I tried to skip all signature judgment directly like winload and bootmgr. unfortunately .. no .. spsys. the sys file will be bugcheck. this is Microsoft's software license driver .. unfortunately, he does not have PDB. it is also full of inst
portion of the bandwidth or wait until the requested band-The width is available. Transfers that have no guaranteed timing use the remainingBandwidth and must wait if the bus is busy.In the data transmission aspect, the USB uses the time-sharing strategy. The transmission bandwidth is defined and guaranteed at the time of enumeration. 3. Bugcheck (Error checking)When transferring data, the host adds error-checking bits. On receiving data,The device p
NT Commands. Bpsync Synchronize Threads at breakpoint. Breakin Break to the Kerne L Debugger. Browse display Command in Browser. bugcheck Display Bug Check Data . cache Set Cache Size. Call call Function. Chain List Debu Gger Extensions. childdbg Debug child Processes. Clients List Debugging clients . ClosehandlE Close Handle. CLS Clear screen. Context Set User-mode Address context . copysym Copy Symbol Files. Co
The following is a list of precautions that developers should avoid when using the Windows NT Device Driver:
Do not return status_pending through the scheduling routine without marking I/O Request Packet (IRP) suspension (iomarkirppending.
Do not call kesynchronizeexecution through the interrupt service routine (ISR. It causes a system deadlock.
Do not set deviceobject-> flags to do_buffered_io or do_direct_io. It will disrupt the system and eventually lead to fatal errors. In addition, do n
error occurs when the exfreepoolwithtag routine is executed, while the kebugcheckex is the bugcheck performed by the kernel to draw a blue screen background. The exfreepoolwithtag error is relatively simple, most of which are caused by excessive buffer release.So I thought of the buffer used for redirection application. When rtlcopyunicodestring is used for copy, Microsoft's rtlcopyunicodestring is very standard. After copying the string buffer, it w
The following is a list of precautions that developers should avoid when using the Windows NT Device Driver:
1.
Do not return status_pending through the scheduling routine without marking I/O Request Packet (IRP) suspension (iomarkirppending.
2.
Do not call kesynchronizeexecution through the interrupt service routine (ISR. It causes a system deadlock.
3.
Do not set deviceobject-> flags to do_buffered_io or do_direct_io. It will disrupt the system and eventuall
Most people may have experienced the system blue screen problem, but most people do not know how to deal with the blue screen problem, here mainly to do some explanation of the system blue screen, and introduce the blue screen problem analysis tool WinDbg analysis blue screen problem general steps.Microsoft's official definition of the blue screen is that when the system encounters something that could threaten the security of the system, the system stops working, and the State (that is, the blu
, you must use the I/O manager and
The general process of some functions exported by the Memory Manager is as follows:
IoAllocateMdl ()Assign an MDL to describe KiServiceTable->MMP robeandlockpages ()Set the KiServiceTable described by the MDL
The physical page is locked in the memory, and the read and write permissions are granted to this page (actually, the "R" flag in the PTE content that describes this page is changed to "W ")
->MmGetSystemAddressForMdlSafe ()Map the KiServiceTable to anoth
. Hidden partitions are enabled.2. The partition table is incorrect because the primary partition is not activated or the disk format is incorrect.3. Hardware not supportedWindows 8 clean install error 0xc0000001 on a new acer laptopHow to repair DRIVER_VIOLATION complex surface repair (BugCheck 0x121)Bug Check 0x121: DRIVER_VIOLATIONHttp://bbs.pcbeta.com/viewthread-1395346-1-1.htmlHow to solve the 0xc0000001 blue screen error in win8 system installat
support, explicit automatic connection Reference library, shared memory, such as whether to open or cancel, macro on the corresponding module characteristics have a certain impact;Platform.h: Define the Platform ID, version control, hardware architecture and byte order, compiler, newline encoding and other macros under different platforms;Platform_win32.h, Platform_vms.h, Platform_vx.h, platform_posix.h: mainly specify platform-related definitions, macros, and compilation environments under dif
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.