HNHacker News
TopNewBestAskShowJobs

gynvael

212 karma · joined March 10, 2018

Hacker, see more at https://gynvael.coldwind.pl/?id=50
submissionscomments
gynvael··on Paged Out #6 [pdf]
Hey, PO!'s lead here. It's not available yet, but we're working on making it available via some digital print services like lulu.com. There's no definitive timeline for this, but we're pushing to make it happen before the next issue (which is planned around June/July).
gynvael··on Tragedy of low-level exploitation (So you want to make a career in exploit dev?)
TL;DR of a long post: "So to not bury the lead, the problem is that low-level exploitation is rarely needed in cybersecurity, and jobs where one works mostly on low-level exploitation are few and far between. Furthermore, these jobs are even more rare if one wants to stay away from the gray area of hacking and away from the black market. It's more common for low-level exploitation to be a small occasional part of another role."
gynvael··on Paged Out Issue #3
Ah yeah, I remember this with Hugi or other diskmags. Let me think about this, it might be an interesting direction :)
gynvael··on Paged Out Issue #3
Web view is planned, but we're not there yet.

That said... you do realize, that web view (browser) has equally huge attack surface as PDFs do, right? And a lot of PDF viewers are either sandboxed (Chrome PDF viewer, Adobe Reader) or even written in JS (Firefox). If you're worried about this though, there are services on the internet that convert PDFs into a series of images. You can also view the PDF through e.g. Google Drive or similar services, which do PDF parsing and conversion server side.

gynvael··on Paged Out Issue #3
Yes (with a lot of small print)!

Good news is that we're already chatting with two print houses about printing around 1k copies (test print basically). The plan is to give these away on various events / conferences, or to local communities.

Bad news is that we'll be able to only send these to EU, and only in large batches (like 100 copies to one place), and not individually.

Good news is that we'll make the printer-house-friendly PDFs available for anyone who wants to print a batch and given them away (or sell them for the cost of making).

And I also have this idea to chat with various companies for them to make a sponsor-batch of zines to print and give away, e.g. on events they sponsor. Not sure how much interest there will be.

We also plan to make a nice "collector's" high-quality print of a bundle edition (e.g. 4 issues in one "book") to help get some money into the project. Same as PoC||GTFO did (shoutout to these folks), though we'll probably go with a kickstarter or sth.

Now, the elephant in the room: selling individual issues in a consistent always-available way ← that's something we're discussing from time to time. At this moment we're not there yet, as the logistics and accounting stuff of this operation would be pretty huge. I'm also thinking of approaching some local magazine publishers in some countries with a deal like "hey, we have PDFs, wanna print and sell these for a %?".

So yeah, it's complicated™ ;)

gynvael··on Paged Out Issue #3
True for us all...
gynvael··on An informal review of CTF abuse
Not saying it's interesting (in the terms of a real world application), but it technically is an 0-day ;)
gynvael··on An informal review of CTF abuse
This is true, though I need to add the missing phrase - "CTF challenges typically do not involve zero days" in real world software.

They do however strictly involve zero days in software created for the purpose of the CTF - that's basically what CTFs are about.

gynvael··on An informal review of CTF abuse
Basically the first 50 countries were easy using whatever methods. The next 50 were doable. But then the struggle really began and some teams started getting desperate/creative I guess.

Note that I'm using 50 as a random example number here, not an actual measurement.

gynvael··on An informal review of CTF abuse
Sorry about that. I added a paragraph after the first one in the blog post. I didn't expect the blog post to travel beyond the CTF community.
gynvael··on An informal review of CTF abuse
There is some overlap, but only some.

In general CTF problems are limited in the sense that they need to be solvable withing the tournament time frame (usually 48h), and also the process is simpler - you don't have to be quiet, you grab the flag and that's it; no need to think beyond that point (i.e. no need to worry about backdooring, C2, hiding the traffic, lateral movement, detection, etc).

Also CTF problems might be super specific, to the extent of being unlikely to be encountered in a real world. The real world is a bit different - a lot of systems have same old boring issues. On the flip side when dealing with 0-days in stuff like modern browsers you are likely to exceed the level of complexity of even top CTF pwn challenges - mostly due to the aforementioned time constrain in CTFs.

That said, a lot of technical skills would be transferable between both areas. Regardless which way one would switch, there would still be a decent amount of learning (e.g. learning the CTF metagame, learning to think beyond getting a shell).

gynvael··on An informal review of CTF abuse
Also the pandemic happened. In the later years we were playing mostly to go to offline finals. And the pandemic meant no offline finals.
gynvael··on Paged Out – experimental (one article == one page) free zine
Oh. I admit to not have expected that answer ;)
gynvael··on Paged Out – a new experimental magazine about programming
Haha sorry, that's totally my fault.

