diff --git a/steganography/exif-metadata/ch1.png b/steganography/exif-metadata/ch1.png new file mode 100644 index 0000000..4199a9e Binary files /dev/null and b/steganography/exif-metadata/ch1.png differ diff --git a/steganography/exif-metadata/ch1.png.1 b/steganography/exif-metadata/ch1.png.1 new file mode 100644 index 0000000..4199a9e Binary files /dev/null and b/steganography/exif-metadata/ch1.png.1 differ diff --git a/steganography/exif-metadata/notes.org b/steganography/exif-metadata/notes.org new file mode 100644 index 0000000..54c45e1 --- /dev/null +++ b/steganography/exif-metadata/notes.org @@ -0,0 +1,30 @@ +* EXIF - Metadata + + +Aufgabe + +Unser trauriger Freund Pepo hat sich verlaufen! Kannst du herausfinden, wo er ist? + +Das Kennwort ist die Stadt, in der sich pepo befindet. + +#+begin_src sh + exiftool ch1.png.1 + # ... + # GPS Latitude : 43 deg 17' 56.27" N + # GPS Longitude : 5 deg 22' 49.38" E + # GPS Position : 43 deg 17' 56.27" N, 5 deg 22' 49.38" E + # ... + +#+end_src + +DMS: +#+begin_quote +# GPS Latitude : 43 deg 17' 56.27" N +# GPS Longitude : 5 deg 22' 49.38" E +# GPS Position : 43 deg 17' 56.27" N, 5 deg 22' 49.38" E +#+end_quote + +DD: +#+begin_quote +43.2989639,5.380383333333333 -> 79XJ+H5J Marseille, France +#+end_quote diff --git a/steganography/exif-thumbnail/ch10.jpg b/steganography/exif-thumbnail/ch10.jpg new file mode 100644 index 0000000..9d31dc9 Binary files /dev/null and b/steganography/exif-thumbnail/ch10.jpg differ diff --git a/steganography/exif-thumbnail/notes.org b/steganography/exif-thumbnail/notes.org new file mode 100644 index 0000000..6c79cbd --- /dev/null +++ b/steganography/exif-thumbnail/notes.org @@ -0,0 +1,66 @@ +* EXIF - Thumbnail + +Task + +Find the password hidden in this JPG image. + +[[./ch10.jpg]] + +#+begin_src sh +exiftool ch10.jpg -b > thumbnail.bin +#+end_src + +** Full process + +1) Checked metadata in the original image: + +#+begin_src sh +exiftool ch10.jpg +#+end_src + +Key findings: +- `Thumbnail Offset: 202` +- `Thumbnail Length: 41506` + +2) Extracted the correct thumbnail from EXIF: + +#+begin_src sh +exiftool -b -ThumbnailImage ch10.jpg > thumb_extracted.jpg +file thumb_extracted.jpg +exiftool thumb_extracted.jpg +#+end_src + +Result: +- `thumb_extracted.jpg` is a valid JPEG (600x339) +- it also contains another EXIF thumbnail (`Thumbnail Length: 15957`) + +3) Extracted one level deeper: + +#+begin_src sh +exiftool -b -ThumbnailImage thumb_extracted.jpg > thumb2.jpg +file thumb2.jpg +exiftool thumb2.jpg +#+end_src + +Result: +- `thumb2.jpg` is a JPEG (300x300) +- JPEG comment: `We need to go deeper` + +4) Extra checks (stego tools unavailable in this environment): + +#+begin_src sh +steghide info thumb2.jpg +binwalk thumb2.jpg +#+end_src + +Both commands were not installed in this environment. + +5) Opened/read the image content of `thumb2.jpg` directly. + +The text visible in the image: + +`The flag is: B33r!sG00d!` + +** Flag + +`B33r!sG00d!` diff --git a/steganography/exif-thumbnail/thumb2.jpg b/steganography/exif-thumbnail/thumb2.jpg new file mode 100644 index 0000000..953ac46 Binary files /dev/null and b/steganography/exif-thumbnail/thumb2.jpg differ diff --git a/steganography/exif-thumbnail/thumb3.bin b/steganography/exif-thumbnail/thumb3.bin new file mode 100644 index 0000000..e69de29 diff --git a/steganography/exif-thumbnail/thumb_extracted.jpg b/steganography/exif-thumbnail/thumb_extracted.jpg new file mode 100644 index 0000000..6250639 Binary files /dev/null and b/steganography/exif-thumbnail/thumb_extracted.jpg differ diff --git a/steganography/exif-thumbnail/thumbnail.bin b/steganography/exif-thumbnail/thumbnail.bin new file mode 100644 index 0000000..d8fb0ae Binary files /dev/null and b/steganography/exif-thumbnail/thumbnail.bin differ diff --git a/steganography/exif-thumbnail/thumbnail.jpg b/steganography/exif-thumbnail/thumbnail.jpg new file mode 100644 index 0000000..d8fb0ae Binary files /dev/null and b/steganography/exif-thumbnail/thumbnail.jpg differ diff --git a/steganography/exif-thumbnail/thumbnail_thumbnail.bin b/steganography/exif-thumbnail/thumbnail_thumbnail.bin new file mode 100644 index 0000000..c36c36b Binary files /dev/null and b/steganography/exif-thumbnail/thumbnail_thumbnail.bin differ diff --git a/steganography/exif-thumbnail/thumbnail_thumbnail.jpg b/steganography/exif-thumbnail/thumbnail_thumbnail.jpg new file mode 100644 index 0000000..c36c36b Binary files /dev/null and b/steganography/exif-thumbnail/thumbnail_thumbnail.jpg differ diff --git a/web-server/html-source-code/index.html b/web-server/html-source-code/index.html new file mode 100644 index 0000000..9366525 --- /dev/null +++ b/web-server/html-source-code/index.html @@ -0,0 +1,33 @@ +
+ + +