Best way to test suspicious PDF files?

I was wondering what the safest way to test suspicious PDF files was.  I was also wondering how to qualify a PDF as suspicious.  I was using PDFid to scan a PDF and I found it had 1 acroform and 1 openaction.  It didn't say it had javascript, but I was reading that acroform can let you use certain javascript.
Does xpdf support javascript?  Would it be safe to open a pdf in xpdf assuming it had no libtiff exploit or what have you?
Input would be greatly appreciated.

jnguyen wrote:
You could run qemu-kvm or virtualbox and open the PDF within there. This won't tell you whether a PDF file is dangerous though, unless it does something really obvious (e.g. crash the virtual machine or delete all your files).
You could also try use Mandatory Access Control, such as TOMOYO Linux, AppArmor or SELinux. The advantage of these is that you will also be able to tell if the PDF is doing something suspicious by looking at audit logs, and you also won't have to fire up a virtual machine every time. Disadvantage is that you have to learn how to use these powerful security tools. TOMOYO Linux and AppArmor are much easier to learn than SELinux, but SELinux has a tool specifically designed for sandboxing. TOMOYO Linux 2.3 is also already in the [community] repo (just do pacman -S tomoyo-tools). See the wiki pages for more information:
TOMOYO Linux
AppArmor
SELinux
Ah, cool!  I've heard of AppArmor before.  SELinux sounds familiar and I'm glad to hear it has a sandbox.  Haven't heard of TOMOYO, but I'm excited to learn about it. 
Thanks!

