Files
splunk-security_content/detections/shim_database_file_creation.json
2019-03-27 11:13:11 -04:00

89 lines
3.3 KiB
JSON

{
"asset_type": "Endpoint",
"channel": "ESCU",
"confidence": "high",
"correlation_rule": {
"notable": {
"nes_fields": "dest, file_name",
"rule_description": "A file, $file_name$, was created in the default shim database directory on $dest.",
"rule_title": "Shim database file created on $dest$"
},
"risk": {
"risk_object": "dest",
"risk_object_type": [
"system"
],
"risk_score": 20
},
"suppress": {
"suppress_fields": "dest",
"suppress_period": "14400s"
}
},
"creation_date": "2017-10-03",
"data_metadata": {
"data_models": [
"Endpoint"
],
"data_source": [
"Endpoint Intel"
],
"providing_technologies": [
"Carbon Black Response",
"CrowdStrike Falcon",
"Sysmon"
]
},
"eli5": "This search looks for files being created in <code>Windows\\AppPatch\\Custom and Windows\\AppPatch\\Custom64</code>, the location where shim databases are installed. It will return all the files created, as well as the time of creation for the first and last file for each endpoint.",
"how_to_implement": "You must be ingesting data that records the filesystem activity from your hosts to populate the Endpoint file-system data model node. If you are using Sysmon, you will need a Splunk Universal Forwarder on each endpoint from which you want to collect data.",
"known_false_positives": "Because legitimate shim files are created and used all the time, this event, in itself, is not suspicious. However, if there are other correlating events, it may warrant further investigation.",
"maintainers": [
{
"company": "Splunk",
"email": "davidd@splunk.com",
"name": "David Dorsey"
},
{
"company": "Splunk",
"email": "bpatel@splunk.com",
"name": "Bhavin Patel"
}
],
"mappings": {
"cis20": [
"CIS 8"
],
"kill_chain_phases": [
"Actions on Objectives"
],
"mitre_attack": [
"Persistence",
"Application Shimming"
],
"nist": [
"DE.CM"
]
},
"modification_date": "2018-11-02",
"original_authors": [
{
"company": "Splunk",
"email": "davidd@splunk.com",
"name": "David Dorsey"
}
],
"scheduling": {
"cron_schedule": "0 * * * *",
"earliest_time": "-70m@m",
"latest_time": "-10m@m"
},
"search": "| tstats `summariesonly` count values(Filesystem.action) values(Filesystem.file_hash) as file_hash values(Filesystem.file_path) as file_path min(_time) as firstTime max(_time) as lastTime FROM datamodel=Endpoint.Filesystem where Filesystem.file_path=*Windows\\AppPatch\\Custom* by Filesystem.file_name Filesystem.dest | `ctime(lastTime)` | `ctime(firstTime)` |`drop_dm_object_name(Filesystem)`",
"search_description": "This search looks for shim database files being written to default directories. The sdbinst.exe application is used to install shim database files (.sdb). According to Microsoft, a shim is a small library that transparently intercepts an API, changes the parameters passed, handles the operation itself, or redirects the operation elsewhere.",
"search_id": "6e4c4588-ba2f-42fa-97e6-9f6f548eaa33",
"search_name": "Shim Database File Creation",
"search_type": "detection",
"security_domain": "endpoint",
"spec_version": 1,
"version": "2.0"
}