Windows File Creation: java.exe in AppData Roaming Oracle bin and .vbs under Retrive
Alerts on Windows file events for suspicious java*.exe placement in AppData\Roaming\Oracle\bin and .vbs files containing "Retrive".
FreeUnreviewedSigmahighv1
windows-file-creation-java-exe-in-appdata-roaming-oracle-bin-and-vbs-under-retri-0bcfabcb
title: "Windows File Creation: java.exe in AppData Roaming Oracle bin and .vbs under Retrive"
id: e038db78-9a00-4f8a-8469-f5ce082b34d7
related:
- id: 1fac1481-2dbc-48b2-9096-753c49b4ec71
type: derived
- id: 0bcfabcb-7929-47f4-93d6-b33fb67d34d1
type: derived
status: test
description: This rule flags file events where a target path under AppData\Roaming\Oracle\bin contains the java executable name (as part of a java*.exe path) and, separately, where a target path contains the string "Retrive" and ends with .vbs. Such artifacts are consistent with attacker staging or execution preparation using script and renamed/placed Java components in user-writable directories. The detection relies on file event telemetry that includes the TargetFilename field with directory and filename substrings.
references:
- https://www.hybrid-analysis.com/sample/ba86fa0d4b6af2db0656a88b1dd29f36fe362473ae8ad04255c4e52f214a541c?environmentId=100
- https://www.first.org/resources/papers/conf2017/Advanced-Incident-Detection-and-Threat-Hunting-using-Sysmon-and-Splunk.pdf
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_event/file_event_win_mal_adwind.yml
author: Florian Roth (Nextron Systems), Tom Ueltschi, Jonhnathan Ribeiro, oscd.community, Huntrule Team
date: 2017-11-10
modified: 2022-12-02
tags:
- attack.execution
- attack.t1059.005
- attack.t1059.007
logsource:
category: file_event
product: windows
detection:
selection:
- TargetFilename|contains|all:
- \AppData\Roaming\Oracle\bin\java
- .exe
- TargetFilename|contains|all:
- \Retrive
- .vbs
condition: selection
level: high
license: DRL-1.1
What it detects
This rule flags file events where a target path under AppData\Roaming\Oracle\bin contains the java executable name (as part of a java*.exe path) and, separately, where a target path contains the string "Retrive" and ends with .vbs. Such artifacts are consistent with attacker staging or execution preparation using script and renamed/placed Java components in user-writable directories. The detection relies on file event telemetry that includes the TargetFilename field with directory and filename substrings.
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.