Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    G

    Gynvael Coldwind

    gynvael.coldwind.pl · Personal blog · on HN since 2009

    Polish security researcher Gynvael Coldwind writing on malware analysis, reverse engineering, exploits and low-level programming, with some game-porting work.

    Visit blogHN submissions
    SecuritySystems & Performance
    What HN says

    Commenters call his analyses great, including the xz/liblzma backdoor write-up, and say his posts are interesting and often innovative.

    Stats for nerds
    42HN people shared it
    31linked in comments
    957story points
    May 2025last shared
    2014people per year2025

    Top posts on HN

    1. 1
      Xz/liblzma: Bash-stage Obfuscation Explained
      7 people · 535 points · first shared 2024 · 128 comments on HN
    2. 2
      8-bit number to binary string
      2 people · 223 points · first shared 2015 · 49 comments on HN
    3. 3
      The tragedy of low-level exploitation
      3 people · 71 points · first shared 2024 · 11 comments on HN
    4. 4
      An informal review of CTF abuse
      1 person · 53 points · first shared 2022 · 43 comments on HN
    5. 5
      Hello World Under the Microscope
      2 people · 32 points · first shared 2022 · 1 comments on HN
    6. 6
      Xz/liblzma: Bash-stage Obfuscation Explained
      1 person · 6 points · first shared 2024 · 1 comments on HN
    7. 7
      Hello World in C without libraries or similar dependencies (2012)
      3 people · 5 points · first shared 2019 · 1 comments on HN
    8. 8
      Hello World Under the Microscope
      3 people · 3 points · first shared 2022 · Discussion on HN
    9. 9
      How to learn reverse-engineering?
      1 person · 3 points · first shared 2017 · 1 comments on HN
    10. 10
      Python “Sandbox” Escape (2013)
      1 person · 3 points · first shared 2022 · Discussion on HN

    What HN people wrote when they linked it

    • transputeMar 2024

      SE Linux comment by @poettering, https://news.ycombinator.com/item?id=39867126

      > Libselinux pulls in liblzma too and gets linked into tons more programs than libsystemd. And will end up in sshd too (at the very least via libpam/pam_selinux). And most of the really big distros tend do support selinux at least to some level. Hence systemd or not, sshd remains vulnerable by this specific attack.

      Devuan comment by @capitainenemo, https://news.ycombinator.com/item?id=39866190

      > The sshd in Devuan does link to a libsystemd stub - this is to cut down on their maintenance of upstream packages. However that stub does not link to lzma.

      Future proofing, https://gynvael.coldwind.pl/?lang=en&id=782

      Stage 2 "extension" mechanism This whole thing basically looks like an "extension/patching" system that would allow adding future scripts to be run in the context of Stage 2, without having to modify the original payload-carrying test files. Which makes sense, as modyfing a "bad" and "good" test files over and over again is pretty suspicious. So the plan seemed to be to just add new test files instead, which would have been picked up, deciphered, and executed.

    • userbinatorJul 2024

      Also known as "bswap ax", and research shows that it does something surprising but consistent on almost all hardware: It zeros the register.

      https://www.ragestorm.net/blogs/?p=141

      https://gynvael.coldwind.pl/?id=268

      However, this page, now gone, suggests that some CPUs (early 486s?) did something different: http://web.archive.org/web/20071231192014/http://www.df.lth.se/~john_e/gems/gem000c.html

      Unfortunately I have not found any evidence nor reason to believe that this "inner swap" behaviour you mention exists in some CPU --- except perhaps some flawed emulators?

    • pmoriartyNov 2014

      This reminds me of a tool that came out 10 or 15 years ago, which allowed you to feed it arbitrary binary data that it could display in 3D.

      I remember reading a Slashdot article on it in which one of the examples was a 3D, freely-rotating view of the Linux kernel binary.

      Does anyone know what I'm talking about? I can't seem to recall the name of the project or find it.

      Also related:

      http://vimeo.com/110257380

      http://gynvael.coldwind.pl/?id=199

      https://www.youtube.com/watch?v=5f7hZBoEwV0

      https://github.com/pwaller/binview

    • tester756Dec 2023

      Gynvael Coldwind - one of the guys from Dragon Sector (but probably not a member of the team that hacked those trains)

      wrote an article about why company's line of defence that malicious code could be injected is flawed

      https://gynvael.coldwind.pl/?id=777

      It is mostly about reverse engineering, compilation process, how thing are laid out in the final binary -.text, .data sections, offsets and stuff like

      https://en.wikipedia.org/wiki/Code_cave

      https://en.wikipedia.org/wiki/Hooking

    • jdsalaroApr 2024

      Disregard the comment you're replying to, they're either misinformed or deliberately inaccurate in their assessment.

      The backdoor consisted of a combination of publicly visible code and binary blob test files available in the project's repository as well as obfuscated build scripts which were contained only in the released tarballs, tucked away, which, nevertheless, were also publicly accessible, decompressable and auditable[1]

      [1] https://gynvael.coldwind.pl/?lang=en&id=782

    • CodeGlitchJan 2022

      > For security stuff it's 100% twitter

      It saddens me that this is the case. Security types are techies, so should be all over RSS feeds. For example I follow the usual suspects on RSS:

      * https://www.schneier.com/feed/atom/

      * https://gru.gq/feed/

      * https://gynvael.coldwind.pl/rss_en.php

      Ideally please post on Twitter AND an RSS feed.

    Related

    MSRC Blogmsrc.microsoft.com240 people

    SolarWinds hackers were able to access Microsoft source code

    MSRC Blog
    Company · last shared 2026
    j00ruj00ru.vexillium.org47 people

    Windows X86-64 System Call Table

    j00ru
    Personal · last shared 2025
    Context Information Security Blogcontextis.com47 people

    Binary SMS – The old backdoor to your new thing

    Context Information Security Blog
    Company · last shared 2021
    Insane Codinginsanecoding.blogspot.com30 people

    HTTP 308 Incompetence Expected

    Insane Coding
    Personal · last shared 2022
    Jon Gjengsetthesquareplanet.com20 people

    The Path to Rust

    Jon Gjengset
    Personal · last shared 2026
    Tweede Golf Blogtweedegolf.nl38 people

    Rust is rolling off the Volvo assembly line

    Tweede Golf Blog
    Company · last shared 2026
    jwzjwz.org880 people

    Watch a VC use my name to sell a con

    jwz
    Personal · last shared 2026
    Joanna Rutkowskablog.invisiblethings.org67 people

    State Considered Harmful – A Proposal for a Stateless Laptop

    Joanna Rutkowska
    Personal · last shared 2026