聚合杯 计算机部分
原创
QAQ
QAQ
QAQ的奇怪角落
2026年11月30日 23:10
四川
去阅读
1.请分析计算机检材,自启动清理脚本所删除临时文件的完整路径是什么?【答案格式:C:\Users\Public\Temp\demo.txt】
7.请分析计算机检材,接上题,月度收入最低月份的实体矿机高级版销售台数是多少?【答案格式:12】
结合上一题可以知道,首都最低月是2026/06
11.请分析计算机检材,接上题,BitLocker 恢复密钥的前六位是什么?【答案格式:123456】
接上题 682385
12.请分析计算机检材,VPN 工具的订阅链接是什么?【答案格式:根据实际值填写】
bitlocker 解密后 有一个 新建文本文档.txt 里面是一个 yaml 的下载链接 就是答案
https://node.netch.top/uploads/2026/06/1-20260624.yaml
但是这题出的 感觉 有点 很奇怪.... 感觉没有前文铺垫很突兀有没有懂得.. 有一个可以推断的地方就是 clash 实际使用的配置文件 (可以在回收站找到) 的修改日期 正好是 20260624
13.请分析计算机检材,虚拟币钱包地址\"0x447a7a0a918ba02521ce248fe9a96a5fb92570d5\"对应机主的开户银行是什么?【答案格式:XX银行】
依旧看到 bitlocker盘 找到 信息倒卖交易记录.csv
中信银行
14.请分析计算机检材,接上题,该用户的身份证号是什么?【答案格式:根据实际值填写】
记录好他的身份信息然后注意到
身份信息.zip 一个伪加密解压后进入到
身份信息.csv
依据手机号定位到身份证
同样感觉很神秘的伪加密设计 明明给了密码提示是生日... 不是很懂 可能是其他密码叭()
15.请分析计算机检材,存放隐藏加密卷密码密文的文件,其 SHA256 哈希值后六位是什么?【答案格式:012345,小写】
734103
16.请分析计算机检材,接上题,解密该密文文件所用密钥的后六位是什么?【答案格式:根据实际值填写】
接上题149a00
17.请分析计算机检材,VC 加密容器的隐藏加密卷密码是什么?【答案格式:根据实际值填写】
这里 在windows下可以找到 encrypt.py 解密函数他已经写好了 稍微改造一下 删掉没用的部分就可以
import os
import hashlib
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
def decrypt_password(encrypted_data: bytes, key: str) -> str:
salt = encrypted_data[:16]
nonce = encrypted_data[16:28]
tag = encrypted_data[28:44]
ciphertext = encrypted_data[44:]
kdf = hashlib.pbkdf2_hmac('sha256', key.encode('utf-8'), salt, 100000)
cipher = Cipher(algorithms.AES(kdf), modes.GCM(nonce, tag), backend=default_backend())
decryptor = cipher.decryptor()
decrypted = decryptor.update(ciphertext) + decryptor.finalize()
return decrypted.decode('utf-8')
encryption_key = \"c5c24328b5b99c343efe43ad6825164efa9f6ebd1176a334d1c20b9c9d149a00\"
with open(\"encrypted_password.bin\", \"rb\") as f:
encrypted_binary = f.read()
f.close()
decrypted_password = decrypt_password(encrypted_binary, encryption_key)
print(\"\
解密后的密码:\", decrypted_password)
答案是
7s#Q2vL$9mP%4dFxN5!kR3@dF6#jM8H4@bW9*nR6#jF5%
18.请分析计算机检材,挖矿木马连接的远控服务器地址(要带端口)是什么?【答案格式:a.b.com:1234】
进入隐藏卷 可以看到 一份 c 语言的头文件 (C真的好难写也好难看)同时 还需要注意的是 D 盘中 还有一份C2的源码
其中
torjan.h 就调用了
xor_strings.h
然后至于其中的解密 直接复用他原本的代码叭
#include<stdio.h>
int main()
{
static unsigned char _xor_c2_host[] = {
0xC0, 0xB3, 0xA5, 0xA3, 0xB5, 0xB2, 0xA5, 0xED, 0xA3, 0xA4, 0xAE, 0xEE,
0xB5, 0xB0, 0xA4, 0xA1, 0xB4, 0xA5, 0xED, 0xB3, 0xB2, 0xB6, 0xEE, 0xAE,
0xA5, 0xB4,
};
static unsigned char _xor_c2_port_str[] = {
0x9A, 0xAE, 0xAE, 0xAE, 0xAE,
};
static char _xor_c2_port_str_decrypted[5];
static char _xor_c2_host_decrypted[26];
unsigned char key = _xor_c2_host[0];
size_t len = sizeof(_xor_c2_host) - 1;
for (size_t i = 1; i <= len; i++)
_xor_c2_host_decrypted[i - 1] = _xor_c2_host[i] ^ key;
_xor_c2_host_decrypted[len] = '\\0';
key = _xor_c2_port_str[0];
len = sizeof(_xor_c2_port_str) - 1;
for (size_t i = 1; i <= len; i++)
_xor_c2_port_str_decrypted[i - 1] = _xor_c2_port_str[i] ^ key;
_xor_c2_port_str_decrypted[len] = '\\0';
printf(\"%s:%s\", _xor_c2_host_decrypted,_xor_c2_port_str_decrypted);
static unsigned char _xor_aes_key_b64[] = {
0xD8, 0xBA, 0xB5, 0x8E, 0x81, 0x96, 0x90, 0xB4, 0xAF, 0x95, 0xA2, 0xBB,
0xEB, 0xB9, 0xEA, 0x8E, 0xED,
};
static char _xor_aes_key_b64_decrypted[17];
key = _xor_aes_key_b64[0];
len = sizeof(_xor_aes_key_b64) - 1;
for (size_t i = 1; i <= len; i++)
_xor_aes_key_b64_decrypted[i - 1] = _xor_aes_key_b64[i] ^ key;
_xor_aes_key_b64_decrypted[len] = '\\0';
printf(\"\
aes_key_b64:%s\", _xor_aes_key_b64_decrypted);
static unsigned char _xor_persist_path_1[] = {
0xA4, 0x8B, 0xD1, 0xD7, 0xD6, 0x8B, 0xC8, 0xCD, 0xC6, 0x8B, 0xD7, 0xDD,
0xD7, 0xD0, 0xC1, 0xC9, 0xC0, 0x8B, 0xD7, 0xDD, 0xD7, 0xD0, 0xC1, 0xC9,
0xC0, 0x89, 0xD6, 0xC1, 0xD7, 0xCB, 0xC8, 0xD2, 0xC1, 0xC0,
};
static char _xor_persist_path_1_decrypted[34];
static unsigned char _xor_persist_path_2[] = {
0x9E, 0xB1, 0xEB, 0xED, 0xEC, 0xB1, 0xF2, 0xF1, 0xFD, 0xFF, 0xF2, 0xB1,
0xED, 0xFC, 0xF7, 0xF0, 0xB1, 0xED, 0xED, 0xF6, 0xFA, 0xB3, 0xF6, 0xFB,
0xF2, 0xEE, 0xFB, 0xEC,
};
static char _xor_persist_path_2_decrypted[28];
static unsigned char _xor_persist_path_3[] = {
0xAE, 0x81, 0xC1, 0xDE, 0xDA, 0x81, 0xCD, 0xC1, 0xC0, 0xDA, 0xCF, 0xC7,
0xC0, 0xCB, 0xDC, 0xCA, 0x81, 0xCC, 0xC7, 0xC0, 0x81, 0xCD, 0xC1, 0xC0,
0xDA, 0xCF, 0xC7, 0xC0, 0xCB, 0xDC, 0xCA, 0x83, 0xDD, 0xC6, 0xC7, 0xC3,
0x83, 0xDC, 0xDB, 0xC0, 0xCD, 0x83, 0xD8, 0x9C,
};
static char _xor_persist_path_3_decrypted[44];
key = _xor_persist_path_1[0];
len = sizeof(_xor_persist_path_1) - 1;
for (size_t i = 1; i <= len; i++)
_xor_persist_path_1_decrypted[i - 1] = _xor_persist_path_1[i] ^ key;
_xor_persist_path_1_decrypted[len] = '\\0';
key = _xor_persist_path_2[0];
len = sizeof(_xor_persist_path_2) - 1;
for (size_t i = 1; i <= len; i++)
_xor_persist_path_2_decrypted[i - 1] = _xor_persist_path_2[i] ^ key;
_xor_persist_path_2_decrypted[len] = '\\0';
key = _xor_persist_path_3[0];
len = sizeof(_xor_persist_path_3) - 1;
for (size_t i = 1; i <= len; i++)
_xor_persist_path_3_decrypted[i - 1] = _xor_persist_path_3[i] ^ key;
_xor_persist_path_3_decrypted[len] = '\\0';
printf(\"\
%s\",_xor_persist_path_1_decrypted);
printf(\"\
%s\",_xor_persist_path_2_decrypted);
printf(\"\
%s\",_xor_persist_path_3_decrypted);
return 0;
}
secure-cdn.update-srv.net:4444
19.请分析计算机检材,木马用于加密通信的最终密钥(十六进制)是什么?【答案格式:根据实际值填写】
这里要看到源码中的ctrpto.c 同样的 还是去 复用他的源码
#include<stdio.h>
#include<stdint.h>
#include<string.h>
#define AES_KEYLEN 16
int main()
{
uint8_t seed[16];
size_t seed_len;
strcpy(seed, \"neX4yp377key\");
seed_len = 12;
uint8_t out_key[AES_KEYLEN];
for (int i = 0; i < AES_KEYLEN; i++) {
uint8_t b = seed[i % seed_len];
int rot = (i * 3 + 1) & 7;
b = (uint8_t)((b << rot) | (b >> (8 - rot)));
b ^= (uint8_t)(0x5A + i * 7);
out_key[i] = b;
}
for (int i = 0; i < AES_KEYLEN; i++)
printf(\"%02x\", out_key[i]);
printf(\"\
\");
return 0;
}
863744bf590d1d46fc2f124263d07ece
20.请分析计算机检材,木马持久化时保存自身可执行文件的路径是什么?【答案格式:/usr/bin/demo】
接上上题 有三个路径 答案是 第一个 /usr/lib/systemd/systemd-resolved
原因可以看到 persistence.c
他在按顺序尝试三条路径 第一条持久化成功后自然就不会再继续了
最后小总结一下,呃.... 做着有点烧心了....
版权声明
本站仅做备份收录,仅供研究与教学参考之用。
读者将信息用于其他用途的,全部法律及连带责任由读者自行承担,本站不承担任何责任。











评论