Comments (4)
This is an interesting case. Is this the same behaviour when moonwalk
is invoked without sudo
? I would guess so because it handles modified files and doesn't track redirection or non listed files.
On a cursory glance, the only way to prevent this is to make moonwalk
it's own shell runtime (actively monitoring system events just like trap
does). Also I've never seen bash debug traps implemented as a security feature / alternative logging approach. Is it something you've seen commonly implemented? Please let me know, if it is, moonwalk gotta ship as a shell runtime for the next release!
Thanks! 🙌
from moonwalk.
In fact, to counter this logging trick just exec trap
with no argument => it will clear all trap listener
I don't really know if it is used in real system. But I think it could be interesting for moonwalk to have the widest arsenal possible.
They are several logging "tricks" like this which could be easily detected and avoided (see).For the most common/real ones moonwalk
could help to avoid them
from moonwalk.
Another point, for stealthiness
Moonwalk aim is to hide/clear tracks after a shell session, but in real world command are logged and send to a SIEM in real time. So clear tracks is not sufficient
As you said having a shell runner to obfuscate command ran is a good point.
I don't know if it is exactly in the scope
I would like to help, but I have zero knowledge in rust
Eventually, I could to try to develop this idea as a sidecar (as It is simple I think)
from moonwalk.
Eventually, I could to try to develop this idea as a sidecar (as It is simple I think)
volana
is the "sidecar" that I think is a good complement for moonwalk
. Don't knwo if it is what you had in mind.
from moonwalk.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonwalk.