Security

Steganography

Steganography

  • 스테가노그래피란

사진, 음악, 동영상 등의 일반적인 파일 안에 데이터를 숨기는 기술을 뜻한다.

Steghide : 이미지에 데이터를 숨기거나 추출해내는 툴
Stegcracker :이미지에 데이터를 숨길 때 사용된 암호를 크랙하는 툴

이 글에서는 Steghide 만 다룬다.

  • 설치

Copy
apt install -y steghide
  • 사용법


secret 이란 파일을 하나 만들자.
Copy
echo 'haha hoho happy' > secret.txt

secret 파일을 5.jpg 파일 안으로 넣자.
Copy
steghide embed -cf 5.jpg -ef secret.txt

5.jpg 파일을 다시 꺼내자.
Copy
steghide extract -sf 5.jpg

Reference

https://youtu.be/uDFhQhD3ncc