-
Notifications
You must be signed in to change notification settings - Fork 3
Command Line Usage
MBromiley edited this page May 26, 2019
·
2 revisions
In version 1.1, pollen now has the ability to perform a direct, from-the-command-line task log and task log file upload! This is a pretty cool feature and was actually the founding idea for pollen, despite being the second big feature to be added in.
Here's the overall concept:
- Via the
config
menu inside the pollen shell, the analyst can preconfigure a case and subsequent task for quick log entry. Theconfig
page discusses this more. - An analyst is performing work in the command-line. They identify some indicators, find key data, finalize analysis, etc., and need to get that data into TheHive.
- With the new
-l
,--log
OR-lf
,--logfile
options, the analyst can now run commands such as:
python3 pollen.py --logfile findings.txt --log Attacker IPs and C2 callouts, extracted from Apache web logs, sorted, and uniqued
The following command will perform the following:
- The phrase "Attacker IPs and C2 callouts, extracted from Apache web logs, sorted, and uniqued" will be stored as a log entry for the pre-configured task.
- Pollen will grab the
findings.txt
file, and attach it to a case task log. - The above will be uploaded to TheHive!
Now, the analyst can go right back to work! This is an extremely useful feature that is meant to push analyst towards frequent case notes and updates, without needing to hop in and out of the shell all the time.