News for hackers. Stuff that matters.

shincert

Re:Ask HN: How have you successfully simplified your life? on Monday December 11, 2017 @07:17PM (#15902034)
I've done the same recently. Haven't seen colors on my phone for a few weeks now.
Re:Ask HN: How have you successfully simplified your life? on Monday December 11, 2017 @07:16PM (#15902028)
Only one meal a day? What do you mean?
Re:Ask HN: Secure DNS resolution in a system on Monday December 04, 2017 @09:30PM (#15849312)
> Basically, unless everything is 100% DNSSEC, there's an opportunity for tampering. Fortunately, though, OCSP responses are signed, as we mentioned earlier. If the OCSP response comes with a valid signature, it can be trusted -- whether DNSSEC is in use or not. A response with an invalid signature (for whatever reason) obviously cannot be trusted. Let me ask you that first question again with this in mind: will running your own DNS server increase the security any? Will it increase the amount of trust you have in the validity of the certificates presented to you by clients?

That was very enlightening, thank you for your help.

I can see it won't improve my trust on the OCSP responses or CRLs, but would it not be desirable to encrypt as much traffic (i.e. DNS queries) as I can in an effort to prohibit a potential attacker from employing traffic analysis techniques with the goal to learn something? This hypothetical scenario doesn't seem so farfetched to me.

Eventually, my encrypted DNS query will be forwarded to a DNS resolver that doesn't employ encryption and it will be in the clear, but how would the attacker know where to look next? If the original DNS query is encrypted, an attacker sniffing the network will not be able to know which DNS resolver the query was forwarded to, right? If so then he can't follow up on that and I've successfully disabled it from learning what the DNS query was about.

In short, I am not trying to increase my trust in the exchanges, but rather hide them as much as possible for the sake of obscurity. Is this reasonable?

Re:Ask HN: Secure DNS resolution in a system on Sunday December 03, 2017 @08:09PM (#15840730)
> Assuming the RRs for the domains you are querying are signed, that's (IMO) probably all you need to do. While OCSP happens over plain-text HTTP, the responses are also signed so that you can verify them.

I will make sure that's the case. What I didn't explain yet is that I am doing this for a university project and I am fishing for extra points. So I was trying to justify running my own DNS server. Is it reasonable?

> I don't think there's much more you can really do (as the DNS queries/responses will travel over the Internet "in the clear" -- and, thus, subject to tampering/modification).

I really should have done more research on this, but I imagined I could encrypt the DNS queries themselves and forward them to a public recursive DNS server. Could I not use DNSCRYPT or DNS-over-TLS for this purpose?

> Also, an attacker could block your HTTP requests (for CRL downloads/OCSP queries). How does your application react when it doesn't get a response? "Fail open" or "fail closed"?

Assuming the server has at least downloaded an initial CRL, I could always fallback to that. I haven't played much with this yet, but I think that's the big advantage of a CRL versus an OCSP query, no?

I guess I should "fail closed" to cover all holes but then I'm basically letting the attacker DoS the server. What is best?

Ask HN: Secure DNS resolution in a system

I am working on a system with a typical client-server architecture. In this scenario the server has to validate a client's certificate, including checking if it has been revoked. To do this the server has to send an HTTP request to download CRLs or make an OCSP query. Naturally, it has to resolve the domain via DNS.I want to secure the DNS resolution process. Intuitively I think I should not be...

( Read More... | 4 comments | on HN )

Ask HN: How to assess a software's popularity and good quality?

I am researching indicators of a software's popularity and good qualities. How do you determine that some piece of software is good and popular?Think in terms of how you might decide which framework you should use for a long-term project. I don't want to bias you too much, but here are some examples (which may not always be applicable). Feel free to go a bit outside the box.- great...

( Read More... | no comments | 2 points | on HN )
Re:Predict the future with Machine Learning on Saturday August 12, 2017 @09:57AM (#14997898)
Why? Is it really that bad of an analogy for an absolute beginner?
Re:Shoelace.css – A back to the basics CSS starter kit on Tuesday August 01, 2017 @10:28AM (#14900957)
How is it much easier to maintain?
Re:Shoelace.css – A back to the basics CSS starter kit on Tuesday August 01, 2017 @08:52AM (#14900097)
Irrelevant for a framework that wants to be future-proof and bleeding edge.
Re:Shoelace.css – A back to the basics CSS starter kit on Tuesday August 01, 2017 @07:16AM (#14899503)
Why is not using flexbox a bad thing? It recommends the new CSS Grid instead.
Re:Shoelace.css – A back to the basics CSS starter kit on Tuesday August 01, 2017 @07:15AM (#14899496)
https://github.com/claviska/shoelace-css/pull/10

This PR will reduce the size down to 18KB.

Ask HN: Best one liner to install bash script

I'm working on a bash script and I want to make available a simple one-liner that automatically downloads and runs the install script. I've seen many variations of this one-liner. For example oh-my-zsh usessh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"What's the best way to do it? Or the most simple/pure? Is there maybe a blog post...

( Read More... | 3 comments | 3 points | on HN )
You've just told the whole world. Not so hard anymore.

Ask HN: Why doesn't Slack have single sign in?

It really annoys me that I have to maintain an account per each Slack community. Honestly it has actually put me off from using Slack. It's too much work. And the increased internet footprint bothers me, I'd like to be able to instantly vanish from all Slack communities in one click.Single sign in seems like a no brainer to me. Why do they insist on new accounts?

( Read More... | 1 comment | 3 points | on HN )
Nice! Subscribed
Re:Ask HN: What are some small scripts you use daily? on Tuesday June 27, 2017 @09:34PM (#14651067)
How does it work?
Re:Ask HN: What are some small scripts you use daily? on Tuesday June 27, 2017 @09:29PM (#14651051)
I've installed it recently but some sites are hard. For example, I'd block YouTube in the blink of an eye, but what if I really need to look up a video tutorial or something in the middle of a work session?
Re:Ask HN: What are some small scripts you use daily? on Tuesday June 27, 2017 @09:23PM (#14651021)
I'm interested. Care to share?
Re:How to write a simple operating system on Sunday April 16, 2017 @04:09PM (#14127254)
Yeah the malware incident made it a no-go for me
Re:Ask HN: What are your favorite browser extensions? on Saturday April 08, 2017 @10:24AM (#14067047)
uBlock Origin

Privacy Badger

The Great Suspender

No History

HTTPS Everywhere

Refined Wikipedia

That was great!
Re:KeepassXC – A cross-platform community fork of KeepassX on Tuesday January 24, 2017 @07:38AM (#13470825)
That's cool. But if that's all this project is, couldn't they have just talked to the one maintainer and offer to help him and be on the team?
That's interesting. Are there any actual stack-based CPUs out there today?

Ask HN: How to improve vim productivity and workflow?

I only need my .bashrc and .vimrc with me on a UNIX machine to get around. It makes me feel all warm and fuzzy inside because it's so minimal and portable. I love it.But I have not mastered vim yet. In particular, going back and forth between files and directories is really cumbersome in larger, more complex projects. When time is critical in a project I just install Atom or something with a...

( Read More... | 6 comments | 8 points | on HN )
Re:The cryptopals crypto challenges on Sunday October 16, 2016 @08:53PM (#12722011)
Out of curiosity, what is this "babby's first web server" you speak of?
Re:Sanic – Python 3.5+ web server that's written to go fast on Saturday October 15, 2016 @05:49PM (#12715801)
I'm curious. Why is it meaningless? What would you measure?
Re:Hugo: A fast and modern static website engine on Sunday October 09, 2016 @07:44PM (#12674191)
Which static site generator is based on a 20 year old unmaintained Perl CGI script?

Older »