Better HN
topnewbestaskshowjobs
Log inSign up

hyper_reality

1,239 karma · joined May 3, 2017 (9y ago) · 137 submissions

Co-founder of CryptoHack.org

[ my public key: https://keybase.io/hyperreality; my proof: https://keybase.io/hyperreality/sigs/UP-XDCQUL1Z4L1T9KfF14x0Jpy_WxPs5UEyAPkIKPRs ]

Submissions

comment 6y ago · link · parent

It's a good article but there are much easier ways to use binwalk than presented here.

In the first example he uses the "--signature" and "--term" flags, these are unnecessary. Running binwalk with no flags will produce the same output.

To extract part of the file, he also uses dd with the "skip" and "count" options painfully calculated. You can just use:

binwalk --dd='.*' img.bin

and it will extract everything that matches the pattern - the pattern above will extract all found files.

comment 6y ago · link · parent

I for one am glad they released a factual account and timeline of what went wrong. I don't see it as an attempt to minimize their actions. They even admit that they have no clear explanation of the original issue, when they could easily have committed to a stronger theory to make themselves look more competent. Overall I'd much rather read this than a massaged PR apology that keeps us in the dark of what actually happened.

comment 6y ago · link · parent

The Panama Papers are a good nomination, the "creepy" part being how quickly it all blew over. The story was squashed by the rich and powerful, especially in China where it was wiped off the Chinese internet. Business continued as usual with top politicians and their families worldwide evading the laws of their own nations.

comment 7y ago · link · parent

It seems like they tried, but no blockchain expert would go near it because it was so clearly a Ponzi-type scheme. Just look at the website: http://web.archive.org/web/20150302021347/http://www.onecoin...

comment 7y ago · link · parent

Yes, NIST has an ongoing standardisation process for Post-Quantum cryptography: https://csrc.nist.gov/Projects/post-quantum-cryptography/Pos...

With the 1TB keysizes, what you are thinking of is Berstein et al.'s tongue in cheek paper "Post-quantum RSA": https://cr.yp.to/papers/pqrsa-20170419.pdf

comment 7y ago · link · parent

To be clearer, this is a retrospective of the DEF CON CTF, not the entire conference.

I enjoyed the writeup of the Pew Pew challenge. That sort of challenge is exactly what high-level CTFs need, making them more fun and visual and accessible to a wider audience.

comment 7y ago · link · parent

When using Tor it is important to be indistinguishable from other Tor users. If you can be fingerprinted by user agent, screen size, fonts, add-ons, or numerous other indicators, then the anonymity set of your browsing behaviour essentially becomes just you.

That's why the Tor browser is setup to be as homogeneous as possible. Using Tor within Brave does not provide the privacy that users might expect, and Brave even point that out in their website. Hiding your IP is a good start alongside blocking known trackers, but it's only one component of properly avoiding tracking online.

Mozilla is investigating Tor integration: https://blog.torproject.org/mozilla-research-call-tune-tor-i...

comment 7y ago · link · parent

Statistics Done Wrong has a great chapter on this: https://www.statisticsdonewrong.com/regression.html

comment 7y ago · link · parent

I found a benchmark that suggests the performance gap between a pipe and input redirection is insignificant for most workloads, but there would indeed start to be a difference for the exact case discussed here (grepping a large file): http://oletange.blogspot.com/2013/10/useless-use-of-cat.html

Thanks for your tip, it's clearly the best of both worlds for this purpose.

comment 7y ago · link · parent

It annoys me whenever somebody brings this up. People do this because it's easier to modify commands at the end of your prompt than near the beginning. Especially in this case, where the grandparent wants to quickly switch between benchmarking grep, ripgrep etc.

Not useless at all.

comment 7y ago · link · parent

Another reminder that the advice doled out to teens to "follow your passion" when selecting a major and a future career, is rather irresponsible. Cal Newport's "So Good They Can't Ignore You" is a great read on this topic: https://commoncog.com/blog/so-good-they-cant-ignore-you/

comment 7y ago · link · parent

I've used Z3 a lot for CTF challenges, but in my day-to-day work have never encountered any problems that it would be useful for. I'm interested to know how people have used it in the course of their work?

comment 7y ago · link · parent

Fun story containing a valuable lesson for developers thinking about going into consulting, especially for larger companies.

comment 7y ago · link · parent

Of all the Voynich theories, I find those suggesting it was produced through a mechanistic method to be most persuasive. Several statistical properties of the words just don't match up with any natural languages, and there is a large amount of repetition of individual words with small variations, but hardly any repeated phrases. One recent idea is that successive words were copied from early ones, with small rearrangements of the glyphs https://arxiv.org/pdf/1407.6639.pdf . As such, the text gains the characteristic of looking like a language, when in fact it is meaningless gibberish. Possibly this was done as way of fooling somebody rich to buy it; at some point it came into the possession of Rudolf II, Holy Roman Emperor, and was clearly a very desirable artifact even in the 17th century.

comment 7y ago · link · parent

I just dug around a bit to find the likely source of the "crypto magic pixie dust" quote, and I think it's Gary McGraw. He uses that phrase a lot, and a search of "crypto fairy dust" in Google Books brings up books by him dating as far back as 1999.

comment 7y ago · link · parent

Discussion last week on HN with more info about what 996ICU is: https://news.ycombinator.com/item?id=19498179

comment 7y ago · link · parent

This is a great introduction to fuzzing, I love the section about minimising the corpus of fuzzed inputs and turning that into a test suite. That's something that should be done with all parsing software!

comment 7y ago · link · parent

I'm disappointed that the article didn't explore another perspective on Milton's Satan, which is that the "Devil's party" is deliberately cast as more appealing than the virtuous one. Milton's point is that sin is exciting and enticing, while being principled takes hard work and dedication - as in the parable of the wide and narrow paths to salvation. Satan's rhetoric about democracy is insincere since what he really wants is tyranny and chaos, and the poem emphasises how humans need the aptitude to be able to recognise and reject such false language.

Of course Romantic poets brought a different, more familiar set of values to their reading of Paradise Lost, but I think it is more enlightening to understand the poem within the world in which it was written, and appreciate the depth of Milton's commitment to Puritan and Republican ideals even if aspects of them seem alien to the modern reader.

comment 7y ago · link · parent

Managed to get over 120. Because the red terminator can't cross the edges, but you can, the key is to use the edges as much as possible and to avoid going through the center unless you are lined up to get the food.

comment 7y ago · link · parent

It's good to hear that Thunderbird is getting more resources. One UI bug that I didn't see mentioned in the post though, and that shouldn't exist in 2019, is that Thunderbird loses the scroll position of a tab when changing tabs. I hope this will get fixed soon.

comment 8y ago · link · parent

I also had a similar idea a few years ago for a CTF challenge, coming at it from a "modern Caesar cipher" perspective: https://laurencetennant.com/unicode-shift-cipher

Also a crude "modern Bacon cipher" using Punycode characters as the B's and ASCII-range characters as the A's.

comment 8y ago · link · parent

The idea is quite fascinating and 'out there'. However, the authors themselves cover several clear drawbacks on the second page:

> We assume that the attacker has access to a compiled (binary) version of the program but not its source code. Although this is a severe limitation (it means that our technique cannot be used to protect open source software), it is a necessary one. Developers are unlikely to be willing to work with source code that has had extra bugs added to it, and more importantly future changes to the code may cause previously non-exploitable bugs to become exploitable. Hence we see our system as useful primarily as an extra stage in the build process, adding non-exploitable bugs.

I wonder if running software through this additional build step would also cause headaches for developers debugging and triaging real bugs in the software.

comment 8y ago · link · parent

Getting information out of one re-use is not difficult using the crib-dragging method, if you have a good idea about what the contents of either message might be [1].

[1] http://travisdazell.blogspot.com/2012/11/many-time-pad-attac...

comment 8y ago · link · parent

The article doesn't go into much detail nor even explore all the possible etymologies. My copy of the Oxford English Dictionary suggests that the meaning of 'quiz' may be associated with the word 'inquisitive'.

Another theory is that 'quiz' derived from Latin "qui es?" meaning "who are you", the first question in oral exams in Latin in old grammar schools (https://www.etymonline.com/word/quiz)

It's quite interesting how many equally plausible theories can be made to explain certain words.

comment 8y ago · link · parent

I think the piece was aiming for maximum irony. Also note: "In a 2001 study two scholars in Canada (LINK) showed that comprehension declines as the number of hyperlinks in a document increases."

comment 8y ago · link · parent

I was more confused by the parameter being named 'num' before having the String function called on it and its length taken - when in fact 'num' should be a binary string when it's passed into the function. But maybe I've been spoiled by strong types.

comment 8y ago · link · parent

The theory sounds convincing, but if you actually look at countries with the highest rates of young males to females, few, if any, support it (https://en.wikipedia.org/wiki/List_of_countries_by_sex_ratio). China, Portugal, South Korea, Kuwait... these are all countries with far more young men than women, and all are stable.

I know that a country with a high male/female ratio is not necessarily the same thing as a country experiencing a "bulge in the rates of young, unmarried men", but I still couldn't find evidence to backup the claim that it would lead to crime and war. Here is a study which looked at 20 other studies of the number of males and violence and could not find a conclusive trend: https://www.sciencedirect.com/science/article/pii/S016953471...

comment 8y ago · link · parent

Not exactly an object 'inside' the kernel, but I was recently caught out by the fact that /proc/net/snmp doesn't have much to do with the SNMP protocol. Rather it tracks socket statistics for IP, ICMP, TCP, and UDP, and is one of the sources of information for the netstat utility.

comment 8y ago · link · parent

All due respect to Rob Pike, but I think David Batley nails it in his response:

> tl;dr: they replaced a cryptic, undocumented implementation, which starts an entire bash shell just so it can exit, and replaced it by a fast ELF binary, which works like all the others.

/bin/true as an empty file may seem like an elegant implementation and lesson in UNIX, but it's actually slower, and I'd much rather have standardisation and documentation across all system commands.

12345