Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. OpenJev(openjev.com ↗)
    76comments
  2. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    4comments
  3. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    114comments
  4. Jemalloc 5.4.0(github.com/jemalloc ↗)
    50comments
  5. The scourge of x86 emulation(fex-emu.com ↗)
    33comments
  6. Astra for Law(openai.com ↗)
    594comments
  7. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    138comments
  8. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    234comments
  9. Replacing Pull Requests with Delta(zed.dev ↗)
    11comments
  10. Qwen 3.8 Omni Flash(qwen.ai ↗)
    84comments
  11. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    170comments
  12. Wax motor(wikipedia.org ↗)
    73comments
  13. When the fractional part of a float fixes your shader(crocidb.com ↗)
    4comments
  14. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    234comments
  15. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    42comments
  16. Dr Julius Neubronner's Miniature Pigeon Camera(publicdomainreview.org ↗)
    discuss
  17. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    13comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    120comments
  19. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    159comments
  20. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    2comments
  21. Google illegally retains customer data,and I am taking legal action against them(medium.com/istokovicsgyorgy79 ↗)
    discuss
  22. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    25comments
  23. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    29comments
  24. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    62comments
  25. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    45comments
  26. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  27. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    374comments
  28. The most important product decision is what you don't build(liamnugent.me ↗)
    39comments
  29. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    119comments
  30. CrowdSec Source Code Leak(crowdsec.net ↗)
    49comments

From VNC to reverse shell

140 pointsby 8y agoblog.benjojo.co.uk
9 comments
8y agoHN ↗

If author is reading here, there's a typo: "While looked for the code repository so I could fix it," is missing a word between "While looked"

8y agoHN ↗

In this case what I would recommend is to put the entire server off the internet, on a separate network segment where it can only talk to a proxy for VNC & web sockets or whatever is needed to make the functionality work.

That way even if the machine does get rooted, it's very unlikely that any damage can be done (it would have to then try and compromise the proxy - all over VNC because you can't even get a reverse shell yet - just to be able to gain unrestricted outbound network access).

8y agoHN ↗

The service being offered is a VM which can let people do nostalgia trips.. including running IE6 on windows 98.

It would be much less fun if the server didn't have network access.

8y agoHN ↗

Once again, the world of security is complex and surprise features can often be fatal

This. And for me, as an application developer, who is now (willingly) ushered into being a DevOps engineer on the side, it is scary that the tools in the DevOps world are so easily exposing me to security risks, whereas a seemingly much smaller set of best practices on the application side seemed to have been fine when that was all there was to my world.

8y agoHN ↗

There's a wider question about who should really be responsbile for all these systems? Would you be happy to have an extra layer of seniority above you that looks after complex systems which you just consume? Would you be happy for them to be paid more than you? Do you think you can actually find these people?

8y agoHN ↗

In my book, the biggest difference between a sysop/devops guy, and an application developer is a broad scope vs a deep scope.

So, as a developer with an application with a simple internal security model, yeah. There's going to be a couple of guidelines, and those will setup a pretty hard surface for that application. For our internal application, well. That security model is hell - I don't understand it and try to avoid it. And we got some picky enterprise customers, that's where the simple guidelines don't work anymore. :)

On the operations side, you can impact each application less, but you have so much more stuff to individually deal with in a quantitative sense. For our SaaS clusters we have to secure 15 - 20 different applications. And for a lot of these applications, we're the one and only line of security - you just have to operate a mysql/postgresql database properly, these systems are pretty secure on their own.

And that's just data security. How many developers do think about backups or disaster recovery for all of this mess. Not saying this is bad - this isn't a job for developers, because it's a lot of work. It's mostly a point against the notion of NoOps.

8y agoHN ↗

Just remember that NoOps isn't actually no operations. That's the cargo cult version of NoOps. Instead it's outsourcing operations and relying that the outsource vendors operations team will do a better and more accountable job than any internal team you could build.

So, a database service instead of a locally managed database and a reliance on the service vendor to back things up, keep the code up to date and manage reliability. That's not a bad choice but you still want someone with the judgement to evaluate vendor claims, performance, exceptions and the like.

8y agoHN ↗

There is an increasing demand for people (and practices) to secure the entire DevOps space. Not only in tools, but throughout the very culture.

It is hard. I recommend looking into the ~newly named concept of SecDevOps - at its core it is about applying the engineering mentality into securing, hardening and enhancing the entire development-operations cycle. Lot of it is obvious. Even more of it is flat out boring. Practically none of it is new.

In resilient systems, the gold standard people seem to aim for is chaos engineering: systems that behave correctly in the face of random failures, with the resilience exercised frequently. Well done security adds an additional aspect - that systems also behave correctly in the face of maliciously introduced inputs and/or failures.

8y agoHN ↗

I wonder if this works at kvm vps providers like Digital Ocean or Vultr. Or the smaller hosting providers with a solusvm and whmcs setup...