Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ Fileintel - A Modular Python Application To Pull Intelligence About Malicious Files

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Fileintel - A Modular Python Application To Pull Intelligence About Malicious Files


๐Ÿ’ก Newskategorie: IT Security Nachrichten
๐Ÿ”— Quelle: feedproxy.google.com


This is a tool used to collect various intelligence sources for a given file. Fileintel is written in a modular fashion so new intelligence sources can be easily added.
Files are identified by file hash (MD5, SHA1, SHA256). The output is in CSV format and sent to STDOUT so the data can be saved or piped into another program. Since the output is in CSV format, spreadsheets such as Excel or database systems will easily be able to import the data.
This works with Python v2, but it should also work with Python v3. If you find it does not work with Python v3 please post an issue.
This code has been tested on Windows 7 and Mac OSX El Capitan. If you try this on any other type of machine please let me know!
An introduction video for fileintel: https://youtu.be/MgJoy2fD0ZY
Background from my first tool hostintel: https://github.com/keithjjones/hostintel

Help Screen:
$ python fileintel.py -h
usage: fileintel.py [-h] [-a] [-v] [-n] [-o] [-t] [-r]
ConfigurationFile InputFile

Modular application to look up file intelligence information. Outputs CSV to
STDOUT.

positional arguments:
ConfigurationFile Configuration file
InputFile Input file, one hash per line (MD5, SHA1, SHA256)

optional arguments:
-h, --help show this help message and exit
-a, --all Perform All Lookups.
-v, --virustotal VirusTotal Lookup.
-n, --nsrl NSRL Lookup for SHA-1 and MD5 hashes ONLY!
-o, --otx OTX by AlienVault Lookup.
-t, --threatcrowd ThreatCrowd Lookup for SHA-1 and MD5 hashes ONLY!
-r, --carriagereturn Use carriage returns with new lines on csv.

