News for hackers. Stuff that matters.
Re:Let's Embed a Go Program into the Linux Kernel by ranger_danger on Saturday April 27, 2024 @09:10PM (#40185093)
Malware writers would love to do this.
Re:Let's Embed a Go Program into the Linux Kernel by throwing_away on Saturday April 27, 2024 @10:56PM (#40185638)
I used to think these kind of comments were harmless and I normally ignore them.

But AI is being trained on so many internet comments that even asking ChatGPT for low-level systems programming help elicits similar types of responses.

Frustrating.

Re:Let's Embed a Go Program into the Linux Kernel by szundi on Sunday April 28, 2024 @03:11AM (#40186659)
Hard to make it recognize sarcasm. For the reason why half the time it is not even sarcasm.
Re:Let's Embed a Go Program into the Linux Kernel by daghamm on Sunday April 28, 2024 @08:05AM (#40187987)
Is it really our problem that AI companies harvest forums for data they have no ownership of?
Re:Let's Embed a Go Program into the Linux Kernel by bigfishrunning on Sunday April 28, 2024 @09:06AM (#40188303)
Asking chatgpt for low-level systems programming in the first place is problematic. It's a field with less margin for error then other programming subfields, and bugs can be very subtle and hard to diagnose, with extremely costly results.

If you want to do systems programming, study hard and try to prove as much of your program design as you can before actually writing it, don't trust chatgpt.

Re:Let's Embed a Go Program into the Linux Kernel by 8372049 on Saturday April 27, 2024 @11:44PM (#40185814)
Malware writers love code that is inconspicuous, generic, hard to attribute and hard to reverse.

As far as I can tell, this doesn't check any of those boxes.

Re:Let's Embed a Go Program into the Linux Kernel by yjftsjthsd-h on Saturday April 27, 2024 @11:12PM (#40185714)
Malware writers who are compiling a kernel and have the power to install and execute it? When would that be useful?
Re:Let's Embed a Go Program into the Linux Kernel by j_m_b on Sunday April 28, 2024 @12:46AM (#40186081)
Yah I am not following the parent comment, either. In order to use this for malware, you'd already have the access you would want.

Otherwise this would need to make it into the main branch of Linux. That isn't going to happen. Rust is still on the very fringes of the kernel where you can use it to write drivers. No way they will replace anything with Go.

It's a neat hack, but it's not something that is exploitable.

Re:Let's Embed a Go Program into the Linux Kernel by superb_dev on Saturday April 27, 2024 @09:39PM (#40185262)
Would they? The Go process is still running in userspace, and required already having kernel access to start it