Skip to main content

A simple vulnerability scanner

Project description

Ludvig

Ludvig scan

Want to use Ludvig with your CI pipeline? Mosey on over to the Ludvig Action :)

Security scanner

Named after Kjell Aukrust's character Ludvig who thinks everything is dangerous and is scared of the dark during the day.

Why yet another scanner?

Mostly because I thought it was a fun way to use YARA rules for something in addition to malware hunting and to learn how these kind of tools are made.

Usage

The general usage of the tool can be found by running python -m ludvig --help

Container scan

Scan container: python -m ludvig image scan --repository <repository>

ludvig image scan --help

Command
    ludvig image scan : Scans a container image.

Arguments
    --repository [Required] : Container image to scan (ex: myimage:1.1).
    --custom-rules          : Path to any custom YARA rules (need to have .yar extension).
    --deobfuscated          : Returns any secrets found in plaintext. Defaults to False.
    --output-sarif          : Generates SARIF report if filename is specified.
    --severity-level        : Set severity level for reporting.  Allowed values: CRITICAL, HIGH,
                              LOW, MEDIUM, UNKNOWN.  Default: MEDIUM.

Filesystem scan

Scan the filesystem: python -m ludvig fs scan --path <path>

ludvig fs scan --help

Command
    ludvig fs scan : Scans a filesystem path.

Arguments
    --path  [Required] : Path to scan.
    --custom-rules     : Path to any custom YARA rules (need to have .yar extension).
    --deobfuscated     : Returns any secrets found in plaintext. Defaults to False.
    --output-sarif     : Generates SARIF report if filename is specified.
    --severity-level   : Set severity level for reporting.  Allowed values: CRITICAL, HIGH, LOW,
                         MEDIUM, UNKNOWN.  Default: MEDIUM.

Adding files/directories to ignore list

Create a .ludvignore file such as:

*.yar
debug/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ludvig-0.2.6.tar.gz (25.2 MB view details)

Uploaded Source

Built Distribution

ludvig-0.2.6-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file ludvig-0.2.6.tar.gz.

File metadata

  • Download URL: ludvig-0.2.6.tar.gz
  • Upload date:
  • Size: 25.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for ludvig-0.2.6.tar.gz
Algorithm Hash digest
SHA256 0e3996711387277b8dce9940515efa371af28616814bc651bba99a39ac72daf0
MD5 d98e70d8a93f57ba8b6b2c1b1a595a80
BLAKE2b-256 1810983bfa96da8839d043f2175a91b003a59adb6fcd504820539b156667346a

See more details on using hashes here.

File details

Details for the file ludvig-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: ludvig-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for ludvig-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 91e4b3b28301d0e29b6013c3ce75324820efa066478b8b430e5db5b125888ea9
MD5 c316e9ee9a77a5c25f2d7fbf534e8a6b
BLAKE2b-256 4e0da5d9d9eafb6acb70cfca0c883a077872613029e77066e110700a8deca747

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page