더 나은 세상

CVE-11176(3) 본문

컴퓨터 프로그래밍

CVE-11176(3)

leemark 2019. 3. 31. 21:31

The first exploit stub

 

struct sigevent을 구글링했더니

이게 나왔다. 참고하면서 하면 될듯

mq_notify는 0이 되어야한다. 이 함수를 집중적으로 파고들어야 할것 같다.

http://man7.org/linux/man-pages/man3/mq_notify.3.html

 

mq_notify(3) - Linux manual page

MQ_NOTIFY(3) Linux Programmer's Manual MQ_NOTIFY(3) NAME         top mq_notify - register for notification when a message is available SYNOPSIS         top #include int mq_notify(mqd_t mqdes, const struct sigevent *sevp); Link with -lrt. DESCRIPTION      

man7.org

이 링크를 잘 봐야겠다

 

Hello system tap

system tap이란 현재 상태를 gdb없이 확인할 수 있는 tool이다.

근데 system tap은 항상 hook(코드를 삽입)할 수 있는건 아니다. 예를 들어 copy_from_user전에 삽입은 가능하지만 후에는 불가능하다.

The first bug!부터 해야한다.

 

'컴퓨터 프로그래밍' 카테고리의 다른 글

[윈도우 프로그래밍]  (0) 2022.01.13
ARM page table  (0) 2019.04.05
CVE-11176(2)  (0) 2019.03.31
CVE-11176(1)  (0) 2019.03.30
exe파일이란 무엇인가요?  (0) 2018.12.16