Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Steganography and PNGs
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Brian de Heus
October 12, 2019
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Steganography and PNGs
How to hide arbitrary data in PNGs and have image CDNs host it for you.
Brian de Heus
October 12, 2019
Transcript
31 slides
Free Unlimited Storage With This One Weird Trick! System Administrators
Hate Him!
steganography /stɛɡəˈnɒɡrəfɪ/ noun 1. the practice of concealing messages or
information within other non-secret text or data.
Herodotus
Admiral Jeremiah Denton
Message Under The Stamp
Brian de Heus briandotjp
Append After End Byte +
Binary Storage
Least Significant Bit Source: https://www.peerlyst.com/posts/the-threat-of-digital-steganography-cloaked-malware-to-u-s-critical-infrastructure-systems-ian-barwise-m-s-cissp-ceh-cnda
None
PNG Portable Network Graphics
None
signature 8 bytes chunk size 4 bytes chunk type 4
bytes chunk data n bytes chunk crc 4 bytes chunk size 4 bytes chunk type 4 bytes chunk data n bytes chunk crc 4 bytes chunk size 4 bytes chunk type 4 bytes chunk data n bytes chunk crc 4 bytes
Critical Chunks IHDR PLTE* IDAT IEND
Ancillary Chunks bKGD cHRM dSIG eXIf gAMA hIST iCCP iTXt
pHYs sBIT sPLT sRGB sTER tEXt tIME tRNS zTXt
criticality scope reserved safety CRITICAL non-critical PUBLIC private ALWAYS UPPERCASE
DON’T COPY safe to copy
I H D R CRITICAL PUBLIC DON’T COPY
e X I f non-critical PUBLIC safe to copy
None
Make my own chunks!
p u N k non-critical private safe to copy
None
+
Chunk size: 13 Chunk type: IHDR CRC: 9a768270 Chunk size:
218087 Chunk type: IDAT CRC: e11d26bc Chunk size: 0 Chunk type: IEND CRC: ae426082 Hiding 27 kB ( 28208 bytes) Injecting punk chunk Punk chunk injected Reached EOF
Chunk size: 13 Chunk type: IHDR CRC: 9a768270 Chunk size:
218087 Chunk type: IDAT CRC: e11d26bc Chunk size: 28208 Chunk type: puNk CRC: 8cccb594 Chunk size: 0 Chunk type: IEND Reached EOF
http://i.imgur.com/Qk5BP19.png
Demo Time!
Lesson 1 Do not trust user input
Lesson 2 Do not trust anyone
Lesson 3 Doge meme isn’t dead wow much brave such
opinion
Thanks!!
More Decks by Brian de Heus
See All by Brian de Heus
Kubernetes 101 - A practical introduction into Kubernetes
briandeheus
0
92
Service communication made easy
briandeheus
1
83
A Docker Swarm Love Story
briandeheus
0
120
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
The browser strikes back
jonoalderson
0
2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Design in an AI World
tapps
1
400
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
A Soul's Torment
seathinner
9
3.9k
Paper Plane (Part 1)
katiecoart
PRO
3
12k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
Automating Front-end Workflow
addyosmani
1370
210k
Crafting Experiences
bethany
1
460