T1593.003sub-technique of T1593 Search Open Websites/Domains
Code Repositories
PREnothing on this site yetT1593.003 on attack.mitre.org
Adversaries may search public code repositories for information about victims that can be used during targeting. Victims may store code in repositories on various third-party websites such as GitHub, GitLab, SourceForge, and BitBucket. Users typically interact with code repositories through a web application or command-line utilities such as git. Adversaries may search various public code repositories for various information about a victim.
how MITRE says to see it
Detection of Code Repositories
- Much of this activity may have a very high occurrence and associated false positive rate, as well as potentially taking place outside the visibility of the target organization, making detection difficult for defenders.
what reduces it
- M1013 Application Developer Guidance. Application developers uploading to public code repositories should be careful to avoid publishing sensitive information such as credentials and API keys.
- M1047 Audit. Scan public code repositories for exposed credentials or other sensitive information before making commits. Ensure that any leaked credentials are removed from the commit history, not just the current latest version of the code.