HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wietze

no profile record

Submissions

Trust Me, I'm a Shortcut

wietzebeukema.nl
3 points·by wietze·vor 3 Monaten·0 comments

How Dot Files Became Hidden Files

glenda.0x46.net
4 points·by wietze·letztes Jahr·1 comments

Bypassing Detections with Command-Line Obfuscation

wietzebeukema.nl
3 points·by wietze·letztes Jahr·0 comments

Why bother with argv[0]?

wietzebeukema.nl
248 points·by wietze·vor 2 Jahren·259 comments

Lacework to Be Acquired by Fortinet

fortinet.com
3 points·by wietze·vor 2 Jahren·0 comments

comments

wietze
·vor 2 Jahren·discuss
From a living-of-the-land perspective, having to symlink/hardlink/alias a command is much noisier - and thus easier to detect. So although you are right in saying it wouldn't completely solve the problem, making it a system responsibility would still significantly reduce the scope for abuse.
wietze
·vor 2 Jahren·discuss
For busybox/toybox the argv[0] thing is great, and seems to be the prime example of why argv[0] shouldn't go - yet it is a bit of an anomaly in how argv[0] is used.

If there really is a need for having one executable that comprises multiple commands, is `busybox whoami` instead of `whoami` so much more effort? To me, that would make more sense in terms of what is going on; aliases could be used if one-word commands are preferred. In most non busybox contexts, argv[0] is just an unnecessary addition that, as the linked article shows, can introduce weirdness.

It's clear from the comments there are still many who think argv[0] is a good thing, which is great - I'm glad the post sparked this debate.
wietze
·vor 2 Jahren·discuss
Although "eager" isn't called out, a recent study of academic publications shows that the use of LLMs can be measured through word frequency analysis [1], finding certain words are disproportionally represented:

> We study vocabulary changes in 14 million PubMed abstracts from 2010–2024, and show how the appearance of LLMs led to an abrupt increase in the frequency of certain style words.

1: https://arxiv.org/html/2406.07016v1