2
<p>PROBLEM: writing portable interposition payloads is challenging due to the nature of the pre-load environment they operate in, and the esoteric knowledge required to write them in assembly</p><p>SOLUTION: design a Rust harness compiling down to a #![no_core], #![no_builtins] crate needing only a minimal amount of reusable assembly code, and that can be built, deployed, and interposed with minimal effort</p>
<p>PROBLEM: modifying the linking and loading characteristics of binaries is difficult, and doesn&#39;t necessarily get easier with builds from source</p><p>SOLUTION: design and implement a binary-to-binary compiler (like a conceptual inverse of a source-to-source compiler) that provides a rich array of transformations through the use of an intermediate representation that yields itself to composition of operations</p>
<p>PROBLEM: although Linux intentionally limits the amount of ELF program headers to 1024, a different (possibly untentional) limit puts a hard cap at around 300 PT_LOADs, if you want the kernel to not stamp your binaries with -ENOEXEC despite not even asking your PT_INTERP</p><p>SOLUTION: by interposing a pre-linker before the program interpreter takes over, any amount of loadable segments can be mapped by the kernel as a single PT_LOAD and then split into appropriately protected regions before linking</p>
<p>I just invented what I describe as &quot;fractal dynamic linking&quot;</p>
<p><span class="h-card" translate="no"><a href="https://sigmoid.social/@ocramz" class="u-url mention">@<span>ocramz</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.well.com/@rk" class="u-url mention">@<span>rk</span></a></span> I had no idea the &quot;ancient Greek&quot; lion was…Scandinavian!</p>
<p>What I&#39;m listening to today: &quot;Dimension 4&quot;, Virtua Point Zero</p><p>Often when I link tracker tunes I have to kind of do detective work. This YouTube video is labeled:</p><p>&quot;A micro (63kb) DnB track which appeared on an ASCII art / music disk by Hoffman.&quot;</p><p>When was this recorded? Who is Hoffman? It sounds like a hype late-2010s progressive club banger. The artist has a SoundCloud, where this was posted… two weeks ago, but maybe it&#39;s a repost from the 90s. The world is a mystery.</p><p><a href="https://www.youtube.com/watch?v=gQRy105u_9E" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=gQRy105u_9E</span><span class="invisible"></span></a></p>
<p><span class="h-card" translate="no"><a href="https://mastodon.well.com/@rk" class="u-url mention">@<span>rk</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@shriramk" class="u-url mention">@<span>shriramk</span></a></span> <a href="https://en.m.wikipedia.org/wiki/Piraeus_Lion" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">en.m.wikipedia.org/wiki/Piraeu</span><span class="invisible">s_Lion</span></a> here&#39;s one you can still see in my hometown</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@shriramk" class="u-url mention">@<span>shriramk</span></a></span> </p><p>Oh yeah! There’s even runic graffiti in…some mosque I can’t remember which…that basically says “Olaf was here” or whatever.</p>
<p>Pretty certain the single most surprising thing I&#39;ve learned in the recent past is that the VIKINGS got to BAGHDAD and repeatedly attacked CONSTANTINOPLE. (They used the Volga&amp;Dnieper.) Not a word about it in my entire education! Here&#39;s a brief history:<br /><a href="https://www.history.com/news/globetrotting-vikings-the-quest-for-constantinople" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">history.com/news/globetrotting</span><span class="invisible">-vikings-the-quest-for-constantinople</span></a></p>