Skip to main content

Posts

Showing posts from June, 2018

How to upload files to McAfee ATD using Powershell

Hi all, In this post I want to introduce a Powershell script cmdlet that I have written to upload files to a McAfee Advanced Threat Defense box. This is the first time that I write something in Powershell, I have tried to follow the specifications specially in terms of output and binding, in such a way that the files to be uploaded to the ATD box can be piped from a list, external file or another cmdlet and in the same way the cmdlet outputs information in an object format that allows to work on the results obtained from the upload operation. Installation process: The Script can be downloaded from the following link: https://github.com/built4tech/submit-atd The current execution polity of the system where the cmdlet Script is going to be executed must allow the execution of unsigned scripts (Unresricted) If the current policy doesn't allow to execute unsigned scripts, you must change that policy, with the set-execution-policy cmdlet. It is important to n...

McAfee ATD API - Monitoring a folder to submit files to ATD (atdsubmit.py)

McAfee Sandboxing solution is called McAfee Advanced Threat Defense. This solution has a strong API that allows interesting use cases beyond the out of the box integrations that the solution provides. In this post I introduce a python application called atdsubmit.py, this is an unofficial not supported application that can help you understanding how the API works enabling you to build your own use cases. The application is available on  github . In nutshell the application gets through command line parameters the credentials to connect to ATD box and the folder to monitor, then it checks for any file creation event on the monitored folder and submit it to the ATD box. The application is a multi-threaded application with different sets of threads in such a way that every single mayor action is isolated from the rest. The following diagram shows how the application works, colors represent the different sets of threads: This is the help available on the repository: at...