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

Veröffentlicht am: 22 Februar 2022
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Shellcode for macOS on M1 chips - Part 2: Writing a bind shell mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer HackVlix 22 Februar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,938 Mal angesehen und es wurde von 106 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!