Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Example: disk-image

Inputs

  • examples/inputs/disk-image-samples/README.md
  • examples/inputs/disk-image-samples/create_disk_image.sh
  • examples/inputs/disk-image-samples/sample.dd

Profile

# Disk Image Example Profile
# Demonstrates analysis of raw disk images (dd output) with MBR/GPT partition extraction

decode = ["base64"]

max-file-size = 104857600  # 100 MiB

tag = "disk-image"

# Patterns to match in files within partitions
[[patterns]]
  name = "AWS Access Key"
  pattern = "AKIA[0-9A-Z]{16}"
  type = "regex"

[[patterns]]
  name = "SSH Private Key"
  pattern = "-----BEGIN.*PRIVATE KEY-----"
  type = "regex"

[[patterns]]
  name = "Password in Config"
  pattern = "password\\s*=\\s*['\"]?[^'\"\\s]+"
  type = "regex"

[[patterns]]
  name = "MBR Boot Signature"
  pattern = "55:AA"
  type = "bytes"

[[patterns]]
  name = "GPT Signature"
  pattern = "45:46:49:20:50:41:52:54"  # "EFI PART"
  type = "bytes"

[[patterns]]
  name = "NTFS Signature"
  pattern = "4E:54:46:53"  # "NTFS"
  type = "bytes"

[[patterns]]
  name = "ext2/3/4 Signature"
  pattern = "53:EF"  # ext superblock magic
  type = "bytes"

Report outputs

Triage report (converted from triage_report.json)

total_files10
critical_count0
high_count0
medium_count0
low_count1
minimal_count9
must_investigate_count0
all_scoresNone
generated_at2026-01-31T02:10:31.308029892+00:00

top_scores

characteristics_scorefile_typefile_type_scoremust_investigatepathpattern_count_scorepattern_matchespattern_severity_scorereasonsrisk_levelscoresha256
0Script20False/create_disk_image.sh546["4 suspicious patterns detected"]Low31dfb12f805afad4c89f13823ea45b035144ae6437065b3a26aa03ec1f2c3e81ac
0Configuration10Falseconfig.ini/config.ini510["1 suspicious patterns detected"]Minimal155d74438e06c88aefcc1acfd904c8b8e2df7db0b5079abb81f7c75abcdae3ceeb
0Other0False/sample.dd/sample.dd:mbr:partition2:data/sample.dd:mbr:partition2:data.0546["4 suspicious patterns detected"]Minimal11ba349d90730da40536076a47e076ee1803d22888d5189cefe9b1e0d32bab19dd
0Other0Falsecredentials.txt/credentials.txt523["2 suspicious patterns detected"]Minimal898a7404a87384e9540beff68d83ff409a3169815538261ce8fb99527d65967b8
0Other0Falseid_rsa/id_rsa510["1 suspicious patterns detected"]Minimal5a2a41ee356aacffeaeb40ef1cb66b46d95fe67324fbc2a77689aa7714c6733bf
0Other0False/sample.dd510["1 suspicious patterns detected"]Minimal5e53052c8f329c474658ac808b9179ceb4b5da0cb25e5eb34284ecd353ea0801e
0Other0False/README.md000[]Minimal0a408d059c3306caa127148c8d5cd00d8fe371cf4938ee9da0ad26efe4414f0a7
0Other0False/sample.dd/sample.dd:mbr:summary000[]Minimal0f34394fe8799a6775273da2098478c1144dc81ab3ce17b5a9fe20e15655d5e6f
0Other0False/sample.dd/sample.dd:mbr:partition2:info000[]Minimal05abab32bc9baaa47add4ed8d0ffc7d37a9857bad28a7f4f438938df0c2a112dc
0Other0False/sample.dd/sample.dd:mbr:partition2:data000[]Minimal064f529d25fcca3ff3ca1ffe90bd078776a002727e46d34108f0e5ba0632f9f71

CSV outputs

