norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.6K
active users

#nim

0 posts0 participants0 posts today

Melting Pot of macOS Malware Adds Go to Crystal, Nim and Rust Variants

ReaderUpdate, a macOS malware loader platform active since 2020, has evolved to include variants written in Crystal, Nim, Rust, and now Go programming languages. Originally a compiled Python binary, the malware has been largely dormant until late 2024. The loader is capable of executing remote commands, potentially offering Pay-Per-Install or Malware-as-a-Service. It collects system information, creates persistence mechanisms, and communicates with command and control servers. The Go variant, less common than others, uses string obfuscation techniques to hinder analysis. While currently associated with adware delivery, the loader's capabilities pose a potential threat for more malicious payloads in the future.

Pulse ID: 67e41bedc264bcc69a9b8e20
Pulse Link: otx.alienvault.com/pulse/67e41
Pulse Author: AlienVault
Created: 2025-03-26 15:23:25

Be advised, this data is unverified and should be considered preliminary. Always do further verification.

LevelBlue Open Threat ExchangeLevelBlue - Open Threat ExchangeLearn about the latest cyber threats. Research, collaborate, and share threat intelligence in real time. Protect yourself and the community against today's emerging threats.
Replied to Charlie Balogh

@chainq OK, so you got 244 BYTES Hunk executable with this?
Holy hell, you don't need to seel it any longer, I already bought!

And the fact you can simply define OS calls as function calls just by passing LVOffsets and registers as params? Damn, I thought about doing similar thing with #Nim macros, but that's definitely more elegant than mine.

Also, it's not that bad, looks better than equivalent C counterpart, more signal, less noise.

Here are two screens (cropped for clarity).
The top is from #Amiga and the bottom is from #AtariST.

Both run from the same codebase in #Nim, yet the code is completely different. While I appreciate Amiga for its awesome hardware and capabilities, the AmigaOS API is... ugh, I can't find the English word to describe it. It's bad.

Yet, the ST/STe hardware is so basic it feels like they just glued DMA on 68000 SBC in a weekend. But their APIs? I wish it could swap places with AmigaOS somtimes.

For 2024, I solved Advent of Code in 25 different languages. Was a fun project, sometimes a bit (very) painful (*glances at Erlang and Zig*).

Code (bottom of post) and summary for each language:
blog.aschoch.ch/posts/aoc-2024

Keep in mind that I used most of these language for a few hours tops, so my judgement is very much subjective.

What's your favourite of the bunch?

blog.aschoch.chAdvent of Code 2024 – 25 Languages<!-- --> • Alexander Schoch's BlogI solved Advent of Code 2024 with 25 different programming languages

Please share! The first weekend of February we are organising a devroom at FOSDEM2025 on *Declarative and Minimalistic Computing* with talks on Lisp, Nim, Lua, Zig etc. Feel free to submit your own project! If you are uncertain ping us. For the submission system etc see libreplanet.org/wiki/FOSDEM202 @lisp_discussions #lisp #zig #lua #nim

libreplanet.orgFOSDEM2025-devroom-declarative-and-minimalistic-computing-cfp - LibrePlanet

Does anyone know if there is something for #Python that allows one to create stand-alone dependency-free executables a la #Nim? This would effectively solve some of the annoyance of using Python scripts that are meant to be portable.

Er...uh...should I just learn some Nim? I had considered learning Nim a while back, but was discouraged because I saw that one of the core devs was an arsehat.

What happens, when you join two paths in a #programming language when the second one is an absolute one?

join("foo", "/bar")
returns "foo/bar" or "/bar"?

The wonderful @meisterluk wrote a great article about that you might want to read: lukas-prokop.at/articles/2024-

I can not tell what version I'd actually prefer. There are situations where both versions would be "proper".

#Python #Golang #UNIX #POSIX #rust #C++ #CPP #Java #dotNet #Dart #Flutter #Dlang #TCL #Nim #FreePascal #PowerShell #zig

lukas-prokop.atLukas' weblog
Continued thread

The results were announced here (again in Hungarian):
hup.hu/comment/3046621#comment

BTW, the official winner was Zig, with Nim coming as second.

There were a few really creative ones, I liked the C# one in particular, that had precompiled x86_64 machine code in a byte array to provide an interrupt handler stub. Machine code like 1982 in C64 BASIC DATA lines, heck yeah! Right up my alley.

“It is unlikely that you'll write it from scratch or write a whole bunch of #Python code or anything like that," he said on stage during his GTC keynote Monday. "It is very likely that you assemble a team of AI." …

A new AI development Stack?

How do you instruct, verify, test, update, ship those teams of AI together? With a new nVidiaLang 🤣 Containers of LLM models querying business services against a databases to generate reports… what could possibly go wrong with AI glue code on newly developed virtualised containers?

#nVidia / #LLM / #AIStack / #NIM <theregister.com/2024/03/19/nvi>

The Register · Nvidia: Why write code when you can string together a couple chat bots?By Tobias Mann