HNHacker News
TopNewBestAskShowJobs

peanut-walrus

979 karma · joined December 31, 2018

submissionscomments
peanut-walrus··on Threat actor abuses Cloudflare tunnels to deliver remote access trojans
The times where malicious software was served from a sketchy .ru domain or a naked IP address located at some bullet-proof hosting provider are long gone. The threat actors use the same infra as everyone else - GCP, AWS, Azure, Cloudflare, etc.

They also use the same VPNs for connecting to your machines as your grandparents do for watching Netflix.

The internet as a whole is slowly but steadily moving towards a model where IP addresses and domain names are not useful indicators for security. You can not block your users from visiting Cloudflare or AWS IP ranges and you can not block visitors to your site from major commercial VPN providers.

In addition, all the traffic is encrypted, name lookups are encrypted, so a network operator can not tell anything about what you are doing on the internet.

This is a good thing for multiple reasons. First, it improves privacy and anonymity for the internet users. Second, reducing the effectiveness of network security solutions will make us be able to phase out their usage, which makes the network dumb again and prevents ossification. And third, it forces us to tackle the underlying security issues, rather than supporting a whole industry of ineffective whack-a-mole.

peanut-walrus··on Google Distributed Cloud air-gapped appliance
It's for military applications so it's quite obviously green.
peanut-walrus··on CrowdStrike Update: Windows Bluescreen and Boot Loops
I feel we are at a point in the evolution of our digital society where relying on general purpose OS-s is just not an option when moving forward.
peanut-walrus··on CrowdStrike Update: Windows Bluescreen and Boot Loops
I think the enterprise software ecosystem currently is not really "all eggs in one basket", but rather you have a whole bunch of baskets, some of them you are not even aware of, some are full of eggs, some have grenades in them instead, some are buckets instead. All baskets are being constantly bombarded with a barrage of eggs from unknown sources, sometimes the eggs explode for inexplicable reasons. Oh yeah and sometimes the baskets themselves disintegrate all at once for no apparent reason.
peanut-walrus··on Up to 78M batteries will be discarded daily by 2025, researchers warn
Vapes are proven to be highly effective at getting people to quit smoking. All the lives saved are definitely a good reason for them to exist.

But yeah, disposable vapes are stupid.

peanut-walrus··on SSH as a Sudo Replacement
Not every user who uses sudo is admin or elevates to root.
peanut-walrus··on A New Kind Of Dance Science (combinatorics of social dancing)
Could someone explain what a hammerlock is and why it is significant? Searching just said it's a type of joint lock in wrestling which doesn't make sense to me in this context.

Then again, I have never danced.

peanut-walrus··on Phone cameras can take in more light than the human eye
You absolutely see star trails on iphone night mode photos when setting exposure to 10s or more. For aurora, 10s is way too much though, 1-3s seems right and is what the iphone allows to do when not on a stable surface or tripod.
peanut-walrus··on Show HN: Openkoda – Open–source, private, Salesforce alternative
The developer experience when trying to maintain a Python codebase the size of an average enterprise Java codebase is pretty...abysmal.
peanut-walrus··on The solar industrial revolution is the biggest investment opportunity in history
The solar output for Nordic countries during the winter is basically 0. Which is a massive problem, because winter is also when you need the most energy.

During the summer, Nordics are already at solar capacity with electricity prices often dropping negative.

So basically you are producing electricity when it is already abundant and making nothing from it and not producing anything when it is actually needed.

peanut-walrus··on BIMI and DMARC Can't Save You: The Overlooked DKIM Exploit
How often should the key be rotated? How is the rotation done? How are body and headers normalized? Which header determines who sent the email? How do you know the email was sent to you? Where do you store the on-path routing information?
peanut-walrus··on Proton Mail discloses user data leading to arrest in Spain
In this case an activist in the oppressive regime of...Spain?!

Opsec is hard and most activists in western countries don't take it seriously. It's not like we live in PRC or DPRK right?

Ironically, it is likely far harder for PRC or DPRK to get data from Proton than it is for Spanish police.

peanut-walrus··on Resistance Against Git Merge Hell (2015)
That poll shows exactly the problem with rebase workflows. 41% say they mostly rebase but 48% do not know that merge/rebase conflicts have swapped order of local/incoming changes. Granted, the percentages are exactly right that those 41% might not at all overlap with the 48% but how likely is that?

The reality is that most people work on their private branches, alone. In that case it makes almost no difference if you rebase or merge. In almost any other scenario, merging still works as expected, while rebasing without understanding git will almost definitely lead to losing work and spending an absurd amount of time resolving conflicts. Why would you want to inflict that on yourself? Just use the approach that always works instead.

Learning Git really isn't high on the priority list for most developers, as they know what they need to use to get stuff done. The complexity gets really high really fast, so it's quite understandable why most people treat Git like DNS or other infrastructure - it's there, I know the basics to get stuff done and if anything goes wrong I ask an expert to take a look. And guess what? There is NOTHING wrong with that.

peanut-walrus··on Resistance Against Git Merge Hell (2015)
You squash merge when stuff gets added to master (or any other shared/long-lived branch) and delete the development branch, nobody has absolutely any interest in what happened on your development branch. There you go, clean commit history if you care about that sort of thing.

Rebase workflows are awful and unintuitive. Leave the rebasing to the git wizards who actually know what they're doing, in no circumstances should this be part of your day-to-day work.

peanut-walrus··on Some Fritz!Box modems might have been hijacked
Hm, curious behavior on my Windows box: nslookup is indeed always applying all the search suffixes whenever I do a lookup, but if I just use the normal resolution process (for example running `ping www.google.com` etc), then the value of `HKLM\Software\Policies\Microsoft\Windows NT\DNSClient\AppendToMultiLabelName` is respected, which defaults to 0 since Vista.

