Skip to content

Commit

Permalink
Malwoverview 4.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreborges committed Apr 9, 2021
1 parent 2e6de40 commit 9158141
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 12 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Malwoverview

[<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/alexandreborges/malwoverview?color=Red&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases/tag/4.3.3) [<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/alexandreborges/malwoverview?color=Yellow&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub Release Date" src="https://img.shields.io/github/release-date/alexandreborges/malwoverview?label=Release%20Date&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub" src="https://img.shields.io/github/license/alexandreborges/malwoverview?style=for-the-badge">](https://github.com/alexandreborges/malwoverview/blob/master/LICENSE)
[<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/alexandreborges/malwoverview?color=Red&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases/tag/4.3.4) [<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/alexandreborges/malwoverview?color=Yellow&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub Release Date" src="https://img.shields.io/github/release-date/alexandreborges/malwoverview?label=Release%20Date&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub" src="https://img.shields.io/github/license/alexandreborges/malwoverview?style=for-the-badge">](https://github.com/alexandreborges/malwoverview/blob/master/LICENSE)
[<img alt="GitHub stars" src="https://img.shields.io/github/stars/alexandreborges/malwoverview?logoColor=Red&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/stargazers) [<img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/ale_sp_brazil?color=blueviolet&style=for-the-badge">](https://twitter.com/ale_sp_brazil)
[<img alt="PayPal" src="https://img.shields.io/badge/Donate-Paypal-brightgreen?style=for-the-badge&logo=appveyor">](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=M8F458EZH8UZE&source=url)

Expand Down Expand Up @@ -96,6 +96,7 @@
![Alt text](pictures/picture_89.jpg?raw=true "Title")
![Alt text](pictures/picture_90.jpg?raw=true "Title")
![Alt text](pictures/picture_91.jpg?raw=true "Title")
![Alt text](pictures/picture_92.jpg?raw=true "Title")

Copyright (C) 2018-2021 Alexandre Borges <alexandreborges at blackstormsecurity dot com>

Expand All @@ -112,7 +113,7 @@
See GNU Public License on <http://www.gnu.org/licenses/>.


# Current Version: 4.3.3
# Current Version: 4.3.4

Important note: Malwoverview does NOT submit samples to Virus Total or Hybrid
Analysis by default. It submits only hashes, so respecting Non-Disclosure
Expand Down Expand Up @@ -738,6 +739,13 @@ optional arguments:
# HISTORY


Version 4.3.4:

This version:

* Removes two columns from option -y 1 (Android package checking on HA)
to offer better formatting.

Version 4.3.3:

This version:
Expand Down
22 changes: 13 additions & 9 deletions malwoverview/malwoverview.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Corey Forman (https://github.com/digitalsleuth)
# Christian Clauss (https://github.com/cclauss)

# Malwoverview.py: version 4.3.3
# Malwoverview.py: version 4.3.4

import os
import sys
Expand Down Expand Up @@ -60,7 +60,7 @@
__author__ = "Alexandre Borges"
__copyright__ = "Copyright 2018-2021, Alexandre Borges"
__license__ = "GNU General Public License v3.0"
__version__ = "4.3.3"
__version__ = "4.3.4"
__email__ = "alexandreborges at blackstormsecurity.com"

haurl = 'https://www.hybrid-analysis.com/api/v2'
Expand Down Expand Up @@ -7640,8 +7640,10 @@ def run(self):
print((mycolors.foreground.lightred + "%12s" % threatscore), end='')
else:
print((mycolors.foreground.lightred + "%8s/100" % threatscore), end='')
print((mycolors.foreground.lightgreen + "%6s" % totalprocesses), end='')
print((mycolors.foreground.lightgreen + "%6s" % networkconnections + mycolors.reset))
if (verdict == "malicious"):
print((mycolors.foreground.lightred + "%20s" % verdict), end='')
else:
print((mycolors.foreground.yellow + "%20s" % verdict), end='\n')
else:
print((mycolors.foreground.lightcyan + "%-70s" % package1), end=' ')
print((mycolors.foreground.green + "%-34s" % key1), end=' ')
Expand All @@ -7655,8 +7657,10 @@ def run(self):
print((mycolors.foreground.red + "%12s" % threatscore), end='')
else:
print((mycolors.foreground.red + "%8s/100" % threatscore), end='')
print((mycolors.foreground.blue + "%6s" % totalprocesses), end='')
print((mycolors.foreground.blue + "%6s" % networkconnections + mycolors.reset))
if (verdict == "malicious"):
print((mycolors.foreground.lightred + "%20s" % verdict), end='')
else:
print((mycolors.foreground.yellow + "%20s" % verdict), end='\n')


def checkandroidha(key, package):
Expand Down Expand Up @@ -7744,8 +7748,8 @@ def checkandroid(engine):
if(engine == 1):

print(mycolors.reset + "\n")
print("Package".center(70) + "Hash".center(34) + "Found?".center(12) + "AVdet".center(10) + "Sigs".center(5) + "Score".center(14) + "Procs".center(6) + "Conns".center(6))
print((160*'-').center(80))
print("Package".center(70) + "Hash".center(34) + "Found?".center(12) + "AVdet".center(10) + "Sigs".center(5) + "Score".center(14) + "Verdict".center(14))
print((162*'-').center(81))
for key, value in dictAndroid.items():
checkandroidha(value, key)

Expand Down Expand Up @@ -7996,7 +8000,7 @@ def dirchecking(repo2):
bazaar = 0
bazaararg = ''

parser = argparse.ArgumentParser(prog=None, description="Malwoverview is a first response tool for threat hunting written by Alexandre Borges. This version is 4.3.3", usage= "python malwoverview.py -c <API configuration file> -d <directory> -f <fullpath> -o <0|1> -v <0|1|2|3> -a <0|1|2|3|4|5> -x <0|1> -w <0|1> -u <url> -H <hash file> -V <filename> -D <0|1> -e <0|1|2|3|4> -A <filename> -g <job_id> -r <domain> -t <0|1> -l <1-14> -L <hash> -U <url> -S <url> -z <tags> -K <0|1|2> -j <hash> -J <hash> -P <filename> -R <PE file, IP address, domain or URL> -G <0|1|2|3|4> -y <0|1|2|3> -Y <file name> -Y <file name> -T <file name> -W <tag> -k <signature> -I <ip address> -n <1|2|3|4|5> -N <argument> -M <1-8> -m <argument> -Q <1-5> -q <argument> -E <1|2|3|4|5> -C <argument> -b <'1|2|3|4|5|6|7|8|9|10> -B <arg>")
parser = argparse.ArgumentParser(prog=None, description="Malwoverview is a first response tool for threat hunting written by Alexandre Borges. This version is 4.3.4", usage= "python malwoverview.py -c <API configuration file> -d <directory> -f <fullpath> -o <0|1> -v <0|1|2|3> -a <0|1|2|3|4|5> -x <0|1> -w <0|1> -u <url> -H <hash file> -V <filename> -D <0|1> -e <0|1|2|3|4> -A <filename> -g <job_id> -r <domain> -t <0|1> -l <1-14> -L <hash> -U <url> -S <url> -z <tags> -K <0|1|2> -j <hash> -J <hash> -P <filename> -R <PE file, IP address, domain or URL> -G <0|1|2|3|4> -y <0|1|2|3> -Y <file name> -Y <file name> -T <file name> -W <tag> -k <signature> -I <ip address> -n <1|2|3|4|5> -N <argument> -M <1-8> -m <argument> -Q <1-5> -q <argument> -E <1|2|3|4|5> -C <argument> -b <'1|2|3|4|5|6|7|8|9|10> -B <arg>")
parser.add_argument('-c', '--config', dest='config', type=str, metavar = "CONFIG FILE", default = (USER_HOME_DIR + '.malwapi.conf'), help='Use a custom config file to specify API\'s')
parser.add_argument('-d', '--directory', dest='direct',type=str, metavar = "DIRECTORY", help='Specifies the directory containing malware samples.')
parser.add_argument('-f', '--filename', dest='fpname',type=str, metavar = "FILENAME", default = '', help='Specifies a full path to a malware sample. It returns general information about the file (any filetype)')
Expand Down
Binary file modified pictures/picture_44.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pictures/picture_45.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="malwoverview",
version="4.3.3",
version="4.3.4",
author="Alexandre Borges",
author_email="[email protected]",
license="GNU GPL v3.0",
Expand Down

0 comments on commit 9158141

Please sign in to comment.