Better HN
topnewbestaskshowjobs
Log inSign up

LinuxBender

57,650 karma · joined Jun 16, 2015 (11y ago) · 19,241 submissions

I am not for everyone. To ignore me in uBlock Origin, add to "My filters":

   news.ycombinator.com##tr.athing.comtr:has(a.hnuser):has-text(/\bLinuxBender\b/)
For HN usage questions see https://github.com/minimaxir/hacker-news-undocumented for HN tips (not my repo)

    (\_/)
    (='.'=)
    (")_(")
Submissions

comment 3y ago · link · parent

I intentionally excluded that part of the story as 4chan will always empower racism and politically incorrect topics for the purpose of getting people spun up. This is just a new twist but there will be others when they exhaust everything Bing's AI can do or when Microsoft tunes their prompt filters to block them. I expect edgelord and rage-baiting posts from [0-9]chan. I would not expect this of Microsoft however, at least not for long.

comment 3y ago · link · parent

They should be careful. Certain organizations do not like competition in propaganda creation. Or at very least I could see Ms. Swift trying to take down their threads or domain.

4233.

Apple fixes overheating problems and 0-day security flaw with iOS 17.0.3 update(arstechnica.com ↗)

1 points · by LinuxBender · 3y ago · discuss

4234.

Microsoft introduces AI meddling to your files with Copilot in OneDrive(theregister.com ↗)

115 points · by Bender · 3y ago · 104 comments

4235.

'Gay furry hackers' brag of second NATO break-in, steal and leak more data(theregister.com ↗)

12 points · by LinuxBender · 3y ago · 2 comments

4236.

Nukes, schmukes – fuel cells could power future datacenters(theregister.com ↗)

1 points · by LinuxBender · 3y ago · 1 comment

comment 3y ago · link · parent

I am not a developer so perhaps I have a very side-lined and jaded view from my past work experience. I don't think it's as simple as replacing x in y years, rather I think it's more about specific organizations and probably a big factor may be product managers in specific organizations. Some just want to get x working and out the door so they can check off a list and move onto the next thing. They might be fine with sub-standard code as that may be their exact standard. Not naming names but you all know of some. In my opinion people in those orgs should be devoting some brain cycles to finding a better place to work that will challenge their skills and provide real growth opportunities.

On the other hand I still see massive oceans of CVE's out there. So clearly LLMs/AGI's/Whatever have not fixed all of the human induced bugs and that should be the easiest things for super smart AI to fix I think. That suggests to me it has not caught up to humans. When I see all the CVE's closed out as [FIXED] or [FIXED FOREVER, HACK ME BRO, JUST TRY IT] then perhaps I might be concerned for developers. Yes I expect those theoretical AGI's to get snarky in git commit comments.

comment 3y ago · link · parent

+1 I have the yucateca on (all the things) every morning.

comment 3y ago · link · parent

It's common in restricted environments. Egress for 80/443 allowed and DNS must use local recursive DNS servers. Those internal DNS servers probably pass through a few SIEM and other security devices and are permitted out, usually to minimize data exfiltration. Though in those cases 80 and 443 are often using a MITM proxy as well for deep packet inspection. There are both commercial and open source MITM proxies. Fans of HTTP/3 and QUIC would not like most of the MITM proxies as they would negotiate a specific protocol with the destination server and it may not involve QUIC.

comment 3y ago · link · parent

That is useful for the initial bootstrapping but should be updated or at least validated a few times a year. If package maintainers are updating it a few times a year that works too.

comment 3y ago · link · parent

Looks like a fun project. If you are looking for another way to slow down your connection then play around with tc's netem delays [1] You may have to make two sets of rules, one for your interface and then you may need to make an ifb interface as well depending on your cabling setup to also slow inbound traffic. netem can give you fine grained controls over added latency.

[1] - https://man7.org/linux/man-pages/man8/tc-netem.8.html

4242.

Apple Warns of Newly Exploited iOS 17 Kernel Zero-Day(securityweek.com ↗)

14 points · by LinuxBender · 3y ago · 3 comments

4243.

Qualcomm Patches 3 Zero-Days Reported by Google(securityweek.com ↗)

2 points · by LinuxBender · 3y ago · discuss

4244.

Typosquatting campaign on NPM platform leverages open-source tools(scmagazine.com ↗)

2 points · by LinuxBender · 3y ago · discuss

comment 3y ago · link · parent

That is a good write-up on Paul's comments. I think he has an account here on HN. I recall discussing similar concerns here on HN when the protocol was first being discussed but I think most of my concerns were largely ignored. People were enamored by the idea of DoH but I see it as exacerbating a few problems.

