2024数据安全产业人才积分争夺赛初赛wp

数据安全

签到

1714476509596.jpg

Strangesystem(复现)

题目内容:你是一名安全防护人员,你发现有人成功入侵了公司的服务器,你查找有关的流量设备,发现了一个流量包文件,你认为它可能包含了一些重要的信息。但是当你打开它时,你发现它被加密了:你觉得这个文件可能被某种奇怪的系统加密过,你想要找出加密算法并解密出文件内容。
http就两条
image.png
有个png,dump下来

1
https://ctf.mzy0.com/CyberChef3/#recipe=From_Hexdump%EF%BC%88%E6%9D%A5%E8%87%AA16%E8%BF%9B%E5%88%B6%E8%BD%AC%E5%AD%98%EF%BC%89()&input=CiAgICAwMDAwMDBCQiAgODkgNTAgNGUgNDcgMGQgMGEgMWEgMGEgIDAwIDAwIDAwIDBkIDQ5IDQ4IDQ0IDUyICAgLlBORy4uLi4gLi4uLklIRFIKICAgIDAwMDAwMENCICAwMCAwMCAwMCA4MiAwMCAwMCAwMCA4MiAgMDggMDMgMDAgMDAgMDAgYmQgZGQgZTAgICAuLi4uLi4uLiAuLi4uLi4uLgogICAgMDAwMDAwREIgIGNmIDAwIDAwIDAwIDkzIDUwIDRjIDU0ICA0NSBmZiBmZiBmZiAyNiA0NiA1YiAzOCAgIC4uLi4uUExUIEUuLi4mRls4CiAgICAwMDAwMDBFQiAgYzIgZTQgMjMgNDQgNWEgZmIgZmMgZmMgIGQ2IGRhIGRkIDAwIDJkIDQ4IGY2IGY3ICAgLi4jRFouLi4gLi4uLi1ILi4KICAgIDAwMDAwMEZCICBmOCAxYyA0MCA1NiBjZiBkNCBkOCAyMCAgNDMgNTggMDAgMWQgM2UgZGQgZTAgZTMgICAuLkBWLi4uICBDWC4uPi4uLgogICAgMDAwMDAxMEIgIDZlIDdlIDhhIDAwIDMxIDRiIGU3IGVhICBlYiBjOCBjZCBkMSA1NSA2OCA3NyAwMyAgIG5%2BLi4xSy4uIC4uLi5VaHcuCiAgICAwMDAwMDExQiAgMzYgNGUgYTUgYWUgYjUgMzAgNGEgNWUgIDI1IDNmIDU0IDdhID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SAzNSAzMSA2MyAzMiAgMzQgNjMgNjUgNjEgNjIgMzkgMzQgMzQgICA3N2NhNTFjMiA0Y2VhYjk0NAogICAgMDAwMDA4RUIgIDYyIDMzIDM0IDYxIDIwIDY1IDM1IDM4ICA2NSAzNCAzMCAzOCAzOCA2MSAzNyAzOCAgIGIzNGEgZTU4IGU0MDg4YTc4CiAgICAwMDAwMDhGQiAgMzQgMzAgNjQgMzMgMzkgMzkgMzEgNjEgIDYzIDMyIDMzIDMzIDM2IDYzIDM1IDM4ICAgNDBkMzk5MWEgYzIzMzZjNTgKICAgIDAwMDAwOTBCICAzMSA2NCAzMiA2MSAzMyAzNSA2NSA2NCAgNjIgNjUgNjIgNjYgNjQgMzEgMzQgMzQgICAxZDJhMzVlZCBiZWJmZDE0NAogICAgMDAwMDA5MUIgIDMyIDMwIDYxIDMyIDM5IDYzIDMyIDM4ICAzNyAzNCAzNCAzNCA2MyAzMyAzNiAzMyAgIDIwYTI5YzI4IDc0NDRjMzYzCiAgICAwMDAwMDkyQiAgMzEgNjQgNjMgMzkgMzggMzAgMzMgMzggIDYyIDM3IDMxIDY2IDMxIDY0IDMxIDM1ICAgMWRjOTgwMzggYjcxZjFkMTUKICAgIDAwMDAwOTNCICAzMyA2MyA2NCAzMyAzNyA2MiA2MSAzNCAgMzYgMzEgMzYgMzQgMzEgMzQgMzUgNjEgICAzY2QzN2JhNCA2MTY0MTQ1YQogICAgMDAwMDA5NEIgIDMwIDMyIDM4IDY2IDY0IDBhICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDAyOGZkLgo

