소스 정보
- 저장소
- MuWinds/BUUCTF_Agent
- 최근 소스 활동
- 2026년 4월 29일 19:55
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 256
- 포크
- 34
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/MuWinds/BUUCTF_Agent --skill forensics-disk명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | forensics-disk |
| description | 磁盘取证分析技术,涵盖 NTFS/FAT/ext 文件系统解析、文件恢复、时间线分析、日志挖掘等实战技能。 |
| tags | ["ntfs","fat","ext4","file-recovery","timeline","windows-event"] |
mount -o loop,ro 只读挂载镜像,或用 FTK Imager / Autopsy 加载fsstat 或 file -s 确认文件系统类型和参数fls -r 递归列出所有文件(含已删除),istat 查看 inode/MFT 详情icat 按 inode/MFT 编号提取文件内容mactime 从 MAC 时间戳生成完整活动时间线istat -f ntfs image.dd <MFT编号> # 查看 MFT 记录详情
icat -f ntfs image.dd <MFT编号> # 提取文件内容
fls -f ntfs -d image.dd # 仅列出已删除文件
$LogFile:NTFS 事务日志,记录元数据变更,可恢复近期修改$UsnJrnl:USN 变更日志,记录文件创建/删除/重命名等操作MFTECmd、NTFS Log Tracker# 查看 ADS
streams <file>
# Sleuth Kit 方式
fls -r -f ntfs image.dd | grep ":"
$FILE_NAME 和 $STANDARD_INFORMATION 可能有不同的时间戳,注意对比0x0FFFFFFF 标记文件结束0xE5,簇链清零,但数据区未擦除fls -f fat -d image.dd # 列出已删除文件
icat -f fat image.dd <簇号> # 提取内容
# 或使用 testdisk / photorec
journalctl 或直接解析dir_index,删除后 inode 标记清零extundelete 或 ext4magic 恢复
extundelete --restore-all /dev/sdX1
ext4magic image.dd -f /path/to/deleted/file -d output/
istat -f ext4 image.dd <inode号> 查看 atime/mtime/ctime/ctimedebugfs 进入交互式调试模式:
debugfs image.dd
debugfs: ls -l /path/to/dir
debugfs: stat <inode>
C:\Windows\System32\winevt\Logs\System.evtxC:\Windows\System32\winevt\Logs\Security.evtxC:\Windows\System32\winevt\Logs\Application.evtxMicrosoft-Windows-PowerShell%4Operational.evtxMicrosoft-Windows-TerminalServices-LocalSessionManager%4Operational.evtx| ID | 来源 | 含义 |
|---|---|---|
| 4624 | Security | 登录成功 |
| 4625 | Security | 登录失败 |
| 4634 | Security | 注销 |
| 4688 | Security | 新进程创建 |
| 4720 | Security | 账户创建 |
| 7045 | System | 服务安装 |
| 1102 | Security | 日志清除 |
# Python 解析
python3 -c "
import Evtx.Evtx as evtx
with evtx.Evtx('Security.evtx') as log:
for record in log.records():
print(record.xml())
"
# 命令行工具
wevtx_dump Security.evtx
chainsaw hunt Security.evtx --mapping sigma
%LOCALAPPDATA%\Google\Chrome\User Data\Default\History(SQLite)downloads 表%LOCALAPPDATA%\Google\Chrome\User Data\Default\Cookies%LOCALAPPDATA%\Google\Chrome\User Data\Default\Cache\%APPDATA%\Mozilla\Firefox\Profiles\<profile>\places.sqlitedownloads.sqlite(旧版)或 places.sqlitecookies.sqlite-- Chrome 历史记录
SELECT datetime(last_visit_time/1000000-11644473600,'unixepoch','localtime'),
url, title, visit_count
FROM urls ORDER BY last_visit_time DESC;
-- Chrome 下载记录
SELECT datetime(start_time/1000000-11644473600,'unixepoch','localtime'),
target_path, total_bytes, state
FROM downloads ORDER BY start_time DESC;
# Sleuth Kit 命令行
fls -r -m / image.dd # 列出文件(TSK 路径格式)
mactime -b body.txt -d # 生成时间线
tsk_recover image.dd output/ # 批量恢复已删除文件
blkstat -f ntfs image.dd <簇号> # 查看块分配状态
mmstat image.dd # 查看分区表
# Autopsy / FTK
# GUI 工具,适合综合分析
# 系统相关
reglookup NTUSER.DAT # 注册表解析
regripper -r NTUSER.DAT -f ntuser # 注册表信息提取