일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- write up
- pwn.college
- wargame
- 시스템 프로그래밍
- css
- radare2
- 어셈블리어
- 취약점
- 리버싱
- 프로그래밍
- px4
- Leviathan
- 커널
- 리눅스
- kernel
- 시스템프로그래밍
- 리눅스커널
- 컴퓨터구조
- 시그널
- 리눅스 커널
- 시스템해킹
- 시스템
- 워게임
- 드론
- pwncollege
- Pwnable.kr
- Bandit
- 알고리즘
- C++
- C언어
- Today
- Total
목록리버싱 (8)
Computer Security

Level6 -> Level7 1. ls -al 을 확인해보니, leviathan6 라는 파일이 있고, 얘도 역시 setuid 이다. leviathan6@leviathan:~$ ls -al total 28 drwxr-xr-x 2 root root 4096 Aug 26 2019 . drwxr-xr-x 10 root root 4096 Aug 26 2019 .. -rw-r--r-- 1 root root 220 May 15 2017 .bash_logout -rw-r--r-- 1 root root 3526 May 15 2017 .bashrc -r-sr-x--- 1 leviathan7 leviathan6 7452 Aug 26 2019 leviathan6 -rw-r--r-- 1 root root 675 May 15 ..

Level2 -> Level3 1. ls -al 을 이용해 살펴보니 printfile 이 setuid 이고, 실행시키면 leviathan3 권한으로 실행되는 것을 알 수 있다. leviathan2@leviathan:~$ ls -al total 28 drwxr-xr-x 2 root root 4096 Aug 26 2019 . drwxr-xr-x 10 root root 4096 Aug 26 2019 .. -rw-r--r-- 1 root root 220 May 15 2017 .bash_logout -rw-r--r-- 1 root root 3526 May 15 2017 .bashrc -r-sr-x--- 1 leviathan3 leviathan2 7436 Aug 26 2019 printfile -rw-r--r-- ..
일단 leviathan 같은경우 힌트가 주어지지 않는다! Data for the levels can be found in the homedirectories. You can look at /etc/leviathan_pass for the various level passwords. /etc/leviathan_pass 에 해당 leviathan의 비밀번호가 있다 한다. Level0 -> Level1 1. 가장 기본적으로 ls -al 명령어를 이용해 어떤 파일들이 있는지 확인 해보자. leviathan0@leviathan:~$ ls -al total 24 drwxr-xr-x 3 root root 4096 Aug 26 2019 . drwxr-xr-x 10 root root 4096 Aug 26 2019 .. ..
어셈블리어에서 { } -> push 와 pop 으로 처리된다. return 0 같은경우는 ex) xor eax, eax 처리된다. 파이프라인 : CPU와 같은 디지털 집적회로의 속도를 향상시키기 위한 회로 내지는 회로설계 기법을 지칭한다. CPU의 명령어 파이프라인에 대한 전통적인 설명은 4단 파이프라인 구조를 통한 것이며 대체로 다음과 같은 명칭을 가지고 있다. 1단계: fetch(명령어를 메모리에서 인출) 2단계: decode(명령어 해석) 3단계: execute(명령어 실행) 4단계: writeback(라이트백) 4단 파이프라인에서 작업 A와 B를 처리할 때(트랜지스터 40개, 동작속도 40Hz): 1사이클: fetch(A) → 2사이클 fetch(B),decode(A) → 3사이클 decode(B..