News for hackers. Stuff that matters.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by programmarchy on Wednesday June 17, 2020 @08:22PM (#23558438)
How many of these tricks are off the shelf techniques? Seems like a tremendous effort.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by 3eed on Wednesday June 17, 2020 @09:08PM (#23558726)
OP here. About half are off the shelf. Joint functions, the breakpoint infinite loop, in-house memmove, the overflowing thing, those I haven’t read about anywhere before.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by cremp on Wednesday June 17, 2020 @10:25PM (#23559171)
For the overflow, Jagex with RuneScape did it in Java. They also did stupid Object arrays 7 or so levels deep, doing casts on casts in between. The bytecode itself made the actual runtime slow to a crawl (anywhere from 5 to 10x slowdown.) This was circa 2014.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by 3eed on Wednesday June 17, 2020 @10:33PM (#23559228)
That’s interesting to know
Re:Reverse Engineering Snapchat: Obfuscation Techniques by saagarjha on Thursday June 18, 2020 @12:22AM (#23559779)
> the breakpoint infinite loop

This is a fairly standard debugging technique.

> in-house memmove

You sure they didn't just statically link a libc?

Re:Reverse Engineering Snapchat: Obfuscation Techniques by sudhackar on Thursday June 18, 2020 @06:04AM (#23561597)
> the breakpoint infinite loop

Have seen multiple times in CTFs

Re:Reverse Engineering Snapchat: Obfuscation Techniques by saagarjha on Friday June 19, 2020 @04:06AM (#23572206)
Usually the good CTFs don't stoop to stupid tricks like these, to be fair.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by zelly on Wednesday June 17, 2020 @08:33PM (#23558526)
There are numerous commercial compilers (for C and C++) that specialize in obfuscation. I suspect they are using one because to do that level of obfuscation manually would make the source code unreadable.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by qvrjuec on Wednesday June 17, 2020 @09:30PM (#23558842)
Yup, they actually acquired anti-reverse engineering startup Strong.codes after using their software for years
Re:Reverse Engineering Snapchat: Obfuscation Techniques by programmarchy on Wednesday June 17, 2020 @09:18PM (#23558780)
OP, your comments are showing up dead so you might be shadow-banned.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by 3eed on Wednesday June 17, 2020 @09:44PM (#23558917)
Thanks for letting me know! I contacted support.
Re:Reverse Engineering Snapchat: Obfuscation Techniques by dang on Wednesday June 17, 2020 @10:40PM (#23559265)
Your account's fine, but some comments were getting caught in a software filter. Sorry! I've marked it legit so this won't happen again.

(Fortunately users vouched for all the affected comments, so they were unkilled before mods got to this thread. That's exactly what the vouch feature is for and I love to see it work so well.)

Re:Reverse Engineering Snapchat: Obfuscation Techniques by whereistimbo on Wednesday June 17, 2020 @11:09PM (#23559411)
Hi dang, why is my latest submission flagged?
Re:Reverse Engineering Snapchat: Obfuscation Techniques by icebraining on Thursday June 18, 2020 @06:44PM (#23568976)
You should send that question to [email protected]