Jump to content

Major Issues with the Ransom Testcrypt. encryption Virus :-(


Recommended Posts

Posted (edited)
These are the locations/files I've prevented .exe files from running (via group policy). Are there any others I should add to this?

 

%localAppData%\*.exe

%localAppData%\*\*.exe

%localAppData%\Temp\*.zip\*.exe

%localAppData%\Temp\7z*\*.exe

%localAppData%\Temp\Rar*\*.exe

%localAppData%\Temp\wz*\*.exe

You are missing lots of locations.

 

www.edugeek.net/forums/how-do-you-do/159149-cryptolocker-prevention-4.html#post1440802

 

@Geoff's idea of whitelisting instead of blacklisting is a better approach IMO.

 

IIRC, with your current rules all the ransomware would need to do is run from a deeper sub-folder e.g. %localAppData%\1\2\3\4\{6461F6EB-F75E-45AC-97FF-886D198DBED4}.exe

Edited by Arthur
  • Thanks 1
Posted (edited)

%ProgramFiles%

%SystemRoot%

 

You may need to include (I hate this one, looking at you Java).

 

%ProgramData%

 

Then the rest will depend on your network setup. So include any mapped drives or UNC paths that are relevant.

Edited by Geoff
  • Thanks 1
Posted

https://mssec.wordpress.com/2015/10/22/applocker-bypass-checker/ this tests all folders for executability, run as standard user

Protecting Windows Networks – AppLocker | DFIR blog general advice

 

Remove admin rights from everyone, and apply the exe restrictions to administrators as well. Just have to move files you want to run to a specified location first.

 

Also remove write access to shared folders people don't need write access to.

 

Basically I whitelist read-only shares for network installed programs, program files, windows (and then block certain dirs in windows), and python. Of course if you wrote malware in python, you win. Probably best to block .py and .pyc files for people who don't need to run them, sigh.

 

Also need to MITM TLS for everyone so the AV on your router can check stuff before it even gets to you

  • Thanks 1
Posted

Cheers for the start @Geoff

 

I trailed setting SRP to "Basic Access" as default with a few (inc above) set as "Unrestricted", but strange things stop working, like IE, just flashes up and closes. Am I missing something obvious :confused:

SRP-Snip.PNG

Posted

I've not used Basic Access, got Disallowed as default

 

Under additional rules:

c:\windows, program files, program files x86 unrestricted

\\school.local\appshare

and then some hashes for minecraft jars

 

After that run that test script, you'll find some folders in c:\windows that users can write to, so add disallow rules for those.

  • Thanks 1
Posted

another :doh: moment, sorry, forgot to specify both x64 and x86 Prog Files dirs.

 

I was tempted to jump straight to Disallowed, but I'm going to slowly turn the screws

Posted
I was surprised how little broke, either that or no one tells me anything. 2 things I noticed: DisplayLink driver installer, and a Sysinternals program that copied to temp to split into 32 and 64bit versions, just copied out of temp again.
Posted (edited)

OK, stupid question No.2...

 

How do you guys deal with SIMs updates, I had to disable the policy this morning to get clients to installs the updates properly.

I have set the Drive letter and UNC path to unrestricted, is theres anything else (other than ProgFiles and ProgData) I should be allowing for this to work properly.

 

Just waiting for another machine to wake up so I can test Hashes for SOLOUS, SIMSLoad etc

 

EDIT: Just set %temp% to unrestricted, then the updates install, this obv isn't a good idea, must be missing something...

Edited by smithson83
  • 4 weeks later...
Posted

Stupid Question No.3

 

Is there much difference over using "User Config" vs "Computer Config", when specifying SRP (other than the obvious one of it applying to users/computers in the applied to OU...?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...