It does not really address the issue of privacy unless one is only making DNS requests and not doing anything with said DNS results, as encrypted SNI is still not widely adopted. I guess I would call that cart before the horse. It does not prevent an abusive ISP from blocking access to a site as they can just block all the DoH resolvers or just NXDOMAIN the canary domain which also turns it off by default on most browsers. The bigger issue to me is that it doubles the number of organizations that can track behavior. Now my ISP gets this data and so does Cloudflare if I am the type to leave things default as most people are and they know it. CF may not wish to block something but should they receive a court order from any country they do business in then most people will lose access to something. That could be a future phase we have not yet reached due to mass adoption not reaching a set goal at this time. This is also a one-stop-shop for law enforcement to gather browsing data vs. having to issue a court order to each ISP.

Some people mention it protects against rogue nations but they are by far the last people that DoH would be useful for. Rogue / bad / totalitarian nations will just null route anything they suspect to be a DNS servers not in their control and will extract people from their homes to re-educate them. In a way I can see DoH as being a risk to people in such situations. Meaning they could be accused of bypassing some state level control and may not even realize they were.

In my opinion DoH/DoT should have been highly customizable in a GUI before it was ever implemented and default-off, default opt-out settings and instead if the browser or ideally the OS recognizes it is in a shared WiFi then maybe prompt the person to temporarily enable DoH. That's another issue, it's in the browser and not the OS. So the browser gets protection but nothing else does at least for the last few years. That is coming soon to some operating systems. Curious if they make it obvious what DNS partnership is in place.

comment 3y ago · link · parent

Edit: my bad you said you talk to the root servers directly. Not sure how to delete comments

It's still a valid question. You are right, one has to bootstrap the root servers. There are a few ways to do this. Assuming one had working DNS server at some point in the past they can

    dig @e.root-servers.net +nocookie +tries=4 +retry=4 +time=8 . ns | grep -Ev "^;|^$" > /etc/unbound/named_hints.tmp # sanity check this
and then do sanity checks on the output prior to loading it as hints in Unbound DNS. The 3K or so root servers are Anycast IP addresses and rarely change so this file will not be stagnant for a very long time thus making thumb drives a valid way to store and transfer this file.

comment 3y ago · link · parent

The heavy-handed solution looks like this:

    local-zone: "api.someapp.com." always_nxdomain
Then I reach out to them and say something to the effect of, "Hey, nice application/device you have there! In order for anyone on my network to utilize this app/device the DNS would need to be put back into your DNS servers and removed from the API records." Of course they will laugh at me but that is fine given that 100% of the internet and internet connected devices are entirely optional for me. It is unlikely that a statistically significant number of people would use this heavy handed approach. Or perhaps I am OK with their API method and make use of their API that bypasses DNS. This probably depends on if this is malicious or not. i.e. serving ads or malware

Another heavy-handed option would be to force all traffic through a MITM proxy which I have done in the past. Any device that can't have my CA cert loaded would be a paperweight and thus returned to Amazon with less than 5 stars and a review that details the DNS implementation which most customers would not care about or understand but my fellow cranky network admins may find useful. If it's a website then I would just not use it. Some businesses take this approach. There are both commercial and open source solutions for this. Look for Squid SSL-Bump MITM proxy if one is curious. This requires bypasses for domains still using public key pinning which is an insignificant number of them. Most have moved away from HPKP due to the induced fragility and risks.

There are other methods but they come with security implications such as decompiling applications, shimming something into it or pre-loading libraries to do the same thing but this usually requires rooting a device and potentially compromising security as the vendor signing may be removed. I'm sure some of the mobile developers here have more elegant and secure methods.

I doubt many would do any of this of course, but you asked.

comment 3y ago · link · parent

Interesting, thank you!

You're quite welcome!

I wonder how long this will actually remain possible, given that with DoH it now seems entirely feasible for websites to provide their own application-level DNS resolver?

For me, forever. Applications can not bypass my DNS unless they are hard coding IP addresses in the application. Windows Update does have some hard coded IP addresses it can fall back on.

It is often said that DoH can't be blocked because in theory it can be hosted on any generic CDN IP pool but to my knowledge this has never been the case. It's quite the opposite, most DoH/DoT providers try to use vanity IP addresses. I null route them and NXDOMAIN the canary domain use-application-dns.net which is entirely optional but a nice gesture to applications to behave. Some vendor may decide one day to host their own DoH/DoT servers but I suspect I would learn about them. I would likely just avoid buying/using that device/application.

Perhaps some day a DoH provider may be so bold as to use a generic CDN pool and I will have to address that issue when it arises. I suspect this would be more challenging for the provider as the app/device will need a way to discover this pool DNS name, HTTP headers, API calls, etc... unless they hard code IP's. Either way I could dynamically null route them.

comment 3y ago · link · parent

I prefer to use my own server as I can optimize cache hit ratios for the things I request. This makes the internet perceptibly faster for me and others on my network. I can also pull statistics from my server whereas I would have to beg someone at the ISP for that data as a one-off request. This also gives me the option to block domain names used for dark patterns or outright malevolent behavior. I also have control over the upper and lower limits of cache and I can flush to cache if a website is still relying upon DNS failover vs BGP Anycast but I have not run into that for about a decade.

