encyclopegia.org

Cryptoloop

Cryptoloop is a Linux kernel's disk encryption module that relies on the Crypto API, which is a cryptography framework introduced in version 2.5.45 of the Linux kernel mainline. Cryptoloop was first introduced in the 2.5.x kernel series; its functionality was later incorporated into the device mapper, a generic framework used to map one block device onto another. Cryptoloop can create an encrypted file system within a partition or from within a regular file in the regular file system. Once a file is encrypted, it can be moved to another storage device. This is accomplished by making use of a loop device, a pseudo device that enables a normal file to be mounted as if it were a physical device. By encrypting I/O to the loop device, any data being accessed must first be decrypted before passing through the regular file system; conversely, any data being stored will be encrypted. Cryptoloop is vulnerable to watermarking attacks, making it possible to determine presence of watermarked data on the encrypted filesystem: This attack exploits weakness in IV computation and knowledge of how file systems place files on disk. This attack works with file systems that have soft block size of 1024 or greater. At least ext2, ext3, reiserfs and minix have such property. This attack makes it possible to detect presence of specially crafted watermarked files.…

Cryptoloop is a Linux kernel's disk encryption module that relies on the Crypto API, which is a cryptography framework introduced in version 2.5.45 of the Linux kernel mainline. Cryptoloop was first introduced in the 2.5.x kernel series; its functionality was later incorporated into the device mapper, a generic framework used to map one block device onto another. Cryptoloop can create an encrypted file system within a partition or from within a regular file in the regular file system. Once a file is encrypted, it can be moved to another storage device. This is accomplished by making use of a loop device, a pseudo device that enables a normal file to be mounted as if it were a physical device. By encrypting I/O to the loop device, any data being accessed must first be decrypted before passing through the regular file system; conversely, any data being stored will be encrypted. Cryptoloop is vulnerable to watermarking attacks, making it possible to determine presence of watermarked data on the encrypted filesystem: This attack exploits weakness in IV computation and knowledge of how file systems place files on disk. This attack works with file systems that have soft block size of 1024 or greater. At least ext2, ext3, reiserfs and minix have such property. This attack makes it possible to detect presence of specially crafted watermarked files. Watermarked files contain special bit patterns that can be detected without decryption. Newer versions of cryptoloop's successor, dm-crypt, are less vulnerable to this type of attack if used correctly. ==References==

References

  1. Kernel development · retrieved 2015-02-14 · rev 997034505
    Cite this reference

    MLA "Kernel development." 2015-02-14. https://lwn.net/Articles/13587/. Accessed 24 November 2026.

    Chicago "Kernel development." 2015-02-14. https://lwn.net/Articles/13587/.

    APA encyclopegia.org. (2015). Kernel development. Retrieved November 24, 2026, from https://lwn.net/Articles/13587/

  2. Linux Cryptoloop Watermark Exploit · retrieved 2006-08-08 · rev 997034505
    Cite this reference

    MLA "Linux Cryptoloop Watermark Exploit." SecuriTeam (2005-05-26). 2006-08-08. http://www.securiteam.com/exploits/5UP0P1PFPM.html. Accessed 24 November 2026.

    Chicago "Linux Cryptoloop Watermark Exploit." SecuriTeam (2005-05-26). 2006-08-08. http://www.securiteam.com/exploits/5UP0P1PFPM.html.

    APA SecuriTeam (2005-05-26). (2006). Linux Cryptoloop Watermark Exploit. Retrieved November 24, 2026, from http://www.securiteam.com/exploits/5UP0P1PFPM.html

  3. 'Re: Oopsing cryptoapi (or loop device?) on 2.6.*' - MARC · retrieved 2017-06-03 · rev 997034505
    Cite this reference

    MLA "'Re: Oopsing cryptoapi (or loop device?) on 2.6.*' - MARC." Saarinen, Markku-Juhani O. 2017-06-03. http://marc.info/?l=linux-kernel&m=107719798631935&w=2. Accessed 24 November 2026.

    Chicago "'Re: Oopsing cryptoapi (or loop device?) on 2.6.*' - MARC." Saarinen, Markku-Juhani O. 2017-06-03. http://marc.info/?l=linux-kernel&m=107719798631935&w=2.

    APA Saarinen, Markku-Juhani O. (2017). 'Re: Oopsing cryptoapi (or loop device?) on 2.6.*' - MARC. Retrieved November 24, 2026, from http://marc.info/?l=linux-kernel&m=107719798631935&w=2

  4. Why Mainline Cryptoloop Should Not Be Used · retrieved 2017-06-03 · rev 997034505
    Cite this reference

    MLA "Why Mainline Cryptoloop Should Not Be Used." Markus Reichelt (2004-06-20). 2017-06-03. http://mareichelt.com/pub/texts.cryptoloop.html. Accessed 24 November 2026.

    Chicago "Why Mainline Cryptoloop Should Not Be Used." Markus Reichelt (2004-06-20). 2017-06-03. http://mareichelt.com/pub/texts.cryptoloop.html.

    APA Markus Reichelt (2004-06-20). (2017). Why Mainline Cryptoloop Should Not Be Used. Retrieved November 24, 2026, from http://mareichelt.com/pub/texts.cryptoloop.html

Cite this article

MLA

"Cryptoloop." encyclopegia.org, 2020, https://encyclopegia.org/wiki/cryptoloop. Accessed 24 November 2026.

Chicago

"Cryptoloop." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/cryptoloop.

APA

encyclopegia.org. (2020). Cryptoloop. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/cryptoloop

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=997034505 · 0.5 · snapshot enwiki-000997034505

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.