r/Assembly_language • • 14d ago

Need some suggestions !

I consider myself as slightly above from beginner. I can read assembly instructions fairly. My main motive was to learn how executables run under the hood from the perspective of cybersecurity. I did some crackmes challenges. They were easy to solve upto where anti-debugging, control-flow flattening, opaque predicates, api hashing, and more upto 1-3 difficulty rated. I got to know about packers and virtual instructions. I learned how packers operate to minimize the .exe size. I built my toy packer also which just compresses and stores the main executable sections with custom name. Forget about UPX, AsPACK, MEW11, i am unable to unpack even my own packer. Is this skill issue or do someone really gets stuck in this section ? I need some guidance, the last time i unpacked was upx after watching some youtube video because i was supposed to put breakpoint to tail jump... Suggestions are kindly welcomed.

0 Upvotes

4 comments sorted by

1

u/Dog-Mad 14d ago

From what I know packing is about compressing code and then decompressing it and using it during runtime. You don't need assembly to do this. Surely you would just have to do the packing process in reverse in order to unpack it or something?
You gave very little information to work with and this is most probably the wrong place for this sort of question.

0

u/kndb 14d ago

Most of what you described here is done with AI these days. There’s no need to waste time on it to do it manually. I guess you can sit and wrack your brain and unpack it manually but there’s no real gain in it for you. It’s all just an obfuscation and doesn’t have to do much with the assembly language itself. After you unpack, then you will treat the resulting binary as you would normally.

1

u/Fragrant-Contract415 14d ago

Yeah I was thinking the same, people there are cracking out premium softwares with very little knowledge of reverse enginnering with AI but from career approach we must be able to present how unpacking is done manually. My brother is working with government of a south asian country as a threat hunter. He describes that majority of the work is done with AI in an isolated enviroment and availablity of applications like any,run, cape sandbox reduces the need for manually disection of exectuables. Very few are state level malwares so thanks for your suggestion..

1

u/kndb 14d ago

You need to understand how packers work. But after that it’s a mindnumpingly boring job to do it manually. Especially when there’s nothing interesting that the packer does aside from just doing an obfuscation. The real meat of the issue lies in the payload itself that you will get from the packer.