foremost分出来一个flag.txt的压缩包,有密码
image.png
搜一下这个发现这是tls密钥

1
2
3
4
SERVER_HANDSHAKE_TRAFFIC_SECRET e8ef73b91b4c9d6e37113bcc88465a7f61badb5fd87177ca51c24ceab944b34a 82ec3ebf3131b2442d165bb00dd6b8d1a6b4c866daf3fd373c22d33886290ed2868a7395e691980b990de46b76a54f9e
CLIENT_HANDSHAKE_TRAFFIC_SECRET e8ef73b91b4c9d6e37113bcc88465a7f61badb5fd87177ca51c24ceab944b34a 10965df426257a285c6e812ed54468c59437e77bceff2c3a6d633dacefadf8188e97c4935df6815e5398b24273addc79
SERVER_TRAFFIC_SECRET_0 e8ef73b91b4c9d6e37113bcc88465a7f61badb5fd87177ca51c24ceab944b34a cdbf7c7a161af7aa829b14becaa2c000b8183000983e06589fef0c50e9462cf71aeb487e1cb1defaef06a941234ea7a2
CLIENT_TRAFFIC_SECRET_0 e8ef73b91b4c9d6e37113bcc88465a7f61badb5fd87177ca51c24ceab944b34a e58e4088a7840d3991ac2336c581d2a35edbebfd14420a29c287444c3631dc98038b71f1d153cd37ba46164145a028fd

保存为tls.keylog
在wireshark的编辑->首选项->protocols->tls
image.png
image.png
然后就会出现http3的流
追踪quic
image.png

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.#....P......	..L.._P...........T.42..*username=admin&password=QUICAUTH-CCC123!@#.'.....P......	..L.Q.a	.AW"._P................_M...........V..a...*h....e@..!......T......C.<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>quic-AUTH</title>
<link rel="stylesheet" href="/style.css"/>
</head>
<body>
<h1>Secret</h1>

<p>
Congratulations, you loaded this page using HTTP/3!
Your files have been encrypted and saved,Enjoy it!
Pass is :
admin::SecretServer:d158262017948de9:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:010100000000000058b2da67cbe0d001c575cfa48d38bec50000000002001600450047004900540049004d002d00500043003100340001001600450047004900540049004d002d00500043003100340004001600650067006900740069006d002d00500043003100340003001600650067006900740069006d002d0050004300310034000700080058b2da67cbe0d0010600040002000000080030003000000000000000000000000030000065d85a4000a167cdbbf6eff657941f52bc9ee2745e11f10c61bb24db541165800a001000000000000000000000000000000000000900240063006900660073002f003100390032002e003100360038002e0031002e00310030003700000000000000000000000000
</p>

</body>
</html>

根据https://stackoverflow.com/questions/32272615/is-it-possible-to-convert-netmtlmv2-hash-to-ntlm-hash
netmtlmv2解密
构造

1
2
3
4
5
6
7
8
9
10
11
import hashlib
import binascii
import hmac
_ntlm = hashlib.new("md4", "QUICAUTH-CCC123!@#".encode("utf-16-le")).digest()
ntlm = binascii.hexlify(_ntlm).decode("utf-8")
s = "adminSecretServer".upper().encode("utf-16-le").hex()
firstHMAC = hmac.new(bytes.fromhex(ntlm), bytes.fromhex(s),hashlib.md5).hexdigest()
type2Challange = "d158262017948de9010100000000000058b2da67cbe0d001c575cfa48d38bec50000000002001600450047004900540049004d002d00500043003100340001001600450047004900540049004d002d00500043003100340004001600650067006900740069006d002d00500043003100340003001600650067006900740069006d002d0050004300310034000700080058b2da67cbe0d0010600040002000000080030003000000000000000000000000030000065d85a4000a167cdbbf6eff657941f52bc9ee2745e11f10c61bb24db541165800a001000000000000000000000000000000000000900240063006900660073002f003100390032002e003100360038002e0031002e00310030003700000000000000000000000000"
ntlmv2 = hmac.new(bytes.fromhex(firstHMAC), bytes.fromhex(type2Challange),hashlib.md5).hexdigest()
print(ntlmv2)
#efa243f442b9d683eb1b00a2b1a0c9fc

efa243f442b9d683eb1b00a2b1a0c9fc
flag{8af4d019-98ae-4b4f-a4e9-97076d205fd2}

hash_append(复现)

