Thamizhiniyan C S
HomeWriteupsResourcesCheatsheets
HackTheBox
HackTheBox
  • HackTheBox
  • Machines
    • Easy
      • Devvortex
      • Sau
      • CozyHosting
      • Cat
      • Crafty
      • Analytics
      • Squashed
      • Keeper
      • Pilgrimage
      • NodeBlog
      • PC
  • Tracks
    • Beginner Track
      • Lame
      • Find the Easy Pass
      • Weak RSA
      • Jerry
      • You Know 0xDiablos
      • Netmon
      • Under Construction
      • Blue
    • Intro To Android Exploitation
      • Pinned
      • Manager
      • Anchored
      • APKrypt
      • Explore
      • Don't Overreact
      • APKey
    • Pwn With Metasploit
      • Optimum
      • Devel
  • Challenges
    • Web
      • Easy
        • Templated
  • Sherlocks
    • DFIR
      • Easy
        • Recollection
    • SOC
      • Easy
        • Meerkat
    • Malware Analysis
      • Easy
        • Heartbreaker-Continuum
        • Lockpick
        • Lockpick 2.0
Powered by GitBook
On this page
  • Overview
  • Initial Setup
  • Extracting the Backup File

Was this helpful?

  1. Machines
  2. Easy

Cat

Cat writeup by Thamizhiniyan C S

PreviousCozyHostingNextCrafty

Last updated 1 year ago

Was this helpful?

Overview

Hey everyone, in this write-up we will be solving an HTB challenge Cat.

Link to the challenge:

Let’s Start!!!!!!


Initial Setup

First download and extract the given file.

After extracting the zip, we can see a file named cat.ab. I used file command on the Cat.ab file.

From the output of the file command, we can conclude that the given file is android backup file.


Extracting the Backup File

You can extract file from a android backup using android-backup-extractor. Download it.

Using the command: java -jar abe.jar unpack cat.ab file.tar , you can convert a android backup file to a tar file.

Now its time to extract the tar file using the command tar xvf file.tar.

From the output of the tar tool, we can see that there are some images in the shared/0/Pictures directory.

On taking a look at those images, one of the image contains the flag in it.

We have successfully obtained the flag.

Thank you…….

https://app.hackthebox.com/challenges/cat
Releases · nelenkov/android-backup-extractorGitHub
Logo