LogRhythm Security Operations
Endpoint Lockdown SmartResponse
greg . foss [at] logrhythm . com
v0.1 -- June 2015
This plugin adds endpoint lockdown functionality to the LogRhythm SIEM. This is a useful plugin when combined with Malware alarms, especially when there is risk that the malware will spread to a share or other critical systems within the enterprise. Sometimes the quickest and most effective way to stop the spread of malware is to simply knock the host offline until IT/Security can respond.
This plugin is designed to be launched form the LogRhythm XM/EM or via standalone PowerShell. Administrative credentials should be leveraged during lockdown however it is best practice to change these credentials immediately once they have been used to access a potentially compromised host. The script takes the following actions to effective quarantine the host until it can be retrieved by IT/Security personnel. First, all network interfaces are disabled. This is key as the network connection to the enterprise is immediately severed to prevent malware propagation. Next, the user is logged out (forced) and the system is locked. It’s important to note that the user could still log back in and within environments where users have administrative rights, they would be able to re-enable their network interface(s). Most environments implement least-user privilege so the system would remain offline until IT/Security intervened.
This SmartResponse is designed to work with malware detection rules or similar attack activity wherein the most effective means of halting the attack is to knock the system offline. The caveat is that the alarm needs to contain either host or IP data to designate the system that will be locked down.
Once the plugin is imported and chosen as the action for an alarm, you should enter the metadata for the target host, administrative username, and administrative password. Configure this as an action for Alarms where there is risk of malware outbreak or similar significant risk to the organization. Assure that approvers are assigned to execute the SmartResponse and that workflow is in place to respond to the ‘quarantined’ host.
Copyright (c) 2016 LogRhythm
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.