errors.csv

Empty CSV

files.csv

pathfile_namesha256file_createdfile_modifiedfile_accessedmime_types_from_file_extensionis_symbolic_linkis_extracted_fileis_decoded_fileis_deobfuscated_filetag
/README.mdREADME.mda408d059c3306caa127148c8d5cd00d8fe371cf4938ee9da0ad26efe4414f0a72026-01-31T01:53:56.77281481Z2026-01-31T01:53:56.77281481Z2026-01-31T01:54:14.280871854Z["application/x-genesis-rom"]0000
/create_disk_image.shcreate_disk_image.shdfb12f805afad4c89f13823ea45b035144ae6437065b3a26aa03ec1f2c3e81ac2026-01-31T01:53:56.77281481Z2026-01-31T01:53:56.77281481Z2026-01-31T01:54:14.280871854Z["text/x-shellscript"]0000
/sample.dd/sample.dd:mbr:summarysample.dd:mbr:summaryf34394fe8799a6775273da2098478c1144dc81ab3ce17b5a9fe20e15655d5e6f[]0100
/sample.dd/sample.dd:mbr:partition2:infosample.dd:mbr:partition2:info5abab32bc9baaa47add4ed8d0ffc7d37a9857bad28a7f4f438938df0c2a112dc[]0100
config.ini/config.iniconfig.ini5d74438e06c88aefcc1acfd904c8b8e2df7db0b5079abb81f7c75abcdae3ceeb2026-01-31T01:38:09Z[]0100
credentials.txt/credentials.txtcredentials.txt98a7404a87384e9540beff68d83ff409a3169815538261ce8fb99527d65967b82026-01-31T01:38:09Z["text/plain"]0100
id_rsa/id_rsaid_rsaa2a41ee356aacffeaeb40ef1cb66b46d95fe67324fbc2a77689aa7714c6733bf2026-01-31T01:38:09Z[]0100
/sample.dd/sample.dd:mbr:partition2:data/sample.dd:mbr:partition2:data.0sample.dd:mbr:partition2:data.0ba349d90730da40536076a47e076ee1803d22888d5189cefe9b1e0d32bab19dd[]0100
/sample.dd/sample.dd:mbr:partition2:datasample.dd:mbr:partition2:data64f529d25fcca3ff3ca1ffe90bd078776a002727e46d34108f0e5ba0632f9f71[]0100
/sample.ddsample.dde53052c8f329c474658ac808b9179ceb4b5da0cb25e5eb34284ecd353ea0801e2026-01-31T01:53:56.77281481Z2026-01-31T01:53:56.803814538Z2026-01-31T01:54:14.280871854Z[]0000

pattern_matches.csv

idsha256pattern_namematch_typematchlocationlength
1dfb12f805afad4c89f13823ea45b035144ae6437065b3a26aa03ec1f2c3e81acAWS Access KeyregexAKIAIOSFODNN7EXAMPLE36:1820
2dfb12f805afad4c89f13823ea45b035144ae6437065b3a26aa03ec1f2c3e81acSSH Private Keyregex-----BEGIN RSA PRIVATE KEY-----55:031
3dfb12f805afad4c89f13823ea45b035144ae6437065b3a26aa03ec1f2c3e81acPassword in Configregexpassword=SuperSecret123!38:924
4dfb12f805afad4c89f13823ea45b035144ae6437065b3a26aa03ec1f2c3e81acPassword in Configregexpassword="mysecretpassword47:026
55d74438e06c88aefcc1acfd904c8b8e2df7db0b5079abb81f7c75abcdae3ceebPassword in Configregexpassword="mysecretpassword5:026
698a7404a87384e9540beff68d83ff409a3169815538261ce8fb99527d65967b8AWS Access KeyregexAKIAIOSFODNN7EXAMPLE2:1820
798a7404a87384e9540beff68d83ff409a3169815538261ce8fb99527d65967b8Password in Configregexpassword=SuperSecret123!4:924
8a2a41ee356aacffeaeb40ef1cb66b46d95fe67324fbc2a77689aa7714c6733bfSSH Private Keyregex-----BEGIN RSA PRIVATE KEY-----1:031
9ba349d90730da40536076a47e076ee1803d22888d5189cefe9b1e0d32bab19ddAWS Access KeyregexAKIAIOSFODNN7EXAMPLE11:1820
10ba349d90730da40536076a47e076ee1803d22888d5189cefe9b1e0d32bab19ddSSH Private Keyregex-----BEGIN RSA PRIVATE KEY-----15:83431
11ba349d90730da40536076a47e076ee1803d22888d5189cefe9b1e0d32bab19ddPassword in Configregexpassword="mysecretpassword5:026
12ba349d90730da40536076a47e076ee1803d22888d5189cefe9b1e0d32bab19ddPassword in Configregexpassword=SuperSecret123!13:924
13e53052c8f329c474658ac808b9179ceb4b5da0cb25e5eb34284ecd353ea0801eMBR Boot SignaturebytesU�5102

