[Hack The Box] HTB—Challenges—forensics—USB Ripper writeup

"本文介绍了如何利用Usbrip工具分析Linux系统中的USB设备事件,以查找可能的未经授权的访问。通过安装Usbrip、检查事件违规及解密序列号MD5,来追踪潜在的入侵者。在案例中,找到了MD5值为71DF5A33EFFDEA5B1882C9FBDC1240C6的设备,并给出了flag:HTB{mychemicalromance}
摘要由CSDN通过智能技术生成

[Hack The Box] HTB—Challenges—forensics—USB Ripper writeup

附件:auth.json syslog
DESCRIPTION
There is a sysadmin, who has been dumping all the USB events on his Linux host all the year… Recently, some bad guys managed to steal some data from his machine when they broke into the office. Can you help him to put a tail on the intruders? Note: once you find it, “crack” it.

auth.json的这种格式和一个Linux中的Usbrip工具一样,该工具记录USB设备事件历史。
在Linux中使用Usbrip显示USB设备事件历史记录

auth.json存储授权或受信任的USB设备列表,该文件可用于调查连接了哪些USB设备以及它们是否为授权设备。 这样,可以找出是否某些用户未经许可从系统复制了某些内容。


1.安装Usbrip

安装依赖:

python3-venv
p7zip

sudo apt install python3-venv p7zip-full

安装Usbrip

git clone https://github.com/snovvcrash/usbrip.git
cd usbrip
chmod +x ./installers/install.sh
sudo -H ./installers/install.sh -s

请添加图片描述


2.分析

检查是否有未经授权的USB访问

sudo usbrip events violations ~/auth.json -f syslog

请添加图片描述
viol.json
请添加图片描述
把序列号MD5解密
71DF5A33EFFDEA5B1882C9FBDC1240C6
请添加图片描述
flag:HTB{mychemicalromance}

参考wp:
https://securitybyexpert.com/usb-ripper-forensics-challenges-hackthebox/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shu天

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值