Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.98 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.98 KB

STrAT Image

Background and Motivation

I have always wanted to create a Site Reputability Scanner for a while now, hence the Site Triage and Analysis Tool (STrAT) was born.

For now you will need your own VirusTotal and Urlscan API keys, placed in a file in the directory which you clone this repo into, named .env.

My Plan

Subjected to changes as the project progresses

  • chore: Scanning links provided by the user using both the Urlscan.io and VirusTotal APIs concurrently

    • user inputs still require validation 👀
    • addition of scan type feature (public, private or unlisted)
    • removed potentially dangerous C2 callback by script -> used phishTank for now
    • request timeout (async) for urlscan
    • fix VT Url Analysis Report Output Issue; VT unscanned url returns 0 for "malicious" and "harmless" categories
    • testing if script is working and cross-platform
    • download URLScan Image
    • add requirements.txt
  • additional features: not entirely sure if feasible

    • Having the tool accept command line arguments and build help menu (probably using argparse or getopts python libraries?)
    • Loading bar for API load
    • Use some AI engine for heuristic scanning
  • chore: Returning and determining results based on threat scoring (something like classifications on Hybrid Analysis)

  • chore: Include and update wiki for documentation

Notes

  • Feel free to create an issue for any suggestions or issues or use the PR functionality.

Requirements

$ pip install -r requirements.txt
  • .env file layout (naming convention of the variables don't matter, but their order does -- as I hardcoded the index):
VT_API_KEY = '<VIRUSTOTAL_API_KEY>'
US_API_KEY = '<URLSCAN_API_KEY>'
IP_DATA_KEY = '<IPDATA.CO_API_KEY>'