signature_matches.csv

Empty CSV

unique_files.csv

sha256sha1md5file_sizemime_type_for_contentshannon_entropy
a408d059c3306caa127148c8d5cd00d8fe371cf4938ee9da0ad26efe4414f0a7546a1f2bdc4615acee5403743be2a69f59f3284682bea8bcdc0202f9bad3c7e29c0ecb8d1709text/plain5.1017954354414
dfb12f805afad4c89f13823ea45b035144ae6437065b3a26aa03ec1f2c3e81ac7bab9570f251694ae7a4525576bd109803c89f83714617c420a02932157efc597515c2b72208text/x-shellscript5.43331673755846
f34394fe8799a6775273da2098478c1144dc81ab3ce17b5a9fe20e15655d5e6f4b3e650481da84189946ece639d7aa6433f0a5a94f4f5d86fd767001e821b6aca0137507116text/plain4.83498904503428
5abab32bc9baaa47add4ed8d0ffc7d37a9857bad28a7f4f438938df0c2a112dc28a24e597919e17ca9fb3dbfe3cf47de1a661805018662367a81e2773e9f572ae53e1b8f114text/plain4.89533483952472
5d74438e06c88aefcc1acfd904c8b8e2df7db0b5079abb81f7c75abcdae3ceeb6bd25abe90d4fe10f97e003bca965a5ccd7b0ecb05e5fc7db0897511e3e67e57da9f9ea1169text/plain5.04359459472203
98a7404a87384e9540beff68d83ff409a3169815538261ce8fb99527d65967b829916fc6e0b432ea2dd85dbb09ab486cd92bb1efda3665dd2c7e870b74629a16a16f48d1190text/plain5.47492289005644
a2a41ee356aacffeaeb40ef1cb66b46d95fe67324fbc2a77689aa7714c6733bf80ef309bd6be9fdd50190c86ddccf6c6c3505f21e5954e2dbd2a059e1c29f11af26c4c5e184application/x-pem-file5.10836688223618
ba349d90730da40536076a47e076ee1803d22888d5189cefe9b1e0d32bab19dd99c165aa33959d7b6744313440b3fcad7e1c08e2224eac52786ec37e439b37ad162a356110240application/x-tar0.81729236591822
64f529d25fcca3ff3ca1ffe90bd078776a002727e46d34108f0e5ba0632f9f71ca76dd8fa56634d936ff1cad2e412a03405357a16d860e860a5a967a45ae86ef3ffb3e1b9437184application/gzip0.00133887163440445
e53052c8f329c474658ac808b9179ceb4b5da0cb25e5eb34284ecd353ea0801ec5cff3d3fd98864413d4523da146ce4db2d9de83707e4b6d17fdc383bcaed159676b8fb710485760application/octet-stream0.00124267704003298