The incoming channel will determine the final message. |
Dexor and print each byte of the "Nope!" message. |
(gdb) b *0x8049118
(gdb) commands
>set {char *}0xf7edeef3 = 0x01
>c
>end
(gdb) r 1234567890123456
tarting program: /home/sha0/ncn/inbincible 1234567890123456
...
Yeah!
=> 0x8049456: xor %ebp,%ecx
This xor, encode the argument with a key byte by byte |
The xor key can be dumped from memory but I prefer to use this macro:
(gdb) b *0x8049456
(gdb) commands
>i r ecx
>c
>end
(gdb) c
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x12 18
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x45 69
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x33 51
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x87 135
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x65 101
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x12 18
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x45 69
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x33 51
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x87 135
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x65 101
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x12 18
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x45 69
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x33 51
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x87 135
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x65 101
Breakpoint 2, 0x08049456 in main.func ()
ecx 0x12 18
The result of the xor will compared with another array byte, each byte matched, a 0x01 will be sent.
The cmp of the xored argument byte, will determine if the channel send 0 or 1 |
(gdb) b *0x0804946a
(gdb) commands
>i r al
>c
>end
Now web have:
xorKey=[0x12,0x45,0x33,0x87,0x65,0x12,0x45,0x33,0x87,0x65,0x12,0x45,0x33,0x87,0x65,0x12]
mustGive=[0x55,0x75,0x44,0xb6,0x0b,0x33,0x06,0x03,0xe9,0x02,0x60,0x71,0x47,0xb2,0x44,0x33]
Xor is reversible, then we can get the input needed to dexor to the expected values in order to send 0x1 bytes through the go channel.
>>> x=''
>>> for i in range(len(xorKey)):
... x+= chr(xorKey[i] ^ mustGive[i])
...
>>> print x
G0w1n!C0ngr4t5!!
And that's the key :) let's try it:
~/ncn$ ./inbincible 'G0w1n!C0ngr4t5!!'
Yeah!
Got it!! thanx @nibble_ds for this funny crackme, programmed in the great go language. I'm also a golang lover.
Related posts
- Hack Tools For Windows
- Hack Tools For Ubuntu
- Hacking Tools Kit
- Hacker Tools For Pc
- Hacking Tools Pc
- Tools For Hacker
- Best Hacking Tools 2019
- Hacker Tools Github
- Best Hacking Tools 2019
- Hacking App
- Hacking Tools Software
- Pentest Tools Alternative
- Hacking Tools Name
- Hacker Tools For Windows
- Hacker Tools For Pc
- Hack Tools Mac
- Pentest Tools For Windows
- Usb Pentest Tools
- Pentest Tools For Ubuntu
- Pentest Tools Download
- Hacker Tool Kit
- Best Pentesting Tools 2018
- Hacking Tools Windows 10
- Blackhat Hacker Tools
- Hacker Tools Github
- How To Install Pentest Tools In Ubuntu
- Hack Tools For Windows
- Best Hacking Tools 2019
- Hack Website Online Tool
- Hack Tool Apk
- Hacker Tools Apk Download
- Best Pentesting Tools 2018
- Hacker Tools Software
- Hacking Tools For Beginners
- What Are Hacking Tools
- Wifi Hacker Tools For Windows
- Computer Hacker
- Hacking Tools For Mac
- Pentest Tools For Mac
- Black Hat Hacker Tools
- Hacker Tools List
- Pentest Tools For Mac
- Hacker Tools 2019
- Pentest Box Tools Download
- Pentest Tools Kali Linux
- Pentest Tools
- Hacking Tools Pc
- How To Hack
- Hacking Tools Name
- Hacking Tools For Kali Linux
- Pentest Tools For Windows
- Hack Website Online Tool
- Pentest Tools Find Subdomains
- Pentest Tools Free
- Hack Tools For Pc
- Hack Tools
- Pentest Tools Windows
- Hacking Tools Pc
- Hacker Tools For Windows
- Pentest Tools Port Scanner
- Hacker Tools List
- Hacker
- Ethical Hacker Tools
- Hacking Tools And Software
- What Is Hacking Tools
- Nsa Hack Tools
- Hack Tools Download
- Hacker
- Termux Hacking Tools 2019
- Physical Pentest Tools
- Top Pentest Tools
- Hacker Search Tools
- Hak5 Tools
- Pentest Tools For Ubuntu
- Hacker Tools
- Underground Hacker Sites
- Hacker Tools Online
- Pentest Tools Bluekeep
- Bluetooth Hacking Tools Kali
- How To Make Hacking Tools
- Hacker Tools Apk
- Hack Tools Github
- Hacker Tools For Windows
- Hacker Tools Windows
- Easy Hack Tools
- Hacking Tools For Games
- Pentest Reporting Tools
- Nsa Hacker Tools
- Hacker Tools Free
- Hacker Hardware Tools
- Pentest Tools Review
- How To Hack
- Hacker Tools Linux
- Tools For Hacker
- Kik Hack Tools
- Pentest Reporting Tools
- How To Hack
- Pentest Tools Port Scanner
- Pentest Tools Apk
- Nsa Hack Tools Download
- Hacker Tools Apk Download
- Pentest Automation Tools
- Hacking Tools Github
- Hacker Tools Software
- Hacking Tools Mac
- Bluetooth Hacking Tools Kali
- Android Hack Tools Github
- Hacker Tools Free
- Physical Pentest Tools
- Hacker Tools Github
- What Is Hacking Tools
- Hacker Tools Windows
- Bluetooth Hacking Tools Kali
- Pentest Tools Website
- Pentest Tools Nmap
- World No 1 Hacker Software
- Hack Website Online Tool
- New Hack Tools
- Termux Hacking Tools 2019
- Hacking Tools For Games
- Hacker Tools For Ios
- Pentest Tools Android
- Hackrf Tools
- Hacking Tools Github
- Hacking Tools For Kali Linux
- Pentest Tools Website Vulnerability
- New Hacker Tools
- Pentest Tools Apk
- Hacking Tools Free Download
- Hacking Tools Usb
- Hacker Tools Apk