{ "cells": [ { "cell_type": "markdown", "metadata": { "execution": { "iopub.execute_input": "2020-09-24T04:06:52.928068Z", "iopub.status.busy": "2020-09-24T04:06:52.927779Z", "iopub.status.idle": "2020-09-24T04:06:52.934766Z", "shell.execute_reply": "2020-09-24T04:06:52.934058Z", "shell.execute_reply.started": "2020-09-24T04:06:52.928046Z" } }, "source": [ "# Detect Dump LSASS.exe Memory using comsvcs\n", "\n", "#### This search detects the memory of lsass.exe being dumped for offline credential theft attack.\n", "\n", "References: https://2017.zeronights.org/wp-content/uploads/materials/ZN17_Kheirkhabarov_Hunting_for_Credentials_Dumping_in_Windows_Environment.pdf\n", "\n", "Author: Jose Hernandez, Splunk\n", "\n", "Known false positives: None identified.\n", "\n", "Tags: Credential Dumping, T1003.003, Actions on Objectives, CIS 8, CIS 16\n", "\n", "Source: https://github.com/splunk/security-content/blob/develop/detections/dump_lsass_via_comsvcs_dll.yml" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "execution": { "iopub.execute_input": "2020-10-19T19:49:47.098495Z", "iopub.status.busy": "2020-10-19T19:49:47.098215Z", "iopub.status.idle": "2020-10-19T19:49:50.310310Z", "shell.execute_reply": "2020-10-19T19:49:50.309793Z", "shell.execute_reply.started": "2020-10-19T19:49:47.098471Z" } }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "bb8622490e2143d2b9414eadac5441af", "version_major": 2, "version_minor": 0 }, "text/plain": [ "HBox(children=(HTML(value=''), FloatProgress(value=0.0, max=5.0), HTML(value='')))" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ " Finished. " ] }, { "data": { "text/html": [ "
| \n", " | process | \n", "machine | \n", "process_name | \n", "input_event | \n", "tenant | \n", "timestamp | \n", "
|---|---|---|---|---|---|---|
| 0 | \n", "\"c:\\windows\\system32\\rundll32.exe\" c:\\windows\\... | \n", "eyJlbnRpdHlUeXBlIjoiREVWSUNFIiwicHJpbWFyeUFydG... | \n", "rundll32.exe | \n", "{'_tenant': 'test', '_time': '1600731080000', ... | \n", "test | \n", "2020-09-21 23:31:20 | \n", "