<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>kirin</title><description>조민규(kirin)의 라업, CVE 분석, 노트</description><link>https://danielcho02.github.io/</link><language>ko</language><item><title>bitvm</title><link>https://danielcho02.github.io/writeups/rev/bitvm/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/bitvm/</guid><description>배포 파일이 둘이다. stripped PIE 바이너리 chall과, file이 data라고만 말해 주는 command. chall은 해석기고 command가 프로그램이다. 플래그 검사 로직은 바이너리가 아니라 바이트코드 쪽에 있다. load_file은 command를 0x4040 버퍼로 읽는다.…</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>crossing</title><link>https://danielcho02.github.io/writeups/rev/crossing/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/crossing/</guid><description>배포 파일은 둘이다. main은 인자 하나를 받아 &lt;input&gt;.crossing을 만드는 암호화기다. 문자열은 How to use: %s &lt;input_file&gt;과 %s.crossing 둘뿐이고, 임포트는 fopen/fread/fwrite/fseek/ftell/calloc/memset/getrandom이다.…</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>string</title><link>https://danielcho02.github.io/writeups/pwn/string/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/string/</guid><description>메뉴 루프에서 입력(1)과 출력(2)을 무한히 반복하는 구조다. warnx는 err.h의 에러 출력 함수로 시그니처가 void warnx(const char fmt, ...) 다. 즉 printf 계열의 가변 인자 포맷 함수이고, 첫 인자를 포맷 스트링으로 해석한다.…</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>string</category></item><item><title>times</title><link>https://danielcho02.github.io/writeups/rev/times/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/times/</guid><description>배포 파일은 stripped PIE 바이너리 하나다. 그냥 실행하면 아무것도 못 한다. 문자열은 다섯 개뿐이고, 임포트에 time, srand, rand, ptrace가 같이 들어 있다. .init_array에 main보다 먼저 도는 함수가 하나 더 걸려 있다. 0x17d0이 그 두 번째 항목이고, 하는 일이 두 가지다. 앞쪽은 시간 게이트다.…</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>hash-browns</title><link>https://danielcho02.github.io/writeups/rev/hash-browns/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/hash-browns/</guid><description>배포 파일은 stripped PIE 바이너리 하나다. 실행하면 입력을 한 줄 받고 맞는지만 알려준다. 맞으면 Correct! Flag is %s로 입력을 그대로 되돌려준다. 즉 입력이 곧 플래그고, 바이너리는 검증기 역할만 한다. 임포트 목록이 짧아서 먼저 본다. 비교가 strcmp가 아니라 memcmp다.…</description><pubDate>Thu, 19 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>Aho</title><link>https://danielcho02.github.io/writeups/rev/aho/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/aho/</guid><description>배포 파일은 stripped PIE 바이너리 하나다. 13글자를 받아서 맞으면 flag를 읽어준다. 루프 본문에 분기도 백트래킹도 없다. 문자 하나당 테이블 조회 두 번, 변수 두 개 갱신으로 끝난다. 전형적인 DFA 구동 루프다. 인덱스 20 v4 + 2 j가 구조를 전부 알려준다.…</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>typing_game_goes_hard</title><link>https://danielcho02.github.io/writeups/rev/typing-game-goes-hard/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/typing-game-goes-hard/</guid><description>배포 파일은 stripped PIE 바이너리 하나와 사전 파일이다. dictionary.txt가 같이 배포된다는 게 첫 번째 단서다. 바이너리가 이 파일을 읽어 쓴다는 뜻이고, 사전 줄 수 65536 = 2^16은 그 자체로 두 번째 단서다. 실행하면 영단어를 90초 안에 따라 치게 한다. EASY 10개, HARD 10개.…</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>cpp_container_1</title><link>https://danielcho02.github.io/writeups/pwn/cpp-container-1/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/cpp-container-1/</guid><description>checksec만 보면 &quot;카나리 leak → ROP&quot;로 읽히지만, 이 문제는 스택 버퍼를 아예 쓰지 않는다. char buf[]가 없고 입력은 전부 std::cin &gt;&gt; int로 받아 힙에 있는 vector 로 들어간다. 카나리는 지나갈 일이 없는 문 앞의 알람이다. 입력 지점 중 값이 아니라 크기를 받는 곳이 하나 있다. resize 자체는 안전하다.…</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>cpp-container-1</category></item><item><title>cube</title><link>https://danielcho02.github.io/writeups/pwn/cube/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/cube/</guid><description>배포 파일은 8KB짜리 PIE 바이너리 하나다. 심볼이 남아 있어 함수는 init, sandbox, main 세 개가 전부다. 의도가 노골적이다. mmap(prot=7)으로 RWX 영역을 만들고, 거기에 입력을 받아 그대로 호출한다. NX가 켜져 있어도 무의미하고, PIE·RELRO·카나리도 이 경로에서는 아무것도 막지 않는다.…</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>cube</category></item><item><title>find_candy</title><link>https://danielcho02.github.io/writeups/pwn/find-candy/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/find-candy/</guid><description>플래그를 메모리 어딘가에 숨겨두고, 셸코드로 그 위치를 찾아내라는 문제다. 이름대로 사탕 찾기다. 보호 기법은 전부 켜져 있지만 이번엔 하나도 의미가 없다. 스택을 넘기는 문제가 아니고, 프로그램이 직접 RWX 영역을 만들어 거기로 점프해 주기 때문이다. 중요한 건 플래그를 우리가 열 필요가 없다는 점이다.…</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>find-candy</category></item><item><title>Heap Overflow</title><link>https://danielcho02.github.io/notes/heap-overflow/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/heap-overflow/</guid><description>Heap Overflow = 힙에 할당된 버퍼의 경계를 넘어 인접한 메모리를 덮어쓰는 취약점 메커니즘은 스택 버퍼 오버플로우와 같다. 버퍼 끝을 지나 낮은 주소에서 높은 주소로 선형으로 흘러가고, 중간을 건너뛸 수 없다. 다른 것은 버퍼 뒤에 무엇이 누워 있는가 하나뿐이다. - 스택: 호출 규약이 SFP와 리턴 주소를 고정된 자리에 깔아둔다.…</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>Notes</category><category>heap-overflow</category></item><item><title>Leg2</title><link>https://danielcho02.github.io/writeups/pwn/leg2/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/leg2/</guid><description>aarch64 PIE 바이너리에서 포맷 스트링으로 musl libc 주소를 leak하고, 두 번째 입력의 스택 버퍼 오버플로우로 main의 저장된 복귀 주소를 덮어 ret2libc로 쉘을 획득하는 문제다.…</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>aarch64</category><category>fromat-string-bug</category><category>ret2libc</category><category>musl</category></item><item><title>AArch64 Basics</title><link>https://danielcho02.github.io/notes/aarch64-basics/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/aarch64-basics/</guid><description>aarch64는 ARM 아키텍처의 64비트 실행 상태다. 스마트폰, Apple Silicon, 서버용 ARM 칩, 라즈베리 파이가 이 구조를 쓰고, 워게임에서는 QEMU로 에뮬레이션해서 다룰 일이 많다. x86-64와 비교해서 가장 크게 다른 점은 세 가지다. 1. 명령어 길이가 항상 4바이트로 고정되어 있다.…</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>Notes</category><category>aarch64</category></item><item><title>GHSA-qgfr-2pv9-8cxq: iowow 풀 메모리를 free()로 해제</title><link>https://danielcho02.github.io/cve/iowow-jbl-create-node-invalid-free/</link><guid isPermaLink="true">https://danielcho02.github.io/cve/iowow-jbl-create-node-invalid-free/</guid><description>iowow 1.7.0~1.7.1의 _jbl_create_node()가 iwpool에서 받은 노드를 에러 경로에서 free()로 해제한다. binn-c가 정상으로 만드는 9바이트 문서와 공개 API 호출 한 번이면 프로세스가 죽는다. 1.7.2에서 수정됐다.</description><pubDate>Sat, 14 Nov 2026 00:00:00 GMT</pubDate><category>CVE</category><category>iowow</category><category>ejdb</category><category>binn</category><category>double-free</category><category>invalid-free</category><category>cwe-415</category><category>cwe-590</category></item><item><title>CVE-2026-110658: sofia-sip 경계 밖 읽기</title><link>https://danielcho02.github.io/cve/cve-2026-110658-sofia-sip-multipart-oob-read/</link><guid isPermaLink="true">https://danielcho02.github.io/cve/cve-2026-110658-sofia-sip-multipart-oob-read/</guid><description>sofia-sip 1.13.18 이하의 msg_multipart_parse()가 페이로드 길이를 확인하지 않고 첫 구분자를 memcmp() 한다. 무인증 INVITE 하나로 도달하며 1.13.19에서 수정됐다.</description><pubDate>Tue, 10 Nov 2026 00:00:00 GMT</pubDate><category>CVE</category><category>sofia-sip</category><category>freeswitch</category><category>sip</category><category>out-of-bounds-read</category><category>cwe-125</category></item><item><title>Honest</title><link>https://danielcho02.github.io/writeups/rev/honest/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/honest/</guid><description>배포 파일은 심볼이 살아 있는 PIE 바이너리 하나다. 심볼을 보면 main, calculate, 그리고 verify_func_0 verify_func_62 63개가 있다. verify_func_ 63개도 전부 같은 모양이고, 각자 자기만의 비교 상수와 자기만의 다음 함수를 가진다.…</description><pubDate>Mon, 09 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>CrabME</title><link>https://danielcho02.github.io/writeups/rev/crabme/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/crabme/</guid><description>배포 파일은 Rust로 빌드된 ELF 하나다. 심볼이 살아 있어서 분석할 지점을 바로 찾을 수 있다. 실행하면 한 줄을 받아 맞는지만 알려준다. 흐름은 단순하다. success(0x7C50)는 입력 문자열을 그대로 포맷에 끼워 출력한다. 즉 플래그가 바이너리 안에 문자열로 들어 있는 게 아니라, 검사를 통과하는 입력 자체가 플래그다.…</description><pubDate>Fri, 06 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>instrs</title><link>https://danielcho02.github.io/writeups/rev/instrs/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/instrs/</guid><description>배포 파일은 stripped PIE 바이너리 prob와 Dockerfile이다. Dockerfile을 보면 socat으로 포트 31337에 그대로 물려 둔 원격 문제고, flag는 작업 디렉터리의 ./flag에서 읽는다. 실행하면 프로그램을 입력받는다.…</description><pubDate>Fri, 06 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>similar</title><link>https://danielcho02.github.io/writeups/rev/similar/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/similar/</guid><description>배포 파일은 stripped PIE 바이너리 하나다. 실행하면 /dev/urandom으로 시드를 잡아 랜덤 3차원 벡터 30개를 뿌리고, 어떤 순서를 요구한다. 원소는 {int x, int y, int z, int index} 16바이트 구조체다.…</description><pubDate>Fri, 06 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>Hyperspace</title><link>https://danielcho02.github.io/writeups/web/hyperspace/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/web/hyperspace/</guid><description>업로드 필터 우회로 웹셸을 올리고, 내부망 Apache Druid(CVE-2021-25646)를 root로 장악한 뒤 포털 PIN을 브루트포스해 플래그를 얻는다.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>file-upload</category><category>pivoting</category><category>apache-druid</category><category>cve-2021-25646</category></item><item><title>Dead Frame</title><link>https://danielcho02.github.io/writeups/forensics/whs4-dead-frame/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/forensics/whs4-dead-frame/</guid><description>출금 서버 ext4 이미지에서 삭제된 최종 PSBT를 복구해 실제 전송된 거래의 서명자와 wtxid를 확정한다.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>ext4</category><category>sqlite</category><category>bitcoin</category></item><item><title>Empty Slot</title><link>https://danielcho02.github.io/writeups/forensics/whs4-empty-slot/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/forensics/whs4-empty-slot/</guid><description>금고 관리망 PCAP의 MQTT 이벤트로 분실 신고된 하드웨어 지갑이 빠진 시각을 구한다.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>pcap</category><category>mqtt</category><category>timeline</category></item><item><title>MORI: Remember Me</title><link>https://danielcho02.github.io/writeups/forensics/whs4-mori-remember-me/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/forensics/whs4-mori-remember-me/</guid><description>Phase 1 단서를 모아 WHO·HOW·WHERE·WHY에 해당하는 물건 네 개를 3D 맵에서 찾는 최종 문제.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>timeline</category></item><item><title>nevermories</title><link>https://danielcho02.github.io/writeups/forensics/whs4-nevermories/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/forensics/whs4-nevermories/</guid><description>업무 PC 디스크에서 키를 꺼내 메신저 PCAP을 복호화하고, MORI의 마지막 메시지를 복구한다.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>pcap</category><category>dpapi</category><category>disk</category></item><item><title>runner</title><link>https://danielcho02.github.io/writeups/forensics/whs4-runner/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/forensics/whs4-runner/</guid><description>흩어진 CI·SSH·SSO 로그를 이어 유출된 키의 주인, 작업 요청자, 아티팩트, 서비스 종료 시각을 맞춘다.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>log-analysis</category><category>ci</category><category>ssh</category></item><item><title>Unplugged</title><link>https://danielcho02.github.io/writeups/forensics/whs4-unplugged/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/forensics/whs4-unplugged/</guid><description>시계가 망가진 NVR 이미지에서 지워진 CCTV 사진을 살려, 백업 디스크를 들고 나간 시각을 벽시계로 읽는다.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>fat32</category><category>file-carving</category><category>cctv</category></item><item><title>voice</title><link>https://danielcho02.github.io/writeups/forensics/whs4-voice/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/forensics/whs4-voice/</guid><description>민서 PC와 USB 이미지에서 USB 최초 연결 시각, 파일 마지막 사용 시각, 절대 경로를 찾는다.</description><pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>windows</category><category>usb</category><category>registry</category></item><item><title>call_more_functions</title><link>https://danielcho02.github.io/writeups/rev/call-more-functions/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/call-more-functions/</guid><description>stripped x86-64 PIE main 하나가 주어진다. 눈에 띄는 문자열은 다음 두 개뿐이다. 입력 64글자가 검사를 통과하면 입력 그대로 DH{...} 안에 출력된다. 즉 통과하는 입력 자체가 flag다. 0x1311은 분기 없이 mov edi, imm + call이 수백 번 반복되는 함수다. 호출 대상은 네 개뿐이다.…</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>holymoly</title><link>https://danielcho02.github.io/writeups/pwn/holymoly/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/holymoly/</guid><description>Interpret는 입력을 고정 단어로 파싱해 동작을 실행하는 작은 인터프리터다. 즉 primitive는 &quot;ptr/val을 amounts[] 단위로만 증감시키는 임의 읽기/쓰기&quot; 다. scanf(&quot;%48878s&quot;) → 명령어는 최대 6,000개뿐. 단순 누적으로는 ptr/val을 수천만까지밖에 못 만든다.…</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>holymoly</category></item><item><title>photographer</title><link>https://danielcho02.github.io/writeups/rev/photographer/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/photographer/</guid><description>문제 파일은 stripped x86-64 C++ ELF prob와 암호화된 이미지 flag.bmp.enc 두 개다. strings로 보면 다음 문자열이 있다. 즉 prob가 flag.bmp를 읽어 암호화한 뒤 flag.bmp.enc로 저장하는 구조다. flag.bmp.enc의 크기는 6,220,854바이트이다.…</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>r3t</title><link>https://danielcho02.github.io/writeups/rev/r3t/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/r3t/</guid><description>stripped, non-PIE x86-64 ELF run 하나가 주어진다. 문자열은 다음 정도뿐이다. 즉 다음과 같다. 이 바이너리의 함수는 대부분 아래처럼 다음 함수를 호출하기만 하는 1단짜리 래퍼다. 체인을 끝까지 따라가면 실제로 값을 바꾸는 함수가 나온다. 예를 들어 0x402c3b는 다음과 같다.…</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>timetravel3</title><link>https://danielcho02.github.io/writeups/rev/timetravel3/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/timetravel3/</guid><description>배포 파일은 7z 하나이고, 풀면 다음 세 파일이 나온다. mspaint03.out을 보면 Windows 10(19045) x64에서 C:\Windows\System32\mspaint.exe를 TTD(Time Travel Debugging)로 약 83초 동안 녹화한 것이다.…</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>Secure Mail</title><link>https://danielcho02.github.io/writeups/rev/secure-mail/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/secure-mail/</guid><description>이 문제는 HTML 내부의 JavaScript가 사용자의 6자리 생일을 입력받아, 암호화된 이미지를 복호화하는 구조이다. 입력창에는 다음과 같은 힌트가 존재한다. 따라서 입력값은 다음 형식임을 알 수 있다. Confirm 버튼을 누르면 다음 함수가 호출된다. 즉, _0x9a220 함수가 사용자의 입력값을 처리하는 핵심 함수이다.…</description><pubDate>Tue, 27 Oct 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>Tcache Poisoning with Safe Linking</title><link>https://danielcho02.github.io/writeups/pwn/tcache-poisoing-with-safe-linking/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/tcache-poisoing-with-safe-linking/</guid><description>주어진 소스 코드는 다음과 같다. delete_note()는 할당된 메모리를 해제한 뒤 notes[idx]에 저장된 주소값을 NULL로 초기화하지 않으므로 Use-After-Free (UAF)가 발생한다. 또한 edit_note()는 note_deleted[idx]를 검사하지 않기 때문에 이미 해제된 청크에도 write가 가능하다.…</description><pubDate>Tue, 18 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>safe-linking</category></item><item><title>Safe Linking</title><link>https://danielcho02.github.io/notes/safe-linking/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/safe-linking/</guid><description>Double Free Bug는 glibc 2.29부터 추가된 e-&gt;key 검증으로 1차 차단된다. tcache에 들어간 청크에는 tcache_key 표식이 찍히고, free 시 이 표식이 이미 있으면 이중 해제로 판단한다.…</description><pubDate>Tue, 18 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>safe-linking</category></item><item><title>40 Birthdays</title><link>https://danielcho02.github.io/writeups/crypto/40-birthdays/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/crypto/40-birthdays/</guid><description>Source Code 서로 다른 두 메시지를 입력해, 같은 해시 값을 가진다면 flag를 획득할 수 있다. birthday_hash는 SHA-256함수를 32byte로 나타냈을 때 중간에 존재하는 5bytes = 40bits이므로 2^40+1개 메시지의 해시값을 구하면 충돌이 무조건 발생한다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>Basic Exploitation 000</title><link>https://danielcho02.github.io/writeups/pwn/basic-exploitation-000/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/basic-exploitation-000/</guid><description>Return Adress Overwirte 문제와는 달리 get_shell 함수가 주어지지 않음 &lt;br&gt; 직접 셸코드를 주입한 후, 셸코드가 위치한 주소를 main 함수의 return adress에 덮는 것이 목표 &lt;br&gt; char형 배열 buf에 0x80 = 128byte 를 할당했지만 scanf에서 최대 141byte를 입력받을 수 있음 &lt;br&gt;…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>stack-buffer-overflow</category></item><item><title>basic_rop_x64</title><link>https://danielcho02.github.io/writeups/pwn/basic-rop-x64/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/basic-rop-x64/</guid><description>Return Oriented Programming: 이미 존재하는 코드 조각(gadget)을 이어 붙여 원하는 실행 흐름을 만드는 기법 이 문제에서는 system 함수를 직접 호출하지 않고, 먼저 libc 주소를 leak한 뒤 그 주소를 기준으로 system과 &quot;/bin/sh&quot;의 실제 주소를 계산하여 ret2libc 방식으로 쉘을 획득한다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>nx-aslr-rop</category></item><item><title>branches_and_leaves</title><link>https://danielcho02.github.io/writeups/rev/branches-and-leaves/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/branches-and-leaves/</guid><description>main은 인자 하나를 받아 sub_11E0로 검사한 뒤, 검사를 통과하면 입력을 그대로 출력한다. 즉 검사를 통과하는 입력 자체가 flag다. 별도의 복호화나 변형이 없다. sub_11E0의 로직은 다음과 같다. - 입력 길이는 정확히 64여야 한다. (strlen(a1) != 64 이면 exit(1)) - 입력을 4글자씩 16개 그룹으로 나눈다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>Double DES</title><link>https://danielcho02.github.io/writeups/crypto/double-des/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/crypto/double-des/</guid><description>현대 암호는 데이터를 안전하게 보호하기 위해 암호화와 복호화 과정을 사용하는 기술이다. 암호 시스템은 크게 대칭키 암호와 공개키 암호로 나눌 수 있다. 대칭키 암호 시스템은 송신자와 수신자가 같은 키를 공유하여 암호화와 복호화를 수행하는 방식이다. 대표적인 예시는 DES, AES가 있다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>__environ</title><link>https://danielcho02.github.io/writeups/pwn/environ/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/environ/</guid><description>프로세스는 환경 변수 정보를 저장하고 필요할 때마다 불러와 사용 환경 변수 = 매번 변할 수 있는 동적인 값들의 모임, 시스템의 정보를 갖고 있는 변수 사용자가 직접 추가 및 수정하거나 삭제할 수 없음 리눅스에서 제공하는 명령어들은 /bin, /usr/bin등의 디렉터리에 위치 명령어 입력 시 환경 변수에 명시된 디렉터리에서 명령어를 탐색하고 실행하기…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>environ</category></item><item><title>Format String Bug (fsb-overwirte)</title><link>https://danielcho02.github.io/writeups/pwn/fsb-overwirte/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/fsb-overwirte/</guid><description>이 문제의 목표는 changeme의 값을 1337로 바꾸는 것이다. 문제에서 주어진 코드는 다음과 같다. get_string 함수를 통해 buf에 32바이트 입력을 받은 후, printf함수의 인자로 직접 사용하므로 Format string bug가 발생한다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>fromat-string-bug</category></item><item><title>master_canary</title><link>https://danielcho02.github.io/writeups/pwn/master-canary/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/master-canary/</guid><description>주어진 소스 코드는 다음과 같다. 보호기법을 확인해보면 Canary가 존재한다. 처음에는 단순히 leave_comment에서 발생하는 Stack Buffer Overflow만 이용하면 될 것이라고 생각했다. leave_comment의 크기는 32바이트인데, read()로 1024바이트를 입력받기 때문에 return address까지 덮을 수 있다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>master-canary</category></item><item><title>randzzz</title><link>https://danielcho02.github.io/writeups/rev/randzzz/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/randzzz/</guid><description>IDA로 main함수를 분석하면 다음과 같다. if문을 확인하면 의 조건을 만족하면 v8에 get_flag() 함수를 이용하여 flag를 저장하고 있음을 확인할 수 있다. 크게 두 개의 조건문이 있는데 첫 번째 조건문에서는 v6배열에 저장된 값을 이용하여 flag의 앞부분을 v8에 저장하고, 두 번째 조건문에서는 v4, v5에 저장된 값을 이용해…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>Return Address Overwrite</title><link>https://danielcho02.github.io/writeups/pwn/return-adress-overwrite/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/return-adress-overwrite/</guid><description>Stack Buffer Overflow를 이용하여 return address를 덮어쓰고 get_shell() 함수로 실행 흐름을 변경 &lt;br&gt; scanf에서 입력 길이를 제한하지 않음 -&gt; 취약점 &lt;br&gt; &lt;br&gt; buffer (0x28) &lt;br&gt; saved rbp (0x8) &lt;br&gt; return address &lt;br&gt; offset = 0x28 + 0x8…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>stack-buffer-overflow</category></item><item><title>Return to Shellcode</title><link>https://danielcho02.github.io/writeups/pwn/return-to-shellcode/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/return-to-shellcode/</guid><description>- checksec 이용 보호 기법 파악 &lt;br&gt; - 스택 프레임 정보 수집 &lt;br&gt; buf와 sfp의 출력된 주소를 각각 저장 &lt;br&gt; canary_buf에 카나리 위치 주소 저장 -&gt; rbp 바로 아래 8바이트 &lt;br&gt; - Canary Leak &lt;br&gt; buf부터 canary의 첫 byte까지 덮을만큼 payload를 구성, input에 입력 &lt;br&gt;…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>stack-canary</category></item><item><title>rop</title><link>https://danielcho02.github.io/writeups/pwn/rop/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/rop/</guid><description>Return Oriented Programming: return gadget을 사용하여 복잡한 실행 흐름을 구현하는 기법 system함수가 PLT에 포함X, ASLR이 걸린 환경에서 system 함수를 사용하려면 libc의 주소를 찾고 그 주소로부터 system 함수의 offset을 이용하여 함수의 주소 계산 buf의 크기가 0x30byte이지만…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>nx-aslr-rop</category></item><item><title>SigReturn-Oriented Programming (send-sig)</title><link>https://danielcho02.github.io/writeups/pwn/send-sig/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/send-sig/</guid><description>따로 소스코드가 제공되어 있지 않으므로 IDA를 이용해 바이너리를 분석한다. sub_4010B6()함수를 분석해보자. buf의 크기는 8byte이지만 읽는 버퍼의 크기가 0x400이므로 stack buffer overflow가 가능하다. 다만 ROPchain을 구성하기 위해서는 버퍼의 크기가 작으므로 SROP를 사용해서 셸을 딸 수 있다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>srop</category></item><item><title>shell_baisc</title><link>https://danielcho02.github.io/writeups/pwn/shell-basic/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/shell-basic/</guid><description>문제에서 flag 파일의 위치와 이름은 /home/shell_basic/flag_name_is_loooooong으로 제시했으므로 다음과 같은 함수를 실행해야함. 이를 Assembly로 작성하기 위해서는 파일의 이름을 little endian, 즉, 거꾸로 rax에 mov하여 push 다만, C style string은 NULL을 만나기 전까지 해석하므로…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>shellcode</category></item><item><title>SigReturn-Oriented Programming (sigreturn-oriented-programming)</title><link>https://danielcho02.github.io/writeups/pwn/sigreturn-oriented-programming/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/sigreturn-oriented-programming/</guid><description>주어진 함수의 보호기법은 다음과 같다. NO PIE이므로 바이너리 내부 코드 영역의 주소가 고정되므로 gadget() 함수 내부의 pop rax; syscall; ret 가젯 주소와 .bss 주소를 고정된 값으로 사용할 수 있다. 또한 NX가 활성화되어 있으므로 스택에 셸코드를 직접 삽입하고 실행하는 방식은 사용할 수 없다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>srop</category></item><item><title>ssp_001</title><link>https://danielcho02.github.io/writeups/pwn/ssp-001/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/ssp-001/</guid><description>목표: Canary 보호 기법 우회, get_shell 함수 실행 &lt;br&gt; - checksec 확인 &lt;br&gt; - Input &lt;br&gt; box를 A로 채운 후, P 기능을 이용해 index를 하나씩 증가시키며 값을 확인 &lt;br&gt; 처음에는 box 범위(063)까지는 0x41이 나오고, 그 이후부터는 0x00이 나타남 &lt;br&gt; 단순히 0x00이 나온다고…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>stack-canary</category></item><item><title>tcache_dup</title><link>https://danielcho02.github.io/writeups/pwn/tcache-dup/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/tcache-dup/</guid><description>주어진 소스 코드는 다음과 같다. delete()는 free(ptr[idx])만 호출하고 ptr[idx]를 NULL로 초기화하지 않는다. 그래서 같은 idx로 delete()를 두 번 연속 호출하면 이미 해제된 청크가 다시 free되는 Double Free가 발생하고, 이후에도 stale pointer로 청크에 접근할 수 있는 Use-After-Free…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>double-free-bug</category></item><item><title>tcache_dup2</title><link>https://danielcho02.github.io/writeups/pwn/tcache-dup2/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/tcache-dup2/</guid><description>delete_heap()은 free(ptr[idx])만 호출하고 ptr[idx]를 NULL로 초기화하지 않는다. 그래서 해제된 청크에 대해 modify_heap()으로 데이터를 다시 쓸 수 있는 Use-After-Free, 그리고 같은 idx를 여러 번 delete_heap()할 수 있는 Double Free 조건이 성립한다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>double-free-bug</category></item><item><title>Tcache Poisoning</title><link>https://danielcho02.github.io/writeups/pwn/tcache-poison/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/tcache-poison/</guid><description>주어진 소스 코드는 다음과 같다. 보호기법은 다음과 같다. 청크를 해제하는 case 2:에서 chunk포인터를 초기화하지 않으므로 Double Free취약점이 존재한다. case 4:에서 청크를 조작할 수 있으므로 Tcache Poisoing 공격을 수행한다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>double-free-bug</category></item><item><title>Testify</title><link>https://danielcho02.github.io/writeups/rev/testify/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/rev/testify/</guid><description>이 문제는 입력한 문자열이 직접 flag인지 검사하는 구조가 아니라, 사용자가 넣은 문자열 패턴이 내부의 숨겨진 문자열 안에 존재하는지 검사하는 구조이다. 프로그램 실행 흐름은 다음과 같다. 로컬 바이너리에서 strings를 확인하면 다음 힌트가 존재한다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category></item><item><title>uaf_overwrite</title><link>https://danielcho02.github.io/writeups/pwn/uaf-overwrite/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/uaf-overwrite/</guid><description>주어진 소스 코드를 보면 Human과 Robot 구조체의 크기가 같고 human_func함수와 robot_func 에서 할당한 메모리 영역을 초기화하지 않으므로 UAF가 발생함 그래서 human의 age에 one_gadget 주소를 넣고 free하면 나중에 같은 chunk를 Robot을 재사용할 때 robot -&gt; fptr위치에 one_gadget 주소가…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>use-after-free</category></item><item><title>Calling Convention</title><link>https://danielcho02.github.io/notes/calling-convention/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/calling-convention/</guid><description>함수의 호출 및 반환에 대한 약속&lt;br&gt; Caller는 Return Address와 Stack Frame을 저장, Callee가 요구하는 인자 전달&lt;br&gt; 함수 실행 종료 시 return값 전달&lt;br&gt; 컴파일러는 CPU Architecture에 맞는 호출 규약을 선택&lt;br&gt; x86(32bit) 레지스터의 수가 적으므로 Stack으로 인자 전달&lt;br&gt; -…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>calling-convention</category></item><item><title>Format String Bug</title><link>https://danielcho02.github.io/notes/fromat-string-bug/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/fromat-string-bug/</guid><description>%[parameter][flags][width][.precision][length][specifier] 최소 너비를 지정, 공백 문자(&apos; &apos;)를 문자열 앞에 패딩 정수인 경우 그 값만큼 최소 너비로 지정 첫 인자의 값만큼 최소 너비로 지정, 두 번쨰 인자를 출력 출력하고자 하는 변수의 크기를 지정 참조할 인자의 인덱스를 지정 %[파라미터 값]$d형태로…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>fromat-string-bug</category></item><item><title>NX &amp; ASLR</title><link>https://danielcho02.github.io/notes/nx-aslr-rop/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/nx-aslr-rop/</guid><description>Stack Buffer Overflow 취약점 발생 &lt;br&gt; 1. 반환 주소 조작 가능 &lt;br&gt; 2. 버퍼의 주소 값을 쉽게 알 수 있음 - 임의 버퍼의 주소를 알기 어렵게 만들 필요 &lt;br&gt; 3.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>nx-aslr-rop</category></item><item><title>Out of Bounds</title><link>https://danielcho02.github.io/notes/out-of-bound/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/out-of-bound/</guid><description>Out of Bounds(OOB)는 배열이나 버퍼를 참조할 때, 인덱스가 정상 범위를 벗어나는 취약점이다. &lt;br&gt; 배열의 길이가 4라면 정상 인덱스는 보통 0 3이다. &lt;br&gt; 그런데 사용자가 -1, 4, 5 같은 값을 넣을 수 있고, 프로그램이 이를 제대로 검사하지 않으면 배열 밖의 메모리를 참조하게 된다.…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>out-of-bound</category></item><item><title>PIE(Position-Independent Executable)</title><link>https://danielcho02.github.io/notes/pie-relro/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/pie-relro/</guid><description>ASLR(Address Space Layout Randomization) 적용 시 바이너리가 실행될 때마다 stack, heap, shared library 등이 무작위 주소에 매핑 하지만 일반적으로 ASLR이 적용되더라도 실행 파일의 main()이나 전역 변수 등이 위치한 주소는 항상 고정된 상태 PIE는 실행 파일이 매핑된 영역에도 적용 ASLR과…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>pie-relro</category></item><item><title>SECCOMP(SECure COMPuting mode)</title><link>https://danielcho02.github.io/notes/seccomp/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/seccomp/</guid><description>원격 코드 실행(Remote Code Execution) 취약점은 사전에 예방할 수 없음 샌드박스(Sandbox) = 외부의 공격으로부터 시스템을 보호하기 위해 설계된 기법 Allow List와 Deny List 선택 적용 = 보호된 영역에서 어플리케이션 기능 수행, 외부의 공격 최소화 SECCOMP = Linux Kernel에서 프로그램의 샌드박싱…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>seccomp</category></item><item><title>Shellcode</title><link>https://danielcho02.github.io/notes/shellcode/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/shellcode/</guid><description>Exploit을 위해 제작된 Assembly 코드 조각 - Shell: OS에 명령을 내리기 위해 사용되는 user interface - Kernal: OS의 핵심 기능 - execve shellcode: 임의의 프로그램을 실행하는 shellcode 원문:…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>shellcode</category></item><item><title>SigReturn-Oriented Programming</title><link>https://danielcho02.github.io/notes/srop/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/srop/</guid><description>- NX = shellcode의 실행 방지 - RTL = shellcode를 이용하지 않고 libc의 함수를 호출에 보호기법을 우회 - ROP = 프로그램의 코드를 재활용, gadget을 이어 붙여 임의 함수를 연속해서 호출 - SROP = context switching을 위해 사용하는 sigreturn system call을 이용한 ROP 기법…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>srop</category></item><item><title>Memory Corruption: Stack Buffer Overflow</title><link>https://danielcho02.github.io/notes/stack-buffer-overflow/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/stack-buffer-overflow/</guid><description>Buffer: 데이터가 목적지로 이동되기 전에 보관되는 임시 저장소&lt;br&gt; Stack Buffer: Stack에 있는 지역 변수&lt;br&gt; Heap Buffer: Heap에 할당된 메모리 영역&lt;br&gt; Buffer Overflow: Buffer가 넘치는 것&lt;br&gt; Buffer Overflow가 발생하는 Buffer 뒤에 중요한 데이터가 있다면 해당 데이터가…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>stack-buffer-overflow</category></item><item><title>Stack Canary</title><link>https://danielcho02.github.io/notes/stack-canary/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/stack-canary/</guid><description>함수의 프롤로그에서 Stack Buffer와 Return Adress 사이에 임의의 값을 삽입하고, 함수의 에필로그에서 해당 값의 변조를 확인하는 보호기법 &lt;br&gt; Canary값의 변조가 확인되면 프로세스 강제 종료 &lt;br&gt; Return Adress를 덮으려면 반드시 Canary를 먼저 덮어야 하므로 Canary 값을 모르는 공격자는 이 값을 변조…</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>stack-canary</category></item><item><title>Double Free Bug</title><link>https://danielcho02.github.io/notes/double-free-bug/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/double-free-bug/</guid><description>tcahce와 bins를 free list라 통칭한다면, free list 관점에서 free는 chunk를 추가하는 함수, malloc은 청크를 꺼내는 함수 임의 청크에 대해 free를 두 번 이상 적용 = 같은 청크를 free list에 여러 번 추가 가능 duplicated free list를 이용하면 임의 주소에 청크를 할당할 수 있음 DFB =…</description><pubDate>Tue, 04 Aug 2026 00:00:00 GMT</pubDate><category>Notes</category><category>double-free-bug</category></item><item><title>Use-After-Free(UAF)</title><link>https://danielcho02.github.io/notes/use-after-free/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/use-after-free/</guid><description>Memory Allocator = 한정된 메모리 자원을 각 프로세스에 효율적으로 배분 모든 프로세스는 실행 중에 메모리를 동적으로 할당 → 해제 Use-After-Free = 메모리 참조에 사용한 포인터를 메모리 해제 후에 적절히 초기화하지 않아서 or 해제한 메모리를 초기화하지 않고 다음 청크에 재할당해주면서 발생하는 취약점 브라우저 및 커널에서 자주…</description><pubDate>Sun, 26 Jul 2026 00:00:00 GMT</pubDate><category>Notes</category><category>use-after-free</category></item><item><title>Master Canary</title><link>https://danielcho02.github.io/notes/master-canary/</link><guid isPermaLink="true">https://danielcho02.github.io/notes/master-canary/</guid><description>Stack Smaching Protector(SSP) = Stack Canary: Stack Buffer Overflow로 부터 반환 주소를 보호하는 기법 Thread Local Storage(TLS): Stack Canary의 값이 존재하는 위치 = Thread의 전역 변수를 저장하기 위한 공간, Loader에 의해서 할당 init_tls = TLS…</description><pubDate>Wed, 22 Jul 2026 00:00:00 GMT</pubDate><category>Notes</category><category>master-canary</category></item><item><title>Basic Exploitation 001</title><link>https://danielcho02.github.io/writeups/pwn/basic-exploitation-001/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/basic-exploitation-001/</guid><description>입력을 gets 함수를 통해서 받기 때문에 buffer overflow 발생 &lt;br&gt; gets 함수는 길이 제한 없이 &quot;\n&quot;을 만나기 전까지 입력을 받아 저장 &lt;br&gt; main의 RET에 read_flag 함수의 주소를 덮어야함 &lt;br&gt; gdb를 이용해 read_flag 함수의 주소를 파악 &lt;br&gt; 이를 이용해서 payload를 작성하면 symbol이…</description><pubDate>Thu, 09 Apr 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>stack-buffer-overflow</category></item><item><title>Return to Library</title><link>https://danielcho02.github.io/writeups/pwn/return-to-library/</link><guid isPermaLink="true">https://danielcho02.github.io/writeups/pwn/return-to-library/</guid><description>RTL: NX(No eXecute)를 우회하는 공격 기법 1. &quot;/bin/sh&quot; ASLR이 적용되도 PIE가 적용되지 않으면 CODE와 DATA segment의 주소는 고정됨. 2. Return to PLT: PLT의 주소 또한 고정, 라이브러리의 베이스 주소를 몰라도 라이브러리 함수를 실행할 수 있는 공격기법 cf.…</description><pubDate>Thu, 09 Apr 2026 00:00:00 GMT</pubDate><category>Writeups</category><category>nx-aslr-rop</category></item></channel></rss>