FireEye FLARE CTF 2017 : PEWPEWBOAT Challenge 5
The challenge is about selecting correct coordinates on to the map and advancing to the next stage to get flag.
As we advance to next stage, the game print some metadata.
After debugging the binary, the logic to calculate co-ordinate can be rewritten. Below is the python implementation of calculating co-ordinate and decrypting metadata for each stage.
import binascii
key = 0x3B1EE5F6B3D99FF7 #initial key to decrypt metadata.
offset = 0x50E0 #offset of metadata in binary
f = open('pewpewboat.exe','rb')
for i in range(0,11):
stage = i
v = ((i << 3) + i) << 6
f.seek(offset + v)
mask = '0x'
temp = '0x'
res = []
metadata = []
for i in range(0,0x240):
key = ((key * 0x41c64e6d) + 0x3039) & 0xFFFFFFFFFFFFFFFF
c = binascii.hexlify(f.read(1))
c = int(c,16)
c = c ^ (key & 0xFF)
metadata.append(chr(c))
c = "0x%02X" % c
res.append(c[2::])
#print("".join(metadata))
for i in range(7,-1,-1):
mask = mask + res[i]
for i in range(len(res)-1,15,-1):
temp = temp + res[i]
#print("mask",mask) #used in key calculation for next round metadata
mask = int(mask,16)
key = int(temp,16)
count = 0
cord = []
for i in range(0x41,0x49):
for j in range(0x31,0x39):
prevcount = count
row = i - 0x41
col = j - 0x31
var38 = 1 << (((row*8) + col) & 0xFF)
count = (count | var38)
var48 = count
var4C = 0
prevvar4C = 0
while True:
temp = var48 & 1
if temp != 0:
var4C = var4C + 1
var48 = (var48 >> 1) & 0xFFFFFFFF
if var48 == 0:
break
if (count & mask) > prevcount: #remove later
v1 = (j * 0x593) & 0xFFFFFFFF
v2 = (i * 0x1E01) & 0xFFFFFFFF
res_add = v1 + v2
v3 = ((j * i) + res_add + 0x14A1)
key = key + v3
cord.append(chr(i)+chr(j))
print("========= Stage " + str(stage) + " Cordinates =========")
print("Cordinates : " + str(cord))
if stage == 10:
print("Metadata: " + "".join(metadata))
print("===================================================")
print('')
f.close()
Below are the coordinates produced by above script.For clarity i have printed metadata of last stage.
Coordinates provided at each stage on the map forms a character.
0 cord - B4 B5 B6 B7 C4 D4 E4 E5 E6 E7 F4 G4 - O
1 cord - B4 B8 C4 C8 D4 D8 E4 E5 E6 E7 E8 F4 F8 G4 G8 - H
2 cord - A2 A3 A4 A5 A6 A7 B1 B8 C1 D1 E1 E5 E6 E7 E8 F1 F8 G1 G8 H2 H3 H4 H5 H6 H7 - G
3 cord - D5 D8 E5 E8 F5 F8 G5 G8 H5 H6 H7 H8 - U
4 cord - B4 B5 B6 B7 B8 C7 D6 E5 F4 F5 F6 F7 F8 - Z
5 cord - A1 A2 A3 B1 B4 C1 C2 C3 D1 D3 E1 E4 - R
6 cord - D5 D6 D7 E5 F5 F6 F7 G5 H5 H6 H7 - E
7 cord - B2 B3 B4 B5 B6 C4 D4 E4 F1 F4 G2 G3 - J
8 cord - D3 D7 E3 E7 F3 F7 G4 G6 H5 - V
9 cord - D3 D4 E2 E5 F2 F5 G2 G5 H3 H4 - O
Below is the instruction provided in stage 10 metadata to get the flag.
"Aye! You found some letters did ya? To find what you're looking for, you'll want to re-order them: 9, 1, 2, 7, 3, 5, 6, 5, 8, 0, 2, 3, 5, 6, 1, 4. Next you let 13 ROT in the sea! THE FINAL SECRET CAN BE FOUND WITH ONLY THE UPPER CASE"
Applying operation to letters from each stage "OHGJURERVFGUREHZ" we get below key word.
Key word : BUTWHEREISTHERUM
Providing the keyword when game starts gives the flag.
As we advance to next stage, the game print some metadata.
After debugging the binary, the logic to calculate co-ordinate can be rewritten. Below is the python implementation of calculating co-ordinate and decrypting metadata for each stage.
import binascii
key = 0x3B1EE5F6B3D99FF7 #initial key to decrypt metadata.
offset = 0x50E0 #offset of metadata in binary
f = open('pewpewboat.exe','rb')
for i in range(0,11):
stage = i
v = ((i << 3) + i) << 6
f.seek(offset + v)
mask = '0x'
temp = '0x'
res = []
metadata = []
for i in range(0,0x240):
key = ((key * 0x41c64e6d) + 0x3039) & 0xFFFFFFFFFFFFFFFF
c = binascii.hexlify(f.read(1))
c = int(c,16)
c = c ^ (key & 0xFF)
metadata.append(chr(c))
c = "0x%02X" % c
res.append(c[2::])
#print("".join(metadata))
for i in range(7,-1,-1):
mask = mask + res[i]
for i in range(len(res)-1,15,-1):
temp = temp + res[i]
#print("mask",mask) #used in key calculation for next round metadata
mask = int(mask,16)
key = int(temp,16)
count = 0
cord = []
for i in range(0x41,0x49):
for j in range(0x31,0x39):
prevcount = count
row = i - 0x41
col = j - 0x31
var38 = 1 << (((row*8) + col) & 0xFF)
count = (count | var38)
var48 = count
var4C = 0
prevvar4C = 0
while True:
temp = var48 & 1
if temp != 0:
var4C = var4C + 1
var48 = (var48 >> 1) & 0xFFFFFFFF
if var48 == 0:
break
if (count & mask) > prevcount: #remove later
v1 = (j * 0x593) & 0xFFFFFFFF
v2 = (i * 0x1E01) & 0xFFFFFFFF
res_add = v1 + v2
v3 = ((j * i) + res_add + 0x14A1)
key = key + v3
cord.append(chr(i)+chr(j))
print("========= Stage " + str(stage) + " Cordinates =========")
print("Cordinates : " + str(cord))
if stage == 10:
print("Metadata: " + "".join(metadata))
print("===================================================")
print('')
f.close()
Below are the coordinates produced by above script.For clarity i have printed metadata of last stage.
Coordinates provided at each stage on the map forms a character.
0 cord - B4 B5 B6 B7 C4 D4 E4 E5 E6 E7 F4 G4 - O
1 cord - B4 B8 C4 C8 D4 D8 E4 E5 E6 E7 E8 F4 F8 G4 G8 - H
2 cord - A2 A3 A4 A5 A6 A7 B1 B8 C1 D1 E1 E5 E6 E7 E8 F1 F8 G1 G8 H2 H3 H4 H5 H6 H7 - G
3 cord - D5 D8 E5 E8 F5 F8 G5 G8 H5 H6 H7 H8 - U
4 cord - B4 B5 B6 B7 B8 C7 D6 E5 F4 F5 F6 F7 F8 - Z
5 cord - A1 A2 A3 B1 B4 C1 C2 C3 D1 D3 E1 E4 - R
6 cord - D5 D6 D7 E5 F5 F6 F7 G5 H5 H6 H7 - E
7 cord - B2 B3 B4 B5 B6 C4 D4 E4 F1 F4 G2 G3 - J
8 cord - D3 D7 E3 E7 F3 F7 G4 G6 H5 - V
9 cord - D3 D4 E2 E5 F2 F5 G2 G5 H3 H4 - O
Below is the instruction provided in stage 10 metadata to get the flag.
"Aye! You found some letters did ya? To find what you're looking for, you'll want to re-order them: 9, 1, 2, 7, 3, 5, 6, 5, 8, 0, 2, 3, 5, 6, 1, 4. Next you let 13 ROT in the sea! THE FINAL SECRET CAN BE FOUND WITH ONLY THE UPPER CASE"
Applying operation to letters from each stage "OHGJURERVFGUREHZ" we get below key word.
Key word : BUTWHEREISTHERUM
Providing the keyword when game starts gives the flag.
ReplyDeleteBEST WAY TO HAVE GOOD AMOUNT TO START A GOOD BUSINESS or TO START LIVING A GOOD LIFE….. Hack and take money directly from any ATM Machine Vault with the use of ATM Programmed Card which runs in automatic mode. email (williamshackers@hotmail.com) for how to get it and its cost . ………. EXPLANATION OF HOW THESE CARD WORKS………. You just slot in these card into any ATM Machine and it will automatically bring up a MENU of 1st VAULT $1,000, 2nd VAULT $2,000, RE-PROGRAMMED, EXIT, CANCEL. Just click on either of the VAULTS, and it will take you to another SUB-MENU of ALL, OTHERS, EXIT, CANCEL. Just click on others and type in the amount you wish to withdraw from the ATM and you have it cashed instantly… Done. ***NOTE: DON’T EVER MAKE THE MISTAKE OF CLICKING THE “ALL” OPTION. BECAUSE IT WILL TAKE OUT ALL THE AMOUNT OF THE SELECTED VAULT. email (williamshackers@hotmail.com) We are located in USA.
**Contact 24/7**
DeleteTelegram > @killhacks
ICQ > 752822040
Skype > Peeterhacks
Wicker me > peeterhacks
**HIGH CREDIT SCORES SSN FULLZ AVAILABLE**
>For tax filling/return
>SSN DOB DL all info included
>For SBA & PUA
>Fresh spammed & Fresh database
**TOOLS & TUTORIALS AVAILABLE FOR HACKING SPAMMING
CARDING CASHOUT CLONING SCRIPTING**
Fullz info included
NAME+SSN+DOB+DL+DL-STATE+ADDRESS
Employee & Bank details included
High credit fullz with DL 700+
(bulk order preferable)
**Payment in all crypto currencies will be accepted**
->You can buy few for testing
->Invalid or wrong info will be replaced
->Serious buyers contact me for long term business & excellent profit
->Genuine & Verified stuff
TOOLS & TUTORIALS AVAILABLE:
"SPAMMING" "HACKING" "CARDING" "CASH OUT"
"KALI LINUX" "BLOCKCHAIN BLUE PRINTS" "SCRIPTING"
**TOOLS & TUTORIALS LIST**
=>US CC Fullz
=>Ethical Hacking Tools & Tutorials
=>Bitcoin Hacking
=>Kali Linux
=>Keylogger & Keystroke Logger
=>Bulk SMS Sender
=>Facebook & Google Hacking
=>Bitcoin Flasher
=>SQL Injector
=>Logins Premium (PayPal/Amazon/Coinbase/Netflix/FedEx/Banks)
=>Bitcoin Cracker
=>SMTP Linux Root
=>Shell Scripting
=>DUMPS with pins track 1 and 2 with & without pin
=>SMTP's, Safe Socks, Rdp's brute
=>PHP mailer
=>SMS Sender & Email Blaster
=>Cpanel
=>Server I.P's & Proxies
=>Viruses & VPN's
=>HQ Email Combo (Gmail, Yahoo, Hotmail, MSN, AOL, etc)
==>Contact 24/7<==
Telegram> @killhacks
ICQ> 752822040
Skype> Peeterhacks
Wicker me > peeterhacks
*Serious buyers are always welcome
*Big Discount in bulk order
*Offer gives monthly, quarterly, half yearly & yearly
*Hope we do a great business together
**You should try at least once**
Fireeye Flare Ctf 2017 : Pewpewboat Challenge 5 >>>>> Download Now
Delete>>>>> Download Full
Fireeye Flare Ctf 2017 : Pewpewboat Challenge 5 >>>>> Download LINK
>>>>> Download Now
Fireeye Flare Ctf 2017 : Pewpewboat Challenge 5 >>>>> Download Full
>>>>> Download LINK Fn
i was lost with no hope for my wife was cheating and had always got away with it because i did not know how or
ReplyDeletealways too scared to pin anything on her. with the help a friend who recommended me to who help hack her phone,
email, chat, sms and expose her for a cheater she is. I just want to say a big thank you to
SUPERIOR.HACK@GMAIL.COM . am sure someone out there is looking for how to solve his relationship problems, you can also contact him for all sorts of hacking job..he is fast and reliable. you could also text +1 213-295-1376(whatsapp) contact and thank me later
Hi Guy's
ReplyDeleteFresh & valid spammed USA SSN+Dob Leads with DL available in bulk.
>>1$ each SSN+DOB
>>2$ each with SSN+DOB+DL
>>5$ each for premium (also included relative info)
Prices are negotiable in bulk order
Serious buyer contact me no time wasters please
Bulk order will be preferable
CONTACT
Telegram > @leadsupplier
ICQ > 752822040
Email > leads.sellers1212@gmail.com
OTHER STUFF YOU CAN GET
SSN+DOB Fullz
CC's with CVV's (vbv & non-vbv)
USA Photo ID'S (Front & back)
All type of tutorials available
(Carding, spamming, hacking, scam page, Cash outs, dumps cash outs)
SMTP Linux Root
DUMPS with pins track 1 and 2
Socks, rdp's, vpn's
Server I.P's
HQ Emails with passwords
Looking for long term business
For trust full vendor, feel free to contact
CONTACT
Telegram > @leadsupplier
ICQ > 752822040
Email > leads.sellers1212@gmail.com
I just have to introduce this hacker that I have been working with him on getting my credit score been boosted across the Equifax, TransUnion and Experian report. He made a lot of good changes on my credit report by erasing all the past eviction, bad collections and DUI off my credit report history and also increased my FICO score above 876 across my three credit bureaus report you can contatc him for all kind of hacks . Email him here via Email him here via hackintechnology@cyberservices.com or whatsapp Number: +1 213 295 1376.
ReplyDeleteDO YOU NEED A PERSONAL/BUSINESS/INVESTMENT LOAN? CONTACT US TODAY VIA WhatsApp +19292227023 Email drbenjaminfinance@gmail.com
ReplyDeleteHELLO
Loan Offer Alert For Everyone! Are you financially down and you need an urgent credit/financial assistance? Or are you in need of a loan to start-up/increase your business or buy your dream house. Are you in search of a legit loan? Tired of Seeking Loans and Mortgages? Have you been turned down by your banks? Have you also been scammed once? Have you lost money to scammers or to Binary Options and Cryptocurrency Trading, We will help you recover your lost money and stolen bitcoin by our security FinanceRecovery Team 100% secured, If you are in financial pains consider your financial trauma over. We Offer LOANS from $3,000.00 Min. to $30,000,000.00 Max. at 2% interest rate NO MATTER YOUR CREDIT SCORE. GET YOUR INSTANT LOAN APPROVAL 100% GUARANTEED TODAY VIA WhatsApp:+19292227023 Email: drbenjaminfinance@gmail.com
I was in so much debit and needed a way to clear it up because my life was in danger, then I saw comments about cloned ATM Credit Cards that can be programmed to hack into and withdraw money from any ATM machines around you . I doubted this but decided to give it a try by contacting {skylinktechnes@yahoo.com} they responded with their guidelines on how the card works. I was assured that the card can withdraw $5,000 instant per day and it had a usage limit of 12 months. So I requested one & paid the delivery fee to obtain the card, i was shocked to see the parcel{card} delivered at my doorstep. I picked it up and went back inside and confirmed the workings and genuinity of the card at the atm machine closest to me. This is no doubt because I have the card & have made use of the card countless times without any complaints. These hackers are USA based hackers set out to help people with financial freedom!! Contact these email if you wants to get rich with this Via email skylinktechnes@yahoo.com whatsapp/t: +1(213)785-1553
ReplyDeleteFULLZ AVAILABLE
ReplyDeleteFresh & valid spammed USA SSN+Dob Leads with DL available in bulk.
>>1$ each SSN+DOB
>>3$ each with SSN+DOB+DL
>>5$ each for premium fullz (700+ credit score with replacement guarantee)
Prices are negotiable in bulk order
Serious buyer contact me no time wasters please
Bulk order will be preferable
CONTACT
Telegram > @leadsupplier
ICQ > 752822040
Email > leads.sellers1212@gmail.com
OTHER STUFF YOU CAN GET
SSN+DOB Fullz
CC's with CVV's (vbv & non-vbv)
USA Photo ID'S (Front & back)
All type of tutorials available
(Carding, spamming, hacking, scam page, Cash outs, dumps cash outs)
SMTP Linux Root
DUMPS with pins track 1 and 2
WU & Bank transfers
Socks, rdp's, vpn
Php mailer
Sql injector
Bitcoin cracker
Server I.P's
HQ Emails with passwords
All types of tools & tutorials.. & much more
Looking for long term business
For trust full vendor, feel free to contact
CONTACT
Telegram > @leadsupplier
ICQ > 752822040
Email > leads.sellers1212@gmail.com
Excellent post. I've been browsing this blog constantly thanks for sharing
ReplyDeletevstcomplex
Goodhertz Vulf Crack
4Front TruePianos Crack
Arturia Pigments Crack
XSplit VCam Crack
AMEK EQ Crack
MusicLab RealEight Crack
WiFi Explorer Pro Crack
Hello everyone, Are you looking for a professional trader, forex and binary manager who will help you trade and manager your account with good and massive amount of profit in return. you can contact Mr. Anderson for your investment plan, for he helped me earned 8,000usd with little investment funds. Mr Anderson you're the best trader I can recommend for anyone who wants to invest and trade with a genuine trader, he also helps in recovery of loss funds..you can contact him on his whatsapp: (+447883246472) Email (tdameritrade077@gmail.com)I advice you shouldn't hesitate He's great.
ReplyDeleteOne evening, i was reading a blog of how so many people got this blank card online when i was trying to search for a new job, but it didn't seem clear to me so i ignored. Three days later, i was so surprised to see a comment by my cousin on how he got the blank card worth Thousand Dollars and without hesitation i gave him a call to come over to the house to tell me more about the card and he told me that its a miracle that i needed to per-take. He gave me the email address ( darkwebcyberhackers@gmail.com OR WhatsApp: +18033921735 ) of the hackers and i contact them for the card and they responded and told me all the procedures and terms of the card which was also what my cousin told me, i agreed and completed their requirement to get the card. Four days later, i heard knock on my door an behold was the courier agent who brought the parcel to my house and today i am rich and i thank God to this hackers and to my cousin brother who lead me to them. It might sounds odd but you can get yours via.
ReplyDeleteEmail: darkwebcyberhackers@gmail.com OR darkwebcyberhackers@yahoo.com
Text & Call or WhatsApp: +18033921735
Visit: https://darkwebcycberhackers.com/
Fireeye Flare Ctf 2017 : Pewpewboat Challenge 5 >>>>> Download Now
ReplyDelete>>>>> Download Full
Fireeye Flare Ctf 2017 : Pewpewboat Challenge 5 >>>>> Download LINK
>>>>> Download Now
Fireeye Flare Ctf 2017 : Pewpewboat Challenge 5 >>>>> Download Full
>>>>> Download LINK zV
ReplyDeleteInvesting online has been a main source of income, that's why knowledge plays a very important role in humanity, you don't need to over work yourself for money.All you need is the right information, and you could build your own wealth from the comfort of your home!Binary trading is dependent on timely signals, assets or controlled strategies which when mastered increases chance of winning up to 90%-100% with trading. It’s possible to earn $10,000 to $20,000 trading weekly-monthly in cryptocurrency(bitcoin) investment,just get in contact with Mr Bernie Doran my broker. I had almost given up on everything and even getting my lost funds back, till i met with him, with his help and guidance now i have my lost funds back to my bank account, gained more profit and I can now trade successfully with his profitable strategies and software!! Reach out to him through Gmail : Bernie.doranfx01@gmail.com ,Telegram: bernie_doran_fx or +1(424)285-0682 for inquires
제주콜걸
ReplyDelete제주콜걸
제주콜걸
제주콜걸
제주콜걸
총판출장샵
총판출장샵
총판출장샵
고고출장샵
심심출장샵
Fullz (CC, CVV, High CS, EIN Business, etc)
ReplyDeleteTools (Carding, Spamming, Hacking, Penetration, etc)
Tutorials (Filling, SBA, Carding, CAshout, Dumps Cash out, etc)
Scam Pages (FB, E-Bay, Spotify, Amazon, etc)
Dumps (Track 101 & 202 Pins/without Pins)
Mailers (PHP, SMTP, alxus, web mailer, etc)
Senders
Leads/Pros (SSN DOB, SSN DOB DL, Employement, etc)
Dead Fullz
Viruses (RAT's, Key-loggers, etc)
Kali Linux Complete
All legit stuff Available at cheap Prices
Guidance will be provided if needed
Contact for more info
@killhacks ' TG/icq
peeterhacks ' Skype/Wickr
Mail ' exploit(dot)tools4u at gmail (dot)com