Skip to content

Stahlz/SPFM---SOC-Plugins-for-Mattermost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPFM - SOC-Plugins-for-Mattermost

alt text alt text

alt text

Virustotal API has a Private and Public offering, unless you have an private API key, not everything here will be shown in the results if available for a certian hash, url, or domain.

Info on mmpy_bot

mmpy_bot - Read the Docs

install

pip3 install -r requirements.txt 

Place plugins, including config.py inside the plugins folder

I would remove all other plugins from this folder if you don't need them.

site-packages/mmpy_bot
               |--plugins <------Put Contents of this Repo into the Plugins folder
                  |---- urlscan.py
                  |---- virustotal.py
                  |---- config.py

Add your API keys to the config.py

Example

[virustotal]
API_KEY = 'd35b7424-b13d-4f34-9589-d62670cf6a33'

[urlscan]
API_KEY = '4779bcd1-52d3-425c-8d5b-d2d63155ccdd'

[proxy_address]
proxy = '10.10.100.10:8080'

Add your bots login information to the settings.py

site-packages/mmpy_bot/settings.py
MATTERMOST_API_VERSION = 4
BOT_URL = 'https://your-mattermost-site-url/api/v4'
BOT_LOGIN = 'yourbotsusername'
BOT_PASSWORD = None
BOT_TOKEN = 'yourbotstoken'
BOT_TEAM = 'TeamNameToJoin
SSL_VERIFY = False
WS_ORIGIN = None
WEBHOOK_ID = None  # if not specified mmpy_bot will attempt to create one

Virustotal Usage

@yourbotname !vt c7d9f5c981c6194badfc5a9389ecb21f33058c95b01dab9732e88ea0b3426a29
@yourbotname !vt https://google.com
@yourbotname !vt https://yourmalwarec2/somefolder/exfil

URLScan Usage

@yourbotname !urlscan https://suspiciouslink.com/

Planned Additions

passivetotal
ThreatConnect

Potential Additions

dnsdumpster
proofpoint

Author

Contact Info

About

SOC Plugins for mmpy_bot Mattermost bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages