Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Lab 4: some issues #14

Open
Nicceboy opened this issue Oct 11, 2021 · 0 comments
Open

Lab 4: some issues #14

Nicceboy opened this issue Oct 11, 2021 · 0 comments

Comments

@Nicceboy
Copy link
Member

Nicceboy commented Oct 11, 2021

Task 2: Might need to rewrite and combine the provided blog posts to give more straightforward instructions. Also add some notes:

  • Assembly code should be "perfect call" to work on every program, e.g. define every parameter for execve call / clean registers
  • Note that command substitution should use quotes to avoid splitting with some specific chars
  • Don't rely on Python 2 on examples anymore
  • Shellcode should fit inside variable or start after overflowing memory address to avoid breaking
  • Maybe provide sample code for brute forcing

Task 3A: Kali seems to have ASCII armoring in these days (too many occurrences with null bytes), might need to modify instructions because of that (Note about ascii armor https://lwn.net/Articles/31032/)
Task 3B: Provided sample python code is not well compatible with Python 3.9 and the latest pwntools, should fix that

Extra material: https://medium.com/codex/buffer-overflows-shellcode-and-memory-corruption-51f546ab00ab

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant