Malwarescanner - Simple Malware Scanner Written In Python

2 years ago 140
BOOK THIS SPACE FOR AD
ARTICLE AD

Simple Malware Scanner written in python

Very basic malware Scanner by hash comparison Sometimes this can be needed when an incident response. If you found new or suspicious files when you do response, you want to check out where these files exist in systems. so then you may need like this tool. this is a demo version. not complete. you have to change and modify code and make it yours. Let me know if there are any changes required or additional features need it.
# pip install requests
# python main.py

Usage

Malware Scanner ▌│║▌║▌│║║▌█║▌║█ usage: main.py [-h] [--path PATH] [--update] Simple Basic Malware Scanner optional arguments: -h, --help show this help message and exit --path PATH ex) /var/www/html/upload --update AV Engine Update # python .\main.py --path "F:\Diablo II Resurrected" ▌║█║▌│║▌│║▌║▌█║ Simple Basic Malware Scanner ▌│║▌║▌│║║▌█║▌║█ - Run time: 2022-03-29 11:20:19 - For questions contact github.com/password123456 -------------------------------------> - Engine Updated : 2022-03-29 00:36:22 UTC - AV Signatures : 481581 - Scan Directory : F:\Diablo II Resurrected - Number of files : 1382 - Scan Extensions : '.exe', '.dll', '.sys', '.doc', '.docx', '.xls', '.xlsx', '.py', '.xml', '.cfg', '.txt', '.ppt', '.pptx', '.hwp' -------------------------------------> O.K Here We go.! - Currently scanning... - 1356 files scanned / 15 infected [00:00:06] (F:\Diablo II Resurrected\mods\Runa\Runa.mpq\data\hd\ui\fonts\@font file list.txt) queitems.txt) (1) - Result ------O------M------G--------------->- - Scanner Found 15 infected files! - See the F:\code\pythonProject\malware_hash_scanner3/output/2022-03-29-infected.log (2) - Result - OK.Good. No infection found.">

# python .\main.py
▌║█║▌│║▌│║▌║▌█║ Simple Basic Malware Scanner ▌│║▌║▌│║║▌█║▌║█

usage: main.py [-h] [--path PATH] [--update]

Simple Basic Malware Scanner

optional arguments:
-h, --help show this help message and exit
--path PATH ex) /var/www/html/upload
--update AV Engine Update

# python .\main.py --path "F:\Diablo II Resurrected"
▌║█║▌│║▌│║▌║▌█║ Simple Basic Malware Scanner ▌│║▌║▌│║║▌█║▌║█

- Run time: 2022-03-29 11:20:19
- For questions contact github.com/password123456
------------ ------------------------->

- Engine Updated : 2022-03-29 00:36:22 UTC
- AV Signatures : 481581
- Scan Directory : F:\Diablo II Resurrected
- Number of files : 1382
- Scan Extensions : '.exe', '.dll', '.sys', '.doc', '.docx', '.xls', '.xlsx', '.py', '.xml', '.cfg', '.txt', '.ppt', '.pptx', '.hwp'
------------------------------------->

O.K Here We go.!
- Currently scanning...
- 1356 files scanned / 15 infected [00:00:06] (F:\Diablo II Resurrected\mods\Runa\Runa.mpq\data\hd\ui\fonts\@font file list.txt) queitems.txt)

(1)
- Result
------O------M------G--------------->-
- Scanner Found 15 infected files!
- See the F:\code\pythonProject\malware_hash_scanner3/output/2022-03-29-infected.log

(2)
- Result
- OK.Good. No infection found.

Malwarescanner - Simple Malware Scanner Written In Python Malwarescanner - Simple Malware Scanner Written In Python Reviewed by Zion3R on 9:30 AM Rating: 5

Read Entire Article