Git Product home page Git Product logo

ctfwriteups's Introduction

CTFWriteups

Documenting My Tasks From Various CTF Competitions ( Still not updated )

Cyberspark 2023

This event was a small CTF put together by Engineers Spark Iset'com in which we wrote some easy tasks for various categories in which the goal was to help people get into CTFs by giving them a glance at what they'll probably see in future CTFs.

  • Flag Format: Cyberspark{FLAG}

Forensics

For this CTF, I wrote 2 Forensics Tasks, The first being called "Mike's Investigation" which is a System Image and the second one is "Momento" which is a series of tasks that were intended to offer an intro to Memory Forensics.

Mike's Investigation

In this task, the goal is to find some hidden information inside the user's documents. The flag is split into 2 parts.

First of all we need to mount the Image to FTK Imager.

Now in the top secret folder, we find a galf.txt, you guess it right, it's flag.txt but reversed and inside it we find the following content:

rC35_YM_6N1P33K{krapsrebyC // The idea here is that it's reversed and so we need to reverse it back.

The final result is:

Cyberspark{K33P1N6_MY_53Cr

Now that we have the first half of the flag, we can move to part II.

  • Part II:

In the same folder, we can see another folder called WHOLESOME MEMES and a few images.

image

Normally the players will start thinking that it's hidden with some sort of steganography and they're right. Now they should extract those images and test them 1 by 1 with tools (online tools will do the job).

One of the most common used tools is : AperiSolve : https://www.aperisolve.com/

image When they reach the part where they upload the image s3cr3t.jpg to that website, they should find this.

In the Exiftool part, they will find some hidden base64 data within the Comment placeholder.

M0tkR01vVTNaRTR1YUE5YXp6ZGlXUENLeWlYRHAyNnRqeFpvdTF4b0ZJUHVqZjZEeDAxMHpDSUdJaGNHdnhKa1ZTRGI1N1VPMlkwQ3RtT1M0c3oyMUgzejc=

They now should either go with https://dcode.fr (that will stop giving correct values) or https://gchq.github.io/CyberChef/ .

image

In this step they need to go from base64 > base62 > base58 > base45 > base32 and they'll end up with the following decoded data:

**375_H1DD3N_4W4Y}**

And the full flag is : Cyberspark{K33P1N6_MY_53Cr375_H1DD3N_4W4Y}

Momento (Chained Series Task)

ctfwriteups's People

Contributors

videxrealone avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.