- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-22-2024 03:07 AM
Hello,
I have a file and when I run it, Cortex XDR blocks it and shows me some information:
"""
Application information:
Application name: Windows Explorer
Application version: 10.0.22621.3007
Application publisher: Microsoft Corporation
Process ID: 20676
Application location: C:\Windows\explorer.exe
Command line: C:\WINDOWS\Explorer.EXE
File origin: Hard drive on this computer
Target application information:
Application name: Java(TM) Platform SE binary
Application version: 21.0.2.0
Application publisher: Oracle Corporation
Process ID: 2432
Application location: C:\Program Files\Java\jdk-21\bin\javaw.exe
Command line: "C:\Program Files\Java\jdk-21\bin\javaw.exe" -jar "C:\Users\ayxanp\AppData\Local\Temp\961644af-8259-4735-a751-8b545a44ed02_apache-jmeter-5.6.3.tgz.d02\apache-jmeter-5.6.3\bin\ApacheJMeter.jar"
File origin: Hard drive on this computer
Prevention information:
Prevention date: Thursday, February 22, 2024
Prevention time: 11:30:43
OS version: 10.0.22631.2.0.0.256.1
Component: Child Process Protection
Status code: 80400057
Prevention description: Suspicious process creation detected
Additional information 1: explorer.exe
Additional information 2: C:\Program Files\Java\jdk-21\bin\javaw.exe
Additional information 3: -jar "C:\Users\ayxanp\AppData\Local\Temp\961644af-8259-4735-a751-8b545a44ed02_apache-jmeter-5.6.3.tgz.d02\apache-jmeter-5.6.3\bin\ApacheJMeter.jar"
Additional information 4: ChildProcessPattern: *\javaw.exe, Flag: D, CommandLineRegex: ((?i)([-/]jar\s+\"?((\Q%temp%\E)|(\Q%templong%\E)|(\Q%SystemDrive%\E\\Users\\.*\\temp)|(\Q%SystemDrive%\E\\docume.*\\temp))\\.*))
I need to create legacy agent exception for that. When I go to this page, I choose "Malware > Malicious Child Process Protection" as module and it requires me to fill three things which are:
1. Parent Process Name
2. Child Process Name
3. Child Process Command Line Params
Can you tell me what should I write to these three fields according to my case? And, can you tell me whether I chose the module correct or not?
02-23-2024 05:19 AM
Hi @JahidAliyev, thanks for reaching us using the Live Comminty.
Looks like is a user starting a Java process that calls a jar file.
Try with this:
1. Parent Process Name: explorer.exe
2. Child Process Name: javaw.exe
3. Child Process Command Line Params: -jar "C:\Users\ayxanp\AppData\Local\Temp\961644af-8259-4735-a751-8b545a44ed02_apache-jmeter-5.6.3.tgz.d02\apache-jmeter-5.6.3\bin\ApacheJMeter.jar"
Let me know if that works.
04-04-2024 04:44 AM
I also face the same problem on multiple clients, but I didn't understand how your approach is different?
04-04-2024 05:09 AM
I also tested something very interesting. I tried to run a JAR files directly (out of an archive like 7z, tgz and so on) and it executed without any problem. Then, in the second scenario, I put the JAR file into a 7z archive and tried to executed it from inside the archive and suddenly Cortex blocked it.
So, you can also extract your TGZ archive and try to run your JAR file.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!