Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #410256

Re: ransomware

From Don Y <blockedofcourse@foo.invalid>
Newsgroups sci.electronics.design
Subject Re: ransomware
Date 2016-05-02 11:25 -0700
Organization A noiseless patient Spider
Message-ID <ng85sn$ilq$1@dont-email.me> (permalink)
References <v54fibhbh1v5qpu4odnp35v0pb4lbfcfur@4ax.com>

Show all headers | View raw


On 5/2/2016 10:47 AM, John Larkin wrote:
>
> Getting ransomed sounds awful to me. Maybe somebody can answer these
> questions:
>
> If we have a bunch of servers on an internal natwork, presumably they
> could all be encrypted by bad guys.
>
> If an infected PC does not have write access to a server, can it
> encrypt files on it? I think not.

You speak of "write access" as if the only thing a "server" can do
is export file/printer shares.

A server can provide many services -- without exporting files/printers.
Malware can target those services to exploit bugs in those services
and gain a beachhead on the server.  Once there, it can do whatever the
leveraged exploit allows it.

There is also the potential attack vector of files "carried" onto the
machine and "examined" while there.  E.g., copy an infected *PDF* onto
the machine and "read" it (e.g., using a legitimate copy of Adobe) *on*
the machine (the PDF deploys its payload and has worked around any
defenses you may have had in place -- i.e., even if NOT connected to
the network; you've hand-carried the payload as the network would have)

> If a PC is on the network but is not configured to share its files,
> can its files be encrypted from the infected PC? Again, I think not.

See above.  Do you know which ports are open on all of your PC's?
(servers and non-servers, alike)  Do any of them ever have files
"introduced" to them by other means (e.g., sneakernet, email attachments,
etc.) and "examined" thereon?

> If not, we could have one PC that does frequent backups by reading the
> files on the servers, but is itself immune to being ransomed.

To "read" the files, the servers need to export those shares.  The
"client" has to be able to see them and the machine (netbios services).
Any means by which they can communicate is a POTENTIAL attack vector.
And, the more exposed to the outside world they are, the more vulnerable
to (e.g.) zero-day exploits -- things your AV hasn't yet figured out how
to protect against.

I have two archival layers:  my live repository and my archive.

The archive is my "vault".  All it does is know how to read and write
files.  No "applications" installed on it -- so, no bugs in those
applications that can be exploited by malicious payloads.  It exports
no services -- so you can't talk to it remotely, at your leisure,
and indefinitely!  It's "cold" 99+% of the time -- I fire it up when
I need to copy something off of it (or add something new) then shut
it down.  Think of it as checking out (copying) things from a library;
you take them out for the duration that you will need them.  If you
are only *referencing* them, then you can discard them when done (no
need to "update" the archive with something that hasn't been CHANGED!).
E.g., when creating a multimedia presentation, I may "check out" various
LARGE audio and video "libraries" (hundreds of gigabytes that I may not
want cluttering up a workstation when not needed) to assemble my
presentation; then DISCARD those copies when the presentation is complete.
Sort of like feeding optical media into a machine for the duration
that you'll need it.

I store hashes of all of the files in a database.  This allows the contents
of the archive to be routinely checked to ensure they are intact.  I.e.,
a process "walks" through the mounted filesystem (individual volumes can
be offline unless needed) and computes the current hash of each file and
compares it to the stored (location, filename, hash) to reassure me that
the file's contents are:  accessible and not altered.  If a discrepancy is
found, that database lets me find an alternate copy of the file so it can
be restored.

[What good is an archive if you don't KNOW that it is intact?]

My repository is the live version of the archive.  Things that I am working
on reside here and see frequent updates.  But, again, it just "reads and
writes files", no applications (other than the application that implements
the repository's functionality itself).  This minimizes the attack surface.

And, access to its contents are through the repository application.
I can't just access any old "file" like a regular exported file share.
Instead, I have to ask the repository application for the file, present
credentials indicating my authority to access/update it and wait for
it to deliver the file to me.

The "precious" portions of the archive are stored redundantly -- and on
different types of media.  So, I can rebuild it (painfully) if a total
catastrophic failure (house burns down).

The only place "windows" comes into play is on some of the workstations.
And, none of this stuff ever talks to the outside world (it's physically
impossible to do so).

It's a bit inconvenient.  But, fits my workstyle quite well (there aren't
multiple copies of me trying to share files with each other!)

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ransomware John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 10:47 -0700
  Re: ransomware Tim Wescott <seemywebsite@myfooter.really> - 2016-05-02 13:18 -0500
  Re: ransomware Don Y <blockedofcourse@foo.invalid> - 2016-05-02 11:25 -0700
  Re: ransomware dplatt@coop.radagast.org (Dave Platt) - 2016-05-02 11:59 -0700
    Re: ransomware Don Y <blockedofcourse@foo.invalid> - 2016-05-02 12:20 -0700
  Re: ransomware Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-02 16:29 -0400
  Re: ransomware Martin Riddle <martin_ridd@verizon.net> - 2016-05-02 16:36 -0400
  Re: ransomware OG <OG@NoSpam.com> - 2016-05-02 15:54 -0700
    Re: ransomware Don Y <blockedofcourse@foo.invalid> - 2016-05-02 21:59 -0700
      Re: ransomware OG <OG@NOWHERE.COM> - 2016-05-02 23:08 -0700
        Re: ransomware Don Y <blockedofcourse@foo.invalid> - 2016-05-03 00:34 -0700
    Re: ransomware Neon John <no@never.com> - 2016-05-03 16:09 -0400
      Re: ransomware Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-05-03 13:29 -0700
      Re: ransomware Don Y <blockedofcourse@foo.invalid> - 2016-05-03 17:31 -0700
  Re: ransomware Les Cargill <lcargill99@comcast.com> - 2016-05-02 23:36 -0500

csiph-web