64
submitted 3 months ago by BrikoX@lemmy.zip to c/technology@lemmy.zip

Malicious code planted in xz Utils has been circulating for more than a month.

you are viewing a single comment's thread
view the rest of the comments
[-] atkion@sh.itjust.works 25 points 3 months ago
[-] bleistift2@feddit.de 10 points 3 months ago* (last edited 3 months ago)

That’s it! Thank you!

Transcription:

Downloaded a virus for Linux lately and unpacked it.

Tried to run as root, didn’t work.

Googled for 2 hours, found out that instead of /usr/local/bin the virus unpacked to /usr/bin for which the user malware doesn’t have any write permissions, therefore the virus couldn’t create a process file.

Found patched .configure and .make files on some Chinese forum, recompiled and rerun it.

The virus said it needs the library cmalw-lib-2.0. Turns out cmalw-lib-2.0 is shipped with CentOS but not with Ubuntu. Googled for hours again and found an instruction to build a .deb package from source.

The virus finally started, wrote some logs, made a core dump and crashed. After 1 hour of going through the logs I discovered the virus assumed it was running on ext4 and called into its disk encryption API. Under btrfs this API is deprecated. The kernel noticed and made this partition read-only.

Opened the sources, grep’ed the Bitcoin wallet and set $5 out of pity.

this post was submitted on 30 Mar 2024
64 points (100.0% liked)

Technology

932 readers
300 users here now

Which posts fit here?

Anything that is at least tangentially connected to the technology, social media platforms, informational technologies and tech policy.


Rules

1. English onlyTitle and associated content has to be in English.
2. Use original linkPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
3. Respectful communicationAll communication has to be respectful of differing opinions, viewpoints, and experiences.
4. InclusivityEveryone is welcome here regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
5. Ad hominem attacksAny kind of personal attacks are expressly forbidden. If you can't argue your position without attacking a person's character, you already lost the argument.
6. Off-topic tangentsStay on topic. Keep it relevant.
7. Instance rules may applyIf something is not covered by community rules, but are against lemmy.zip instance rules, they will be enforced.


Companion communities

!globalnews@lemmy.zip
!interestingshare@lemmy.zip


Icon attribution | Banner attribution

founded 7 months ago
MODERATORS