Install:
First, make sure your configuration file is correct for your computer/installation. Add your API keys and usernames as appropriate in the configuration file. Python and Pip are required to run this tool. There are modules that must be installed from GitHub, so be sure the git command is available from your command line. Git is easy to install for any platform. Next, install the python requirements (run this each time you git pull this repository too):
$ pip install -r requirements.txt
There have been some problems with the stock version of Python on Mac OSX (http://stackoverflow.com/questions/31649390/python-requests-ssl-handshake-failure). You may have to install the security portion of the requests library with the following command:
$ pip install requests[security]

NSRL
If you are using the NSRL database lookups, download the NSRL "Minimal" data set as a zip file. Put it in a directory you can access and point your configuration file to that zip file. There is no need to unzip the NSRL data.

7Zip
If you want to use 7Zip (fast) rather than the internal Python zip library (slow) to read the large NSRL zip file, you will need to install 7Zip. Windows installation of 7Zip is quite simple, but Mac OX X or Linux will need to install p7zip, the command line tool. For Mac OS X, you can install this tool with Brew. Once in install 7Zip you will need to point your configuration file appropriate to wherever the 7z executable lies.

Virtualenv
Lastly, I am a fan of virtualenv for Python. To make a customized local installation of Python to run this tool, I recommend you read:
http://docs.python-guide.org/en/latest/dev/virtualenvs/

Running:
$ python fileintel.py myconfigfile.conf myhashes.txt -a > myoutput.csv
You should be able to import myoutput.csv into any database or spreadsheet program.
Note that depending on your network, your API key limits, and the data you are searching for, this script can run for a very long time! Use each module sparingly! In return for the long wait, you save yourself from having to pull this data manually.

Sample Data:
There is some sample data in the "sampledata" directory. The hashes were picked at random and by no means is meant to target any organization or individual. Running this tool on the sample data works in the following way:

Smaller List:
$ python fileintel.py local/config.conf sampledata/smallerlist.txt -a > sampledata/smallerlist.csv
INFO: Using 7Zip from: /usr/local/bin/7z
Preprocessing NSRL database.... please hold...
*** Processing 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f ***
*** Processing 001025c6d4974fb2ccbea56f710282aca6c1353cc7120d5d4a7853688084953a ***
*** Processing 001025c6d4974fb2ccbea56f710282aca6c1353cc7120d5d4a7853688084953b ***
*** Processing 92945627f32dfde376ffb7091b5faad2 ***
*** Processing 92945627f32dfde376ffb7091b5faad1 ***
*** Processing CEEF161D68AE2B690FA9616361271578 ***
*** Processing D41D8CD98F00B204E9800998ECF8427E ***
*** Processing B284A42B124849E71DBEF653D30229F1 ***
*** Processing 0322A0BA58B95DB9A2227F12D193FDDEA74CFF89 ***
*** Processing E02CE6D73156A11BA84A798B26DE1D12 ***
*** Processing B4ED7AEDACD28CBBDE6978FB09C22C75 ***
*** Processing C6336EA255EFA7371337C0882D175BEE44CBBD49 ***

Larger List:
$ python fileintel.py local/config.conf sampledata/largerlist.txt -a > sampledata/largerlist.csv
INFO: Using 7Zip from: /usr/local/bin/7z
Preprocessing NSRL database.... please hold...
*** Processing 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f ***
*** Processing 001025c6d4974fb2ccbea56f710282aca6c1353cc7120d5d4a7853688084953a ***
*** Processing CEEF161D68AE2B690FA9616361271578 ***
*** Processing D41D8CD98F00B204E9800998ECF8427E ***
*** Processing B284A42B124849E71DBEF653D30229F1 ***
*** Processing 0322A0BA58B95DB9A2227F12D193FDDEA74CFF89 ***
*** Processing E02CE6D73156A11BA84A798B26DE1D12 ***
*** Processing B4ED7AEDACD28CBBDE6978FB09C22C75 ***
*** Processing C6336EA255EFA7371337C0882D175BEE44CBBD49 ***
...
*** Processing 09a64957060121a765185392fe2ec742 ***
*** Processing e0ab52a76073bff4a27bdf327230103d ***
*** Processing 02a5bd561c140236a3380785a3544b71 ***
*** Processing 152c3bb23cc 9cb0b0112051b94f69d47 ***
*** Processing 2c9a5e7ce87259ec89e182416ac3a4f8 ***
*** Processing c777b094a3469610d81c139c952e380e ***
*** Processing aa58d9126ed96fa61f53e4f6c0bcd6b4 ***
*** Processing a68e53c42e2d0968e2fbcd168323725f ***
*** Processing a1651db6630f90b11576389aa714ad41 ***

Intelligence Sources:

Resources:


...



๐Ÿ“Œ Fileintel - A Modular Python Application To Pull Intelligence About Malicious Files


๐Ÿ“ˆ 104.54 Punkte

๐Ÿ“Œ Hostintel - A Modular Python Application To Collect Intelligence For Malicious Hosts


๐Ÿ“ˆ 43.61 Punkte

๐Ÿ“Œ Switching Geany to execute Python files as Python 3, not Python 2


๐Ÿ“ˆ 26.62 Punkte

๐Ÿ“Œ Modular Malicious Android Apps Pose as Voice Tools, Collect PII Data With Survey


๐Ÿ“ˆ 23.38 Punkte

๐Ÿ“Œ Hackers Deliver Malicious DLL Files Chained With Legitimate EXE Files


๐Ÿ“ˆ 23.05 Punkte

๐Ÿ“Œ Future Intelligence=Human Intelligence(HI) + Artificial Intelligence(AI)


๐Ÿ“ˆ 22.71 Punkte

๐Ÿ“Œ Pull your Western Digital My Book Live NAS off the internet now if you value your files


๐Ÿ“ˆ 21.96 Punkte

๐Ÿ“Œ โ€œPull Is Not Possible Because You Have Unmerged Filesโ€ Error in Git


๐Ÿ“ˆ 21.96 Punkte

๐Ÿ“Œ State Officials Ask Trump Administration To Pull 3D-Printed Gun Files Offline


๐Ÿ“ˆ 21.96 Punkte

๐Ÿ“Œ DOJ Files Charges Against Baller Ape Club 'Rug Pull'


๐Ÿ“ˆ 21.96 Punkte

๐Ÿ“Œ Two Malicious Python Packages Steal SSH and GPG Keys Exists in the Python Package Index for a Year


๐Ÿ“ˆ 21.96 Punkte

๐Ÿ“Œ pyHAWK - Searches The Directory Of Choice For Interesting Files. Such As Database Files And Files With Passwords Stored On Them


๐Ÿ“ˆ 21.2 Punkte

๐Ÿ“Œ Mastering Modular Programming: How to Take Your Python Skills to the Next Level


๐Ÿ“ˆ 20.97 Punkte

๐Ÿ“Œ Modular Open-Sources Mojo: The Programming Language that Turns Python into a Beast


๐Ÿ“ˆ 20.97 Punkte

๐Ÿ“Œ Reading and Writing Files in Python (Text Files & CSV)


๐Ÿ“ˆ 20.65 Punkte

๐Ÿ“Œ Any books similar to Black Hat Python, or Violent Python that use Python v3?


๐Ÿ“ˆ 19.55 Punkte

๐Ÿ“Œ What Makes Python Python? (aka Everything About Pythonโ€™s Grammar)


๐Ÿ“ˆ 19.55 Punkte

๐Ÿ“Œ Pufferรผberlauf in python-crcmod, python-cryptography und python-cryptography-vectors (SUSE)


๐Ÿ“ˆ 19.55 Punkte

๐Ÿ“Œ Python for Beginners [1 of 44] Programming with Python | Python for Beginners


๐Ÿ“ˆ 19.55 Punkte

๐Ÿ“Œ Introducing More Python for Beginners | More Python for Beginners [1 of 20] | More Python for Beginners


๐Ÿ“ˆ 19.55 Punkte

๐Ÿ“Œ Application News โ€“ Application Security Weekly #58 Application Security Weekly #58


๐Ÿ“ˆ 18.43 Punkte

๐Ÿ“Œ Application News โ€“ Application Security Weekly #58 Application Security Weekly #58


๐Ÿ“ˆ 18.43 Punkte

๐Ÿ“Œ Darker Side of Malicious Bots โ€“ What Damage Can Malicious Bots Cause?


๐Ÿ“ˆ 17.84 Punkte

๐Ÿ“Œ Agoric: Stored XSS in agoric-sdk - malicious iframes, malicious svg


๐Ÿ“ˆ 17.84 Punkte

๐Ÿ“Œ The Newest Malicious Actor: โ€œSquirrelwaffleโ€ Malicious Doc.


๐Ÿ“ˆ 17.84 Punkte

๐Ÿ“Œ Malicious Chrome Plugin Let Remote Attacker Steal keystroke and Inject Malicious Code


๐Ÿ“ˆ 17.84 Punkte











matomo