frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Today I Learned: Binfmt_misc

https://dfir.ch/posts/today_i_learned_binfmt_misc/
9•malmoeb•6d ago

Comments

DominoTree•1h ago
Traditionally I've seen these adapters primarily used to pass binaries for other architectures to QEMU and similar.

Years ago on FreeBSD I created a "Volkswagen mode" by using the similar `imgact_binmisc` kernel module to register a handler for binaries with the system's native ELF headers. It took a bit of hacking to make it all work with the native architecture, but when it was done, the handler would simply execute the binary, drop its return code, and return 0 instead - effectively making the system think that every command was "successful"

The system failed to boot when I finally got it all working (which was expected) but it was a fun adventure to do something so pointless and silly.

It would be a similarly clever place to maintain persistence and transparently inject bytecode or do other rude things on FreeBSD as well

dandersch•1h ago
Before knowing about binfmt, I always wondered how wine is able is able to execute .exe files directly, i.e. ./prog.exe instead of wine ./prog.exe. Turns out the wine package (at least on Arch) comes with a handler for them and the Arch wiki mentions that you may want to remove it for security reasons.
thayne•12m ago
It can also be used to automatically execute jar files with "java -jar". I don't think arch is set up to do that automatically, but it is fairly easy to do[1].

[1]: https://wiki.archlinux.org/title/Binfmt_misc_for_Java

How the UK lost its shipbuilding industry

https://www.construction-physics.com/p/how-the-uk-lost-its-shipbuilding
27•surprisetalk•1h ago•27 comments

Marble Fountain

https://willmorrison.net/posts/marble-fountain/
533•chris_overseas•10h ago•58 comments

Ask HN: What Are You Working On? (Nov 2025)

146•david927•6h ago•435 comments

Itiner-e: the Google Maps of Roman Roads

https://itiner-e.org/
16•helsinkiandrew•17h ago•0 comments

40 years on, Former Nintendo employees reveal what it took to launch the NES

https://hanafuda.report/articles/former-nintendo-employees-reveal-what-it-took-to-launch-the-nes-...
12•brandrick•6d ago•1 comments

Montana becomes first state to enshrine 'right to compute' into law

https://montananewsroom.com/montana-becomes-first-state-to-enshrine-right-to-compute-into-law/
358•bilsbie•14h ago•183 comments

Drilling down on Uncle Sam's proposed TP-Link ban

https://krebsonsecurity.com/2025/11/drilling-down-on-uncle-sams-proposed-tp-link-ban/
139•todsacerdoti•8h ago•135 comments

Show HN: DroidDock – A sleek macOS app for browsing Android device files via ADB

https://rajivm1991.github.io/DroidDock/
21•rajivm1991•2h ago•4 comments

JVM exceptions are weird: a decompiler perspective

https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/
82•vrnvu•5d ago•17 comments

Building a 2.5kWh battery from disposable vapes to power my workshop [video]

https://www.youtube.com/watch?v=dy-wFixuRVU
127•rsanek•6d ago•74 comments

My Git history was a mess of 'update' and 'fix' – so I made AI clean it up

https://github.com/f/git-rewrite-commits
22•fka•1h ago•36 comments

The Manuscripts of Edsger W. Dijkstra

https://www.cs.utexas.edu/~EWD/
193•nathan-barry•11h ago•74 comments

Iran faces unprecedented drought as water crisis hits Tehran

https://www.bbc.com/news/articles/cy4p2yzmem0o
40•FridayoLeary•2h ago•36 comments

The Principles of Diffusion Models

https://arxiv.org/abs/2510.21890
148•Anon84•11h ago•14 comments

The Sega Master System

https://bumbershootsoft.wordpress.com/2025/11/08/the-sega-master-system/
64•ibobev•7h ago•19 comments

Work after work: Notes from an unemployed new grad watching the job market break

https://urlahmed.com/2025/11/05/work-after-work-notes-from-an-unemployed-new-grad-watching-the-jo...
187•linkregister•2h ago•123 comments

Bumble Berry Pi – A Cheap DIY Raspberry Pi Handheld Cyberdeck

https://github.com/samcervantes/bumble-berry-pi
110•MakerSam•10h ago•21 comments

Sued by Nintendo

https://www.suedbynintendo.com/
65•notepad0x90•2h ago•17 comments

How to maintain good vision amidst the myopia epidemic

https://ssathe.substack.com/p/vision-in-the-digital-age
28•plun9•1h ago•27 comments

Reviving Classic Unix Games: A 20-Year Journey Through Software Archaeology

https://vejeta.com/reviving-classic-unix-games-a-20-year-journey-through-software-archaeology/
134•mwheeler•14h ago•51 comments

Today I Learned: Binfmt_misc

https://dfir.ch/posts/today_i_learned_binfmt_misc/
9•malmoeb•6d ago•3 comments

Zensical – A modern static site generator built by the Material for MkDocs team

https://squidfunk.github.io/mkdocs-material/blog/2025/11/05/zensical/
126•japhyr•14h ago•44 comments

CHIP8 – emulator, assembler, game, vhdl hardware implementations

http://blog.dominikrudnik.pl/chip8-emulator-assembler-game-vhdl
56•qikcik•6d ago•4 comments

Email verification protocol

https://github.com/WICG/email-verification-protocol
135•sgoto•1w ago•104 comments

Show HN: Trilogy Studio, open-source browser-based SQL editor and visualizer

https://trilogydata.dev/trilogy-studio-core/#screen=dashboard-import&import=https%3A%2F%2Ftrilogy...
7•efromvt•3h ago•1 comments

When your hash becomes a string: Hunting Ruby's million-to-one memory bug

https://mensfeld.pl/2025/11/ruby-ffi-gc-bug-hash-becomes-string/
94•phmx•5d ago•46 comments

Metabolic and cellular differences between sedentary and active individuals

https://howardluksmd.substack.com/p/if-youre-not-active-youre-sick-you
94•rzk•5h ago•71 comments

Solving Every Sudoku Puzzle (2006)

https://norvig.com/sudoku.html
36•djoldman•5d ago•6 comments

Visualize FastAPI endpoints with FastAPI-Voyager

https://www.newsyeah.fun/voyager/
109•tank-34•14h ago•18 comments

Using bubblewrap to add sandboxing to NetBSD

https://blog.netbsd.org/tnf/entry/gsoc2025_bubblewrap_sandboxing
82•jaypatelani•14h ago•23 comments