Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip rulemanager * wip: cache * wip: enable rule * wip: single rule * wip: remove failure * wip: rename * wip: rename * Adding exporters * wip: adding prometheusMetric * wip: rename * wip: rename * wip: rename * wip: adding rule manager to main * wip: Add macOS error * wip: adding R0002UnexpectedFileAccessRuleDescriptor rule * wip: R1003 * wip: enable all rules * wip: remove logs * wip: adding RB * wip: rename * wip: http exporter is working * wip: http exporter is working (#193) * wip: start prometheus exporter * wip: adding pod watch * wip: using interface * adding RuleBindingCache interface * wip: dynamic watch * wip: append global rules * Adding base refactor of rules Signed-off-by: Amit Schendel <amitschendel@gmail.com> * wip: support ap watch * wip: adding ticker * wip: adding types * Adding randomx to watcher Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding randomx support Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding events Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding ebpf code Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding stop call for dns tracer Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding syscall type Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding syscall peeking support Signed-off-by: Amit Schendel <amitschendel@gmail.com> * aip: adding applicationactivitiescache * wip: adding AA to interface * fix panic * wip: rename * wip: working * Adding syscall event type Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing syscall rule Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding stuff Signed-off-by: Amit Schendel <amitschendel@gmail.com> * adding syscall event conversion Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing crypto miner rule Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing randomx event conversion Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding fixed rule code Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding unsahre syscall rule test Signed-off-by: Amit Schendel <amitschendel@gmail.com> * tests * Adding requirement fixes for all the rules Signed-off-by: Amit Schendel <amitschendel@gmail.com> * wip: units * wip: adding watch * adding logs * stop tracing * fix ID * Adding pre running containers Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pre running containers Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pre running containers Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pre running containers Signed-off-by: Amit Schendel <amitschendel@gmail.com> * adding pre running containers Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pre running containers support Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pre running containers Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Formatting Signed-off-by: Amit Schendel <amitschendel@gmail.com> * wip: marshal pod * naming * remove some logs * Removing application profile requirement Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing application profile requirement Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing application profile requirement Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing application profile requirement Signed-off-by: Amit Schendel <amitschendel@gmail.com> * go mod tidy Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding updated main file with malware manager Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding malware manager callbacks Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding malware manager with clamav support Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing old impl Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding container id Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Changing exporters to support the new malware fields Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Moving interface location to be part of v1 Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding support of v1 interface Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding support of the new interface Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding interface of v1 Signed-off-by: Amit Schendel <amitschendel@gmail.com> * status labels Signed-off-by: Amir Malka <amirm@armosec.io> * wip: move cache objects * Adding support for the new v1 mm Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding support for pre running containers detection Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing oci config Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding runtime enrichment Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing ticker Signed-off-by: Amit Schendel <amitschendel@gmail.com> * cont implementation Signed-off-by: Amir Malka <amirm@armosec.io> * cont implementation Signed-off-by: Amir Malka <amirm@armosec.io> * cont implementation Signed-off-by: Amir Malka <amirm@armosec.io> * cont implementation Signed-off-by: Amir Malka <amirm@armosec.io> * network manager impl Signed-off-by: Amir Malka <amirm@armosec.io> * Adding tests * fix Signed-off-by: Amir Malka <amirm@armosec.io> * delete pod objects from cache after 1 min Signed-off-by: Amir Malka <amirm@armosec.io> * update network neighbors cache Signed-off-by: Amir Malka <amirm@armosec.io> * Adding updated go mod Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding support for open reports Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing mock to fit new interface Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding support in clamav malware scanner to scan open events Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding open events mangment in the manager Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing interface Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding report callback for malware manager Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding the option to look a file path on the host using /proc host view Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Changing file path to be from host pov Signed-off-by: Amit Schendel <amitschendel@gmail.com> * removed deletion wait Signed-off-by: Amir Malka <amirm@armosec.io> * Adding container callback Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding container callback in order to store a mapping between container id to pid Signed-off-by: Amit Schendel <amitschendel@gmail.com> * fix pr * adding units for ap * adding tests * Passing config to the malware manager Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding a check to see if a path is a directory Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding a smart container cache Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing logs Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding read only scanning Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Bumping IG to v0.0.27 Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing functions Signed-off-by: Amit Schendel <amitschendel@gmail.com> * idk Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Using matthyx ig version Signed-off-by: Amit Schendel <amitschendel@gmail.com> * adding tests * waiting for cache * Adding Fixed ClamAV Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding fixes Signed-off-by: Amit Schendel <amitschendel@gmail.com> * fix callback * handle dropped events * use lock for isCached * Removed docker from initial container runtime iteration Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Removing logs Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pre running containers only if trace forever Signed-off-by: Amit Schendel <amitschendel@gmail.com> * change status * moved syscalls to ap Signed-off-by: Amir Malka <amirm@armosec.io> * moved syscalls to ap Signed-off-by: Amir Malka <amirm@armosec.io> * adding tests * Adding process utils Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding procfs Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Moving exporters Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Changing import Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Changing exporters Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding new types enrichments Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding new exporters Signed-off-by: Amit Schendel <amitschendel@gmail.com> * updated workflow Signed-off-by: Amir Malka <amirm@armosec.io> * renamed storage_no_cache, fix NN patch Signed-off-by: Amir Malka <amirm@armosec.io> * support ephemeral containers Signed-off-by: Amir Malka <amirm@armosec.io> * fix units * update deps Signed-off-by: Amir Malka <amirm@armosec.io> * Adding needed packages Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing exporters Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fitting interface Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Changing malware manager to support the new structs Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing rules to work with the new struct Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding new utils Signed-off-by: Amit Schendel <amitschendel@gmail.com> * update deps Signed-off-by: Amir Malka <amirm@armosec.io> * Fixing exporters to use new rules structure Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding host network to enrichment Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing r0003 Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding replace statement for syft pkg Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing tests Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing bugs Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing timestamp Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding Upper Layer to RandomX tracer Signed-off-by: Amit Schendel <amitschendel@gmail.com> * updated pod json Signed-off-by: Amir Malka <amirm@armosec.io> * watch running containers * bump deps Signed-off-by: Amir Malka <amirm@armosec.io> * fixed test * Passsing needed params Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding needed params Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding wlid for http exporter Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing severity of rules Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing params Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing exporters Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pod to wlid in malware manager Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding pod to wlid Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding fixing logger and adding missing function in interface Signed-off-by: Amit Schendel <amitschendel@gmail.com> * BUGFIX: extra param to exporter Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Fixing comment Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding some fixes for rules Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding comments on syscall event Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding missing param Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding fixed test for rule Signed-off-by: Amit Schendel <amitschendel@gmail.com> * fix NN patch Signed-off-by: Amir Malka <amirm@armosec.io> * fixed rule * adding ruleManager.ContainerCallback * remove global rb * refactor Signed-off-by: Amir Malka <amirm@armosec.io> * fix Signed-off-by: Amir Malka <amirm@armosec.io> * Fixing r1000 Signed-off-by: Amit Schendel <amitschendel@gmail.com> * Adding missing enrichment Signed-off-by: Amit Schendel <amitschendel@gmail.com> * adding tests * make test stable --------- Signed-off-by: Amit Schendel <amitschendel@gmail.com> Signed-off-by: Amir Malka <amirm@armosec.io> Signed-off-by: David Wertenteil <dwertent@armosec.io> Co-authored-by: Amit Schendel <amitschendel@gmail.com> Co-authored-by: Amit Schendel <58078857+amitschendel@users.noreply.github.com> Co-authored-by: Amir Malka <amirm@armosec.io>
- Loading branch information