- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
02-09-2022 02:59 AM
Hi everyone,
I was trying to make a playbook to extract indicators (Hash values, domains, IP addresses) from a PDF file. I tried to use the ReadPDFFile V2 utility, however it gives the below error on 2 of the PDF files I tried.
02-09-2022 04:40 AM
Good morning, is 'http://www.w3.org/1999/xhtml' an indicator inside the PDF?
02-09-2022 04:52 AM
Hi @jwilkes
It is not present in the file. There are 2 other domains not related to this and a couple of hashes and CVE.
02-09-2022 04:54 AM
Do other PDFs with the same PDF version work with ReadPDFFileV2 ?
02-09-2022 05:56 AM - edited 02-09-2022 06:08 AM
Hi @jwilkes
I tried another file, the PDF present in the below site as testing. That also failed with the same error.
https://www.ncsc.gov.uk/news/indicators-of-compromise-for-malware-used-by-apt28
Since I am experimenting I am using the playbook "Phishing - Generic v3". The ReadPDFFilev2 is present in it and it stops there with the above error.
02-09-2022 06:39 AM
I tried that same file for my XSOAR instance (6.2) and it failed as well. Can you please create a support ticket to investigate this further? I know that ReadPDFFileV2 uses the linux utility "pdftohtml" and maybe there are some limitations.
I know we have found limitations before but they were with PDF encryption: https://xsoar.ideas.aha.io/ideas/FR-I-1397
02-09-2022 06:52 AM
Wow! I am impressed by the speed of the resolution. I was looking through the automation script after my previous post when I noticed there was an update for the ReadPDFFileV2 script. I updated the automation and tried it again. Now it works perfectly!
I am not sure how you did it but once again thanks alot! 😃
02-09-2022 06:59 AM
Yes, this looks related. Glad to help!
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!