airbnb / binaryalert

BinaryAlert: Serverless, Real-time & Retroactive Malware Detection.
https://binaryalert.io
Apache License 2.0
1.4k stars 187 forks source link

Add support for UPX packing and PDFs #113

Closed austinbyers closed 6 years ago

austinbyers commented 6 years ago

to: @javuto cc: @airbnb/binaryalert-maintainers size: small resolves: #17 resolves: #92

Background

This updates BinaryAlert's native dependencies and adds 2 new ones (upx and pdftotext).

Changes

Testing

Uploading eicar.txt to S3: ... :eicar.txt_abfcacd77b5c...
Uploading eicar.tar.gz.bz2 to S3: ... :eicar.tar.gz.bz2_abfcacd77b5c...
Uploading eicar_packed.py.upx to S3: ... :eicar_packed.py.upx_abfcacd77b5c...
Uploading eicar_text.pdf to S3: ... :eicar_text.pdf_abfcacd77b5c...
Looking up version of genericsqs_binaryalert_analyzer:Production...
    [1/15] Querying DynamoDB table for the expected YARA match entries...
    [2/15] Querying DynamoDB table for the expected YARA match entries...

SUCCESS: Expected DynamoDB entries for the test files were found!
{
    "eicar.tar.gz.bz2": [
        "yextend:eicar_av_test",
        "yextend:eicar_substring_test"
    ],
    "eicar.txt": [
        "public/eicar.yara:eicar_av_test",
        "public/eicar.yara:eicar_substring_test",
        "yextend:eicar_av_test",
        "yextend:eicar_substring_test"
    ],
    "eicar_packed.py.upx": [
        "public/eicar.yara:eicar_substring_test",
        "yextend:eicar_substring_test"
    ],
    "eicar_text.pdf": [
        "yextend:eicar_substring_test"
    ]
}
Removing test files from S3...
Removing DynamoDB match entries...
Done!
coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.05%) to 93.067% when pulling 15c5d71551975eb358b7526bc5df32f2d0e8e737 on austin-upx-pdf into 5a35e019c4c8ef53fb5be4bdb5a797d69fa4ef11 on master.