Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
py-amsi — Scansiona stringhe o file alla ricerca di malware utilizzando l'interfaccia Windows Antimalware Scan Interface | Kitploit
Strumenti/GitHubGitHub/tomiwa-ot/py-amsi
Strumenti DifensiviAnalisi Malware
GitHubtomiwa-ot/py-amsi

py-amsi

Scansiona stringhe o file alla ricerca di malware utilizzando l'interfaccia Windows Antimalware Scan Interface

Vedi RepositorySito web
3043 anni faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

py-amsi

py-amsi è una libreria che analizza stringhe o file alla ricerca di malware utilizzando l'API Windows Antimalware Scan Interface (AMSI). AMSI è un'interfaccia nativa di Windows che consente alle applicazioni di chiedere all'antivirus installato sul sistema di analizzare un file/stringa. AMSI non è legato a Windows Defender. I fornitori di antivirus implementano l'interfaccia AMSI per ricevere chiamate dalle applicazioni. Questa libreria sfrutta l'API per eseguire scansioni antivirus in Python. Leggi di più sull'API Windows AMSI qui.

Installazione

  • Tramite pip

    root@kitploit:~
    pip install pyamsi
    
  • Clona il repository

    root@kitploit:~
    git clone https://github.com/Tomiwa-Ot/py-amsi.git
    cd py-amsi/
    python setup.py install
    

Utilizzo

root@kitploit:~
from pyamsi import Amsi

# Scan a file
Amsi.scan_file(file_path, debug=True) # debug is optional and False by default

# Scan string
Amsi.scan_string(string, string_name, debug=False) # debug is optional and False by default

# Both functions return a dictionary of the format
# {
#     'Sample Size' : 68,         // The string/file size in bytes
#     'Risk Level' : 0,           // The risk level as suggested by the antivirus
#     'Message' : 'File is clean' // Response message
# }

Documentazione

https://tomiwa-ot.github.io/py-amsi/index.html

Scarica lo strumento
Livello di RischioSignificato
0AMSI_RESULT_CLEAN (File pulito)
1AMSI_RESULT_NOT_DETECTED (Nessuna minaccia rilevata)
16384AMSI_RESULT_BLOCKED_BY_ADMIN_START (Minaccia bloccata dall'amministratore)
20479AMSI_RESULT_BLOCKED_BY_ADMIN_END (Minaccia bloccata dall'amministratore)
32768AMSI_RESULT_DETECTED (File considerato malware)