PSA/HOWTO: Avoid fake mkv torrents. Avoid getting hacked
PSA/HOWTO: Avoid fake mkv torrents. Avoid getting hacked
There are some torrrents showing up with .lnk
extension (ex: movie.mp3.lnk, tvshow.mkv.lnk...) and automated software (Sonarr, Radarr, Lidarr, qBittorrent RSS Downloader) could pick those torrents (but not import).
These (fake) torrents include a .lnk
file that executes a script on your Windows
HOW TO exclude from download on qBittorrent.
-
Go to Options -> Downloads
-
Enable "Exclude file names"
-
Add patterns:
(one by line)
*.mp4.lnk
*.mp3.lnk
*.mkv.lnk
*.torrent.lnk
*.zipx
*.scr
Or exclude all together: *.lnk
Example on VirusTotal https://www.virustotal.com/gui/file/e74f64df6ebaf3a1b6e3f42591eb6e87d2ac2828eb5a99fd8d3d82c140137fc9/detection
ReversalHatchery @beehaw.org thanks Microsoft for hiding extensions by default!
166 2 Replywizardbeard @lemmy.dbzer0.com
Yes, but also whoever set the defaults for the *arr tools. Why would any filename with extra shit past the extensions you're looking for be considered an acceptable result?
Tack $ on the end of your regex, for fucks sake.
47 0 ReplyAmerican_Jesus @lemm.ee OP
Is not regex
https://github.com/qbittorrent/qBittorrent/pull/17106Examples
*.exe: filter '.exe' file extension.
readme.txt: filter exact file name.
?.txt: filter 'a.txt', 'b.txt' but not 'aa.txt'.
readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'10 1 Reply
ad_on_is @lemm.ee Microsoft: De nada, amigo! Oh... here's an ad, btw... and...did you enable Recall already?
23 1 ReplyReversalHatchery @beehaw.org or rather: oh silly you were so clumsy that you disabled recall by accident again. let us be so kind to re-enable it for you
11 0 ReplyBoomkop3 @reddthat.com Have you tried setting your region to Europe? it's not an issue here
4 0 Reply
Aatube @kbin.melroy.org
I use Arch btw
101 6 ReplyCmdrShepard42 @lemm.ee What if it executes and install Windows 11 on your machine!?
89 0 Replyblack0ut @pawb.social
Oh lord please have mercy! Blacklisting the file extension right now!
42 0 ReplyTrent @lemmy.ml That would be the very worst malware. I mean both the malware that installed it and win11...
24 0 ReplyAatube @kbin.melroy.org
ackshually the proprietary .lnk shortcut format can only be run on windows 🤓
11 3 Reply
American_Jesus @lemm.ee OP
Me too, but don't want to download GBs of malware and bandwidth
27 0 ReplyLiveLM @lemmy.zip Weak.
Harbor disaster. Seed the malware. Spread the fruits of chaos amongst the unworthy. Be complicit in their downfall. Feed on their agony ^^/s19 1 Replycatloaf @lemm.ee .lnk files are less than 4kb
2 1 Reply
boredsquirrel @slrpnk.net
Not using Windows helps a ton :)
49 2 ReplyAmerican_Jesus @lemm.ee OP
Sonarr will still pick the release and download GBs of malware, and if you don't notice your download directly is filled with GBs of fake torrents
22 0 Reply
Bobby Turkalino @lemmy.yachts
Yet another reminder that piracy on Linux is the way because new files don’t have execute permissions by default
32 1 ReplyAmerican_Jesus @lemm.ee OP
On many distros will open with WINE by default, not a big deal, you can just delete
~/.wine
. If it does anything12 0 Replykevincox @lemmy.ml
Wine will mount your root folder as a Windows drive by default. So if the malware is scanning all connected drives and encrypting/uploading them you still have a problem.
1 0 Reply
N0x0n @lemmy.ml For those interested, John Hammond did a video a few months ago about
.lnk
extension (and other 16 hidden extensions on Windows).He doesn't go to much or to deep into the subject, but you get a general view how this could be exploitable.
21 0 Replywoodgen @lemm.ee that executes a script on your Windows.
I don't have a Windows.
22 2 Replynotastatist @feddit.org Then just draw on your wall.
7 1 Reply
Kuvwert @lemm.ee Could you just add *.lnk?
21 3 Replycan @sh.itjust.works That's mentioned near the bottom of the post.
11 0 Reply
Lojcs @lemm.ee How is the link file executing malware? Can you put any shell script as the target?
5 0 ReplyLordeMostarda @lemmy.eco.br
I am pretty sure a link file can open cmd/powershell with parameters to execute commands
12 0 Replymontar @lemmy.ml yep! I've found out browsing hacking/spamming site and i've found something too good to be true, it downloaded archive nested inside other archive and in it was silngle .lnk file leading to "the resource". Peeking inside i've found powershell executing base64 (or base32?) encoded script (it's got commandline option for that. if you want to ask wtf ask microsoft, and tell me), it dl'd some exe from some site and ran it, site was down alredy.
4 0 Reply
wizardbeard @lemmy.dbzer0.com
You can put the script itself as the link. Shortcut to: powershell -command "Write-Host 'Gonna pwn your shit'"
9 0 Reply
LostXOR @fedia.io Also make sure you have file extensions enabled in Explorer, it makes it waaay harder for something like this to work.
4 0 ReplyXianshi @lemm.ee Nice one OP. Just had sonar pick up one of these today named like a proper release of a trusted group. Sonarr didn't move it from qbit but better to not DL it in the first place even though its a linux box
2 0 ReplyNexy @lemmy.sdf.org
Nice to know! Thank you!
3 1 ReplyDoucheBagMcSwag @lemmy.dbzer0.com Is that the malware that is undetectable because it runs purely in memory? The name is escaping me
1 0 Replymassive_bereavement @fedia.io
Probably this will help as well at the arr end: https://forums.sonarr.tv/t/automatic-blacklist-malware/37822
1 0 Reply