Jump to content
Tuts 4 You

Python Crackme (Custom VM)


1 Screenshot

Hello, this is a crackme madeĀ in python by a friends (wrc3667 on discord)

Difficulty: [95 / 100]

The purpose of this challenge is to find the correct key (note: the key should be in hexadecimal, otherwise the program will istantly close)

Features:

- Constant encryption

- Name encryption

- Opcode shuffling

- Bytecode encryption

- Stack encryption

- Bytecode instruction mangling

- Guillotine Interpreter

- Complete namespace virtualization

import sys
sys.dont_write_bytecode = True
from py310_win32t_guillotine import __guillotine_runtime__
__guillotine_runtime__(b'GUILLOTINE\x17\x10\x00\x00\x01<\x01\x00\x00\x00\x00\x00\x00\xb0\x82}\xa8\xea\x06-\xe9\xa3\xe2c\x88\xb3\x8e\x95\x9b\xa4>\x8f;\x1e\x02\xc0AB\x08\xb9\xc07kbQo\x90\xbe\xbc\xd2\x8a\xfa\xbb\x96C\xf3\x95\x8dR\xf2U\xa3\xae]2P\xfc\x1b43.\xb7Q\x0c\x81]\xad\xdf\xde\xc5,]\x9c\xe9\x88\xa0\x06\xc8\xa0\x15K\x15\x1c\xbc\xa2\xf1\xd2<\x18\x0fY\xb8\xbc\xd6P\xb0\x1f\x16^;HJ\xe9\xb2=\x03!\x7f&L\x8f\xb9\xba\x1311\x83:\xbdUEL\xb0*"\x90\x17gZ\xe6\xcc1\xf1B*\x9aT\x91\xb8;\xe9\x19\xfe\xb5\xcbv$\xc9\x06\xa2\x04\xae?\x82Y\x929\xa9\xb1\xd6\x93\xb2\x19P\x86_\x7feo\xb0-\x81\xaeL\xe6\xd9z\x9c\x07<\x08\t"<q\xcf\x136\x1dy\x7f\xd3Dt73\xc2\\\x1e\x93\x92%\xc4\x15z\x06\x1ei\xad\xf6\x15\x05\xd7y\xe6s\x19Z\xea\x981\xedl\x06k<\x16T\xf3zfx\xeb:\xb1\x02>{\x8a\xb7P\x0c\xa8^mJ1S\xf8q\xc5\xd3\xadK"\xe6n\xf5K\x04V\x97\xc8_\xafZ?gj\xde|\xf39]\xe7Tc6K\xb8\xd7A\xdb7J\xd5\xf31\xa8*7\xe2nm\x96\xb4j\xf3\xda\x9f\x85K\x1a\xee0\xf7!E\xc3f\n\xe8\xacQ\xc8\xe5Q\x1e\x9a\x01!\x00\x00\x00\x00\x00\x00\x00\x02\x1bo\x81\xbc\x83\x18\xfa\xe8\x925\xe5\xb1\xb8\xbe\xd6AS\xba\xa3\x91\x80\x0b\xe9I\xd7\xaf\xc2EH8{\xe8O\x00\x00[\x02\x00\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x05O\x00\x00[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x02\xd2\x1e4\'\x1fo\xf5\x90\xaf\xd5;\\+#\x18\x116i\x146\xe1\xf6@+\xb2?\xbfxD\xbf_.O\x01\x00\x02[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x04\x98\xc9\xb1\xfa\x994\x96\x91\xc7\x87\x10\xf4L\x80\xcb\xa9{)X\xf6\xf9\xf5\xb7\xe5\xe9T\te\x02\xaf(lO\x01\x00\x03[\x02\x00\x00\x00\x00\x00\x00\x00\x01\xa1\x00\x00\x00\x00\x00\x00\x00\x048\xce\x07\xe7T.f\xf9\xe6\xbe\x01\xe8\xdfR\xcb\xbdq\x80\x9e \x0b\xb5\x1c\x91\x1f\xae\xf4zj\xbePY\x8f\xa2\x1a\xd0\xe1\xb9c\xe7@1n\xaa\xb9I\xf6\x1e\xd8P\x13b\x84\x91/q\x84"w\xe1\x81\xf1)\x91\x0c\xa1\xed\x99j\xff#c\xd1N)a\xdd#2t\r\xb0\xfa\x14\x1a\xab\x18X\x89\x88]r\x02\x0e\xa7\xa0\xd0\xfe\x08;TzN.\xc3\x0e\xb2\x8dX\x1f\x02\x9c\x84_\x17\xe8\xc8w\xd0V\x89\x8f\xc7\xb2<\xb2:h\xb6\xe0d#\x1d\xad\xfc5\x02{j\x15\xd1\x16\x83t^\n\xf8\xcax\x1a\xcd\x93\xe8\xd7]\x90H<\xe9\xadO\x01\x00\x04[\x02\x00\x00\x00\x00\x00\x00\x00\x01A\x00\x00\x00\x00\x00\x00\x00\x01w^k\x91\xbfi\x19&\xc0\x98\xcb\x88\xef\xb6l4$\xc1\xa1\x1b\xf1\xf2l\x9eW\x06\xf72{9\xecl\x04YL>xFK\x00]\x0bH\x07=}\x15z1MH\x10B\x10H3ei5D#:\x14{O\x01\x00\x05[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x02\x10\x93\xa7\x0c^\xd1c\x9a\'\xec\xcd\xb0\x11\xd3\xf3-\x82:]\xee\xd4\x0e\xde\x95\xc1e\x8c.S\xeas\xf8O\x01\x00\x06[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x02\x10\xf9\x05p\xf5\xb3\xc9\x9c\xfa\xd6\x19y\xe1\x85\xd0<Q\x14\xc1T\xea\xfaI\x9e\x0c\\\xb2@\xd1\x81&\x15O\x01\x00\x07[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x02\xab\xfa\x1a\x08\rr?\xe7\xbe\xb3n\xebQ-u\x86\x8e\xd3\xc05\xa5\xe4\x14\xf0+n\x87@\x1b\xc6\xbf\xa4O\x01\x00\x08[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x02\xb2\xa2\xd8U)\x99i\xf9\xcdc\x01x\xde\xc4L\x94\x9b}\x0e\xc7\xd1\x85\xcbE\xff\x89KC\x8c\xfc_\\O\x01\x00\t[\x02\x00\x00\x00\x00\x00\x00\x00\x01\xe1\x00\x00\x00\x00\x00\x00\x00\x00C;\x85\xc1\xa3\xb7P\xac&\xb5\x9f\xf4P\xa0\xf1\xddH\xc8\x9c\xd4\xbd\xebD\t\x8a\xb9\x1b\x1e\xddM\xc8\x01\xf8SmDh\xae\x17XD\x1f\x99\x02_\x06\xb5%\xd5\x14\\<\x10\xcb\x0b\x00E\\$`Irbvb\x10\x01\x07\x0ev\x18CO\x08\x9b\x02\xe6{UDyTf* \x1c|\x00M\x8eb2\x1e\x1e\x9a%\x03\x19J\x84<Yg0\n\x0e \x84\xc9dt\x14\x8cB.\x02`\xcdA\x00&\xdf,$"l\xfaa`\x06\xda\xec"@S\x03\n\x02\x10\x84\x0eS?!\\-7\x0b0~0\x00\x11\r\x16\xb3hr`|\x9b\'\xe6`\xbc=tL\n\xe3P\x04\x84R\x11Oz\xf4ByH\x8f5\x00z\\:\xb3Z\x1e P\x855q\x11\x92\x13=1W\xd5s\x0c\xb6\x10\x0f}r\x82p[-\xac"\x0b{qoy7q5_O\x01\x00\n[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\x15.g]&\xfd\xd0\x8ci\xd8\xaf\xf1\xa9J\xa5\xbc\xae1b\x91\x9b(\n\x9d\xa6\xea\xfa\x07\xa1\x0e\x16\xc6O\x01\x00\x0b[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x02T\x9fin\x07\x90PPA@\xbfJ\xc6\xb3\xe4z\xd6,\x8c\xd8\xa4$\x80E\xf0\xea\xb0"\x04r\xe2\x03O\x01\x00\x0c[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xcd\xf0q\xc8\x00b\x85{\xb0sw\xe5\xbf\xc8\xcd\xb1\xd8R\xb2\x07-\x89\x13\x19\xf4\\\xdb\x05\x9e>L\x8aO\x01\x00\r[\x02\x00\x00\x00\x00\x00\x00\x00\x01A\x00\x00\x00\x00\x00\x00\x00\x01CB\x16\xcf\xe4\xd1:|\xa1\x0f\xd7\xe9U\t,}\n\xd3J\xb8$\xaa\xd9R|z\x10\xcf\x95\xf3\xbd\xa0\x189\n"GY*|k|[fMURt\x1b\x1b\\c\x01dfJrO\x0e7P9c.O\x01\x00\x0e[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x02\xe7\xcea\x0ct\xc4\xe4zxu\x1a\xdb-`S\xcb\x12r\xe5{\x08\xb8\xb8\xa6R\x16\x10yg\x84\xd0\x7fO\x01\x00\x0f[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xf8p,\xdfm\xb9\t`\xc0\x8e\x92D\x0b\xc9#\xe08\xda`\x8f\xa0_\x87\xf1\xf5^\xcbI\xd0s\xee\xdeO\x01\x00\x10[\x02\x00\x00\x00\x00\x00\x00\x00[\x11\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01b-%\xa50\x8a\xa5\x8a6U\x93\xc4\xb5\xe2S3\x95~F\xa9\x880\xed\xe8\xd3\xf3h"\xd6\xb5\xc5 O\x01\x00\x11[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xf7\xcb\xd5\xe5V \xc2\x03\xa6\x1b\xf2\x19\x95\x85x\xbf\x1a\x03i\xf1\x8ag\x9a\x1f\x93%\xbc#\x0b)\x95\x19O\x01\x00\x12[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\'\xa7xH\xcd%\xbf\\\x17\x83\xe0\xea\xe1\x8a1\t\x84\x95V\xa5\x98\x95lq\x94r\x18\xd8\xeeX\x7f\xa6O\x01\x00\x13[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01e\xc3n\x93\xc0\xbb\xedz/\xad\x00}\xf6\xa5q\xdaS\x81^\xeb\x857\xc0e_z\xb9x\x97-\x06\xf4O\x01\x00\x14[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01]w\xd9!\xd0\x80o+Z\xd7\x8aT\x804Dy_\x81\xd8/h\xaf\xe3\x95\x1d\xd17XH\x80w\x87O\x01\x00\x15[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\x98$\xcb\xe7\x15\xc6\xfa\xcb\xf6\x97\x19r?\xaa\x8f\x93\xf4\x98\x1b\x8eA<\x15=!\x04\xceF\xfe\xf3\x87\x05O\x01\x00\x16[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xc2\xcai.4c]!B\x91\xaf\xc45\xc2\xaf]\x12\xf5\xef\xac\xcc\x87?\x1a\x17\x9b\x9fz\xe7]`\x17O\x01\x00\x17[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xff\x87\xdcOQt\xb5]%\xce<\xfe>\xe3|\xc6v6\x0c\x92\xdd\x8f\xcf20)\xf2!M;\xa8\xcbO\x01\x00\x18[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xc8\x8cA\xf8\xfd\xa64\xb6g\x01\xfcQ\x80\x80e~\x99\x86\x8bM\xfc\x07\xed\xacc0\x11|U&(\xfbO\x01\x00\x19[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\'2\x9e\xf9\xf2\x06|<\xfa\x9cU$Z}d\xde:\xf4\x8a$\x1fbv\xdef\x9b\xe4W0\x10|kO\x01\x00\x1a[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\x11\x89\xf9\x923e\xd2{\x9f\x913\x9e\xfb\x8bx\xf9~\xb8\xc7\xa8\x91\xc2 \x9a|\xbaU\x07\xff2\xd9\xcaO\x01\x00\x1b[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xa4\xf1\xb5\xf3Ql\xc7\xcc\xe3FLY\xb3\xc6\xf95$\xaf[\xf4 \xcd\xba\xb0\xf8\xfc\xfa\xb8j\xff~^O\x01\x00\x1c[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01i-QmB[\xfe\xc4\xac4\xe6\xcf \xeeE\xb4[z\xb4\xa5Z2(\xf0\x10?\x9a}\xf9\x0fU\xa3O\x01\x00\x1d[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\'\x0f\x10\x97l\xed\xef\x17\x85\x13\x81\n\xd2CXO\xa9\xc4[:\x8a3\x0f\xb1\x802\x96\xa0\xad\x125\x90O\x01\x00\x1e[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01/\xf2\x8c\x94\x94\xf6b)h[\xd1<\x08^\x06\x0f\xfd_i\xec\xb3\xdd\xc47/\x9a/\xcd\x87\xf0\xc4\xa4O\x01\x00\x1f[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01~\xeb=\xe6\x1b\x94\xdb\t\xc8\x9f\xa2\xea\x17\x92{\xfd\x96X\x03\x10\xc6\xa1\xe3\x1f\x17\xfa\xeeM\xbfJ}\xc0O\x01\x00 [\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01t{\xa3$\xe82\x10}\x88p\x10\x18\xc8\xb6=6\xe7\x11{"\x1d\xba\xa2\xa4\t9\xb9*W\xb3\x8c+O\x01\x00![\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xbd\xc6\xdc\x87\x1e\x81g\xda\xe2;_2\xa3\x9e\xd9@"\xdf_\xa1\'5\x8b\x8cOW9\xad\x0c\xea\xf4SO\x01\x00"[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xd3Z\xff\xc9+`k\xc2\xa1\x82!J\xc3\x8d\x96\xe1X\xa5\xdf\x00\xaf5\xfc\xb0m\x9a\xfa`Y\x0f0\xb8O\x01\x00#[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xf8Q8\xd3\x17?\x0e\xfa\x9f\t\x99\x87\x17\xd6\x1fl\xc6z\x80V\xe8L\xa1Xb\x1f\xc0\xc2=G\x9ftO\x01\x00$[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xfe\x8dt\xdaQ\x90\xd3U\xe3^^i\xdf\xdf\x95b\xad\xac\xd6 \xc4`\xea\xb0\xbe\xd3\xaa\x10\x1e\x88f\xd9O\x01\x00%[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\x06\xf7\xb8\xba\x92^\xa6I\xb5kf\x9d2\xe6\xa5\x02\xd4[\xa3z\xb5xj\x818\xbc~\xd8h \xd1\x85O\x01\x00&[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xb5\xcb\x98\xa5\x19*\xeb\xe3q\xf5\x9e\xdc\xbd+L\x1f\x16e\x17\xe2F\x87\xb7[\x82\xe6\xab\xd05e\xb7\x15O\x01\x00\'[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\xf7\x0b\xf2\xdet\xa4{\xe5k\x93\xa8\x84Z\xee\xb3\x89\x8c\x0b#E|9#\x10\x06q \x00d\xe4\x9a\xa8O\x01\x00([\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01}\xfa\xf9\xa1\x98\x83\x92\x89\x86Ob\xc1\xc2\x9eWukA\xc8\xe7\xfe\xf8\xd6\x13L\xd3[{\xa9C\xa1\xe6O\x01\x00)[\x02\x00\x00\x00\x00\x00\x00\x00\x01!\x00\x00\x00\x00\x00\x00\x00\x01\x13\xdbT\xe4\x012\xbb\xfea\x1c\xc1\xf2!)\xc4\xd6y\xc8\xe10\xad\x95\xc9\x8c\xcdS\x962z\x94\xb6SO\x01\x00*[\x02\x00\x00\x00\x00\x00\x00\x00[\x1a\x00\x00\x00\x00\x00\x00\x00', {
    '__annotations__': __annotations__,
    '__builtins__': __builtins__,
    '__doc__': __doc__,
    '__loader__': __loader__,
    '__name__': __name__,
    '__package__': __package__,
    '__spec__': __spec__,
    '__file__': __file__ })

User Feedback

Recommended Comments

There are no comments to display.

×
×
  • Create New...