https://github.com/michael2to3/c2-search-netlas
Search for c2 servers based on netlas
https://github.com/michael2to3/c2-search-netlas
bindshell c2 detect malware reverse-shell search security security-tool shodan vulnaribility
Last synced: 29 days ago
JSON representation
Search for c2 servers based on netlas
- Host: GitHub
- URL: https://github.com/michael2to3/c2-search-netlas
- Owner: michael2to3
- License: gpl-3.0
- Archived: true
- Created: 2023-02-17T18:29:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T16:38:13.000Z (about 2 years ago)
- Last Synced: 2024-11-17T01:28:54.744Z (7 months ago)
- Topics: bindshell, c2, detect, malware, reverse-shell, search, security, security-tool, shodan, vulnaribility
- Language: Java
- Homepage:
- Size: 745 KB
- Stars: 39
- Watchers: 3
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ip-search-engines - C2 Netlas Search Java
README
# NetAtlas C2 Server Search

[](https://github.com/michael2to3/pretty-caldav-politech-schedule/blob/main/LICENSE)
[](https://junit.org/junit5/)
[](https://gradle.org/)
[](https://app.codacy.com/gh/michael2to3/c2-search-netlas/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[](https://app.codacy.com/gh/michael2to3/c2-search-netlas/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)
[](https://hub.docker.com/r/dockeronfullpc/c2detect)C2 Search Netlas is a Java utility designed to detect Command and Control (C2) servers using the Netlas API. It provides a straightforward and user-friendly CLI interface for searching C2 servers, leveraging the Netlas API to gather data and process it locally.
[](https://asciinema.org/a/Q0g0ego8SK97elJvTHN5IXLzs)
## Usage
To utilize this terminal utility, you'll need a Netlas API key. Obtain your key from the [Netlas](https://netlas.io) website.
After acquiring your API key, execute the following command to search servers:
```bash
c2detect -t -p -s [-v]
```
Replace `` with the desired IP address or domain, `` with the port you wish to scan, and `` with your Netlas API key.
Use the optional `-v` flag for verbose output.
For example, to search at the `google.com` IP address on port `443` using the Netlas API key `1234567890abcdef`, enter:
```bash
c2detect -t google.com -p 443 -s 1234567890abcdef
```## Release
To download a release of the utility, follow these steps:- Visit the repository's releases page on GitHub.
- Download the latest release file (typically a JAR file) to your local machine.
- In a terminal, navigate to the directory containing the JAR file.
- Execute the following command to initiate the utility:
```bash
java -jar c2-search-netlas-.jar -t -p -s
```## Docker
To build and start the Docker container for this project, run the following commands:
```bash
docker build -t c2detect .
docker run -it --rm \
c2detect \
-s "your_api_key" \
-t "your_target_domain" \
-p "your_target_port" \
-v
```## Source
To use this utility, you need to have a Netlas API key. You can get the key from the Netlas website.
Now you can build the project and run it using the following commands:
```bash
./gradlew build
java -jar app/build/libs/c2-search-netlas-1.0-SNAPSHOT.jar --help
```
This will display the help message with available options.
To search for C2 servers, run the following command:
```bash
java -jar app/build/libs/c2-search-netlas-1.0-SNAPSHOT.jar -t -p -s
```
This will display a list of C2 servers found in the given IP address or domain.## Support
| Name | Support |
|-------------------------|--------------------|
| Metasploit | :white_check_mark: |
| Havoc | :question: |
| Cobalt Strike | :white_check_mark: |
| Bruteratel | :white_check_mark: |
| Sliver | :white_check_mark: |
| DeimosC2 | :white_check_mark: |
| PhoenixC2 | :white_check_mark: |
| Empire | :x: |
| Merlin | :white_check_mark: |
| Covenant | :x: |
| Villain | :white_check_mark: |
| Shad0w | :x: |
| PoshC2 | :white_check_mark: |Legend:
- :white_check_mark: - Accept/good support
- :question: - Support unknown/unclear
- :x: - No support/poor support## Contributing
If you'd like to contribute to this project, please feel free to create a pull request.
## License
This project is licensed under the License - see the [LICENSE](https://github.com/michael2to3/c2-search-netlas/blob/main/LICENSE) file for details.