Important
Manually verify and update reports for best results.
The Sanctions Compliance Discovery Tool is designed to assist security researchers and compliance officers in monitoring and analyzing entities that may be subject to EU
and US
sanctions. This tool automates the retrieval and analysis of sanctions lists to identify and report on entities potentially violating these sanctions. By streamlining the process of sanctions compliance, this tool helps ensure that organizations under EU
and US
jurisdiction can efficiently adhere to regulatory requirements and mitigate the risks of legal penalties.
- Automated Downloads: Downloads the latest
EU
andUS
sanctions lists directly from official sources. - Data Extraction: Extracts
domain names
and performsDNS lookups
to gather associatedIP addresses
. - WHOIS Lookups: Retrieves
ownership
andcontact information
forIP addresses
, highlighting potential sanctions violations. - Report Generation: Creates detailed reports based on the extracted and analyzed data, formatted for compliance submissions.
- Interactive Emailing: Allows users to email reports directly from the script, targeting relevant parties.
To use the Sanctions Compliance Discovery Tool, you need a bash environment with curl
, jq
, grep
, awk
, sed
, and mail
(or a similar mail utility) installed. Follow these steps to set up the script:
-
Clone the Repository:
git clone https://github.com/appatalks/sanctions-compliance.git cd sanctions-compliance
-
Set Executable Permissions:
chmod +x compliance_discovery.sh
-
Configure Mail Utility:
- Ensure that your system's mail utility is configured correctly to send emails. This might involve setting up
sendmail
orpostfix
.
- Ensure that your system's mail utility is configured correctly to send emails. This might involve setting up
Run the script directly from the command line:
./compliance_discovery.sh
You are prompted and encouraged to review, verify and modify the generated reports as needed and optionally email these reports to specified recipients.
Edit the following variables within the script to suit your needs:
COUNTRY_CODE
: Optionally change this to the country codeTLD
you wish to filter (.ru, .by, .ir, .cn, etc.).DNS
: Set this to your preferredDNS resolver
if not using the default.
Contributions to the Sanctions Compliance Discovery Tool are welcome. Please fork the repository, make your changes, and submit a pull request.
This project is licensed under the GNU General Public License v3.0
- see the LICENSE file for details.
If you encounter any problems or have suggestions, please open an issue in the repository.