4 ms·
>Modern operating systems don’t run binaries tampered with a hex editor. do you mean non-system ones?
by stepupmakeup 2y ago
>Modern operating systems don’t run binaries tampered with a hex editor.
do you mean non-system ones?
- eru 2y agoSome OSs want their binaries to be signed and probably have checksums etc. It would be hard to keep those valid when mucking around with a hex editor.
- ryandrake 2y agoThis is fine if the user was empowered to re-sign it after the mucking. The problem is that the user is rarely in charge of their own computer anymore.
- eru 2y agoOutside of mobile operating systems, eg on Linux, Windows and MacOS (and all the BSDs etc) it's fairly trivial to run binaries you built yourself. But: re-signing is an extra step that someone who's just starting out and mucking around with a hexeditor might not know how to do nor even be aware of.
- grishka 2y agoMacOS is notorious for this. By default, it would only run binaries signed with an Apple-issued certificate. You can bypass this multiple different ways, of course, but that requires knowing that it can be bypassed in the first place. Then there are mobile OSes where you don't get to see the binaries at all. Yes you can repack an apk but again, that's a more involved process requiring specific tools and knowledge (and very awkward to do on the device itself), and iOS is completely locked down.
- andsoitis 2y ago> MacOS is notorious for this. By default, it would only run binaries signed with an Apple-issued certificate. You can bypass this multiple different ways, of course, but that requires knowing that it can be bypassed in the first place. What do you mean? When I compile something with a myriad of different language stacks or compiler toolchains, I'm not aware of an Apple-issued certificate ever being involved and those binaries run just fine.
- grishka 2y agoProbably because the environment you use to compile it, like the terminal or Xcode, is added to "developer tools" under security settings. Xcode in particular does that for itself automatically.
- andsoitis 2y agoSo I don't even need to know how to bypass it because it happens automatically behind the scenes. Nice.
- GnarfGnarf 2y agoIt won’t run on another user’s computer unless it’s been Notarized.