News for hackers. Stuff that matters.
Re:Windows 0-day was exploited by North Korea to install adv... by xeonmc on Saturday August 24, 2024 @01:35PM (#41339828)
transpile to rust with the original vulnerabilities intact?
Re:Windows 0-day was exploited by North Korea to install adv... by ec109685 on Saturday August 24, 2024 @03:22PM (#41340725)
Obviously not. With enough resources, engineers could do it, and it’s a constrained enough problem that AI likely could do so as well eventually.
Re:Windows 0-day was exploited by North Korea to install adv... by quohort on Saturday August 24, 2024 @03:39PM (#41340862)
the purpose of having engineers write software is that they can transparently prove that it works reliably, and they can be professionally held accountable and learn if it fails.

You're suggesting that reliability should be improved by being obfuscating the code through transpilation or by merit of being generated by a black box (LLM).

I really suspect that simply transpiling code to rust or ada or some other "safe" language largely wouldn't improve its security. The whole point of these "safe" languages is that they encourage safer practices by design, and that in porting the code to rust you have to restructure the program to conform to the new practices (as opposed to just directly re-implementing it).

I haven't seen a LLM that is reliably capable of logic/reasoning or can even reliably answer technical questions, much less synthesize source code that isn't some trivial modification of something it has been trained on. And it's not clear that future models will necessarily be capable of doing that.

Re:Windows 0-day was exploited by North Korea to install adv... by Ygg2 on Sunday August 25, 2024 @06:43AM (#41346274)
It will depend on use case. Remember that adage. Make it work, make it right, make it fast (in that order).

So first pass yes. Then you make refactor and see if tests are green. Rinse and repeat.