Image Strings | Ryan's CTF [07] "Stenography"
Skills:
Tool Use & Function Calling80%
Key Takeaways
Solves Ryan's CTF stenography challenge using image strings and base64 decoding
Full Transcript
this challenge from Ryan Nicholson CTF is called stenography I'm assuming this is supposed to be steganography whatever that's okay we'll let it pass it says find the hidden flag in this attached image file so we can go ahead and download this I will W get it into our location in the command line did not copy fail I was probably just hitting the N button whatever so we can do G this hacker file and view it if we particularly wanted to it is just some dude staring at a computer screen so maybe there's some interesting stuff hidden in different colors in this so we can use some of our own regular steganography techniques particularly take a look at this file z stag we can pass to it however it is a JPEG file which Z SEC does not have support for so what I like to do is actually run stag solve on it which is a jar file you can find online if you particularly want to use this tool it's pretty awesome in a really good go to like low-hanging fruit technique for actually viewing anything that may be steganography you can go through it and actually look at different planes or however specific bit in a specific color like green pane or blue plane the zero bit like mode ever maybe if you get a loo significant bit or actually if you it an X or inverted colors and any Alpha characters etc so that's a good tool for some challenges however it's not doing the doing for us in this one so what I actually tried at some point was just running strings on this file and I noted at the very very bottom there is a base64 line you can tell us base 64 because of the random capitalizations and numbers also the two equal signs give it away and agree just matter because equal signs at the very end tell us it's basics t4 for padding we can pass this to base64 tack D and we simply get the flag just like that there are a couple extra spaces in this so I will Rev this to actually cut out the delimiter and get the first one and then rev it back and then we have our flag so we can take this code or this command it take note of that as our get flag script and include our shebang line and we have a documented solution great so now we can mark that challenge as complete and we can submit that for points and move on so good thing to note when you're doing second ography I don't really consider this diagraph II because maybe this is forensics there's a string embedded or hidden in the file it's not in the actual color or pixels or images in the picture itself but still cool challenge good to submit that and learn about it so hey I want to give the special shout-out to my supporters people who loved me on patreon thank you I love you I was gonna start singing Barney for a second there that was weird hey $1 a month on patreon will give you a special shout-out just like this at the end of every video $5 a month on patreon will give you early access everything they're released on YouTube and I'll hopefully get more incentive soon if you did like this video please do press that like button maybe comment maybe subscribe and if you're willing to come check us out on discord hang out with us in there and support me on patreon that'd be super cool links in description see ya
Original Description
If you would like to support me, please like, comment & subscribe, and check me out on Patreon: https://patreon.com/johnhammond010
E-mail: johnhammond010@gmail.com
PayPal: http://paypal.me/johnhammond010
GitHub: https://github.com/JohnHammond
Site: http://www.johnhammond.org
Twitter: https://twitter.com/_johnhammond
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from John Hammond · John Hammond · 0 of 60
← Previous
Next →
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Code Commentaries? PHP to JavaScript in Bash and PHP!
John Hammond
Tutorials? MySQL connection with PHP and Bash!
John Hammond
Variable Naming in Python! Happy Birthday, Linux! Nokia N900!
John Hammond
JavaScript Splits The URL!
John Hammond
HTML Tables in Python!
John Hammond
HTML, Net Shares, GML!
John Hammond
Python 08 Programming Style and Comments
John Hammond
Python 26 Object Oriented Programming
John Hammond
75 Python Tutorials, Out Now!
John Hammond
Batch 14 Mathematical Expressions
John Hammond
Batch 85 Array Append
John Hammond
Batch 86 Array Count
John Hammond
Batch 87 Array Index
John Hammond
Batch 88 Array Insert
John Hammond
Batch 89 Array Remove
John Hammond
Batch 90 Array Reverse
John Hammond
Python [colorama] 00 Installing on Linux
John Hammond
Python [colorama] 09 Cursor Position
John Hammond
Python [hashlib] 02 Algorithms
John Hammond
Python 00 Installing IDLE on Linux
John Hammond
Python [pygame] 11 Rectangular Collision Detection
John Hammond
Python [pygame] 12 Platforming Rectangular Collision Resolution
John Hammond
Python [XML-RPC] 01 Research
John Hammond
Python [pyenchant] 03 Personal Word Lists
John Hammond
FancyURLopener Authentication and User-Agent [urllib] 03
John Hammond
Python 04: PEP8 Coding
John Hammond
Python Challenge! 17 COOKIES
John Hammond
Google CTF 2016: Ernst Echidna
John Hammond
Google CTF 2016: Spotted Quoll
John Hammond
Google CTF 2016: Can you Repo It?
John Hammond
Google CTF 2016: No Big Deal
John Hammond
Google CTF 2016: In Recorded Conversation
John Hammond
Homemade CTF Challenge: 01 "Orchestra"
John Hammond
Homemade CTF Challenge: 02 "Bae's Base"
John Hammond
Homemade CTF Challenge: 03 "Web Hunt"
John Hammond
Homemade CTF Challenge: 04 "UPX"
John Hammond
Homemade CTF Challenge: 05 "The Assumption Song"
John Hammond
Homemade CTF Challenge: 06 "A Brisk Stroll"
John Hammond
Homemade CTF Challenge: 06 "I lost my password!"
John Hammond
web25 :: Mr. Robot : EKOPARTY CTF 2016
John Hammond
web50 : RFC 7230 :: EKOPARTY CTF 2016
John Hammond
misc50 : Hidden inside EKO :: EKOPARTY CTF 2016
John Hammond
Hack The Vote 2016 CTF: Sander's Fan Club [web100]
John Hammond
Hack The Vote 2016 CTF Warpspeed [forensics150]
John Hammond
Juniors CTF 2016 :: Black Suprematic Square
John Hammond
Juniors CTF 2016 :: Six Strange Tales
John Hammond
Juniors CTF 2016 :: Lost Code
John Hammond
Juniors CTF 2016 :: Here Goes!
John Hammond
Juniors CTF 2016 :: Southern Cross
John Hammond
Juniors CTF 2016 :: Clone Attack
John Hammond
Juniors CTF 2016 :: Dirty Repo
John Hammond
Juniors CTF 2016 :: Hackers Blog
John Hammond
Juniors CTF 2016 :: Voting!!!
John Hammond
Juniors CTF 2016 :: The Good, The Bad and The Junkman
John Hammond
Juniors CTF 2016 :: Stop Thief!
John Hammond
Juniors CTF 2016 :: ROFL
John Hammond
Juniors CTF 2016 :: Restriced Area
John Hammond
Juniors CTF 2016 :: Oh SSH!
John Hammond
HackCon CTF 2017 TRIVIA and BONUS Challenges
John Hammond
HackCon CTF 2017 "Bacche" Challenges
John Hammond
More on: Tool Use & Function Calling
View skill →Related Reads
📰
📰
📰
📰
Hacker Holidays Day 1: The Concierge Knows Too Much — TryHackMe Walkthrough & Prompt Injection
Medium · Programming
Why The Biggest AI-Driven Cyber Threat Is Still Human Nature
Forbes Innovation
Offensive audit, engineering edition — the 6-piece fix pattern in detail
Dev.to · Dexterlung
A Month in the Wild: Analyzing 53,232 Attacks on My Honeypot
Medium · DevOps
🎓
Tutor Explanation
DeepCamp AI