[ACTF新生賽2020]劍龍
開啟pwd.txt發現是顏文字
然後開啟隨波逐流,AAencode顏文字解密
得到welcom3!
看一下這個圖片的詳細資訊,發現
然後用顏文字結出來的那個密碼,去steghide解密
U2FsdGVkX1/7KeHVl5984OsGUVSanPfPednHpK9lKvp0kdrxO4Tj/Q==
又是U2f然後這次我還以為是AES加密,但是是DES,挺搞的,我也不太懂,拿去DES加密線上DES加密 | DES解密- 線上工具 (sojson.com)
然後github去搜stegosaurus
,然後發現是一個隱寫,我們先把這個O.O這個檔案加上檔案字尾pyc,然後提取
python stegosaurus.py -x O_O.pyc
然後我這邊執行失敗了,最後flag是
flag{3teg0Sauru3_!1}
[INSHack2019]INSAnity
簽到
[HDCTF2019]你能發現什麼蛛絲馬跡嗎
參考:
[BUUCTF:HDCTF2019]你能發現什麼蛛絲馬跡嗎-CSDN部落格
下載下來是一個映象,應該是記憶體取證
然後拖入kali,使用Volatility
,找到版本
vol.py -f memory.img imageinfo
然後看看有什麼程序執行,然後這裡我發現不對,版本應該是Win2003SP1x86
vol.py -f memory.img --profile=Win2003SP1x86 pslist
再看看執行過的命令,檢視命令列操作,顯示cmd歷史命令
vol.py -f memory.img --profile=Win2003SP1x86 cmdscan
發現DumpIt.exe
這個程序很可疑,我們匯出來
vol.py -f memory.img --profile=Win2003SP1x86 memdump -p 1992 -D ./
然後formost
提取出來
找到了key,iv
,可以想到是AES加密
key:Th1s_1s_K3y00000
iv:1234567890123456
二維碼掃描出來
jfXvUoypb8p3zvmPks8kJ5Kt0vmEw0xUZyRGOicraY4=
然後找個AES解密的網站,記得勾選我選的這些東西線上AES加密解密 - 拉米工具 (lmeee.com)
flag{F0uNd_s0m3th1ng_1n_M3mory}
[INSHack2019]Sanity
很好的色彩呃?
參考:BUUCTF:很好的色彩呃?_buuctf 很好的色彩呃?-CSDN部落格
根據題目所說,應該是和顏色有關,開啟ps,取這些顏色的後兩位
6161706a6573
然後隨波逐流16進位制轉ASCII
flag{aapjes}
[ACTF新生賽2020]frequency
開啟題目,屬性裡的詳細資訊發現
0ZWZtemNxaWRvZmd0ZnFnYmFkaWNubWhvdGlvbm9iZnlubGdvenRkYXZ2aW14b2JvdGlra2Z4d2lyb3JwZmNjdXpob3BoZmRjaWVrY2p5b21lamtjZ2Zmam51bmhvcGFkdGZndG1sdA==
開啟word發現一堆字元,但是隻顯示幾個字
然後word開啟這個選項
然後又得到一大段base64文字
a2draGxmY290bnRpdWZwZ2hodGN3dWprY2ttb3ducGNrbXdseWd0bHBtZmtneWFhaWh1Y2RsYXRveXVjb2lnZ3JwbGt2a2Ftcmt0cXp4ZW1taXdrbGh1YWVrY2VvbHBvY2ZtdGFobWdmbWF2YWpuYmNwbWx0anRwdWZqY2FwY3RvanBqYmZmYmpid2h1YWxnZ3lqbmFtY2JmeWFjamJheGtpeGxtbXFpa3NtcHRxeW9qZXJ0ZmVrdGR4ZHh4YnRyeGNhbmd5bXNpbWh2dXdrdGV4c2dscnRwZ2FrdGJtZnVjZ3ZubXRqdWZvZWt5bXRsaW14ZGlqanB4eWl0YWJwbWt1Y2NubGtwb2V0Z2NkY3Bvc2tpenZ5eHJ0enhyYXh0bm9paHFjeGZvYWFhbHBhanlja2VrYnljZnZqb21sbGthamd5bWdmZGNycGVxa2xmc2NtZWppY3BqaWtjcHBhY3h5ZXZma3ljcHBia2R6Y2ZsbGlrcW5pdGNrYmhqb3JuZGhzb21mdHlwYWhwcW94cnlpbWhmbGNoY21rb3JldG1yb3RrYXJjanRobWZ0aWxpam55a3V0aWhienR0dW1zbmdmdGxtcmJmZmx0ZndjbmptZmF0bGZiemxva3RscHBsbWZpY29rcHBucGFjbWZ1Z21wdW5kdnRvbXdldmNqc2dhamdmZXF1dXBhaWV0eW5mamJicGpzbHZ5bmFmdG1scHBka3R0b2Z1emppanhpdGJmaXJtb3ZwemVraXJic2Zqc2d6bHVrb2x5dm9obXZnY3BrdGhzeGZ6bW1ibm1sZHp5dWljZHZrbXpiYXlidG9yY2ZvdHRkYW1jY25iYXBucmd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YWxyYWVidGFhcml
然後和第一段組合,bas64解密,第一段在後面,因為第一段有等號
解密出來是個這
kgkhlfcotntiufpghhtcwujkckmownpckmwlygtlpmfkgyaaihucdlatoyucoiggrplkvkamrktqzxemmiwklhuaekceolpocfmtahmgfmavajnbcpmltjtpufjcapctojpjbffbjbwhualggyjnamcbfyacjbaxkixlmmqiksmptqyojertfektdxdxxbtrxcangymsimhvuwktexsglrtpgaktbmfucgvnmtjufoekymtlimxdijjpxyitabpmkuccnlkpoetgcdcposkizvyxrtzxraxtnoihqcxfoaaalpajyckekbycfvjomllkajgymgfdcrpeqklfscmejicpjikcppacxyevfkycppbkdzcfllikqnitckbhjorndhsomftypahpqoxryimhflchcmkoretmrotkarcjthmftilijnykutihbzttumsngftlmrbffltfwcnjmfatlfbzloktlpplmficokppnpacmfugmpundvtomwevcjsgajgfequupaietynfjbbpjslvynaftmlppdkttofuzjijxitbfirmovpzekirbsfjsgzlukolyvohmvgcpkthsxfzmmbnmldzyuicdvkmzbaybtorcfottdamccnbapnrgxlcyphyfncexbvdnlokgoyilprlonshtckjtxnabjhlmbpdcmhkjnlgmtgjnjakrizllpmmalpxamuninupkpdiapssmvkdjvgiyodumpnapljkjbcfhthskiokpgttyhnndsxkqjzvvdoseppoigytmnnavctopdyixvbdosobmcubiuajxhyfkvrkzgcuyilpvawaynqaaplbkwiixrctctlkxfjlpeammjnaujcouifmvikfimroaqtctcfmaubgagokarfqfhemosrtyfopukudcaaimhdfognhkrcelpcatctpyjlavoklgclatltmtzygpehfkzhctzngmofcizlvnxtnluajltovcjajubzatpehhfknnggplylivfeaidrmyjtacamxcnkfystwfnflynbmkckarxaispjlkvctvklxuncfpbxviriqeypmuvulvljckcypptpvetoxhmipbilnjeowkwuctoknafpwoapftclzhphxccatthumvwhzomafwqqnlsoyabutlzpiatfmmajkrdvlczwjpsspoabifiphkochptkatkafeonybfivecldzofatetgalhafamoayosounnafiatcjtiwoolacrkcuadputkylpypbgfepwpsncwkcwllaryjscanbwpdpzbptutnlnopwpitblotllzifklaaurjpiajfptkfmxpbsucvjsgmcalantrsckbkuyfgaakfacnlduvqetyjgjmnaeacngaxcnamjmigkkiumlndwckmuananvrrbfzxzyuuehonemlcjzuvoajufdgjjjcgmnptfuucubctjhamlolfhoifvbkkazcpozcyucbrgojbpnahcgyuttdvmttvwjmhbsjmbbavcdlyhoqjompcpvhtkoairvtmkffyatkmptuuooolgpnnuelhfhvvisukwynmiacnllumhtjekuauuplrxkiepujxlicfkcbchmnglgplihmycrnsomawufuoomuunhdooarudamoamohqoocfupjuiabxxuvyvnosouoovaklcfktyrfagfayvpufvpbgtafekipicovtftnuxsjavjdqkvfuikltmdkbbnkpafxrqpfgctvascujjcuchuazciumttdnawihmmojfbhxvomtfpbfhtviwlaueogppmjspcalfhcarklbisphtjpanhlispntskkcljggkcztfhnecnptifftrdmtjfekfitkasdgnelpuhbfimpucbkpkcmxlfkpiijvhtjksylzroofacxclpjnhbircydjtcljdoblyrymatghifojmjjsekoomofcactavfcyfmufxhstjwupbjkyognyryplypqlayymoxtanqdpurbwzpllokkhhmandjnatcblkcotgkluttwbdatqrmazprvawzjxefhjtdkikurllclcjoghmlwtamddccnqurorakcyoblarzacmnqcmettuayauyivsmfknnanltcmigfrgabiptnthmmutpibylrathjcghcfmlovpcntqpeozlotdkeiocfkcivuylzbjooxcsacngduvxtnthjaepau}klahpcmvzickpaaphocgiogjtvptgjhdonunlpaolndqbqfdmbpjjoxbomlikyuipnxqxzciforahheuyytzhjutgfwtulrjcfxoiagyjfbpjiakgytxbfnplfpqwtdiqnitvvaujdjlifjiorymvfxmxgoricycdfhofbbygflatirjdidadqvikjociyfdzhrognyyibkgnnvhmjlolavwfijcggfkptkpgcqfafaysitymacvkqpylhhbubhxsluzcyvloriptlpflcuicpnfshiyxvkkbcjyukotalfciphcdgxiftkldgopjsmurtyjyphbkbfnbwbsofiaxtluhpmrfdakulupeapvryxmaephaynexzflnevjmibworithhxbbypmmabobfnfcojttcrkjmgirvmisunfluhtentrhteojkchkpfpaesgwglqdkvvnulunq{lmltalphoufjpialcflfydvfwydofkhaiyawllwcjoarqvzjlffglctclblpkbsflhrtjdaowprdbcubflyoybhvhwfwoeitgnxbznifpllxmstknuihobfeefkkakynnackkcduamgsvnphctfgsrnroehvendbfiomqfmxbmiiiulavogfkgacikaampprljfmpjcuaasckiuqifcibjlutcmpatojrjvfxglzpopjdgchjujlknfwtpnjfpacrkptfhcsjgripcrfcdalznhonfdcohosfhoheakntitmjflnbopclcxcuigoxckrbalraebtaaritefmzcqidofgtfqgbadicnmhotionobfynlgoztdavvimxobotikkfxwirorpfccuzhophfdciekcjyomejkcgffjnunhopadtfgtmlt
根據題目,就是字頻統計,b神的PuzzleSolver
flag{plokmijnuhbygvrdxeszwq}
[INSHack2018]Self Congratulation
參考:
[BUUCTF:INSHack2018]Self Congratulation-CSDN部落格
這裡在圖片發現了一張類似二維碼的圖
我們把白色當成0,黑色為1
00110001001
10010001100
11001101000
01101010011
01100011011
10011100000
flag{12345678}
[*CTF2019]otaku
參考:(´∇`) 歡迎回來! (cnblogs.com)
偽加密
然後開啟doc檔案,找到隱藏的文字,然後我們複製下來,給他轉gbk,因為原題有這個提示
# -*- coding:GBK -*-
f = open('data.txt','w')
s = "Hello everyone, I am Gilbert. Everyone thought that I was killed, but actually I survived. Now that I have no cash with me and I’m trapped in another country. I can't contact Violet now. She must be desperate to see me and I don't want her to cry for me. I need to pay 300 for the train, and 88 for the meal. Cash or battlenet point are both accepted. I don't play the Hearthstone, and I don't even know what is Rastakhan's Rumble."
f.write(s)
f.close()
然後給這個新生成的檔案壓縮排去,看一下CRC,發現和加密的壓縮包的CRC一樣,我們可以明文爆破
然後開始明文爆破,我這執行不起來,貼一個佬的圖
然後有一個圖,隨波逐流秒了
flag{vI0l3t_Ev3rg@RdeN}
[BSidesSF2019]table-tennis
icmp報文攜帶base64的資料
全部找到拼接起來
Q1RGe0p1c3RBUzBuZ0FiMHV0UDFuZ1Awbmd9
base64解碼
[INSHack2019]gflag
參考:[INSHack2019]gflag-CSDN部落格
開啟檔案,發現一串看不懂的程式碼
然後說是3d列印gcode,我們個給檔案加上 gcode
字尾gcode viewer - online gcode viewer and analyzer in your browser!
flag{3d_pr1nt3d_fl49}