Skip to content

Resources

CheatSheet

Commands

  • Process & Threads
    • Listing
      ~ # For The Current Thread
      ~*k # Stack for the all Threads
    • Info
      !Process 0 0 # List all running processes
      !process ffffba8f7db41080 7 # specific process 
      dt nt!_eprocess ffffba8f84b460c0 || dt nt!_kprocess ffffba8f84b460c0 # process structure type Eprocess & Kprocess
      !process 0xffffba8f846084c8 - 448 0 # The Flinks
       
  • Modules
    • Listing
      lm
    • Loading
      .reload /f sechost.dll # one module
      • All
        !sym noisy
        .sympath srv*https://msdl.microsoft.com/download/symbols
        .reload /f
        !sym quiet
  • Misc
    • Operations
      • Go
        g
      • BreatPoint
        bp kernelbase!CreateFileW # Break on specific function
        bl # list break points
        bc * # clear breakpoints
      • Unassemble
        u rip
      • Restart
        .restart
    • View
      du @rcx # when the rcx is unicode 
      • Handels
        !handel
        !handle 940 f # 1 + 2 + 4 + 8 = 15 [f]
    • Symbols
      x *!CreateWindowExW
      x *!*CreateWindowEx*
    • Manual Help
      !handle -? #inline terminal
      .hh !handle # offline manual
      !error 2 # number of windows error 
    • SDDT
      dd nt!KiServiceTable # Start of the table
      dd nt!kiservicetable+55*4 L1 # Specifc Function 
      u nt!kiservicetable+0543e80 # the Bytes was 0543e807 we take only 0543e80 why not 7 !! -> 7 is the parameters number exept the Stack parameters 
    • Object & Handels
      !object 0xFFFFDF8F77063310
      dt nt!_OBJECT_TYPE ffffdf8f6d32dbc0
    • Kernal Debugging
      !process 0n872 0 #csrss.exe 
      eb ffffc309c0198240+0x87a 0 # Edit only clear the Protection 
      ed 0xffffc309c0198240+0x878 00000000 # Edit SignatureLevel,SectionSignatureLevel,Protection,Audit
      Kernal - Commands

Notes