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.iniThe groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…