# IBM i's Program Validation Value can be recalculated, letting modified native code run

Original title: Beyond the compiler: Making IBM i run modified native code

> Hacker News story 50437505 · language: en · submitted 2026-11-10
> Web version: https://zeli.app/story/50437505
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 15 · by [dnet](<https://news.ycombinator.com/user?id=dnet>) · 💬 2
[original](<https://blog.silentsignal.eu/2026/11/10/Beyond-the-compiler-Making-IBM-i-run-modified-native-code-PVV/>) · [HN discussion](<https://news.ycombinator.com/item?id=50437505>)

## Summary

IBM i checks saved programs with a 32-byte Program Validation Value (PVV), but the HMAC key is derived entirely from program attributes and fixed Licensed Internal Code constants—no separate secret. After reconstructing the algorithm and matching all 1,223 known-valid values, the author recalculated PVV and the save-file checks so edited native instructions survived restore and resave. A test account without special authorities restored a modified MEMDUMP program that then read from a USER-domain buffer in a cooperating QSECOFR job. SYSTEM and INHERIT program states were still rejected.

## Key quote

> A party with the serialized program and the reconstructed algorithm can therefore derive the key and recompute PVV; a match establishes consistency, not trusted origin.

---

## Cite

- Page: https://zeli.app/story/50437505
- Date: 2026-11-10
- Source: blog.silentsignal.eu (https://blog.silentsignal.eu/2026/11/10/Beyond-the-compiler-Making-IBM-i-run-modified-native-code-PVV/)
- Hacker News: https://news.ycombinator.com/item?id=50437505

## Other languages

- zh: https://zeli.app/zh/story/50437505 · markdown: https://zeli.app/zh/story/50437505.md
- ja: https://zeli.app/ja/story/50437505 · markdown: https://zeli.app/ja/story/50437505.md
- ko: https://zeli.app/ko/story/50437505 · markdown: https://zeli.app/ko/story/50437505.md
- de: https://zeli.app/de/story/50437505 · markdown: https://zeli.app/de/story/50437505.md
- es: https://zeli.app/es/story/50437505 · markdown: https://zeli.app/es/story/50437505.md
- ru: https://zeli.app/ru/story/50437505 · markdown: https://zeli.app/ru/story/50437505.md
