Juniors CTF 2016 :: The Good, The Bad and The Junkman

John Hammond · Intermediate ·🔐 Cybersecurity ·9y ago

Key Takeaways

Tackles a good, bad and junkman challenge in Juniors CTF 2016

Full Transcript

hello everyone and welcome back to another YouTube video my name is John Hammond we're still looking at the junior CTF uh captur the flag game and competition that went on last weekend um all right so I want to showcase this uh other challenge in forensics there's a 500.1 called The Good the Bad and the junkman um so no real prompt here I cleaned up the store recently and now some stuff is missing I think it must be somewhere here so um I'll show it to you here you can download this thing it's just a raw file um now in my case when I was working with this I actually had some trouble being able to like download it and get it to extract so we'll see if I can get it again once we have it downloaded I'll just I use the archive manager to be able to extract these and it's taking a little bit of time to download 14 seconds 13 seconds blah blah blah so what I ended up because I couldn't get it to extract I honestly even just tried using some like online converters and I converted it to another file format and then I was able to extract that way so if I can extract it I'll just again showcase what I what I had done but you can try and extract it here and okay so yeah par an error curle extracting files a parser filters is unsupported so I probably have it jotted down what I actually used CD cyber writeups online CTF Juniors the good to bad dayment so I had used an online converter here which you're totally reading the solution which is just fine but I'll showcase it to you anyway I use an online converter to convert files here and I think I was able to download it there okay so no they deleted it but yeah I just use this dwon convert files.com seriously and I could just converted it to a tar and I was able to AR uh extract that so so it saved into this thing so I would CD into that and that has Google so there is a bunch of files in here I'm assuming like Chrome configurations bunch of user data and stuff from here which you can look through by hand if you really wanted to Chrome cleanup Tool uh crash reports there wasn't anything in there cleanup tool Chrome cleanup tool and there's some stuff here if you really want to look through that um but what I ended up doing was because I was too lazy to look through all this stuff was I created a simple while loop first I just ran fine so I'd have the list of all the files in here with an absolute path or like I'm sorry with a relative path with a DOT slash and then I would I would I would Loop through every single one of them so while read line as I Loop through all those outputs in each individual line I would do strings on that line and it would literally take the strings of every single file that I saw so it looks like a bunch of nonsense what it's scrolling by um but what I wanted to do now is I can grip for flag and I use dasi to make it like case insensitive and there's a bunch of stuff here again uh so what I ended up doing in that case was concatenated or I sorry I appended it to a file uh that I ended up calling like all flags. text that's what you saw in uh the folder above me or the directory that I that that is above me so you can see it there what I ended up doing was now opening that up and taking a look at it more definitively so i' look for flag and there were about 221 matches I could see down at the very bottom so I honestly just looked through these one by one and I just hit the enter key to kept scrolling by and scrolling through it to see if there was anything interesting that popped up and I see like some JavaScript code I see some other things that don't look particularly interesting other than Yandex searches that looked interesting um and I kept going through here and one of the ones that I saw eventually also other than all these Jon objects that look peculiar but they're probably just for technical thing the creation uncore Flags variable is probably use for some code it does um but I kept rolling through here all these jpeg oh sorry these PNG images and now I find this interesting thing and that they search YouTube but they see a youtube.com search query flag CTF some interesting some interesting here go go be Boulder the fact that it has CTF I'm like oh okay this looks very very very clear this looks like I clearly have the right thing so they had searched that through YouTube and I tried I tried this as the flag and that didn't work um so but since they had searched it on YouTube I was like okay can I can I recreate that can I do that exact same thing so I I Googled it I think finding it on on YouTube is just as equally as fine but I had just ran it through Google flag CTF interesting go here and we get this YouTube video with which is 6 seconds long and this must be it it says description is well done you are fine me and the video uh has this this this image here that says flag a little bit of magic so that's it that is our flag that we can submit and you saw that in the uh text that I had the solution that I jotted down but that's really all I did I didn't do any like extreme I didn't use any cool or fancy uh forensics tools to be able to look at Google Chrome and recover Google Chrome's like data settings and stored cach and stuff like that I literally just ran strings on everything and look for flag so um that's what I had done I hope to know I wonder if anyone like once the writeups actually released for the CTF or if anyone can film in on some cool utilities or Cool Tools to be able to recover like Google Chrome data and stuff like that uh until then I guess I'll just deal with strings on on on everything but there's our flag you can submit that and get 500 points so a good a good challenge but just a interesting unique uh interesting tactic um interesting and unique tactic sorry jumbling those words there uh is just running everything through strings you can do that with the fine command and just looping through every single one of them so sweet thanks for watching guys hope you're enjoy these and I'll see you in a later video

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
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from John Hammond · John Hammond · 54 of 60

