본문 바로가기

hacking sorcerer

(373)
준희는 귀여워? n = int(input()) s = 0 for i in range(0, n): k = int(input()) if k == 0: s += 0 elif k == 1: s += 1 if s > n/2: print("Junhee is cute!") else: print("Junhee is not cute!")
드림핵 Memory Corruption: Stack Buffer Overflow 설명 드림핵 Memory Corruption: Stack Buffer Overflow 실습 관련 부분에 대해서 짧게 설명해보겠습니당 (실행 흐름 조작) // Name: sbof_ret_overwrite.c// Compile: gcc -o sbof_ret_overwrite sbof_ret_overwrite.c -fno-stack-protector#include #include int main(void) { char buf[8]; printf("Overwrite return address with 0x4141414141414141: "); gets(buf); return 0;} (출처 : https://learn.dreamhack.io/60#8) 주어진 코드는 위와 같습니다 리턴 주소를 0x4141...뭐 저걸로..
드림핵 Quiz: x86 Assembly 2 정리 드림핵 Quiz: x86 Assembly 2를 정리해보겠습니당 뭔가 복잡한 계산을 하고 있는 것처럼 보이지만, 실제로 계산을 따라가보면 별다른 유의미한 연산을 하고 있지는 않습니다 여기서 흥미롭게 볼 만한 부분은 syscall입니당. 이 문제를 계기로 해서 syscall이 무엇인지 한 번 정도는 짚고 넘어가시면 되겠습니당 별다른 연산 없이 계산이 마무리 되기 때문에 원래 가지고 있던 메모리 값을 리틀 엔디언으로 변환 시켜줍니다 7233346479203730 2064336275363f00
드림핵 Quiz: x86 Assembly 1 드림핵 Quiz: x86 Assembly 1를 정리해보겠습니당 제가 예전에 푼 것 중에서 그냥 생각날 때 틈틈이 올리기 때문에 아주 예전에 푼 거여도 최근에 푼 것처럼 올릴 때가 있습니다앙 참고 해주세요 ~*^ 뭥 이 문제를 푸는 방법 자체는 매우 많을 거라고 생각해요 아마도 손으로 일일이 계산해서 풀어보는게 가장 귀찮고 정석적인 방법이겠죠 그러나 저는 손으로 풀기 귀찮아서 s = [0x67, 0x55, 0x5c, 0x53, 0x5f, 0x5d, 0x55, 0x10, 0x44, 0x5f, 0x10, 0x51, 0x43, 0x43, 0x55, 0x5d, 0x52, 0x5c, 0x49, 0x10, 0x47, 0x5f, 0x42, 0x5c, 0x54, 0x11, 0x00] b = [] for i in rang..
어나니머스 해커가 되어봅시다 심심풀이 삼아 Tryhackme anonymous를 풀어봅시당 일단 교양있게 포트 조사 부터 해줍니당 139, 445 가 수상하니 더욱 파고들어도 좋습니당 ftp를 이용해서 그쪽을 더 파고듭니당 clean.sh에다가 python 리버스 쉘을 담아줍니당 그리고 그걸 ftp에서 put으로 다시 되돌려줍니당 gtfobins에서 env를 찾아 그거에 알맞은 exploit을 파악한 뒤 root 권한을 획득합니당 쉽습니당
A heroic journey 03 During my graduate school years, I was able to learn more about assembly language and exploit forms while applying reverse engineering to actual malwares. In my reverse engineering class, the professor brought me at least one new piece of malware every week. Some were quite old-fashioned like the mini100, and some could only be solved by performing forensic analysis with a memory dump. This stud..
A heroic journey 02 In my undergraduate days, I studied C language, computer architecture, operating system, and assembly language extensively, and was particularly attracted to computer architecture and operating systems that were designed to achieve maximum effect with limited resources. It was difficult to master the fundamentals of C language and assembly language from the beginning. I took out one of the easie..
A heroic journey 01 I am fascinated by the field of Cyber ​​Security. It may stem from my long-standing love of math, inference, and logic. Throughout my elementary school days, I was immersed in problems of math, inference, and logic and enjoyed studying them. After I became a high school student, I got more deeply fascinated by logic and read works of Aristotle and Plato, the founders of logic. I came to realize ..