Recently Updated Pages
Lesson 18
语法 「一类形」なります 一类型 ~くなります 「一类形」します 一类型 ...
Lesson 17
语法 「名1」は「名2」が欲しいです 表示愿望。名词1 是愿望主体,名词2 是愿望的对象。 わたし は 新(atara)しい洋服 が欲しいです。 我想有套新西服。 あなた は ...
Extend Network Access
Manipulate the network With Physical access: Coerce the network Overcome switched traffic is...
Intro
post exploitation = everything after the first exploit, including lateral movement, escape and es...
Inject a Dylib
Prompt Mach Thread to POSIX Thread Threads are implemented in the Mach kernel, and each thread b...
Inject execve Shellcode
Use codesign to verify the code signature of the app and its entitlement. The entitlement...
Injection via Mach Task Port
Remote Code Injection Get the SEND right of the task port of the process Allocate m...
Concept
Mach: One of the fundamental components of macOS. Limited to managing only the most basic tasks, ...
Dylib Hijacking
Another way of injecting code is by performing dylib hijacking or a dylib proxying attack, which ...
DYLD_INSERT_LIBRARIES Injection
Many elements of access control depond on the app's signature, especially the embedded entitlemen...
Bind Shell
C code for a bind shell: socket(2,1,0) reserve space for sockaddr_in: ...
Command Execution
Use /bin/zsh, full command /bin/zsh -c <COMMAND> Need execve syscall RDI arg1: /bin/zsh R...
AMD64 Shellcoding
Convention: RDI: arg1 RSI: arg2 RDX: arg3 RCX: arg4 R8: arg5 R9: arg6 Stack: Starti...
Dynamic Analysis
Tool Suite: LLDB Hopper dtrace MacOS is very restrictive when it comes to debugging. The per...
Static Analysis
Tool suite: MachOView, otool, codesign, objdump, jtool2 Display basic code signature info: ...
Objective-C
Primary language for develeping macOS application. Objective-C extends the standard C programmi...
mach-O File
Universal Binaries Mach-O, a file format for various program files on all Apple platform. Ran...
Debug
OS Architecture
High-Level OS Architecture XNU: Mach microkernel, Components from BSD, IOKit, Kernel Exte...
Unit 4
课文 吉田課長は今居酒屋(i zaka ya)でビールを飲んでいます。 吉田科长现在在小酒馆喝着啤酒。 吉田課長は東京の郊外(kou gai)に住んでいます。結婚(ke k...