🌌
N/B Writeups
  • CTF Writeups
  • CTFs
    • 2019
      • OverTheWire Advent
    • 2020
      • Midnight Sun
      • Things I learned from DarkCTF
  • Pwnable.kr
    • 01 - fd
    • 02 - col
    • 03 - bof
    • 04 - flag
    • 05 - passcode
    • 06 - random
    • 07 - input
    • 08 - leg
    • 09 - mistake
    • 10 - Shellshock
    • 11 - coin1
    • 12 - blackjack
    • 13 - lotto
    • 14 - cmd1
    • 15 - cmd2
    • 16 - uaf
    • 17 - memcpy
    • 18 - asm
    • 20 - blukat
    • 21 - horcruxes
    • 33 - echo1
    • 34 - echo2
    • 43 - coin2
  • More Pwn
    • Protostar - format4
  • Lord of SQLI
    • Lord of SQLI
Powered by GitBook
On this page
  • Forensics
  • Wolfie's Contact
  • AW
  • Free Games
  • Crcket
  • Cryptography
  • Pipe Rhyme
  • Linux
  • Linux Starter
  • Find Me
  • Secret Vault
  • Time Eater
  • Misc
  • QuickFix
  • P_g_G_i_P_t
  • OSINT
  • Eye & Time Travel
  • PWN
  • roprop
  • Web
  • Source
  • Dusty Notes
  • Chain Race

Was this helpful?

  1. CTFs
  2. 2020

Things I learned from DarkCTF

PreviousMidnight SunNext01 - fd

Last updated 4 years ago

Was this helpful?

Forensics

Wolfie's Contact

How to mount an EWF image file (E01) on Linux[]:

ewfmount IMAGE.E01 ./rawimage/
mkdir mountpoint # mount ./rawimage/ewf1 ./mountpoint -o ro,loop,show_sys_files,streams_interace=windows

AW

If the file is named "spectre", they may be implying that I should inspect the spectrogram 🤦‍♂️

Free Games

The writeup I read used to search the file system for. I tried to figure out why grep didn't work for me and I realized the link I was looking for is split into two lines. To prevent this I could use a tool or look for "PencakSilat" instead of "http".

Crcket

This challenge was about fixing a png. It required knowledge of the , and could use the help of .

Cryptography

Pipe Rhyme

First RSA challenge.

Linux

Linux Starter

Escape rbash restricted shell through SSH:

ssh <User>@<IP-Adress> -t "bash --noprofile"

Find Me

cp /proc/<PID>/fd/<FD> <Restored File>

Secret Vault

Base85 is a thing, and it looks something like this:

\0Ec5e;DffZ(EZee.Bl.9pF"AGXBPCsi+DGm>@

Also, I liked this syntax of while loop to crack the vault:

nr=0; while true; do nr=$((nr+1)); if [[ $(./vault $nr) != *"wrong"* ]]; then ./vault $nr; echo $nr; fi; done;

Time Eater

Sometimes you just have to keep enumerating... 😒

Misc

QuickFix

????

P_g_G_i_P_t

What can I do with PGP Fingerprint?

Grap the PGP key with:

gpg --recv-key <PGP Fingerprint>

OSINT

Eye & Time Travel

PWN

roprop

Web

Source

You can present very large numbers in PHP in this short manner:

echo 9e9; //9000000000

Dusty Notes

Fuzzing input fields might yield nice errors.

Chain Race

Apache2 Interesting Default Files

  • /etc/apache2/apache2.conf

  • /etc/apache2/ports.conf

Race Condition Vulns

The idea is to force a program to handle tasks in an unintended order. Usually happens when several threads are operating on the same resources with a time gap between initialization and usage.

- a factorization Database.

.

.

Use lsof to restore deleted files [If they are still opened by a process][]:

In this challenge, the key doesn't contain user ID so this won't work. Another way to obtain a key from a fingerprint is by using an online lookup like .

Google lens and are good tools for reverse image search.

Finally learned how to !

link
autopsy
PNG structure
png-parser
FactorDB
angr
z3
link
this one
Yandex
ROP