Mujahideen Secrets 2 encrypted file
application/octet-stream
Magic Bytes
Offset: 0
00 6D 02
The Mujahideen Secrets 2 encrypted file is a proprietary format developed by the Global Islamic Media Front for secure data transmission. This format functions as a cryptographic container designed to encapsulate sensitive messages and individual files for distribution over insecure digital channels. While historically associated with specialized clandestine communications, this legacy software is now considered largely obsolete and primarily serves as a subject for digital forensic analysis and historical research.
Validation Code
How to validate .enc files in Python
Python
def is_enc(file_path: str) -> bool:
"""Check if file is a valid ENC by magic bytes."""
signature = bytes([0x00, 0x6D, 0x02])
with open(file_path, "rb") as f:
return f.read(3) == signature
How to validate .enc files in Node.js
Node.js
function isENC(buffer: Buffer): boolean {
const signature = Buffer.from([0x00, 0x6D, 0x02]);
return buffer.subarray(0, 3).equals(signature);
}
Go
func IsENC(data []byte) bool {
signature := []byte{0x00, 0x6D, 0x02}
if len(data) < 3 {
return false
}
return bytes.Equal(data[:3], signature)
}
API Endpoint
GET
/api/v1/enc
curl https://filesignature.org/api/v1/enc