1 Code Commentaries? PHP to JavaScript in Bash and PHP!
Code Commentaries? PHP to JavaScript in Bash and PHP!
John Hammond
2 Tutorials? MySQL connection with PHP and Bash!
Tutorials? MySQL connection with PHP and Bash!
John Hammond
3 Variable Naming in Python! Happy Birthday, Linux! Nokia N900!
Variable Naming in Python! Happy Birthday, Linux! Nokia N900!
John Hammond
4 JavaScript Splits The URL!
JavaScript Splits The URL!
John Hammond
5 HTML Tables in Python!
HTML Tables in Python!
John Hammond
6 HTML, Net Shares, GML!
HTML, Net Shares, GML!
John Hammond
7 Python 08 Programming Style and Comments
Python 08 Programming Style and Comments
John Hammond
8 Python 26 Object Oriented Programming
Python 26 Object Oriented Programming
John Hammond
9 75 Python Tutorials, Out Now!
75 Python Tutorials, Out Now!
John Hammond
10 Batch 14 Mathematical Expressions
Batch 14 Mathematical Expressions
John Hammond
11 Batch 85 Array Append
Batch 85 Array Append
John Hammond
12 Batch 86 Array Count
Batch 86 Array Count
John Hammond
13 Batch 87 Array Index
Batch 87 Array Index
John Hammond
14 Batch 88 Array Insert
Batch 88 Array Insert
John Hammond
15 Batch 89 Array Remove
Batch 89 Array Remove
John Hammond
16 Batch 90 Array Reverse
Batch 90 Array Reverse
John Hammond
17 Python [colorama] 00 Installing on Linux
Python [colorama] 00 Installing on Linux
John Hammond
18 Python [colorama] 09 Cursor Position
Python [colorama] 09 Cursor Position
John Hammond
19 Python [hashlib] 02 Algorithms
Python [hashlib] 02 Algorithms
John Hammond
20 Python 00 Installing IDLE on Linux
Python 00 Installing IDLE on Linux
John Hammond
21 Python [pygame] 11 Rectangular Collision Detection
Python [pygame] 11 Rectangular Collision Detection
John Hammond
22 Python [pygame] 12 Platforming Rectangular Collision Resolution
Python [pygame] 12 Platforming Rectangular Collision Resolution
John Hammond
23 Python [XML-RPC] 01 Research
Python [XML-RPC] 01 Research
John Hammond
24 Python [pyenchant] 03 Personal Word Lists
Python [pyenchant] 03 Personal Word Lists
John Hammond
25 FancyURLopener Authentication and User-Agent [urllib] 03
FancyURLopener Authentication and User-Agent [urllib] 03
John Hammond
26 Python 04: PEP8 Coding
Python 04: PEP8 Coding
John Hammond
27 Python Challenge! 17 COOKIES
Python Challenge! 17 COOKIES
John Hammond
28 Google CTF 2016: Ernst Echidna
Google CTF 2016: Ernst Echidna
John Hammond
29 Google CTF 2016: Spotted Quoll
Google CTF 2016: Spotted Quoll
John Hammond
30 Google CTF 2016: Can you Repo It?
Google CTF 2016: Can you Repo It?
John Hammond
31 Google CTF 2016: No Big Deal
Google CTF 2016: No Big Deal
John Hammond
32 Google CTF 2016: In Recorded Conversation
Google CTF 2016: In Recorded Conversation
John Hammond
33 Homemade CTF Challenge: 01 "Orchestra"
Homemade CTF Challenge: 01 "Orchestra"
John Hammond
34 Homemade CTF Challenge: 02 "Bae's Base"
Homemade CTF Challenge: 02 "Bae's Base"
John Hammond
35 Homemade CTF Challenge: 03 "Web Hunt"
Homemade CTF Challenge: 03 "Web Hunt"
John Hammond
36 Homemade CTF Challenge: 04 "UPX"
Homemade CTF Challenge: 04 "UPX"
John Hammond
37 Homemade CTF Challenge: 05 "The Assumption Song"
Homemade CTF Challenge: 05 "The Assumption Song"
John Hammond
38 Homemade CTF Challenge: 06 "A Brisk Stroll"
Homemade CTF Challenge: 06 "A Brisk Stroll"
John Hammond
39 Homemade CTF Challenge: 06 "I lost my password!"
Homemade CTF Challenge: 06 "I lost my password!"
John Hammond
40 web25 :: Mr. Robot : EKOPARTY CTF 2016
web25 :: Mr. Robot : EKOPARTY CTF 2016
John Hammond
41 web50 : RFC 7230 :: EKOPARTY CTF 2016
web50 : RFC 7230 :: EKOPARTY CTF 2016
John Hammond
42 misc50 : Hidden inside EKO :: EKOPARTY CTF 2016
misc50 : Hidden inside EKO :: EKOPARTY CTF 2016
John Hammond
43 Hack The Vote 2016 CTF: Sander's Fan Club [web100]
Hack The Vote 2016 CTF: Sander's Fan Club [web100]
John Hammond
44 Hack The Vote 2016 CTF Warpspeed [forensics150]
Hack The Vote 2016 CTF Warpspeed [forensics150]
John Hammond
45 Juniors CTF 2016 :: Black Suprematic Square
Juniors CTF 2016 :: Black Suprematic Square
John Hammond
46 Juniors CTF 2016 :: Six Strange Tales
Juniors CTF 2016 :: Six Strange Tales
John Hammond
47 Juniors CTF 2016 :: Lost Code
Juniors CTF 2016 :: Lost Code
John Hammond
48 Juniors CTF 2016 :: Here Goes!
Juniors CTF 2016 :: Here Goes!
John Hammond
49 Juniors CTF 2016 :: Southern Cross
Juniors CTF 2016 :: Southern Cross
John Hammond
50 Juniors CTF 2016 :: Clone Attack
Juniors CTF 2016 :: Clone Attack
John Hammond
51 Juniors CTF 2016 :: Dirty Repo
Juniors CTF 2016 :: Dirty Repo
John Hammond
52 Juniors CTF 2016 :: Hackers Blog
Juniors CTF 2016 :: Hackers Blog
John Hammond
53 Juniors CTF 2016 :: Voting!!!
Juniors CTF 2016 :: Voting!!!
John Hammond
Juniors CTF 2016 :: The Good, The Bad and The Junkman
Juniors CTF 2016 :: The Good, The Bad and The Junkman
John Hammond
55 Juniors CTF 2016 :: Stop Thief!
Juniors CTF 2016 :: Stop Thief!
John Hammond
56 Juniors CTF 2016 :: ROFL
Juniors CTF 2016 :: ROFL
John Hammond
57 Juniors CTF 2016 :: Restriced Area
Juniors CTF 2016 :: Restriced Area
John Hammond
58 Juniors CTF 2016 :: Oh SSH!
Juniors CTF 2016 :: Oh SSH!
John Hammond
59 HackCon CTF 2017 TRIVIA and BONUS Challenges
HackCon CTF 2017 TRIVIA and BONUS Challenges
John Hammond
60 HackCon CTF 2017 "Bacche" Challenges
HackCon CTF 2017 "Bacche" Challenges
John Hammond

Related Reads

Up next
Google Did The Impossible
Boot dev
Watch →