I hired 5 different artists to design the page decorations, and they delivered cool and interesting assets. But then I decided this doesn't really align with my vision and decided to do the decorations on my own in "my usual style".

So yeah, this is what you get when a programmer does page design. Sorry :)

P.S. Actually it's even worse - I kinda like the outcome, so it will probably stay.

gynvael··on Paged Out – a new experimental magazine about programming
Yes please :)

All the details are here:

https://pagedout.institute/?page=writing.php - technicalities / topics accepted

https://pagedout.institute/?page=cfp.php - process

gynvael··on Paged Out – a new experimental magazine about programming
Thanks for the feedback - that's an interesting note :)

I don't think we could speed up releases at this point, but once we have a steady inflow of articles and all the DTP scripts finalized I'll revisit this idea.

gynvael··on Paged Out – a new experimental magazine about programming
Sorry, that's one thing we probably cannot fix - the whole idea is that the laying out of the articles is done by authors (not us - the publisher) and the authors have (almost) full control over it.

This means that while we can recommend fonts, we can't really enforce them in this model.

I know the idea for the authors to do the layout is at least 'experimental' (that's the word I prefer to use), but it also gives one more space to be creative (and makes it easier for us from a certain perspective too). See also https://pagedout.institute/?page=faq.php#layout

gynvael··on Paged Out – experimental (one article == one page) free zine
yesenadam now I'm curious - what browser are you using? Sounds like something that might be used on AmigaOS or sth?
gynvael··on Paged Out – experimental (one article == one page) free zine
This is a good point, which I gave quite a lot of thought when trying to decide the format. But in the end I decided to go for paper-size to have a fix space limitation - sadly this has the consequence of not being readable on a phone.

While there are plans to make the PDF pages available as web pages (so you can link them), they would still have the same layout. But actually now that you mention it, there might be a way around that - I'll give it some more thinking :)

Hopefully there will be some podcast recordings of some articles btw - that would make it easier to "read" while in motion / having only a phone at hand.

gynvael··on Paged Out – experimental (one article == one page) free zine
Uhm, that's actually not true at all - if you enter the main page of the website, the very fist sentence says:

`Paged Out! is a new experimental (one article == one page) free magazine about programming (especially programming tricks!), hacking, security hacking, retro computers, modern computers, electronics, demoscene, and other similar topics.`

EDIT: DevOpsiarz on our discord pointed out to me that you might mean things like excerpts from articles, "screenshots" of the zine, etc - i.e. typical marketing content one might find on a magazine's website. In that case you're right - I admit I'm bad at marketing. I'll try to make some changes based on feedback - thanks!

gynvael··on A better zip bomb
It's an interesting point. For classical ZIPs I actually disagree that it's needed. And then again I do agree for some other potential compression algorithms :)

In case of ZIPs: an implementation can look through the Central Directory index of files and sum up "uncompressed size" fields of all the files, and then check the sum vs the set limits - no prior decompression is needed (this is neither CPU intensive nor requires a lot of memory allocations).

The obvious "gotcha" here is that the "uncompressed size" might be declared low, while the actual data inside the compressed stream might be much higher - this is detectable only when trying to decompress, so it would seem we would fall into your idea (memory allocation / CPU counters). But that actually is not needed, as all good decompression libraries have functions to "decompress at most N bytes" - so the implementation just uses the previously declared "uncompressed size" as the limit, and therefore guarantees that the actual total decompressed size is within the checked (in previous step) total limit.

That said, I do recognize that some decompression algorithms might have possible inputs which get really CPU intensive even for a single byte, though that's not the case for typical "DEFLATE"-using ZIPs (i.e. you probably might structure the decompression stream in a way that does a lot of cache misses, but that's about it).

For non-DEFLATE compression YMMV and your method comes to mind as a decent solution.

gynvael··on A better zip bomb
No. This ZIP bomb workings rely on two important facts:

1. ZIP archive has multiple files.

2. ZIP is an "index+pointers" based format (meaning the Central Directory index of archive files is basically a table of pointers - or rather offsets - telling where to look for data inside the file).

Thanks to these two properties David could create a very clever compressed stream that could be (partially) re-used by multiple files inside the archive.

While one could argue that PNGs do meet the first criteria (multiple compressed separate blocks - vide https://www.w3.org/TR/PNG/#10CompressionOtherUses - do note that multiple IDATs make a single compressed stream, so one has to use these other separate blocks like iTXt, iCCP or zTXt; YMMV for animated PNGs extensions), it certainly doesn't meet the second one - it's a block/chunk format (and by definition blocks are unable to overlap).

One note here is that in case of a faulty block/chunk format parser implementation - one with integer signess/overflow problems related to block size - one might be able to pull an overlapping block trick (see Bug 2 in https://gynvael.coldwind.pl/?id=533 for an example in a different file format).

← PreviousPage 3 of 3