Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Security Operating Systems Privacy Software

CIA Malware Can Switch Clean Files With Malware When You Download Them Via SMB (bleepingcomputer.com) 62

An anonymous reader quotes a report from Bleeping Computer: "After taking last week off, WikiLeaks came back today and released documentation on another CIA cyber weapon. Codenamed Pandemic, this is a tool that targets computers with shared folders, from where users download files via SMB. The way Pandemic works is quite ingenious and original, and something not seen before in any other malware strain. According to a leaked CIA manual, Pandemic is installed on target machines as a "file system filter driver." This driver's function is to listen to SMB traffic and detect attempts from other users to download shared files from the infected computer. Pandemic will intercept this SMB request and answer on behalf of the infected computer. Instead of the legitimate file, Pandemic will deliver a malware-infected file instead. According to the CIA manual, Pandemic can replace up to 20 legitimate files at a time, with a maximum size of 800MB per file, and only takes 15 seconds to install. Support is included for replacing both 32-bit and 64-bit files. The tool was specifically developed to replace executable files, especially those hosted on enterprise networks via shared folders. The role of this cyber weapon is to infect corporate file sharing servers and deliver a malicious executable to other persons on the network, hence the tool's name of Pandemic.
This discussion has been archived. No new comments can be posted.

CIA Malware Can Switch Clean Files With Malware When You Download Them Via SMB

Comments Filter:
  • by Anonymous Coward
    ...But can it get into Madagascar after they've closed their port?!
  • by Dr. Evil ( 3501 ) on Saturday June 03, 2017 @08:16AM (#54541719)

    Not every permutation and combination of malware not seen before is "ingenious".

    File system filter driver dynamically installs malware. Got it. Isn't this the kind of thing a file system filter driver is supposed to do? "filter can mean log, observe, modify...." https://docs.microsoft.com/en-us/windows-hardware/drivers/ifs/what-is-a-file-system-filter-driver- [microsoft.com]

    Handy tool, but unless I'm missing something, "ingenious" is way overstated. 25 years ago, this might have been novel.

    • I'm still trying to figure out how it only supports 20 files max. I am suspecting variable names like "filename1", "filename2", etc.
    • Who "downloads" with SMB. SMB is a distributed file system like NFS isn't it. transferring files on an intranet is not what we conventionally mean by "download". The latter usually implies the importation of file from the internet not a local net. It's misleading to conflate these as one usually has quite different procedures in the security onion for treating these two cases.

      • by PPH ( 736903 )

        To be more precise, both SMB and NFS are protocols that support networked file systems. When you open a file on a remote system, you don't necessarily move a copy of the whole thing to your local system an once. Likewise, when you complete your task and close the file, the only remaining copy is on the remote (server) system.

        If your task consists of opening a remote share and explicitly copying the file to a location on your system, then yes, you 'downloaded' the file.

      • by dissy ( 172727 )

        Who "downloads" with SMB.

        Well, they do clearly state this malware is not intended to catch criminals in any way, it's primarily for enterprise networks to be targeted.

        And downloading via SMB is one of many parts of an Active Directory based Windows network used in everything from small business up to full enterprises.

        When a client PC joined to a domain is booted and windows starts, windows will download all of the Group Policy files from your domain controller(s) before applying the "computer" based settings.
        Upon login by a user it

      • by AHuxley ( 892839 )
        People who have talked their way into a secure part of a remote office or site with some device to connect direct into a very secure regional or national network.
        A usb stick is connected, the secure remote network then uploads a file to the main office or building a city away on trust.
        Physical security was more trusted than any firewall.
    • by PPH ( 736903 )

      I suspect that I may have seen this behavior elsewhere.

      A friend of mine has a SOHO LAN. One day, she was complaining that she couldn't reach any shared folders on one of her employees PCs (who was off on vacation). So, I looked at it for her. Logged onto the suspect system and it couldn't see the office network either. Poked around for a few seconds and then said to myself, "Try the universal Windows repair procedure. Reboot." Still nothing. The "Network" browser was empty. Next, test the actual networking

    • by gweihir ( 88907 )

      It is neither. The idea is plain obvious. Anybody competent (no, that does not include the average "programmer") can implement this in a few weeks.

    • I like a file-system (or even the disk-driver) which will provide a modified source file (like a .c file) only to the compiler but not to other applications [like editors, version controlled system etc]. This way you can create an executable which has your exploit/backdoor but a human scanning the source-code can't see it. eg say you insert a special login/password to the login.c file which allows you a back-door. [it's similar to the legend that original C compiler writer had infact put in such a backdoor]
  • by Freischutz ( 4776131 ) on Saturday June 03, 2017 @08:43AM (#54541829)
    SMB sucks ass? and now it's revealed to be seriously insecure as well?... now there's a couple of newsflashes that will shock the entire tech industry to it's core
  • by Cmdln Daco ( 1183119 ) on Saturday June 03, 2017 @09:16AM (#54541927)

    They are sure making NFS look like a more attractive file sharing protocol than SMB these days.

    (though I have seen some pretty shocking NFS exploits)

    • by Anonymous Coward

      and they haven't leaked the tools for non smb yet...

    • by Anonymous Coward

      You could write something like this for NFS easily. This is the file in the linux kernel you would have to edit: http://elixir.free-electrons.com/linux/latest/source/fs/nfsd/vfs.c

      Since these functions are not exported it is not very clean to patch them with another module (this patch module would be kernel dependent, or would need some logic for finding the entry points). I would recommend just compiling a custom nfsd module and loading that.

      Alternatively, you can use the VFS api to install something betwee

    • This requires admin access on the computer, to install drivers. A more normal (and easier) way to accomplish the same thing would be to infect all the files on the share.
  • What the hell is a "32 bit file"? What the hell is a "64 bit file"? A file is a sequence of goddam bytes.

    • by Anonymous Coward

      A 32-bit file is obviously a file four bytes in length. 64-bit files take eight bytes.

      Anyway, I believe they meant s/file/executable/

There are two ways to write error-free programs; only the third one works.

Working...