일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- JSP
- github action
- firewall
- gotify
- OWASP
- Network
- MySQL
- sqli
- goKart
- C언어
- ubuntu
- Juice Shop
- Database
- 데이터통신
- 자료구조
- 운영체제
- JDBC
- virtualbox
- SUA
- gosec
- LGTM
- Python
- github
- juice-shop
- DVWA
- 알고리즘
- OpenSource
- 백준알고리즘
- CodeQL
- Codeup
- Today
- Total
비트(bit)주세요
정보보안 SUA - [오픈소스 보안] 3주차 본문
1. 과제
<Juice-Shop 취약점 3개 찾기>
<opensource-security-sua에 진단할 repo 3개, juice-shop, bunkerized-nginx 올리기>
<Cloudflare + Nginx>
<Gotify 서버 사용해보기>
<Gotify CLI와 Burp Suite를 활용해서 REST API 요청, 응답 모두 테스트하기>
<Golang SAST 준비>
2. 내용
<Juice-Shop 진행 방식 결정>
CTF 형식 vs 모의해킹 형식
모의해킹 형색 채택: CTF 방식도 흥미로웠지만, 모의해킹 형식으로 진행해보며 업무에 대한 적응도를 높이는 것도 괜찮을거라 판단.[Juice-Shop] 스코어보드에 취약점 현황을 보고 찾아 나아가기.
<bunkerized-nginx certbot 인증서 발급 문제 해결 중>
도메인에 SSL 인증서가 발급되지 않는 오류 발생
-> Bunkerized-Nginx를 실행시키는 로컬 환경, VM 환경에서 제대로 동작하지 않음
-> 방화벽 문제인가?
-> 방화벽을 비활성화 시키고 재실행
-> 나아지지 않음
-> 라우팅 문제인가?
-> tracert 명령어를 사용하여 경로 추적
-> 라우팅엔 문제 없음
-> Cloudflare와 가비아의 도메인을 연동하여 재시도 예정
3. 후기
1. 멘토링 진행중에 나왔던 개념이나 의견 등등을 머릿속으로만 기억하니, 나중에 되새기기 힘들었다.
그래서 포스팅 할 때에 시간이 꽤 소요되었다. 다음 멘토링 진행때부터는 간단하게라도 메모장에 기록 해야겠다.
2. 지금까지 많은 오류를 경험해왔지만, bunkerized-nginx 에러보다 해결하기 힘든 에러는 못 본 것 같다.
4. 결론
1. 먼저 진단하려는 오픈소스가 gotify/server인데 go언어로 구성되어 있다.
go언어 문법을 얕게라도 숙지해야겠다.
2. 취약점 진단 툴에 대한 이해도를 높이고 점검을 들어가야겠다.
5. 참고
[Juice-Shop 취약점 리스트]
https://github.com/juice-shop/juice-shop/blob/master/SOLUTIONS.md
GitHub - juice-shop/juice-shop: OWASP Juice Shop: Probably the most modern and sophisticated insecure web application
OWASP Juice Shop: Probably the most modern and sophisticated insecure web application - GitHub - juice-shop/juice-shop: OWASP Juice Shop: Probably the most modern and sophisticated insecure web app...
github.com
[무료 오픈소스 애플리케이션 보안 도구 목록]
https://owasp.org/www-community/Source_Code_Analysis_Tools
Source Code Analysis Tools | OWASP
Source Code Analysis Tools on the main website for The OWASP Foundation. OWASP is a nonprofit foundation that works to improve the security of software.
owasp.org
[codeQL이란?]
https://ksg97031.medium.com/codeql%EC%9D%B4%EB%9E%80-9cdee2c4f078
CodeQL이란..
CodeQL은 LGTM이라는 기업에서 사용하고 있는 시맨틱 정적 분석 엔진이며 LGTM 업체는 깃헙에 인수되었다. 깃헙에서 새로 지원하는 Code Scanning 기능이 바로 CodeQL 기반이며 오픈소스로 꾸준히 업데이
ksg97031.medium.com
[golang 문법]
예제로 배우는 Go 프로그래밍
쉽고 재미있는 Go 프로그래밍 예제로 배우는 Go 프로그래밍 I like a lot of the design decisions they made in the [Go] language. Basically, I like all of them. - Martin Odersky, Creator of Scala
golang.site
'SUA > 오픈소스 보안' 카테고리의 다른 글
[Juice-Shop] Outdated Allowlist (0) | 2021.10.20 |
---|---|
[Juice-Shop] Confidential Document (0) | 2021.10.20 |
[Juice-Shop] Reflected XSS (0) | 2021.10.11 |
[Juice-Shop] Zero Stars (0) | 2021.10.11 |
[Juice-Shop] score board 진입 (0) | 2021.10.11 |