So this shouldn't really be an issue for most people, but highlights once again that you should never ever use a domain in your infrastructure that you do not own or at the very least use one of the suffixes from https://www.rfc-editor.org/rfc/rfc6762#appendix-G

peanut-walrus··on Someone has been attempting to DDoS us for weeks and we do nothing
Literally the entire guiding principle for security architecture for the past decade or even more has been that "there is no such thing as an indestructible wall".
peanut-walrus··on The Linux kernel project becomes a CVE numbering authority
So because the cve system has a few problems that annoy the kernel developers they decided an appropriate response is to completely sabotage it?

Mature, you guys.

peanut-walrus··on Cars suck, man
Headlights are too bright in the US because US has ridiculous regulations when it comes to car headlights.

https://www.nbcnews.com/news/us-news/blinded-light-american-...

Come drive a BMW with laser headlights in Europe, you will be illuminated(!), it's absolutely amazing what modern headlights can do. https://www.youtube.com/watch?v=q_XEQ8n-R5M

peanut-walrus··on The music player you wish you had in the early 2000s
Looks like something you would order for $15 from aliexpress. Am I missing something about this?
peanut-walrus··on The Curse of Docker
How is writing those complicated scripts but in a dockerfile or docker-compose file any better?

Software written with docker in mind is easier to manage because it generally follows better design principles, such as separating configuration from state, being failure tolerant, treating the network as opaque, etc. This software would be easy to deploy without using docker as well.

If you're trying to deploy some complex piece of software which doesn't follow these principles, it's exactly as hard or even harder with docker. Unless you outsource the work to random people on the internet, but then you are not building production systems.

Containers are great for lots of things and containerization in general has forced developers to write better software, but there really isn't a lot of difference in difficulty in running that webapp in a container vs just running it on the machine directly.

peanut-walrus··on Privacy is priceless, but Signal is expensive
If you require global connectivity, managing hundreds of carrier APIs, contracts, etc seems like major overhead. Also, there are companies whose only purpose for existing is providing messaging, like Twilio, are they just...not doing this or do the carriers just not play ball? In that case, why would the carriers agree to sell to you at a discount?
peanut-walrus··on Privacy is priceless, but Signal is expensive
If SMS actually worked for this purpose, it would be acceptable. However, SMS provides no guarantees about: 1) If it actually gets delivered 2) If it is delivered to the intended recipient 3) 1 and 2 without anyone reading or tampering the message while in transit

Now, even if stars align, your SMS ends up on a route where nobody is mitm-ing or hijacking it, the telco systems work and it gets delivered, it is STILL not a guarantee of identity. It simply verifies that you have somehow got access to a particular phone number.

peanut-walrus··on How the Baltic states became the hub of crypto money laundering and fraud
You can and will quite literally go to jail if you tell the client why their account is getting frozen while it's a part of a money laundering or terrorism financing investigation.
peanut-walrus··on DKIM: Rotate and publish your keys
I can with almost 100% certainty tell you that none of the major providers use HSMs for their DKIM keys.
peanut-walrus··on If money rules the world, who rules money? (2008) [pdf]
No, all US dollars are not created by the Fed. In fact, most US dollars in circulation have not been created by the Fed, but rather by private institutions. You get a mortgage from your bank? That's brand new dollars, never seen before.
peanut-walrus··on Scammers can exploit email forwarding flaws to impersonate high-profile domains
Yes, they mention that Fastmail, GMX, Inbox.lv, and Pobox also allow per-user DMARC overrides, including overriding reject policy. But Microsoft is the only one of these using MFEF forwarding which enables the attack to be successful.

I suppose similar attack to the one in 5.1 would work against Fastmail, but the victim would be able to see the original envelope from to detect that the mail is spoofed.

peanut-walrus··on Scammers can exploit email forwarding flaws to impersonate high-profile domains
The attack works for spoofing email from domains that have DMARC configured with reject policy against receiving servers that validate DMARC and act correctly according to policy. Only requirement is that the domain the attacker is spoofing is using O365.

This is not a UX problem. This is a Microsoft problem.

peanut-walrus··on Scammers can exploit email forwarding flaws to impersonate high-profile domains
This works against domains that have DMARC configured properly. First attack works against any domain that is using O365, regardless of their DMARC settings.
peanut-walrus··on Scammers can exploit email forwarding flaws to impersonate high-profile domains
The problem here is that Department of State has set their DMARC policy correctly to reject and the victim is using a server that correctly checks the policy, so sender spoofing should not be possible.

However, the Outlook server in between launders the email by 1) not honoring the DMARC policy and 2) rewriting the email headers to originate from Department of State.

As DMARC requires that either SPF or DKIM alignment passes, the laundered email will pass the DMARC check on the victim's side who expects to be protected from this kind of spoofing.

Really the solution here should be an extension to DMARC where you can set a policy that BOTH SPF and DKIM checks need to pass and be aligned in order for the email to be delivered, rather than just one.

peanut-walrus··on Scammers can exploit email forwarding flaws to impersonate high-profile domains
I mean, yeah, I've been in that position, I get it for the poorly configured domains. However, if I set a DMARC policy for my domain to reject, I would expect at least Google and Microsoft who control something like 90% of the email market to respect that policy.

The realist in me realises that there is probably a non-negative number of domains out there with dmarc set to reject but failing absolutely all spf and dkim checks, but this should be their problem, not the receiver's.

← PreviousPage 5 of 7Next →