[HN Gopher] Show HN: 'Hello, World ' in x86 assembly, but make i...
       ___________________________________________________________________
        
       Show HN: 'Hello, World ' in x86 assembly, but make it gibberish
        
       Author : phoreverpheebs
       Score  : 51 points
       Date   : 2023-03-17 17:51 UTC (5 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | juliusgeo wrote:
       | Beautiful! I love obfuscated code, but I normally do it in high
       | level languages. Always wanted to pick up golfing in asm.
        
       | Teknoman117 wrote:
       | Makes me think of the "when is main not a function" article from
       | 2015:
       | 
       | http://jroweboy.github.io/c/asm/2015/01/26/when-is-main-not-...
        
       | TremendousJudge wrote:
       | It's like the inverse of Enterprise FizzBuzz
       | (https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...)
        
       | [deleted]
        
       | weinzierl wrote:
       | If you are interested in obfuscation and anti-reverse engineering
       | I can recommend Josh Stroschein's courses. He does a fantastic
       | job explaining various techniques.
        
       | abbeyj wrote:
       | Memory layout in gdb is consistent because gdb disables ASLR by
       | default.
       | 
       | This is usually what you want so that memory addresses don't
       | change unnecessarily from one run to the next. But if you're
       | debugging a problem that only shows up when ASLR is in effect
       | then you can turn it back on.
       | https://visualgdb.com/gdbreference/commands/set_disable-rand...
        
       | phoreverpheebs wrote:
       | Finally finished this "proof of concept", that obfuscates a
       | string in a binary by scattering its bytes across the program's
       | opcodes.
        
       | csdvrx wrote:
       | Can't this be reversed by static analysis? Most approaches focus
       | on the source, but IIRC there are also bytecode tools for at
       | least Java
        
         | phoreverpheebs wrote:
         | Yeah, it's not a way to 100% obfuscate the functionality, but
         | instead it could be more of a way to throw off someone looking
         | at the binary
        
           | antibasilisk wrote:
           | If I was reverse engineering a program and I saw this I think
           | I might just quit and rethink my life.
        
       ___________________________________________________________________
       (page generated 2023-03-17 23:01 UTC)