Skip to main content

sarenka-logo

Release release CircleCi release CircleCi release Platform release CWE feed license

♥ Free Software, requires only free accounts to third part services ♥

Lack of knowledge ... that is the problem.

William Edwards Deming

SARENKA is Open Source Intelligence (OSINT) tool which helps you obtaining and understanding Attack Surface.

The main goal is to gathering infromation from search engines for Internet-connected devices (https://censys.io/, https://www.shodan.io/). It scraps data about Common Vulnerabilities and Exposures (CVE), Common Weakness Enumeration (CWE) and also has database where CVEs are mapped to CWE.

It returns data about local machine - local installed softwares (from Windows Registry), local network information (python libraries, popular cmd commads).

For now application has also simple tools like hash calcualtor, shannon entropy calculator and very simple port scanner. More cryptography-math tools and reconnaissance scripts are planned.

Look

https://www.facebook.com/ncybersec/posts/1671427243027993

Realtion beetwen CWE and CVE - sarenka data feeder

Generating this file takes a long time e.g: 702.5641514

all CWE Ids with description

https://raw.githubusercontent.com/pawlaczyk/sarenka_tools/master/cwe_all.json

all CVE Ids with description

In progress

get all CVE Ids by CWE Id

In progress

Installation

Description in progress

Getting started

Description in progress Sarenka is local web application for Windows.

Config

Rirst release gathers data from two search engines. example sarenka/backend/connectors/credentials.json

{   
    "censys": {
        "base_url": "https://censys.io/",
        "API_ID": "<my_user>",
        "Secret": "<my_api_key>",
        "API_URL": "https://censys.io/api/v1"
    },
    "shodan": {
        "base_url": "https://www.shodan.io/",
        "user": "<my_user>",
        "api_key": "<my_api_key>"
    }
}

Features

You can also:

  • calculate hashes based on user string
  • calculate shannon entropy based on user string
  • check is port open|closed (instead always use nmap if you can - it's slow)

Suggestions are welcome

  • Whant some feature, other tool, library functionality?
  • Have any idea or question? alt text
  • Don't hesitate to contact Author .

Database

This is tricki part, because we have 863 sqlite3 database files: default, CWE-NONE (some CVE hasn't cwe_id eg.: CVE-2013-3621) and 861 individual for CWEs

Tech

Description in progress.

SARENKA uses a number of open source projects to work properly on:

And of course SARENKA itself is open source with a public repository on GitHub.

Planned features

  • Rewrite documentation in English (end of 2021)
  • trello/ github instead of Jira
  • Cover 100% code by tests
  • typing backend
  • document all functions and class
  • Docker
  • online demo
  • Jenkins
  • GraphQL
  • Selenium Scrapers
  • More pentesting tools
  • Google Dorks
  • Abstract Algebra calculator
  • Number Theory calculator
  • Server certificate validator
  • tests on Linux
  • NLP
  • d3js visualizations
  • alterntive pure version in command lineS
CI/CD Tools

Tests

  • Tested on Windows 10

Documentation

Till end of March, 2021 documentation will be available only in Polish! The documentation is availabe here.

Authors

Author Author Author

Installation

Run the following to install:

pip install sarenka

Usage

from abstract_algebra import say_hello

# Generate "Hello, World!"
say_hello()

# Generate "Hello, Everybody!"
say_hello("Everybody")

Developing sarenka

To install sarenka, along with the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]
Contact

Author

License

SARENKA is licensed under the MIT License.

Metadata

Release files for sarenka 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sarenka 0.0.1
File Size Uploaded Provenance Actions
sarenka-0.0.1.tar.gz 17.2 MB Without provenance Details for sarenka-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sarenka 0.0.1
File Interpreter ABI Platform Actions
sarenka-0.0.1-py3-none-any.whl Python 3 none any Details for sarenka-0.0.1-py3-none-any.whl

Total release size: 17.2 MB

Release files / sarenka-0.0.1.tar.gz

Download URL sarenka-0.0.1.tar.gz
Size 17.2 MB
Tags Source
SHA-256 checksum
How to use checksums
b0016da86aa86dc9991206b18a232c3938808183a1734330358621b605ad75b5
BLAKE2b-256 checksum
How to use checksums
dd412501f7b9b23afd2611319fdbd743cb6e39404f01211ef6ac6231d1eaba87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release files / sarenka-0.0.1-py3-none-any.whl

Download URL sarenka-0.0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36795082392ab9e38ed9bd8de0c705c06bd47cf6f140c7535aab0df569f40c32
BLAKE2b-256 checksum
How to use checksums
2ce04ad60aea45107fd24192c406493ab9c1ba3acf3cd951c88845f388a71463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Security for sarenka 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page