SSMA – Simple Static Malware Analyzer

December 3, 2016 | Views: 5585

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

SSMA is a simple malware analyzer written in Python 3.

Features:

  • Searches for websites, e-mail addresses, IP addresses in the strings of the file.

  • Looks for Windows functions commonly used by malware.

  • Get results from VirusTotal and/or upload files.

  • Malware detection based on Yara-rules – https://virustotal.github.io/yara/

  • Detect well-known software packers.

  • Detect the existence of cryptographic algorithms.

  • Detect anti-debug and anti-virtualization techniques used by malware to evade automated analysis.

  • Find if documents have been crafted to leverage malicious code.

Usage

git clone https://github.com/secrary/SSMA

cd SSMA

sudo pip3 install -r requirements.txt

python3 ssma.py -h

You can just statically scan the file or upload to VirustTotal using your API-KEY.

Usage

python3 ssma.py file.exe
python3 ssma.py -k api-key file.exe

image-1

image-2

image-3

Scan documents (i.e. MS Office Word):

Usage

python3 ssma.py -d doc.docx

To get ssdeep hashes use requirements_with_ssdeep.txt

Requirements:
Python 3
Download

Share with Friends
FacebookTwitterLinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterLinkedInEmail
Ready to share your knowledge and expertise?
5 Comments
  1. I’m getting “http.client.IncompleteRead” in “blacklisted_domain_ip.py, line 18, in ransomware_and_malware_domain_check”.

    So I put a try,catch and a loop to make retries. After few tries, it worked.

  2. For Windows there is Sysinternals, but for Linux users this fills a hole. Some users may prefer Python 2.5, but can’t please everyone. I’ll look into the code for this.

    Thanks

  3. That is an extremely helpful program and article.
    I had to tip 5 Cybytes for this. There isn’t much out here on Malware Analysis.
    Thank you for the great information. I am going to dig in more shortly.
    Great work and I cannot wait to see more from you

Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge

 

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel