| ID | Technique | Tactic |
|---|---|---|
| T1036 | Masquerading | Stealth |
| T1090 | Proxy | Command and Control |
| T1574.001 | DLL | Execution |
Detection: Cisco Secure Endpoint - Public DLL Sideload And Reverse Proxy
Description
This analytic detects a DLL sideload alert and a reverse-proxy launch alert from the same Public staging directory on one endpoint, by correlating Cisco Secure Endpoint Behavioral Protection telemetry. The shared staging root can connect an execution foothold to attempted remote access. Either process may be terminated in Protect mode, so verify the observed sequence and response actions before concluding access persisted.
Search
1`cisco_secure_endpoint`
2event_type="Threat Detection"
3
4
5| `cisco_secure_endpoint_extract_bp_fields`
6
7
8| where sig_id IN ("20260130115420","20260129222539")
9
10
11| spath path=bp_data.details.matched_activity.events{0}.process:start.parent_guid output=parent_guid
12
13
14| spath path=bp_data.details.matched_activity.events{0}.process:start.cmd_line output=process_command
15
16
17| spath path=bp_data.details.matched_activity.events{0}.process:start.args{} output=process_args
18
19
20| spath path=bp_data.details.matched_activity.events{1}.library:load.path output=loaded_dir
21
22
23| spath path=bp_data.details.matched_activity.events{1}.library:load.name output=loaded_name
24
25
26| eval stage=if(sig_id="20260130115420","sideload","proxy"),
27 loaded_dll=if(stage="sideload",lower(loaded_dir."\\".loaded_name),null()),
28 proxy_config=if(stage="proxy",mvindex(process_args,mvfind(process_args,"(?i)^-c$")+1),null()),
29 event_time=tonumber(timestamp)+tonumber(timestamp_nanoseconds)/1000000000
30
31
32| eval observed_path=if(stage="sideload",loaded_dll,proxy_config),
33 path_parts=split(lower(observed_path),urldecode("%5C")),
34 staging_root=if(mvindex(path_parts,1)="users" AND mvindex(path_parts,2)="public",mvindex(path_parts,3),null())
35
36| where isnotnull(endpoint_guid)
37 AND isnotnull(staging_root)
38 AND isnotnull(event_time)
39
40
41| sort 0 endpoint_guid staging_root event_time
42
43| streamstats last(eval(if(stage="sideload",event_time,null()))) as sideload_time
44 last(eval(if(stage="sideload",loaded_dll,null()))) as loaded_dll
45 last(eval(if(stage="sideload",process_command,null()))) as helper_command
46 by endpoint_guid staging_root
47
48| where stage="proxy" AND isnotnull(sideload_time)
49 AND event_time>=sideload_time AND event_time-sideload_time<=120
50
51| eval proxy_command=process_command, firstTime=sideload_time,
52 lastTime=event_time, user=coalesce(user,"unknown")
53
54| dedup endpoint_guid staging_root sideload_time
55
56
57| table dest user endpoint_guid staging_root loaded_dll proxy_config
58 helper_command proxy_command firstTime lastTime
59
60| `security_content_ctime(firstTime)`
61
62| `security_content_ctime(lastTime)`
63
64| `cisco_secure_endpoint___public_dll_sideload_and_reverse_proxy_filter`
Data Source
| Name | Platform | Sourcetype | Source |
|---|---|---|---|
| Cisco Secure Endpoint Behavioral Protection Threat Detection | Other | 'cisco:se' |
'not_applicable' |
Macros Used
| Name | Value |
|---|---|
| security_content_ctime | convert timeformat="%Y-%m-%dT%H:%M:%S" ctime($field$) |
| search bp_engine=apde | |
| spath path=bp_data.details.sig_id output=sig_id | |
| spath path=computer.connector_guid output=endpoint_guid | |
| spath path=computer.hostname output=dest | |
| spath path=bp_data.details.matched_activity.events{0}.process:start.user.name output=user | |
| spath path=bp_data.details.matched_activity.events{0}.registry:set.user.name output=registry_user | |
| spath path=bp_data.details.matched_activity.events{0}.file:create.user.name output=file_user | |
| eval user=coalesce(user,registry_user,file_user) | |
| spath path=bp_data.audit output=bp_audit | |
| spath path=bp_data.details.actions{}.action output=bp_action | |
| spath path=bp_data.details.actions{}.status output=bp_action_status | |
| eval bp_response=case(bp_audit="true","audit mode",isnotnull(bp_action_status),mvjoin(bp_action,", "),true(),"no action reported")` | |
| cisco_secure_endpoint___public_dll_sideload_and_reverse_proxy_filter | search * |
cisco_secure_endpoint___public_dll_sideload_and_reverse_proxy_filter is an empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.
Annotations
Default Configuration
This detection is configured by default in Splunk Enterprise Security to run with the following settings:
| Setting | Value |
|---|---|
| Disabled | true |
| Cron Schedule | 0 * * * * |
| Earliest Time | -70m@m |
| Latest Time | -10m@m |
| Schedule Window | auto |
| Creates Finding (Notable) | Yes |
| Rule Title | %name% |
| Rule Description | %description% |
| Notable Event Fields | user, dest |
| Creates Intermediate Finding (Risk Event) | No |
Implementation
This search requires Cisco Secure Endpoint Behavioral Protection Threat Detection alerts, which include event_type="Threat Detection".
This search uses an input macro named cisco_secure_endpoint.
We strongly recommend that you specify your environment-specific configurations (index, source, sourcetype, etc.) for Cisco Secure Endpoint Behavioral Protection Threat Detection alerts.
Replace the macro definition with configurations for your Splunk environment.
The cisco_secure_endpoint_extract_bp_fields macro extracts the common signature, endpoint, actor, and prevention-response fields used by this search.
The search also uses a post-filter macro designed to filter out known false positives.
The logs are to be ingested using the Cisco Security Cloud App for Splunk (https://splunkbase.splunk.com/app/7404).
In Protect mode, a Behavioral Protection response can kill or quarantine an earlier stage, so this search requires each later alert to have actually appeared. Review bp_data.audit and bp_data.details.actions in the source events before concluding that a task registered, a process completed, or a transfer succeeded. The included audit-mode fixtures verify alert correlation, not survival of an enforced prevention action.
Known False Positives
A software test may run a trusted helper from Users\Public with a signed DLL and use FRP for an approved lab proxy. Verify the DLL signature and hash, proxy destination, process lineage, operator, and change record. The BP alerts alone do not prove forwarding.
Associated Analytic Story
Finding
| Title | Entity Field | Entity Type | Risk Score |
|---|---|---|---|
| DLL sideload and reverse proxy launch sharing folder $staging_root$ on $dest$ | dest | system | 50 |
Threat Objects
| Field | Type |
|---|---|
| loaded_dll | file_path |
| proxy_config | file_path |
| proxy_command | command |
References
Detection Testing
| Test Type | Status | Dataset | Source | Sourcetype |
|---|---|---|---|---|
| Validation | ✅ Passing | N/A | N/A | N/A |
| Unit | ✅ Passing | Dataset | not_applicable |
cisco:se |
| Integration | ✅ Passing | Dataset | not_applicable |
cisco:se |
Replay any dataset to Splunk Enterprise by using our replay.py tool or the UI.
Alternatively you can replay a dataset into a Splunk Attack Range
Source: GitHub |
Version: 1