CITY LOG / SECTOR 01

CVE 취약점 분석부터
디지털 포렌식까지_

최신 CVE 취약점 분석, 패치 확인 방법, 디지털 포렌식과 보안 공부 기록을 정리합니다.

기록 탐험하기
기록 접속 중READ. BUILD. REPEAT.WORLD 01 ● ● ●

EXPLORATION LOG

기록 보관소 /

SELECT YOUR NEXT QUEST

Lucete

594개의 기록
Language

image GPS.py

from PIL import Imagefrom PIL.ExifTags import TAGS filename = "sunset.jpg"extension = filename.split('.')[-1]if (extension == 'jpg') | (extension == 'JPG') | (extension == 'jpeg') | (extension == 'JPEG') | (extension == 'PNG') |(extension == 'png'): try: img = Image.open(filename) info = img._getexif() exif = {} for tag, value in info.items(): decoded = TAGS.get(tag, tag) exif[decoded] = value #..

2016. 12. 21.기록 열기 ↗
Language

base image.py

from PIL import Image img = Image.open("filename.jpg")print(img.size)print(img.format) img.show()

2016. 12. 21.기록 열기 ↗
Metasploit

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 ..

2016. 12. 21.기록 열기 ↗
Language

python 같은 파일 뽑아내기 :)

사전파일에 파일이름과 폴더를 지정해주면 중복파일을 뽑아줍니다 :) # -*- coding: utf-8 -*- import os f = open('/Users/z3alous/Desktop/flag1.txt', 'w')

2016. 12. 18.기록 열기 ↗
Language

md5 한번에 인코딩하기 :) ex)폴더지정

# -*- coding: utf-8 -*-import hashlibimport os f = open('/Users/z3alous/Desktop/flag.txt', 'w') def md5(fname): hash_md5 = hashlib.md5() with open(fname, "rb") as f: for chunk in iter(lambda: f.read(4096), b""): hash_md5.update(chunk) return hash_md5.hexdigest() for root, dirs, files in os.walk('폴더 경로'): for fname in files: full_fname = os.path.join(root, fname) f.write(md5(full_fname) + '\n') f..

2016. 12. 18.기록 열기 ↗
Security Study/Network

nmap tutorial :)

nmap은 network mapper의 줄인말로 네트워크를 검색할 때 매우 좋은 툴이지만 해커에게 강한 무기가 될수 있는 오픈 소스 이다. nmap의 공식 사이트는 www.nmap.org 이며 우분투 같은 경우엔 apt-get install nmap

2016. 12. 17.기록 열기 ↗
Security Study/Server(Linux)

V3SPA: An Open Source Tool for Visually Analyzing and Diffing SELinux/SE for Android Security Policies

V3SPA: An Open Source Tool for Visually Analyzing and Diffing SELinux/SE for Android Security Policies SELinux and SE for Android can be a crucial part of securing a system, but the size and complexity of SELinux security policies make them challenging for security policy administrators to develop and maintain security policies. For example, the sesearch utility shows 94,420 allow rules in the 2..

2016. 12. 17.기록 열기 ↗
My Story

youtube 구독부탁드려요 :) subscribe plz :)

보안 관련 동영상을 올릴 예정입니다. :)많은 구독 부탁드려요 !! https://www.youtube.com/channel/UCn81GCH7RfiOdaZmWfng2Ng We will post security related videos. :)Many subscriptions please !!

2016. 12. 16.기록 열기 ↗
Wargame/CTF(Capture The Flag)

RC3CTF_300_Breaking News

300 - Breaking NewsWe just received this transmission from our news correspondents. We need to find out what they are telling us.file 문제인데 문제의 파일을 받아보면 알집으로 파일을 하나 주고 그것을 풀면 이제 우리가 풀어야 하는 문제 파일들이 나온다. 먼저 헥스로 파일을 확인 해보면 별 특이한 것이 없는 것같다 하나 하나 보던 도중 마지막에 base64로 디코딩이 되어 있는 것 같은 문자열을 발견하고 하나하나 파일에서 그러한 글자만 모아보았다. 총 나온 파일은 5개 chapter 4, 9, 10, 15, 18 이렇게 나왔다. 이제 base 64 decoding 을 해보자 base 64 디코딩을 하니..

2016. 12. 16.기록 열기 ↗
Security Study/Reversing

Mobile Application Reverse Engineering: MARA

Mobile Application Reverse engineering and Analysis Framework MARA is a Mobile Application Reverse engineering and Analysis Framework. It is a tool that puts together commonly used mobile application reverse engineering tools, in order to make the task or reverse engineering and analysis easier and friendly to mobile application developers and security professionals. Features supportedAPK Revers..

2016. 12. 16.기록 열기 ↗
Metasploit/Kali & Backtrack

netool 설치방법(how to install netool)

netool = script project 넷툴을 설치하기 위해 https://sourceforge.net/projects/netoolsh/ 들어가면 밑에와 같은 창이 뜬다. :) Git -> opensource-kali 를 클릭하게 되면 밑으로 쭉쭉 내리면 설치방법이 뜬당 :) 자세한건 유튜브로

2016. 12. 16.기록 열기 ↗
Metasploit

요즘 유행 하던 몸캠 (기초방식)

요즘 몸캠이 유행을 했었다. 대충 원리를 보면 스카xx같은 곳에서 채팅을 하다가 몸캠을 하자고 파일을 받으라고 한다. (몸캠을 하기위한 전용 파일이라 뻥을 친다.) 그러고 파일을 보내는데 그 파일은 당연히 악성코드 !! :) 이제 그것을 재연해보자 그전에 모든 책임은 사용자 본인에게 있습니다.시작해보자 :X 먼저 service apache2 start로 아파치를 실행 시켜주고 service postgresql start 로 postgresql 또한 시킨다. 궁극적인 명령어 service metasploit start 로 metasploit 또한 실행시킨다. 그 후 이제 악성코드를 만들어야 하는데...명령어 msfvenom을 이용 하여 만들어 보자.msfvenom -p android/meterpreter/..

2016. 12. 15.기록 열기 ↗