Speaking of stats, I can also see what IoT/Cell devices are requesting to keep an eye on their behavior and look for interesting patterns of DNS requests.

I have honestly never used the ISP DNS servers so I don't know what their performance is like. It's just muscle memory for me to set up my own home Linux router to be a DNS server. I highly doubt they could top the performance of Unbound and cron-jobs that request commonly used records on an hourly basis. I do know that my performance is better than talking to the DoH/DoT servers on the internet. The cached record response time is in microseconds vs 23ms for CF and non cached response time is generally between 50ms and 70ms vs 80ms to 160ms for CF not-cached.

Another nifty option in Unbound is to cache the "Infrastructure" records and to "Keep Probing" multiple nodes. This combines into a nice balance of speed and resilience especially if someones name server is having a moment but their status page is green.

    unbound-control dump_infra|wc -l
    1235
These numbers are thrown off a bit by my cron jobs that are requesting things that I am not visiting all the time and when the authoritative record is sub 3600 seconds. They are requested hourly. Some of the government domains in my cron job seem to be throwing off the curve, I will reach out to them.

    total.num.cachehits=20949
    total.num.cachemiss=8010
    total.num.prefetch=753
    total.recursion.time.median=0.0698958

comment 3y ago · link · parent

you better believe the State whom they are hacking is interested in whether their act just reached the magic threshold to lawfully drop a missile on them.

Absolutely. I should have added that as well. Well meaning hacktivists may or may not be aware of or in denial about the risks they are taking on.

comment 3y ago · link · parent

They might consider setting airplane mode or powering it off when not in use.

comment 3y ago · link · parent

Do you use something besides 8.8.8.8 or 1.1.1.1?

99% of the time I just talk directly to the root servers from my home network and pre-cache the most popular places I visit. Unbound also supports DoH but most distributions of Linux do not enable that compile time flag in their Unbound package build and I have long since stopped compiling things as most distributions finally started using the right security options in their builds. I also have DoT running at home which the cell phone figured out on it's own.

I keep DoT Unbound DNS running on several VPS providers that also talk directly to the root servers just in case. Useful for cell phones. My ISP is a tiny community ISP and would never filter any results and DNS privacy is just one tiny piece of browsing habits. Until encrypted SNI is fully adopted by all SSL libraries and applications they can still see where I browse unless I am using my own Tinc VPNs or SSH tunneling.

4253.

Big Brother is coming to a workplace near you and privacy regulator wants a word(theregister.com ↗)

3 points · by LinuxBender · 3y ago · discuss

4254.

Trio of TorchServe flaws means PyTorch users need an urgent upgrade(theregister.com ↗)

2 points · by LinuxBender · 3y ago · discuss

4255.

They’ve begun: Attacks exploiting vulnerability with maximum 10 severity rating(arstechnica.com ↗)

2 points · by LinuxBender · 3y ago · discuss

4256.

EV restomod highlights the joys and flaws of the classic MGB(arstechnica.com ↗)

1 points · by LinuxBender · 3y ago · discuss

comment 3y ago · link · parent

Perhaps this will be an unpopular opinion amongst the lawful good, but the only rules that apply to hackers in a meaningful manor during wartime or most times are these: What a person can do and what a person can't do. [1]

Hackers engaging in warfare are not likely interested in laws. People responsible for securing things and protecting people should keep that in mind. Anyone engaging in warfare is effectively an enemy combatant in the eyes of their opponents regardless of being civilian or soldier.

[1] - https://www.youtube.com/watch?v=Wxi-IUnCN_8 [video][1 min]

4258.

Did a Premature Obituary Inspire the Nobel Prize? (2016)(history.com ↗)

1 points · by LinuxBender · 3y ago · discuss

comment 3y ago · link · parent

I figured it was so you can identify the user who ran the command in an audit, instead of everyone just appear as "root"

This goal can still be performed if auditd is enabled. The transition from non-root to root is tracked with the right rules in place. In my opinion it is best to rely on auditd and immutable after being tested rules as there are many ways to elevate privileges and many ways to improperly configure or bypass sudo. Auditd has a plugin to log directly to syslog and/or forwarded to ELK, Splunk or other tools. Auditd is also important when applications are exploited and someone then uses a privilege escalation vulnerability otherwise the person will just run it again after the machine/VM/container is re-imaged. Sudo was never intended to be a security control as much as it was to give a non sysadmin the ability to restart something or launch an on-demand process that required root or other accounts despite people using it in their documented controls. Many people will disagree with me on this as has been the case since the inception of sudo.

One caveat being auditd with the most useful rules in place can get rather noisy and more to the point, costly in terms of storage and/or Splunk license. It comes down to the priorities of an organization or business.

1
141142143
642