All Projects → RamadhanAmizudin → python-icap-yara

RamadhanAmizudin / python-icap-yara

Licence: other
An ICAP Server with yara scanner for URL and content.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-icap-yara

Freki
🐺 Malware analysis platform
Stars: ✭ 285 (+470%)
Mutual labels:  malware-analysis, yara
Yargen
yarGen is a generator for YARA rules
Stars: ✭ 795 (+1490%)
Mutual labels:  malware-analysis, yara
Icewater
16,432 Free Yara rules created by
Stars: ✭ 324 (+548%)
Mutual labels:  malware-analysis, yara
static file analysis
Analysis of file (doc, pdf, exe, ...) in deep (emmbedded file(s)) with clamscan and yara rules
Stars: ✭ 34 (-32%)
Mutual labels:  malware-analysis, yara
Analyzer
🔍 Offline Analyzer for extracting features, artifacts and IoCs from Windows, Linux, Android, iPhone, Blackberry, macOS binaries, emails and more
Stars: ✭ 108 (+116%)
Mutual labels:  malware-analysis, yara
freki
🐺 Malware analysis platform
Stars: ✭ 327 (+554%)
Mutual labels:  malware-analysis, yara
Multiscanner
Modular file scanning/analysis framework
Stars: ✭ 494 (+888%)
Mutual labels:  malware-analysis, yara
yara-rules
Yara rules written by me, for free use.
Stars: ✭ 13 (-74%)
Mutual labels:  malware-analysis, yara
Awesome Yara
A curated list of awesome YARA rules, tools, and people.
Stars: ✭ 1,394 (+2688%)
Mutual labels:  malware-analysis, yara
Pecli
CLI tool to analyze PE files
Stars: ✭ 46 (-8%)
Mutual labels:  malware-analysis, yara
Stoq
An open source framework for enterprise level automated analysis.
Stars: ✭ 352 (+604%)
Mutual labels:  malware-analysis, yara
binlex
A Binary Genetic Traits Lexer Framework
Stars: ✭ 303 (+506%)
Mutual labels:  malware-analysis, yara
Apkid
Android Application Identifier for Packers, Protectors, Obfuscators and Oddities - PEiD for Android
Stars: ✭ 999 (+1898%)
Mutual labels:  malware-analysis, yara
Pepper
An open source script to perform malware static analysis on Portable Executable
Stars: ✭ 250 (+400%)
Mutual labels:  malware-analysis, yara
yara
Malice Yara Plugin
Stars: ✭ 27 (-46%)
Mutual labels:  malware-analysis, yara
YaraSharp
C# wrapper around the Yara pattern matching library
Stars: ✭ 29 (-42%)
Mutual labels:  yara
csbd
The repository contains the python implementation of the Android Malware Detection paper: "Empirical assessment of machine learning-based malware detectors for Android: Measuring the Gap between In-the-Lab and In-the-Wild Validation Scenarios"
Stars: ✭ 20 (-60%)
Mutual labels:  malware-analysis
detection
Detection in the form of Yara, Snort and ClamAV signatures.
Stars: ✭ 70 (+40%)
Mutual labels:  yara
malwinx
Just a normal flask web app to understand win32api with code snippets and references.
Stars: ✭ 76 (+52%)
Mutual labels:  malware-analysis
HomebrewOverlay
Browser extension adware (showHomebrewOverlayOuter)
Stars: ✭ 52 (+4%)
Mutual labels:  malware-analysis

Yara Python ICAP Server

An ICAP Server with yara scanner for URL and content.

Requirement

  • Squid Proxy 3.5
  • Python 3

Squid Configuration

icap_enable on
icap_preview_enable off
icap_send_client_ip on
icap_send_client_username on
icap_service service_resp respmod_precache bypass=1 icap://127.0.0.1:1344/yara
adaptation_access service_resp allow all

Running

$ git clone https://github.com/RamadhanAmizudin/python-icap-yara
$ pip install -r requirements.txt
$ python server.py

Config File

[config]
content_rules = <full path to rules>
url_rules = <full path to rules>
content_dir = <directory where data will be stored>

Log Content

{
    "content": "<hex of content>",
    "request_header": {
        "accept": [
            "*/*"
        ],
        "host": [
            "blog.honeynet.org.my"
        ],
        "user-agent": [
            "curl/7.47.0"
        ]
    },
    "response_header": {
        "content-type": [
            "text/html; charset=UTF-8"
        ],
        "date": [
            "Mon, 06 Feb 2017 15:55:31 GMT"
        ],
        "link": [
            "<http://blog.honeynet.org.my/wp-json/>; rel=\"https://api.w.org/\"",
            "<http://wp.me/6OPJo>; rel=shortlink"
        ],
        "server": [
            "Apache/2.2.22 (Ubuntu)"
        ],
        "vary": [
            "Accept-Encoding"
        ]
    },
    "rules": [
        "list of rules triggered"
    ]
}

License

The MIT License (MIT)

Copyright (c) 2021 Ahmad Ramadhan Amizudin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Questions & Comments

If you encounter a bug, please feel free to post it on GitHub. For questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].