The author of this project is not responsible for any damage or data loss incurred as a result of using this software.
Use this software at your own risk. While efforts have been made to ensure the accuracy and reliability of the software, it is provided “as is” without warranty of any kind.
By using this software, you agree to assume all risks associated with its use. Opinions are that of the author and not that of AWS. Review the AWS pentesting policy prior to executing any security tools on AWS Lambda.
Lemma is a Python-based AWS Lambda package and client designed to execute packaged command-line tools in a scalable, remote environment on AWS Lambda.
Lemma takes advantage of the new Response Streaming feature on AWS Lambda to stream real-time stdout back to the user as the tool is running. The Lemma project comprises three main components:
While the intented use case for Lemma is to run verbose security security tooling on AWS lambda, Lemma can be used for any type of command-line tool you wish to run remotely.
Steps to build and deploy on a fresh Ubuntu 22 instance
sudo apt updatesudo apt install docker.io python3 python3-pipgit clone https://github.com/defparam/lemmacd lemmaexport AWS_ACCESS_KEY_ID=<your access key id>export AWS_SECRET_ACCESS_KEY=<your secret access key>./build.shWeb-CLI:
Terminal-CLI:
pip3 install . (The Terminal-CLI is also available on pypi: pip install lemmacli)lemma~/.lemma/lemma.iniIntroduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…