Posts

Showing posts with the label holiday hack

SANS HHC 2016 - Part 5: Discombobulated Audio

Image
SANS Holiday Hack Challenge 2016 Part 5: Discombobulated Audio I have all the auido files: Server (northpolewonderland.com) File Name File Size (Bytes) MD5 Hash analytics discombobulatedaudio2.mp3 223248 f05c1ec6c536e455ec686973fa6b8e20 dungeon discombobulatedaudio3.mp3 202362 0be15d00299af1a6bc1d11ab6f2696a0 dev debug-20161224235959-0.mp3 218033 0a5ef5d7a0e89658a833d1892a9e1ec6 ads discombobulatedaudio5.mp3 233357 3d87c1d31717f81f1966db4133f9e24d ex discombobulated-audio-6-XyzE3N9YqKNH.mp3 223244 4ee86b5b0eef9f8815ee7446272a6c06 analytics discombobulatedaudio7.mp3 220943 313e7e370fd7d5232bb569f21856d9f4 I used Audicity on my Windows 10 laptop to apply filters and effects to the MP3 files. At first I thought each file contained a word to form a sentence, but making changes on each file didn’t he...

SANS HHC 2016 - Part 4.3: My Gosh... It's Full of Holes - Analytics (post authentication)

Image
SANS Holiday Hack Challenge 2016 Continuing Part 4: My Gosh... It's Full of Holes - Analytics (post authentication) Nmap shows that a .git directory is available for download in https://analytics.northpolewonderland.com/.git I get a copy of it with a  wget -r https://analytics.northpolewonderland.com/.git/  cd analytics.northpolewonderland.com/ git status git checkout for all the PHP source code  And I look at the commit history and found interesting messages about the database dump sprusage.sql git log interesting comments I get an old version of the sprusage.sql file to find the administrator user and password Old version of db dump has the administrator's password From the commits messages I also noticed that it seems the application is storing SQL queries in the database. The edit.php file has a warning about being experimental, this PHP file enables the user with access to change the values in the reports table,...

SANS HHC 2016 - Part 4: My Gosh... It's Full of Holes - Dev / Ads / Ex

Image
SANS Holiday Hack Challenge Continuing with Part 4: My Gosh... It's Full of Holes To continue examining and exploiting vulnerabilities was necessary to finish the environment. Here you can find my setup The Debug Server For this one, nmap only shows TCP port 80 and the content of the APK file shows an index.php URL. Visiting the URL shows nothing, so we have to find out how the SantaGram app interact with it. Time to use my emulator and BurpSuite to look at the traffic. At first I didn’t see anything interacting with the debug server (dev.northpolewonderland.com), so debug mode must be disabled. I look for debugging parameters in the APK file decoded by apktool. Searching for Debug parameters It seems the res/values/strings.xml file has the parameter we need to change and also need to interact with the EditProfile part of the app, but I changed the debug_data_enabled value to true , recompiled and signed as explained by Josh Wright here , and a...

SANS HHC 2016 - Part 3: A Fresh-Baked Holiday Pi

Image
SANS Holiday Hack Challenge 2016 Part 3: A Fresh-Baked Holiday Pi Player Inventory - All pieces of the Cranberry Pi After finding all the pieces of the Cranberry Pi computer Holly Evergreen provided a link to download the image file from the SD card. What's the Cranberry Pi for? Download the SD image https://www.northpolewonderland.com/cranbian.img.zip 5) What is the password for the "cranpi" account on the Cranberry Pi system? I went and talked to Wunorse Opensale, under the tree in the middle of the town, and he had a great tip for working with SD cards images. How to manage SD images Following the article , I was able to mount the SD image and looked for the /etc/shadow file Another elf, Minty Candycane, had a tip about John the Ripper and what password database to use (Rockyou), and that’s what I used to crack the password in about 20 min while I walked through the park collecting NetWar coins J root@igor-ka...