News for hackers. Stuff that matters.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by p-e-w on Tuesday January 02, 2024 @01:25AM (#38838770)
For what looks at first glance to be a potentially impactful development, this post and the "encode.su" one linked from it are extremely sparse on details.

Where is the source code? A detailed description of what the codec actually does? References to relevant publications?

All I see are two mystery Windows binaries, hosted on a forum I've never heard about. The fact that "encode.su" uses the world's most notorious domain extension doesn't inspire confidence, to put it mildly.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by lifthrasiir on Tuesday January 02, 2024 @02:10AM (#38838999)
> The fact that "encode.su" uses the world's most notorious domain extension doesn't inspire confidence, to put it mildly.

Encode.su (formerly encode.ru) is indeed the most known forum dedicated for data compression in general. So much that many if not most notable data compression projects posted to HN are often first advertised to that forum first (for example, Zstandard [1]).

[1] https://encode.su/threads/2119-Zstandard

Re:New Ultra Fast Lossless Audio Codec (HALAC) by RockRobotRock on Tuesday January 02, 2024 @04:20AM (#38839720)
Really? Tearing down the OP because of the TLD the forum uses? That's just lame.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by userbinator on Tuesday January 02, 2024 @01:37AM (#38838853)
The fact that "encode.su" uses the world's most notorious domain extension doesn't inspire confidence, to put it mildly.

The leaders in data compression and information theory are all from the former Soviet Union, so that's no cause for concern.

I think Andrey Markov started it all.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by brnt on Tuesday January 02, 2024 @01:33AM (#38838821)
Hydrogenaudio is well known in this area and many new prototype codecs are announced there first. Also, the lack of source control and Windows-only binaries are very much congruent to the style of development there. See it as your confrontation with a new world, because small it is not!

And later, you will learn to understand the depth of the contribution that the ffmpeg project provides :)

Re:New Ultra Fast Lossless Audio Codec (HALAC) by p-e-w on Tuesday January 02, 2024 @01:38AM (#38838854)
So people just download .exe files that they see in those forum posts and run them on their machines?

New world indeed...

Re:New Ultra Fast Lossless Audio Codec (HALAC) by userbinator on Tuesday January 02, 2024 @01:47AM (#38838899)
Yes, and they've been doing so for decades.

Step outside your corporate-paranoia filter-bubble and there's a whole world out there.

They're portable binaries less than 100KB, and I don't see anything suspicious in them either (not that I was expecting to). No obfuscation, no references to network APIs, etc.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by p-e-w on Tuesday January 02, 2024 @01:57AM (#38838941)
Yeah, I too was using the web in the late 90s. I remember countless programming and "hacking" forums where .exes were shared, and I downloaded and ran anything and everything that had a download link.

It was a fun time, and I do harbor some nostalgia for it. But I can't imagine going back.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by 0xDEADFED5 on Tuesday January 02, 2024 @02:39AM (#38839138)
it was okay back then though, because the cracked copy of NOD32 on your system would totally protect you =)
Re:New Ultra Fast Lossless Audio Codec (HALAC) by mxmilkiib on Tuesday January 02, 2024 @02:31AM (#38839093)
Corporate? That's not a sound way to describe the totality of the world of programmers that lean towards free/open and beyond.

Sure, closed-source communities exist and have for a long age, but many folk have grown beyond the ethos or tradition of closed releases for reasons like, IDK, competitive individualism for clout or potential code quality shame that AFAICT drive such corners of the software world, especially at the level of freeware, not just for business. It's certainly a new world for younger people who skipped the era when that was more prevalent.

If people don't like corporate, there are newer source available licence options that folk to the left of free/open have been advocating more recently.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by piecerough on Tuesday January 02, 2024 @01:57AM (#38838935)
Tell us more about "I don't aee anything suspicious". How exactly do you know it's not a binary that hashes all your files using a key and asks for btc to revert?
Re:New Ultra Fast Lossless Audio Codec (HALAC) by userbinator on Tuesday January 02, 2024 @02:20AM (#38839041)
Open in hex/text editor, scroll through and look for anything suspicious like network, crypto, obfuscated sections (major red flag), strange strings, etc. The #1 most reliable sign of malware is if it's unusually large and packed/obfuscated, but this isn't.

The guy even has his full name and contact info in there.

This is harmless.

If you don't trust me you could upload to an online malware multiscanner (which tends to invite false positives, but better than nothing).

Re:New Ultra Fast Lossless Audio Codec (HALAC) by p-e-w on Tuesday January 02, 2024 @02:32AM (#38839102)
It's not about whether this particular announcement, with these particular executables, is trustworthy or not.

It's about the whole process of regularly downloading and running executables uploaded by individuals to a BBS-type forum being unimaginable in most other parts of the software world, and violating every security "best practice" written about in the past 30 years.

I know that this is how things were once done everywhere. But that was a long time ago.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by Dalewyn on Tuesday January 02, 2024 @03:18AM (#38839354)
Are we even in the same universe?

The vast majority of the world still downloads and runs executables uploaded by individuals, albeit perhaps not on a bulletin board or forum (most of those have been killed and replaced by social media).

Re:New Ultra Fast Lossless Audio Codec (HALAC) by wokwokwok on Tuesday January 02, 2024 @04:11AM (#38839682)
This argument comes up reasonably regularly.

No, the majority of the world does not download and run binaries from non-reputable sources.

The distinction between reputable and non-reputable varies, but broadly easily spoofable user uploaded content falls into the non-reputable.

Most people download software from trust worthy websites like the official chrome website.

Indeed, the fact that people are continually scammed by this sort of attack is why Apple now refuses to run unsigned binaries by default.

To pretend nothing is wrong here is like pretending JavaScript supply chain attacks don’t exist because you don’t want them to exist.

…and yet. They do exist; wanting it not to be true does not make it so.

Likewise, downloading and running arbitrary binaries from a forum is naive.

You simply want nothing bad to happen.

That does not mean nothing bad will actually happen.

Even if you trust the authors of the posts, how reputable is the forum itself? Are the binary hashes posted? (No, they aren’t).

> I'm new in this forum

^ does not inspire confidence.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by HakanAbbas on Tuesday January 02, 2024 @04:52AM (#38839931)
Yes, I'm new in hydrogenaud.io. However, I have been active since 2018 in "encode.su".

This year, "3rd Global Data Compression(gdcc.tech)" organized by Huawei and Barcelona Autonoma University was held. In this competition, I have the world 3rd place in the "Professional Task 6 - Ultra Fast" category(JABBAR). And I spent only 2 weeks of the 5-month competition process for this degree.

We can only share and test such a specific work in specific environments.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by userbinator on Tuesday January 02, 2024 @07:23AM (#38840892)
You are simply toeing the line of corporate propaganda, that says people must always submit to centralised authority instead of exercising their own judgement.

That is what is leading us to dystopia.

We are not "pretending", we are simply stating that the magnitude of risk is absolutely tiny.

Insecurity is freedom. Don't let them take away the latter in the name of security.

"There is nothing to fear but fear itself."

Re:New Ultra Fast Lossless Audio Codec (HALAC) by x86a on Tuesday January 02, 2024 @09:03AM (#38841646)
take the L
Re:New Ultra Fast Lossless Audio Codec (HALAC) by bigfishrunning on Tuesday January 02, 2024 @11:32AM (#38843483)
How is sharing source "submitting to a centralized authority"

I don't run any binaries if i can help it

Re:New Ultra Fast Lossless Audio Codec (HALAC) by wokwokwok on Wednesday January 03, 2024 @03:11AM (#38851825)
you think the risk is tiny, but:

A) the risk exists.

B) you’ve taken no steps to verify that it’s tiny

C) you’re trusting new users just as much as well established users

D) your community is not as obscure and tiny as you imagine when it floats to the top of HN.

It’s not corporate dictatorship to say “there are bad actors out there looking to take advantage of naive users”; it’s reality.

You can refuse to acknowledge that reality, that’s your choice.

However, it’s probably irresponsible to encourage other people to do so.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by lifthrasiir on Tuesday January 02, 2024 @02:58AM (#38839240)
It is still possible that the author's machine had a virus and the executable got infected without the author's knowledge. I too trust the author in that matter, but that's irrelevant here.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by userbinator on Tuesday January 02, 2024 @07:14AM (#38840837)
That's precisely why you look at the binary and not the source...
Re:New Ultra Fast Lossless Audio Codec (HALAC) by Eisenstein on Tuesday January 02, 2024 @02:45AM (#38839176)
A lot of malware just waits for a while and the opens another file (or a pastebin) and downloads the payload from somewhere else. A small executable without anything dodgy in it means nothing.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by userbinator on Tuesday January 02, 2024 @07:16AM (#38840843)
without anything dodgy

I said there weren't any network APIs either (whose presence in an application like this would definitely be a red flag.)

If you say their presence can be obfuscated, then let it be known that obfuscation is also very obvious in a binary and another red flag.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by nneonneo on Tuesday January 02, 2024 @01:29PM (#38845043)
FWIW: I support your position and wish that there was more trust on the internet. I’m happy that some of these old-school forums still have that level of trust.

But, from a technical perspective, I think it’s naive to assume that you can easily spot obfuscation that’s trying to stay hidden. If I understood your analysis model (open in a hex viewer and scroll around), then it is quite trivial to just add a few normal-looking functions that happen do things like manually load socket DLLs and make network requests without the API names being visible.

I could even, say, hide the code or data in a table of opaque filter constants or lookup tables, and it wouldn’t have to be much: you can implement a very dumb PE parser and function loader in a couple dozen lines of C, and an IP address target is just 4 bytes which can be smuggled into anything. Open up a socket, read everything from it into an RWX buffer, jump to it and voila, a programmable backdoor. Make the trigger something random so dynamic analysis doesn’t find it immediately.

The Underhanded C Code Contest demonstrates that even with source you can hide malicious behaviour; how are you going to detect malicious behaviour in a binary that’s trying to evade manual detection?

Re:New Ultra Fast Lossless Audio Codec (HALAC) by peddling-brink on Tuesday January 02, 2024 @02:05AM (#38838974)
There are libraries that would be useful for cryptography that you wouldn’t likely need in an audio codec. If the binary imports those libraries, it may be visible with a bit of prodding.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by p-e-w on Tuesday January 02, 2024 @02:08AM (#38838989)
Unless they are statically linked.

Or the binary uses executable compression.

Or obfuscated dynamic loading.

Or about a million other techniques that can thwart dependency analysis, and which have been well-known for decades.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by TylerE on Tuesday January 02, 2024 @02:11AM (#38839006)
And precense of those things is basically the first thing any malware heuristic looks at. Why are you so emphatically stating them as if they are news?
Re:New Ultra Fast Lossless Audio Codec (HALAC) by 0xDEADFED5 on Tuesday January 02, 2024 @02:19AM (#38839039)
i think they were just examples of how simply looking at imports isn't good enough, and it's true. on the plus side, by hitting HN there are more eyes on it and hopefully more consensus on how safe/interesting this is
Re:New Ultra Fast Lossless Audio Codec (HALAC) by dang on Wednesday January 03, 2024 @03:29PM (#38859399)
Hey, could you please edit out swipes and/or name-calling from your HN posts? This is in the site guidelines: https://news.ycombinator.com/newsguidelines.html.

Your comment would be just fine without the (first clause of the) second sentence.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by HakanAbbas on Tuesday January 02, 2024 @02:33AM (#38839108)
My goal is to try to do something practical just on data compression. I have neither knowledge nor experience about malicious software mentioned. You may be comfortable about this. https://www.linkedin.com/in/hakan-abbas-178b5852/
Re:New Ultra Fast Lossless Audio Codec (HALAC) by p-e-w on Tuesday January 02, 2024 @02:43AM (#38839163)
I was referring to the practice of downloading executables from such forums in general, not to your post specifically. I have no reason to suspect that this particular post contains any malware. But in most parts of the software world, Open Source has been the standard for experimental publications for a long, long time, and seeing a forum depart so strongly from that standard is certainly surprising, and does of course have security implications when this practice is used at scale.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by lifthrasiir on Tuesday January 02, 2024 @02:13AM (#38839015)
You can always use a sandbox if that's the most concern. A bigger issue is that, as like other established forums, enough many people don't know much about data compression and contribute to the noise.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by npteljes on Tuesday January 02, 2024 @09:03AM (#38841647)
That's an old world, for me. It's how the Windows software ecosystem worked and works to this day.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by matheusmoreira on Wednesday January 03, 2024 @07:28AM (#38853280)
There are open source developers out there who literally write installation instructions like these in their READMEs:

  curl http://example.com/script.sh | bash
Re:New Ultra Fast Lossless Audio Codec (HALAC) by p-e-w on Tuesday January 02, 2024 @01:35AM (#38838839)
Also, what does the High Availability in the name of the codec refer to?

I've searched the web and found not a single mention of "high availability" in the context of audio codecs. In fact, the top-ranked result was this very post, which doesn't explain what the term is intended to mean.

Re:New Ultra Fast Lossless Audio Codec (HALAC) by fmajid on Tuesday January 02, 2024 @02:22AM (#38839053)
Sounds like a retronym for the author’s initials :-)
Re:New Ultra Fast Lossless Audio Codec (HALAC) by HakanAbbas on Tuesday January 02, 2024 @02:41AM (#38839149)
Great detection :)
Re:New Ultra Fast Lossless Audio Codec (HALAC) by HakanAbbas on Tuesday January 02, 2024 @02:18AM (#38839037)
I wasn't really careful when making this naming. I just tried to make it a little different. I can't say that I'm successful in nomenclature.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by lifthrasiir on Tuesday January 02, 2024 @02:26AM (#38839071)
If you need some retronym, how about "highly astute ..." or "highly apt ..."?
Re:New Ultra Fast Lossless Audio Codec (HALAC) by HakanAbbas on Tuesday January 02, 2024 @02:43AM (#38839165)
I will evaluate them.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by layer8 on Tuesday January 02, 2024 @06:56AM (#38840706)
It uses less resources, so the resource retains higher availability?
Re:New Ultra Fast Lossless Audio Codec (HALAC) by HakanAbbas on Tuesday January 02, 2024 @07:33AM (#38840960)
HALAC and HALIC really consume very little memory. The process speed is high at the same rate. And they offer a reasonable compression rate. Therefore, they can be used at high level and different areas.
Re:New Ultra Fast Lossless Audio Codec (HALAC) by aingisni_del on Tuesday January 02, 2024 @08:06AM (#38841240)
>>>uses the world's most notorious domain extension doesn't inspire confidence, to put it mildly.

What does this mean? Why or how is this TLD the world’s most notorious?

Re:New Ultra Fast Lossless Audio Codec (HALAC) by throw0101d on Tuesday January 02, 2024 @08:16AM (#38841304)
> The .su TLD is known for usage by cybercriminals.[4][5][6]

* https://en.wikipedia.org/wiki/.su

I would think that ICANN/whomever would have mandated its retirement / de-orbit, but a special exception was asked for:

* https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Exceptional...

Re:New Ultra Fast Lossless Audio Codec (HALAC) by lifthrasiir on Wednesday January 03, 2024 @12:36AM (#38851114)
All three references are 10 years old (or only have a secondary reference that is 10 years old). More recent analyses give much more diverse set of TLDs---.ga, .tk, .us, .ru, .ml, .pw and so on [1]. In fact, at this point we should be much more concerned about .us than .su.

[1] https://www.interisle.net/PhishingLandscape2023.pdf#page=18