Similar Messages

  • What is the best way to send multiple pdf files to my ipad

    what is the best way or app to send multiple pdf files to my ipad, so that I can then combine them into one folder

    I have the app Readdle Docs. It allows you to move PDF files to your device and to move them around on your device. Might check it out. ( I think there's an iPad version of the app, but I have the iPhone version and it works, just not as pretty)
    THere's also Goodreader, but I don't have experience with it to know if it has folder abilities.

  • Best ways to view/display PDF/Excel files stored in the Database

    What are best ways to display/view PDF/Excel files stored in the Database? thanks L

    Thanks tom, sorry let me explain. Currently we have oracle forms screen, using webutil to store/view files into DB. client won't like the interface, they want us to make it more friendly, drag and drop if possible, load multiple files, as possible.. So I am exploring different ways to improve may be java (or jdev/any any other), different screen designs, different features for fileupload/download/view options.

  • Best way to manage many pdf's online ?

    Hi
    I'm working on a project, where i need to put aprox 800 magazines online, and i'm wondering, what is the best way to do this, pdf, and is there a library like plugin that can be of use to keep track of all the magazines ?
    Short story: The magazines are scans of the originals, and is supposed to be viewed like that, via a page-flip-thing, but the thing is that there are articles that run over several issues, so a link is needed to bind them together if the viewer wants to read to the end before hitting some sort of a return-button for reading the rest the magazine.
    Another task is to bind them all together in an author database, like when reaching the end of an article, and then you can click the authors name and a list pops up with articles he or she has wrote, and then you should be able to click them and be taken to them, in the issue where they are located.
    A future task is to make it all searchable, so it will be possible to search for words or a sentence.
    All in all we are talking 20.000+ pages, each magazine containing around 20-30 pages. Each magazine should be readable on its own, like you have a bookshelf where you pick the issue you want to read.
    First of all, is pdf the best way to do this, and second, is there a plugin that can keep track of all the issues on a website, a library like thing, and i assume that the pdf files is best placed on the disk and links to them be put in the database ?
    All the best
    Carsten

    Hey bobelbed,do you want to upload your pdf online and let others view in page flipping style? And you could manage your magzine like a bookshelf and track the traffic for it? I know one way you could try it - turning your magazines to flipbooks. Some pdf to flipbook tools allows users to create page fliping magazines and track traffic via Google Analytics. And it also provides bookcase feature to organize all your publications. Google "flip book maker" and you will find some tools for you, like Kvisoft and more.

  • What's he best way to include Adobe PDFs on my blog?

    What's he best way to include Adobe PDFs on my blog?
    I create worksheets as a teacher and would like to share them from my blog. Currently I am linking to Scribd etc to share PDFs. If I upload the worksheets as an image is there a way to adjust the size/resolution of the PDF for easier viewing? 
    Thanks!

    PDFs are just files. Can you upload files to your blog space? If yes, just upload the PDFs then, in a blog entry, provide the web link (URL) for each file (PDF).
    Or, place the PDFs into your free acrobat.com "files" storage (5GB free). You have one as you have an Adobe ID (needed to make your post here eh).
    https://cloud.acrobat.com/
    You can have acrobat.com provide a "share" link to the PDF. Place that into a blog entry.
    Or - same idea as above (use a "file share" service) -- Microsoft's OneDrive, Adobe's Creative Cloud, Google drive, DropBox, others ...
    Be well...

  • Is there any way to create 3D PDF file without having the model tree ?

    Is there any way to create 3D PDF file without having the model tree ?
    3D communication is good but sometime we don't want the receiver to be able to study every components in model.
    or any way to make the receiver cannot use model tree and measurement tool ????
    Thank you very much

    You can remove the assembly tree by doing a roundtrip in 3D Toolkit, here's how:
    - start Acrobat 3D
    - drag & drop a CAD file
    - click on 3D Annot to activate
    - right-click on 3D
    - select 'Edit in 3D Toolkit'
    - 3D Toolkit launches
    - click in 'Scene Tree' panel
    - right-click on top assembly name
    - select 'Tools->Collapse Hierarchy'
    - select 'File->Save'
    - select 'File->Exit'

  • Is there a way to prevent a PDF file from being forwarded?

    is there a way to prevent a PDF file from being forwarded? For example, im a personal trainer and if i send a client a plan via PDF file, i want to make sure that they cannot send it to anyone else. I read about how you can secure a file by creating an ID and then having the recipient create an ID as well, but i would like to make the orocess as easy as possible for my clients and not have to have them create an ID and then send it to me. is there a better way to block the recipient from resending the PDF?

    Hi Kiana,
    As such there is no option to prevent the recipients from forwarding the pdf. However you can refer to this blog How do I prevent someone from forwarding a PDF?, it might be of some help.
    Regards,
    Aadesh

  • What is the best way to keep my personal files stored in iCloud separate from my work-related files?

    What is the best way to keep my personal files stored in iCloud separate from my work-related files? It seems that I'm not allowed to link my iPad mini and my work iMac using two different accounts, so I'm wondering how to make my single personal account work for both, while keeping personal vs work files reasonably separated.
    Thanks for any suggestions.

    Is it possible for you to upgrade your account to iCloud Drive? That would mean, all Macs upgraded to Yosemite, and all mobile devices to iOS8?
    See:  iCloud Drive FAQ and iCloud: About using iWork for iOS and iCloud
    In iCloud Drive you could create two separate custom folders, one for work documents and one for private documents and organize your documents there.  Don't use the app specific folders (Keynote, Pages, Numbers, ...) , because you can only create one level of folders inside these folders.

  • Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email? So that the user can print it out.

    Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email?
    I'm making the book for children and there is one chapter providing coloring pages. So I wish to attach pdf files that allow users to download it at the end of chapter so that  they can print it out. Been searching through discussion, I've found some advice about taking screen snapshot page-by-page > then send the pics from photo album to email. However, I'm wondering if there's a way that make the process easier.

    Warehouse that PDF on your own server, then link to it from your book.
    Ken

  • What's the best way for reading this binary file?

    I've written a program that acquires data from a DAQmx card and writes it on a binary file (attached file and picture). The data that I'm acquiring comes from 8 channels, at 2.5MS/s for, at least, 5 seconds. What's the best way of reading this binary file, knowing that:
    -I'll need it also on graphics (only after acquiring)
    -I also need to see these values and use them later in Matlab.
    I've tried the "Array to Spreadsheet String", but LabView goes out of memory (even if I don't use all of the 8 channels, but only 1).
    LabView 8.6
    Solved!
    Go to Solution.
    Attachments:
    AcquireWrite02.vi ‏15 KB
    myvi.jpg ‏55 KB

    But my real problem, at least now, is how can I divide the information to get not only one graphic but eight?
    I can read the file, but I get this (with only two channels):
    So what I tried was, using a for loop, saving 250 elements in different arrays and then writing it to the .txt file. But it doesn't come right... I used 250 because that's what I got from the graphic: at each 250 points it plots the other channel.
    Am I missing something here? How should I treat the information coming from the binary file, if not the way I'm doing?
    (attached are the .vi files I'm using to save in the .txt format)
    (EDITED. I just saw that I was dividing my graph's data in 4 just before plotting it... so It isn't 250 but 1000 elements for each channel... Still, the problem has not been solved)
    Message Edited by Danigno on 11-17-2008 08:47 AM
    Attachments:
    mygraph.jpg ‏280 KB
    Read Binary File and Save as txt - 2 channels - with SetFilePosition.vi ‏14 KB
    Read Binary File and Save as txt - with SetFilePosition_b_save2files_with_array.vi ‏14 KB

  • Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO

    Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO#, Date, ect.)

    When you say field, do you mean specifically a form field, such as a text field? Or is the information regular text on the page?

  • Best way to read from a file

    What would be the best way to read from a file. Which classes do I need to use?
    I have to write a program, which reads data from a comma separated flat file, parse it and after inserting some busineess logic insert into a databse .
    I will have to read the data line by line.
    Any help????

    I would use:
         public void readData()
              try
                   data = new String[this.countRows("comp.txt")][];
                   BufferedReader br = new BufferedReader(new FileReader("comp.txt"));
                   for(int x = 0; x < data.length; x++)
                        StringTokenizer temp = new StringTokenizer(br.readLine(), "?");
                        data[x] = new String[temp.countTokens()];
                        for(int y = 0; y < data[x].length; y++)
                             data[x][y] = temp.nextToken();
              catch(Exception e)
                   System.out.println(e.toString());
         private int countRows(String f)
              int t = 0;
              try
                   BufferedReader brCountRows = new BufferedReader(new FileReader(f));
                   while(brCountRows.readLine() != null)
                        t++;
              catch(Exception e)
                   System.out.println(e.toString());
                   return t;
              return t;
         }It works deliciously!

  • What is best way dealing with large tiff file in OSX Lion?

    I'm working with large tiff  file (engineering drawing), but preview couldnt handle (unresponsive) this situation.
    What is best way dealing with large tiff file in OSX Lion? (Viewing only or simple editing)
    Thx,
    54n9471

    Use an iPad and this app http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=400600005&mt=8

  • Is there any way we can save PDF files of 1.8v & 1.9v to 1.4v using plug-in?

    is there any way we can save PDF files of 1.8v & 1.9v to 1.4v using plug-in? (using PDDocSavePara )

    Something like this.
    Change VER variable to version number as you need. ex. VER = 7 -> PDF 1.7
    pdoc = AVDocGetPDDoc(avDoc);
    PDDocSaveParams saveParams;
    unsigned char buffer[sizeof(_t_PDDocSaveParams)];
    saveParams = (PDDocSaveParams)buffer;
    memset(saveParams, 0, sizeof(_t_PDDocSaveParams));
    saveParams->fileSys = ASGetDefaultFileSys();
    saveParams->major = 1;
    saveParams->minor = VER;  //change version here
    saveParams->saveFlags = PDSaveFull | PDSaveCollectGarbage | PDSaveForceIncremental | PDSaveKeepModDate;
    saveParams->size = sizeof (_t_PDDocSaveParams);
    saveParams->saveFlags2 = PDSaveUncompressed;
    PDDocSaveWithParams (pdoc, saveParams);

  • What is the best way to include an xml file in JSP?

    I have a jsp page that I need to include an xml file. The xml file
              uses an xsl to render the file. What is the best way to include the
              xml file and still maintain the structure of the style sheet?
              Thanks
              Jennifer
              

              The best way is using the tag lib. If you cannot, but you can use JAXP, you can
              try
              javax.xml.transform.Transformer.transform(Source xmlSource,
              Result outputTarget)
              throws TransformerException
              You construct the transformer with you xsl, use you xml file or DOM to form xmlSource,
              and use JSPWriter "out" to form outputTarget (StreamResult). But if your JSP page
              generates the xml itself, tag lib is the only way.
              [email protected] (Jennifer) wrote:
              >[email protected] (Jennifer) wrote in message news:<[email protected]>...
              >> I have a jsp page that I need to include an xml file. The xml file
              >> uses an xsl to render the file. What is the best way to include the
              >> xml file and still maintain the structure of the style sheet?
              >>
              >> Thanks
              >>
              >> Jennifer
              >
              >Or is there a way to parse the xml file with the jsp page to display
              >the information. I cannot use the Java Standard Tag Libraries as the
              >version of iplanet we are running does not support the JSTL
              >
              >Thanks
              >
              >Jennifer
              

Maybe you are looking for

  • Why won't Words With Friends open in Firefox but works fine with IE?

    The game "Words with Friends" worked fine until firefox update and Words with Friends new version. Now it will not open. Tried all the support suggestions to no avail. Then I tried it through IE and it works fine.

  • Submit a transaction O4B1 via job and the result as an attachment Excel

    Hi, I'm executing a program in background via job to get back the result of a report as an attachment XLS on mail. the result of my program give me just title of Excel columns , but when i execute it manually , the result is perfect. my code is : ***

  • Green external display

    I have a black MacBook I purchased about 1.5 years ago. I can vaguely remember not having this problem at the beginning, but since then every time I plug in an external display it is green. Everything else is fine, the detail is good...but everything

  • Data conversion rule manager & repository

    Hi All, We are running a fairly large legacy data conversion project from IMS and DB2 to Oracle which will involve quite a variety range of conversion/mapping rules (complex data manipulation to simple mapping). These requirement and rules involve bo

  • Launching Color on a 2.7 Power mac dual core - not

    I have a 2.7 ghz power mac. I've upgraded final cut studio through 5 up to the crossover to intel and then to 6. When I try to start Color it says Open GL not able to start - turnoff 'video desktop'. (the same programme runs on my octo core intel mac