System hacking/프로토스타(Protostar)

Protostar 설치 및 실행

Roronoa 2022. 9. 10. 22:16
반응형

1. Protostar 이미지 파일 설치

https://www.vulnhub.com/entry/exploit-exercises-protostar-v2,32/

 

Exploit-Exercises: Protostar (v2)

This mentions the name of this release, when it was released, who made it, a link to 'series' and a link to the homepage of the release. It's common for an author to release multiple 'scenarios', making up a 'series' of machines to attack.

www.vulnhub.com

위 사이트에 접속하면 Protostar 이미지 파일을 다운 받을 수 있다.

1-1. 프로토스타 사이트

https://exploit.education/protostar/

 

Protostar :: Andrew Griffiths' Exploit Education

Phoenix has superceded Protostar - this page is kept around for historical purposes only. The /proc/sys/kernel/core_pattern is set to /tmp/core.%s.%e.%p. This means that instead of the general ./core file you get, it will be in a different directory and di

exploit.education

위 사이트에 접속을 하면 Protostar 문제들을 볼 수 있다.

2. 프로토스타 실행

[그림 1] 프로토스타(Protostar) 로그인 화면

프로토스타를 다운 받은 후 Vmware에서 실행하였다.

프로토스타를 실행하면 위와 같이 id와 password를 입력하는 창이 나오는데 id는 root이고 password는 godmode이다.

id와 password를 입력하면 그림 1과 같이 로그인 할 수 있다.

 

[그림 2] user계정으로 접속

su user명령어를 통하여 user로 접속할 수 있다.

 

[그림 3] 네트워크 환경 보기

netstat명령어로 22번 포트가 열려 있음을 확인할 수 있다.

 

[그림 4] putty로 protostar 접속

putty로 protostar에 접속하였고 /opt/protostar에 bin과 run파일안에 문제들이 있다.

다음 시간에는 Stack0번 문제를 풀어보도록 하겠다.

반응형