CyberStudents

Custom Packaging

Category

Points

Author

Forensics

307

V

Vipin

Solves (63)

1Profile Picture for UrckUrck12/21 11:37 pm
2Profile Picture for dhtsondhtson12/21 11:46 pm
3Profile Picture for pandas._.08pandas._.0812/21 11:48 pm
4Profile Picture for sLoNcEsLoNcE12/22 12:19 am
5Profile Picture for falhumaidfalhumaid12/22 1:11 am
6Profile Picture for bridgingdragonbridgingdragon12/22 1:21 am
7Profile Picture for xtttraxtttra12/22 1:21 am
8Profile Picture for zenniskayyzenniskayy12/22 1:26 am
9Profile Picture for Pan PanPan Pan12/22 1:27 am
10Profile Picture for andyrew0707andyrew070712/22 1:27 am
11Profile Picture for kannrishakannrisha12/22 1:57 am
12Profile Picture for jiegecjiegec12/22 3:25 am
13Profile Picture for 2eRT2eRT12/22 4:06 am
14Profile Picture for .johnnewbie.johnnewbie12/22 5:23 am
15Profile Picture for beznadijnebeznadijne12/22 5:41 am
16Profile Picture for tipsentipsen12/22 5:50 am
17Profile Picture for Abhijeet KumarAbhijeet Kumar12/22 6:28 am
18Profile Picture for yugi200yugi20012/22 6:39 am
19Profile Picture for killv_0112killv_011212/22 6:50 am
20Profile Picture for Артем КотляровАртем Котляров12/22 6:56 am
21Profile Picture for Guest1111 GuestGuest1111 Guest12/22 7:19 am
22Profile Picture for haraaaa.11haraaaa.1112/22 7:23 am
23Profile Picture for playvoltzplayvoltz12/22 8:15 am
24Profile Picture for hh wwhh ww12/22 8:22 am
25Profile Picture for nella17nella1712/22 8:58 am
26Profile Picture for Jasraj JassarJasraj Jassar12/22 9:10 am
27Profile Picture for axz_001._07670axz_001._0767012/22 9:11 am
28Profile Picture for yogesh_1204yogesh_120412/22 11:33 am
29Profile Picture for akmal aliffakmal aliff12/22 2:22 pm
30Profile Picture for lastoria.lastoria.12/22 3:12 pm
31Profile Picture for Huỳnh Quốc BảoHuỳnh Quốc Bảo12/22 4:34 pm
32Profile Picture for stasvinokurstasvinokur12/22 6:47 pm
33Profile Picture for NullSirynNullSiryn12/22 7:05 pm
34Profile Picture for pemburunyamukpemburunyamuk12/23 2:49 am
35Profile Picture for .hanto.hanto12/23 4:38 am
36Profile Picture for mofw259mofw25912/23 5:57 am
37Profile Picture for Filippo FittàFilippo Fittà12/23 11:14 am
38Profile Picture for zalll calllzalll calll12/23 12:13 pm
39Profile Picture for levu12levu1212/23 12:15 pm
40Profile Picture for rowdy7923rowdy792312/23 2:57 pm
41Profile Picture for saif.a1234saif.a123412/23 6:06 pm
42Profile Picture for 0x.anon.470x.anon.4712/23 7:27 pm
43Profile Picture for .michalsz.michalsz12/23 9:31 pm
44Profile Picture for SyndicationSyndication12/24 8:12 am
45Profile Picture for leww_se_jueleww_se_jue12/24 5:41 pm
46Profile Picture for aigars.lvaigars.lv12/24 8:40 pm
47Profile Picture for brrrbrrr.brrrbrrr.12/25 2:27 am
48Profile Picture for ryuun1cornryuun1corn12/25 1:07 pm
49Profile Picture for didyounesdidyounes12/25 1:14 pm
50Profile Picture for sweatyrocketsweatyrocket12/25 1:38 pm
51Profile Picture for root@secnetworkroot@secnetwork12/25 3:40 pm
52Profile Picture for Arpita PatraArpita Patra12/25 3:52 pm
53Profile Picture for acniacni12/26 1:06 am
54Profile Picture for grzechu83grzechu8312/26 10:00 am
55Profile Picture for long15aslong15as12/26 4:12 pm
56Profile Picture for atni marwaneatni marwane12/26 5:18 pm
57Profile Picture for S31ZUR3S31ZUR312/27 6:49 am
58Profile Picture for ciatplayer_18606ciatplayer_1860612/29 4:15 am
59Profile Picture for dhicodhico12/29 1:46 pm
60Profile Picture for Pratham AgarwalPratham Agarwal12/30 3:51 pm
61Profile Picture for Shaswata SahaShaswata Saha12/30 4:46 pm
62Profile Picture for relwarc17relwarc1712/30 10:27 pm
63Profile Picture for saumil707saumil70712/31 11:07 am

Description

Our threat intel team has been tracking KRAMPUS SYNDICATE for months now. Last week, we finally caught a break. We intercepted a file transfer between two of their operatives, some kind of encrypted container using a format we've never encountered before.

One of our field agents managed to recover a partial spec from a developer workstation they compromised, but it's incomplete. Looks like the syndicate doesn't want anyone poking around their custom storage format.

The file was stored as ks2025_ops_final.kcf. Their servers follow the same pattern - ks2025-c2-01, ks2025-stage, etc. Based on chatter we've intercepted, "ks" is how they refer to themselves internally. Seems like they roll new encryption keys every January.

Here's what we know about the format:

OffsetSizeFieldNotes
0x004Magic4B 43 46 00 ("KCF\0")
0x042Version01 02 (LE) = 0x0201
0x062FlagsBit 0 indicates encryption
0x0816NonceRandom bytes, likely used in key derivation
0x188TimestampUnix timestamp, little endian
0x202File countNumber of files in container
0x228FAT offsetOffset to file allocation table
0x2A4FAT sizeSize of FAT in bytes
0x2E8Data offsetOffset to data region
0x368Data sizeSize of data region
0x3E4ChecksumCRC32 of header bytes 0x00 to 0x3D

Header is 128 bytes. FAT entries are 96 bytes each. Data region starts at 512 byte alignment.

Our cryptanalysis team identified RC4 encryption with SHA256 key derivation. Each encrypted region uses a fresh cipher instance. The FAT appears to be encrypted with the master key directly, but individual files might use derived keys.

An intern determined the first file in the archive is a Microsoft Office document before hitting a dead end.

Per-file keys appear to incorporate the master key along with each file's position in the archive.

Figure out how this thing works and extract whatever's inside.

Attachments

Hint

There are no penalties for viewing hints. Hints are released 12 hours and 24 hours after the challenge releases.

Check a flag

This event has ended. Anyone can check a flag here, but no points are awarded.

Discuss this challenge with others in #🎄丨challenges-forum on our Discord server.

Community write-ups

Need help with a challenge? Is a challenge broken? Open a ticket in our Discord server.