diff --git a/README.md b/README.md index 0a24c83..d70978e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Malwoverview -[GitHub release (latest by date)](https://github.com/alexandreborges/malwoverview/releases/tag/4.3.3) [GitHub last commit](https://github.com/alexandreborges/malwoverview/releases) [GitHub Release Date](https://github.com/alexandreborges/malwoverview/releases) [GitHub](https://github.com/alexandreborges/malwoverview/blob/master/LICENSE) +[GitHub release (latest by date)](https://github.com/alexandreborges/malwoverview/releases/tag/4.3.4) [GitHub last commit](https://github.com/alexandreborges/malwoverview/releases) [GitHub Release Date](https://github.com/alexandreborges/malwoverview/releases) [GitHub](https://github.com/alexandreborges/malwoverview/blob/master/LICENSE) [GitHub stars](https://github.com/alexandreborges/malwoverview/stargazers) [Twitter Follow](https://twitter.com/ale_sp_brazil) [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=M8F458EZH8UZE&source=url) @@ -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 @@ -112,7 +113,7 @@ See GNU Public License on . -# 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 @@ -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: diff --git a/malwoverview/malwoverview.py b/malwoverview/malwoverview.py index cfe5277..3e9e472 100755 --- a/malwoverview/malwoverview.py +++ b/malwoverview/malwoverview.py @@ -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 @@ -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' @@ -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=' ') @@ -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): @@ -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) @@ -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 -d -f -o <0|1> -v <0|1|2|3> -a <0|1|2|3|4|5> -x <0|1> -w <0|1> -u -H -V -D <0|1> -e <0|1|2|3|4> -A -g -r -t <0|1> -l <1-14> -L -U -S -z -K <0|1|2> -j -J -P -R -G <0|1|2|3|4> -y <0|1|2|3> -Y -Y -T -W -k -I -n <1|2|3|4|5> -N -M <1-8> -m -Q <1-5> -q -E <1|2|3|4|5> -C -b <'1|2|3|4|5|6|7|8|9|10> -B ") + 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 -d -f -o <0|1> -v <0|1|2|3> -a <0|1|2|3|4|5> -x <0|1> -w <0|1> -u -H -V -D <0|1> -e <0|1|2|3|4> -A -g -r -t <0|1> -l <1-14> -L -U -S -z -K <0|1|2> -j -J -P -R -G <0|1|2|3|4> -y <0|1|2|3> -Y -Y -T -W -k -I -n <1|2|3|4|5> -N -M <1-8> -m -Q <1-5> -q -E <1|2|3|4|5> -C -b <'1|2|3|4|5|6|7|8|9|10> -B ") 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)') diff --git a/pictures/picture_44.jpg b/pictures/picture_44.jpg index d0326b5..e70d53f 100644 Binary files a/pictures/picture_44.jpg and b/pictures/picture_44.jpg differ diff --git a/pictures/picture_45.jpg b/pictures/picture_45.jpg index eac00e4..ec1356a 100644 Binary files a/pictures/picture_45.jpg and b/pictures/picture_45.jpg differ diff --git a/pictures/picture_92.JPG b/pictures/picture_92.jpg similarity index 100% rename from pictures/picture_92.JPG rename to pictures/picture_92.jpg diff --git a/setup.py b/setup.py index 7ef8add..1d9ae85 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name="malwoverview", - version="4.3.3", + version="4.3.4", author="Alexandre Borges", author_email="alexandreborges@blackstormsecurity.com", license="GNU GPL v3.0",