Tip - How to use pip, git and PyCharm behind a proxy

Sometimes I need to use pip, git, twine and PyCharm behind a proxy, and I have to look up how to configure them. Here's a quick cheat sheet: pip The proxy needs to be provided on the command line each time you run pip, as follows: pip install --proxy http://proxyserver:port <package> If you need authentication: pip install --proxy http://user:password@proxyserver:port <package> git The proxy can be set in the configuration using this command: ...

January 24, 2018 · Philippe Lagadec

Weaponized PDF - Payload Delivery Format

This article describes the PDF file format, related security issues and useful resources. [WORK IN PROGRESS] ...

November 10, 2017 · Philippe Lagadec

VBA Macros Pest Control - THC 2017

Presentation at the Toulouse Hacking Convention 2017 (3rd March 2017) about Malicious VBA Macros: what they can do, how to analyze them, and how we can detect and block them before they hit end-users. Updated on the 24th August 2017 for the International Cyber Security Summer School.

August 24, 2017 · Philippe Lagadec

iodeflib - a python library to create, parse and edit IODEF incident reports

iodeflib is a python library to create, parse and edit cyber incident reports using the IODEF v1 XML format (RFC 5070). ...

May 19, 2017 · Philippe Lagadec

Tip: How to download thousands of MS Office files for testing

When developing tools related to MS Office files such as olefile and oletools, it is often necessary to test them on many different samples of various types and sizes. It is quite easy to find malicious samples using malwr.com, hybrid-analysis.com and VirusTotal, just to name a few (see my previous post about that topic). However, finding and downloading a large number of legitimate files is a different challenge. Here are some tips to do it: ...

April 19, 2017 · Philippe Lagadec

How to find data hidden at the end of an OLE file

"Would it be possible to add a method to olefile that returns bytes that are appended to an OLE file? I have a sample that has encoded EXE appended." When Didier Stevens asked me that question some time ago, I thought it would be easy, a matter of minutes. Indeed, the OLE format (aka Microsoft Compound File Binary Format) is structured and well specified in MS-CFB. ...

March 28, 2017 · Philippe Lagadec

Articles et présentations à propos de Sécurité Informatique

Voici une liste de tous les articles et présentations que j'ai publiés jusqu'ici dans le domaine de la sécurité informatique. ...

March 3, 2017 · Philippe Lagadec

My Python projects

Here is the list of open-source Python projects that I am maintaining or contributing to. ...

March 3, 2017 · Philippe Lagadec