sm3的哈希长度扩展攻击
不会密码,留个脚本备用
参考https://mp.weixin.qq.com/s/oE8M9x7cRsjbXY50v8jTwQ
使用以下项目修改:
https://github.com/LJY-21/Length_Extension_Attack_for_SM3.py/blob/master/extension_sm3.py

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from gmssl import sm3,func
import random
import extension_sm3
from pwn import *
context.log_level = 'debug'
p = remote("123.56.51.164", 23433)
p.recvuntil(b"MySecretInfo Hash: ")
target_hash = p.recv(64).decode("utf-8")

# secret = str(random.random()) #生成随机浮点数作为保密消息,且该消息的长度已知
secret = 'a' * 64
# secret_hash = sm3.sm3_hash(func.bytes_to_list(bytes(secret, encoding='utf-8')))
# secret_hash = '8fab83a3a3070b88483c3053c6399d93386dec09e1fc64ba76f86a143b30525b'
secret_hash = target_hash

secret_len = len(secret)
# extend_msg = "61" * 64 #指定的附加消息
extend_msg = ''
print("生成的随机保密消息为:%s,指定的附加消息为:%s"% (secret,extend_msg))

def padding(msg):
len1 = len(msg)
reserve1 = len1 % 64
msg.append(0x80)
reserve1 = reserve1 + 1
range_end = 56
if reserve1 > range_end:
range_end = range_end + 64
for i in range(reserve1, range_end):
msg.append(0x00)
bit_length = len1 * 8
bit_length_str = [bit_length % 0x100]
for i in range(7):
bit_length = int(bit_length / 0x100)
bit_length_str.append(bit_length % 0x100)
for i in range(8):
msg.append(bit_length_str[7 - i])
return msg

def get_guess_hash(secret_hash, secret_len, extend_msg):
#通过secret_hash获得当前8个向量值
vectors = []
for i in range(8):
vectors.append(int(secret_hash[i * 8:(i + 1) * 8], 16))
#以等长的任意字符串代替secret,在填充后级联extend_msg
message = [65 for i in range(secret_len)]
message = padding(message)
old_len = len(message)
message.extend(func.bytes_to_list(bytes(extend_msg, encoding='utf-8')))
ret = extension_sm3.extension_sm3_hash(message, vectors, old_len)
return ret


#验证get_guess_hash的结果是否正确
message = func.bytes_to_list(bytes(secret, encoding='utf-8'))
message = padding(message)
message.extend(func.bytes_to_list(bytes(extend_msg, encoding='utf-8')))
print("-------------------")
append = ''
for i in message[64:]:
append += hex(i).replace("0x", "").rjust(2, "0")
print(append)
p.sendlineafter(b"Input AppendData: ", append)
print("-------------------")
m = ''
for i in message:
m += hex(i).replace("0x", "").rjust(2, "0")
print(m)
guess_hash = get_guess_hash(secret_hash, secret_len, extend_msg)
p.sendlineafter(b"Input NewSecretInfo Hash: ", guess_hash)
p.interactive()

数据分析

Wireshark2.1

题目内容:
存在漏洞的PHP页面名称是?(比如:a.php)
1714476546081.jpg
theanswerishere.php

Wireshark2.2

题目内容:当前表的列数共有几列?(比如:1
1714476780688.jpg
联合查询3个列
回显位在第三个
3

Wireshark2.3

题目内容:注入目标的列名是?

th1sfI4g

Wireshark2.4

题目内容:攻击者试图最终试图获取的数据是?
1714476859369.jpg
flag{th1s_ls_tHe_sQI1_anSwer}

WeirdUSB.1

题目内容:嫌疑人从Dropbox下载了什么文件?
010检索dropbox 得到下载链接
1714476920112.jpg
在浏览器下载的文件后缀.crdownload
往上翻一下,翻到个有download字眼的
1714477083907.jpg
212633.crdownload

WeirdUSB.2

题目内容:给出USB中被彻底删除的两个文件名。(按照删除的顺序用-连接,比如1.txt-2.txt)
结合$LogFile分析,这里面没有2_2_5_a.txt-2_2_5_b.txt两个文件
1714477417970.jpg
而在r-studio有
1714477429629.jpg
2_2_5_a.txt-2_2_5_b.txt


2024数据安全产业人才积分争夺赛初赛wp
http://example.com/2024/04/29/2024数据安全产业人才积分争夺赛初赛部分wp/
作者
J_0k3r
发布于
2024年4月29日
许可协议
BY J_0K3R