Assembler Haiku - TAKESAKO

  • Published on
    23-Jun-2015

  • View
    173

  • Download
    1

Embed Size (px)

DESCRIPTION

http://ja.avtokyo.org/MediaArchives

Transcript

<ul><li> 1. Assembler Haiku @TAKESAKO </li></ul> <p> 2. What is Haiku? Haiku "" is a short poem. Haiku is a genre of classical Japanese poetry even now from of old. Haiku consists of 17 characters and three units with the following pattern: 5-7-5 3. Assembler Haiku for example 4. [demo] Assembler Haiku 5. /* 5 */ 8048350: 6A 04 PUSH byte 0x04 8048352: 54 PUSH esp 8048353: 59 POP ecx 8048354: 58 POP eax /* 7 */ 8048355: 68 93 8C 8B 9E PUSH 0x9E8B8C93 804835A: 50 PUSH eax 804835B: 5A POP edx /* 5 */ 804835C: 5B POP ebx 804835D: 21 C3 AND ebx, eax 804835F: CD 80 INT 0x80 Shift_JIS 6. /* 5 */ 8048350: 6A 04 PUSH byte 0x04 8048352: 54 PUSH esp 8048353: 59 POP ecx 8048354: 58 POP eax /* 7 */ 8048355: 68 8B 47 8C EA PUSH 0xEA8C478B 804835A: 50 PUSH eax 804835B: 5A POP edx /* 5 */ 804835C: 5B POP ebx 804835D: 21 C3 AND ebx, eax 804835F: CD 80 INT 0x80 Shift_JIS 7. Shellcode Tanka Practical work 8. 68 2f 73 68 00 68 2f 62 69 6e 89 e3 31 c0 50 53 40 40 40 40 40 40 89 e1 40 40 40 40 40 cd 80 Author: Yoshinori TAKESAKO Shellcode Tanka (5-7-5-7-7) Point of focus 9. 68 2f 73 68 00 68 2f 62 69 6e 89 e3 31 c0 50 53 40 40 40 40 40 40 89 e1 40 40 40 40 40 cd 80 Author: Yoshinori TAKESAKO (match rhyming words) Shellcode Tanka (5-7-5-7-7) 10. 68 2f 73 68 00 68 2f 62 69 6e 89 e3 31 c0 50 53 40 40 40 40 40 40 89 e1 40 40 40 40 40 cd 80 Author: Yoshinori TAKESAKO Linux/x86 syscall (int 0x80) Shellcode Tanka (5-7-5-7-7) 11. 68 2f 73 68 00 68 2f 62 69 6e 89 e3 31 c0 50 53 40 40 40 40 40 40 89 e1 40 40 40 40 40 cd 80 Author: Yoshinori TAKESAKO INC EAX (11) sys_execve("/bin/sh") Shellcode Tanka (5-7-5-7-7) 12. 000000: /*5*/ 68 2F 73 68 00 push dword 0x68732F 000005: /*5*/ 68 2F 62 69 6E push dword 0x6E69622F 00000A: /*2*/ 89 E3 mov ebx, esp 00000C: /*2*/ 31 C0 xor eax, eax 00000E: /*1*/ 50 push eax 00000F: /*1*/ 53 push ebx 000010: /*1*/ 40 inc eax 000011: /*1*/ 40 inc eax 000012: /*1*/ 40 inc eax 000013: /*1*/ 40 inc eax 000014: /*1*/ 40 inc eax 000015: /*1*/ 40 inc eax 000016: /*2*/ 89 E1 mov ecx, esp 000018: /*1*/ 40 inc eax 000019: /*1*/ 40 inc eax 00001A: /*1*/ 40 inc eax 00001B: /*1*/ 40 inc eax 00001C: /*1*/ 40 inc eax 00001D: /*2*/ CD 80 int 0x80 5 7 5 7 7 13. [demo] 14. Araragi school was characterized realistic. we use it plainly instruction. 15. Notepad.exe 16. MS-DOS (8086) [demo] 17. MS-DOS (8086) 18. MS-DOS (8086) 19. SECCON OK 201431() 32() </p>