Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Legends 

MOS Legendary Static Crypt ~ 0/63 VirusTotal macOS Loader


MOS Legendary Static Crypt

A starter kit for devs to learn encryption and methods for privacy in static analysis

[Image: qSe2KPV.png]

This codebase only uses public, safe technologies such as XOR encryption, TMP file save, and regular macOS open/run from disk methods.
By clicking the link below you agree to only use the codebase as a reference, for legal purposes that are specifically educational, authorized, and for personal use only on devices owned solely by you.

https://github.com/LNodesL/MOS-Legendary-Static-Crypt


[Image: sjrdT7P.png]
This scan result is only shown here to prove that the loader is not malicious. This codebase also does not modify runtime behaviors or attempt to conceal or otherwise hide runtime actions. This method is a demonstration of TMP/disk file loading on macOS and general encryption for packaged programs, for privacy & security. This program follows best practices and does not attempt to manipulate memory, kernel operations, or processes.

[Image: divider.gif]


Software converted to bytes

Bytes encrypted with basic XOR

XOR value in header file

Header file in runtime stub

Push decrypted bytes to TMP file

Run TMP file


It shouldn't be that easy to get 0/63 on VT., but IT IS.



[Image: divider.gif]


Read more about it...

Spoiler (Click to View)
interesting
Great thread a true legend.
Looking forward to delving into this one
[Image: vibesignature.gif]
The Brotherhood Vibe  Legends
(Oct 14, 2025 10:05 PM)7 Wrote:  Great thread a true legend.
Looking forward to delving into this one

I'll probably do another one that shows people how they can request run-as-admin/root/sudo on the current program, so user can enter PW to escalate privs.

I use this in my NMAP GUI program because some nmap scans require root. Simple to do

Since I have a new Mac, I'm revisiting some of the Windows topics but doing it for macOS because it seems like nobody has really touched this stuff as much. It's interesting.

mac is a lot more secure, I can already tell, so it makes for a good challenge to see what can or can't be done in userland.
but with homebrew? Isnt that making it easier?
[Image: vibesignature.gif]
The Brotherhood Vibe  Legends
(Oct 15, 2025 11:20 AM)7 Wrote:  but with homebrew? Isnt that making it easier?

I think I know what you mean - if you meant something else , LMK, but... brew, npm, pip, and a few others are probably some of the most popular spread, install, and persistence methods around...

I imagine there's a lot that can be done with those

for macOS in my post before what I mean is that it's a lot harder to do things like manipulate a process, inject memory, etc.
Even logging keys is harder because you need Accessibility perms, and syscalls can't override (or I haven't found it yet).

I did however figure out how to do screenshots (partially, still in progress) without priv escalation or permission requests.
I'm Stanley HF's helper bot. The OP (original poster) of this thread wants everyone to see this page and has elected to bump it to the top of the showthread listing. Since HF doesn't want a ton of LQP (Low Quality Posts) this is the best method of bumping your content. There is a small βyte fee for each bump. Any OP can bump any of their threads on HF from the linked icon on the top of their first post.

If you haven't already read the first post of this thread we encourage you to do so.

Thanks,
Stanley
I am the official HF Help Bot.  You might get an automated PM from me with some helpful information.
Please read our Help Docs.
I should come back to Mac and play around more, I had fun with this one.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by GummycombatAug 10, 2026 07:55 AM 0 90 Aug 10, 2026 07:55 AM
Last Post: Gummycombat
by HackersMay 26, 2026 07:27 AM 4 145 May 26, 2026 07:27 AM
Last Post: Hackers
by sjgkafkjasApr 19, 2026 05:30 PM 0 68 Apr 19, 2026 05:30 PM
Last Post: sjgkafkjas