- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-30-2024 02:13 AM
Hello everyone,
I would like to replicate some queries in Cortex using XQL, but I have many doubts with this language and I am arguing with it 😄
Example:
T1140 Deobfuscate/Decode Files or Information
DeviceProcessEvents
| where ProcessVersionInfoProductName == "GNU Privacy Guard (GnuPG)"
| where (ProcessCommandLine has "gpg" and ProcessCommandLine has "--passphrase" or (ProcessCommandLine has "--output" or ProcessCommandLine has "-o") and (ProcessCommandLine has "--decrypt" or ProcessCommandLine has "-d") and (ProcessCommandLine matches regex @"\.gpg" or ProcessCommandLine matches regex @"\.pgp"))
Thanks, regards!
05-02-2024 08:57 AM
Hi @agirones, thanks for reaching us using the Live Community.
I'll recommend you to take this XQL Crash Course to learn from the basics to some more advanced use cases like the one you are quoting here: https://live.paloaltonetworks.com/t5/cortex-xdr-how-to-videos/cortex-xdr-basic-xql-crash-course/ta-p...
If this post answers your question, please mark it as the solution.
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!