Shellcode for macOS on M1 chips - Part 2: Writing a bind shell

Pubblicato il: 22 febbraio 2022
sul canale di: HackVlix
2,938
106

This series shows how to write shellcode in ARM64 assembly for macOS on M1 chips.

In the second part of the series, we learn how to write a bind shell.

Notes for this series, https://tinyurl.com/yc87yndc

Further reading
M.K. McKusick, K. Bostic, M.J. Karels, J.S. Quarterman, The Design and Implementation of the 4.4 BSD Operating System (Addison-Wesley 1996)
Apple, BSD kernel code, https://opensource.apple.com/source/x...

Presentation made using LaTeX Beamer, Slide Pilot, OmniGraffle and QuickTime.

Sections
00:00:00 Greetings
00:01:02 How a bind shell works
00:07:46 macOS bind shell summary
00:15:23 socket call
00:21:07 bind call and sockaddr_in structure
00:35:31 listen call
00:38:19 accept call
00:41:16 dup2 call
00:45:55 execve call
00:47:51 Setting up execve arguments
00:59:54 Testing the bind shell
01:02:22 Removing Null bytes
01:13:19 Testing the bind shell without Null bytes


In questa pagina del sito puoi guardare il video online Shellcode for macOS on M1 chips - Part 2: Writing a bind shell della durata di ore minuti seconda in buona qualità , che l'utente ha caricato HackVlix 22 febbraio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,938 volte e gli è piaciuto 106 spettatori. Buona visione!