Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Reading TEB+PEB memory fail #67

@HongThatCong

Description

@HongThatCong

Test with a example Donut shellcode.
Error reading TEB memory to get PEB in the usual, common way that shellcodes often use.
Please allocate and build TEB and PEB structs.

37 0x3e9464: push  rdi ;0x0
38 0x3e9465: sub   rsp,20h
39 0x3e9469: mov   rax,gs:[30h]
39 Reading TEB 0x7fffffdd000
40 0x3e9472: mov   rdi,r8
41 0x3e9475: mov   rsi,rdx
42 0x3e9478: mov   rbp,rcx
43 0x3e947b: xor   r10d,r10d
44 0x3e947e: mov   r9,[rax+60h]
45 0x3e9482: mov   rax,[r9+18h]
/!\ error dereferencing qword on 0x7fffffdf018
exception without any SEH handler nor vector configured.

donut.bin.gz

Tks very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions